codrsquad / pickley Goto Github PK
View Code? Open in Web Editor NEWAutomate installation of standalone python CLIs
License: MIT License
Automate installation of standalone python CLIs
License: MIT License
I've only skimmed the repository so forgive me if the answer is already buried somewhere but what's the recommendation for using this with multiple python versions? For example using pipenv you can specify the python version used to install the requirements, could you do such a thing as that with this?
I ask because in my team at least we actively use 2.7, 3.4 and 3.7 and it'd be good for it to know which version to be using at any given point.
Hello,
Just found pickley and I already love it ๐
I have a little question: is there (or how do I enable) completion on the CLI?
It would be handy having double-tab to complete the sub-commands (and potentially even parameters, like pickley uninstall <TAB><TAB>
could list the currently installed packages)
Thanks a lot!
I'd like to be able to pickley install 'honesty[orjson]==0.3.0b1'
but pickley appears to just split on == and assume the lhs is the project name.
The standard way of parsing these is:
>>> from packaging.requirements import Requirement
>>> req = Requirement("Honesty[orjson]==0.3.0b1")
>>> req.name # note that req.name is not canonicalized.
'Honesty'
>>> req.extras
{'orjson'}
>>> req.specifier
<SpecifierSet('==0.3.0b1')>
>>> str(req.specifier)
'==0.3.0b1'
>>> from packaging.version import Version
>>> list(req.specifier.filter([Version("0.2.1"), Version("0.3.0a5"), Version("0.3.0b1")]))
[<Version('0.3.0b1')>]
If you need to support legacy versions this gets only slightly harder, using packaging_legacy
instead of legacy
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.