GithubHelp home page GithubHelp logo

pickley's People

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pickley's Issues

Usage with different python versions

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.

Completion?

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!

Some way of installing with extras

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.

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.