Comments (7)
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.
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.
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.
And while I'm at it, thank you for github3.py
, @sigmavirus24
from uritemplate.
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.
I'm using:
github3.py==1.0.0a4
uritemplate.py==0.3.0
from uritemplate.
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)
- Incorrect expansion of multiple query variables HOT 3
- Add MatchUri method. HOT 3
- multiple expansions given a bunch of values for each variable HOT 1
- Provide an API for validating URI Templates HOT 9
- Potential bug/Unspecified behaviour HOT 4
- Allows for invalid URI Templates HOT 1
- Publish a new version to PYPI HOT 21
- Docs on Read the Docs no longer building HOT 1
- Variable names are not validated
- Default values HOT 5
- [BUG] Non-string var values aren't truly supported HOT 3
- Resolve DeprecatioWarning for import of ABCs from 'collections' instead of 'collections.abc' HOT 2
- [typo] wrong rfc reference in about HOT 3
- [bug] Templates with variables containing '/' do not expand HOT 1
- Support hierarchy?
- SyntaxError: invalid syntax after recent update.
- Version 4.1.0 is incompatible with Python 2 HOT 5
- Installation instructions to provide `uri-template; extra == "format"` HOT 1
- Consider adding `None` as `ScalarVariableValue` HOT 1
- Incorrect Reserved Expansion
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 uritemplate.