GithubHelp home page GithubHelp logo

cj-wright / conda-metachannel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from regro/conda-metachannel

0.0 1.0 0.0 26 KB

like a conda-metapackage but for channels!

License: MIT License

Dockerfile 1.95% Python 98.05%

conda-metachannel's Introduction

conda-metachannel

This is a small little web application to behave like a conda channel but with constraints.

By doing this you can add a small conda-forge channel that has a limited number of edges

<HOSTNAME>/conda-forge/pandas,ipython,scikit-learn

This is a channel that contains pandas, ipython and scikit-learn (and all of their dependencies), and nothing else.

Advanced features

--max-build-no

Adding this to the constraint clause will filter out outdated builds from the graph. This is typically what most users actually want to run.

e.g.

$ conda search --override-channels \
      -c http://<HOSTNAME>/conda-forge/python, 'python=3.6.1'

python                    3.6.1               0  conda-forge/python
python                    3.6.1               1  conda-forge/python
python                    3.6.1               2  conda-forge/python
python                    3.6.1               3  conda-forge/python

$ conda search --override-channels \
      -c http://<HOSTNAME>/conda-forge/python,--max-build-no 'python=3.6.1'

python                    3.6.1               3  conda-forge/python,--max-build-no

channel fusing

You can fuse two or more channels together.

http://<HOSTNAME>/<CHANNELA>,<CHANNELB>/<CONSTRAINTS>

This will function like a composite of these two channels. Packages that exist in channel B will supercede those in channel A for ALL versions.

Channels that contain non-urlsafe characters need to be url-escaped

e.g.

$ conda search --override-channels -c http://35.232.222.82/conda-forge,conda-forge%2Flabel%2Fgcc7/--max-build-no 'pandas'

pandas    0.23.4 py27h1702cab_1000  conda-forge,conda-forge%2Flabel%2Fgcc7/--max-build-no
pandas    0.23.4 py36h1702cab_1000  conda-forge,conda-forge%2Flabel%2Fgcc7/--max-build-no
pandas    0.23.4 py37h1702cab_1000  conda-forge,conda-forge%2Flabel%2Fgcc7/--max-build-no

conda-metachannel's People

Contributors

mariusvniekerk avatar scopatz avatar cj-wright avatar

Watchers

James Cloos avatar

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.