Git Product home page Git Product logo

ada-python's People

Contributors

anonrig avatar bbayles avatar dependabot[bot] avatar lemire avatar master-hash avatar plusiv avatar y3ti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ada-python's Issues

Releases

It seems we are not releasing a new version on pypi.org and github releases. Should we make the releases automatic just like Ada?

cc @bbayles

Use uv

Since Astro team released uv recently, should we try it with ada-python?

Upgrade to ada 2.6.9

This issue is to update the ada library to the 2.6.9 version, which was just released. Assigning this to myself as a reminder to do it when I get back from a trip.

Set up ReadTheDocs

I'd like to get https://readthedocs.org/dashboard/ada-url/ working. I can set this up myself if granted access to the settings for this repo that would allow me to configure the GitHub/RTD integration.

Failing that, I could add existing repository admins to the RTD and have them set up the integration.

My branch here should allow for RTD to install the library to allow the inline docstrings to be rendered.

Type annotations

Currently we have no annotations at all. Since most parameters and return are str, it is fast to fix it.

If it is needed, I'll give the pr.

Allow `pip install --no-binary` to work

Noted in #46:

pip install ada_url --no-binary ada_url will fail (on both Linux and Windows) because of the absence of ada.o

We would need to move the step that builds ada.o into the python -m build step. I looked into doing previously, but couldn't figure out a portable method.

Handle unusual unicode escape characters

This library fails on one of the parsing tests here:

http://example.com/\uD800\uD801\uDFFE\uDFFF\uFDD0\uFDCF\uFDEF\uFDF0\uFFFE\uFFFF?\uD800\uD801\uDFFE\uDFFF\uFDD0\uFDCF\uFDEF\uFDF0\uFFFE\uFFFF

It is due to this error:

'utf-8' codec can't encode characters in position 19-22: surrogates not allowed

It appears that ada uses simdjson's get_string function with replacement characters. We can probably do the same thing in Python, though a quick test of these didn't work as expected:

  • replace
  • backslashreplace
  • surrogatepass

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.