Code Monkey home page Code Monkey logo

Comments (7)

sigmavirus24 avatar sigmavirus24 commented on June 3, 2024

It's a known issue. This library has been made API compatible with the uritemplate package, so this one can wholly replace the other. That said, there had been an issue where there was discussion of merging the two, but uritemplate's maintainers were as unresponsive then as when I pinged them about adding a URITemplate class.

from uritemplate.

sloria avatar sloria commented on June 3, 2024

Thanks for the reply. I didn't realize this library was API-compatible with the other library.

+1 to a merge of the projects--that would definitely avoid a lot of confusion in the future. Best of luck!

from uritemplate.

jklukas avatar jklukas commented on June 3, 2024

Is there an established way to make sure uritemplate.py "wins" over uritemplate when both are pulled into your project as dependencies?

I have a project that relies on both google-api-python-client (which declares a dependency on uritemplate) and on github3.py (which depends on uritemplate.py). I have to make sure the github3.py dependency appears later than the google dep in my requirements file so that uritemplate.py gets pulled in second and overwrites uritemplate.

It's a hack and it works, but it's fragile. Not sure if I'm missing a better way.

from uritemplate.

jklukas avatar jklukas commented on June 3, 2024

And while I'm at it, thank you for github3.py, @sigmavirus24

from uritemplate.

sigmavirus24 avatar sigmavirus24 commented on June 3, 2024

You're quite welcome @jklukas. I'm thinking that this has caused enough pain for enough people that I might just vendor uritemplate.py into github3.py at this point. Which version(s) are you relying on?

from uritemplate.

jklukas avatar jklukas commented on June 3, 2024

I'm using:

github3.py==1.0.0a4
uritemplate.py==0.3.0

from uritemplate.

jklukas avatar jklukas commented on June 3, 2024

Also note that Simple has had a job running nightly in prod for > 6 months now that uses github3.py to pull new issue events and issue comments, publishing them to Redshift. We have some dashboards that we use to visualize that info for different orgs within the company. The service that runs the job is built on Celery.

There's a screenshot of one of the dashboards fed by this info in https://www.simple.com/engineering/building-analytics-at-simple

from uritemplate.

Related Issues (20)

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.