Giter Club home page Giter Club logo

Comments (4)

intgr avatar intgr commented on August 27, 2024

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.

intgr avatar intgr commented on August 27, 2024

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.

intgr avatar intgr commented on August 27, 2024

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.

intgr avatar intgr commented on August 27, 2024

Topy 0.1.0 released: https://pypi.python.org/pypi/topy

from topy.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.