Skip to content

Instantly share code, notes, and snippets.

Created June 8, 2017 05:14
Show Gist options
  • Save anonymous/a405df9998be61caa728fbea6ef55dc6 to your computer and use it in GitHub Desktop.
Save anonymous/a405df9998be61caa728fbea6ef55dc6 to your computer and use it in GitHub Desktop.
iconda
# iconda is a brutish, horrid package manager for
from iconda import 🌐, πŸ“Ί, πŸ“¦, πŸ—οΈ
# environments,
# channels,
# packages, and
# recipes
# ...you can make an environment rude and nasty
🌌 = 🌐(πŸ“Ί["conda-forge"],
πŸ“¦.python >= 3.6 < 3.7)
# ...and add channels scabbed and ulcerous
🌌.πŸ“Ί += πŸ“Ί.bioconda,
# .. go and get python packages by beastly names
🐼 = 🌌.pandas
πŸ–ΌοΈ = 🐼.DataFrame()
πŸ’ = (🌌.bokeh < "0.12.5").plotting
πŸ“Š = πŸ’.figure()
πŸ’.show(πŸ“Š)
# ... look through dangerous `bin`
🌌.πŸ—‘οΈ.git.clone("https://github.com/iconda/iconda")
➰ = 🌌.πŸ—‘οΈ.curl
➰("https://github.com/iconda/iconda")
# ... export stuff dull and ugly
🌌.🌐.πŸ’Ύ("environment.yml")
@πŸ“¦(πŸ—οΈ=🌌, πŸƒ=🌌, βš•οΈ=πŸ“¦["py.test"])
def πŸ’©(πŸ—οΈ, πŸƒ, βš•οΈ) -> πŸ“¦:
# or build brand-new things foul and gangrenous
πŸ’©.πŸ—οΈ(πŸ“¦.python ** [2.7, 3.5, 3.6] * [πŸ—οΈ.🐧, πŸ—οΈ.🍎, πŸ—οΈ.πŸšͺ] ** [32, 64])
# amen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment