Comments (4)
True. It needs some cleanup and improvement first before I dare to put it on PyPI though. It probably should not overwrite files by default.
from topy.
This project was simply an evening hack and there are many problems with it. The biggest one is that Python's regexp engine shows its limitations compared to the .NET one used in AutoWikiBrowser. Perhaps it would best be rewritten in another language with a more flexible regexp implementation. There are are two issues that stick out:
- 15% of rules fail to compile with the error "look-behind requires fixed-width pattern". This restriction seems to be by design and unlikely to be removed.
- When substituting a regexp with optional groups, Python can throw an "unmatched group" error instead of replacing with an empty string. This could be worked around using a custom substitution function I guess. http://bugs.python.org/issue1519638
from topy.
Since pull request #6 has solved the regex engine issues and commit 90c1ade fixes the overwriting behavior, there's nothing preventing a PyPI release anymore. I'm hoping to get to that this weekend.
from topy.
Topy 0.1.0 released: https://pypi.python.org/pypi/topy
from topy.
Related Issues (14)
- Easier way to run over an entire directory HOT 1
- add caching HOT 6
- Make the script take command line arguments HOT 2
- Case sensitivig HOT 5
- Add string input HOT 2
- UnicodeDecodeError when running in a directory with a non-ascii filename HOT 1
- error "pkg_resources.DistributionNotFound: beautifulsoup4" when trying to run topy HOT 7
- Speed up ruleset parsing HOT 1
- No examples in the docs HOT 1
- rules exceptions not possible or undocumented HOT 2
- Add option to exclude directories or files explicitly HOT 1
- Bad rules (false positives)
- UTF-8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from topy.