🐍 Konda - Conda Installer/Wrapper for Google Colab 🚀
🔍 Why Konda?
Installing conda/miniconda and creating virtual environments on Google Colab is a common need, but it can be quite a hassle. Konda solves this problem by helping you do everything with a single command. Essentially, Konda makes conda installation and usage in Colab straightforward and painless.
There's no learning curve since Konda commands are simply wrappers around conda commands you already know.
✨ Features
- 🔄 One-command Miniconda Installation: Installs Miniconda with just one line of code
- 🌐 Built for Google Colab: Optimized for the Colab environment where conda integration is typically tricky
- 🛠️ Simple Command Wrapper: Run conda commands without worrying about environment setup
- 🚀 Seamless Environment Activation: Automatically handles the special activation requirements in Colab
- 🧹 Easy Cleanup: Remove the Miniconda installation when you're done
📦 Installation
pip install konda
🚀 Quick Start
1️⃣ Install Miniconda
import konda
konda.install()
2️⃣ Use conda commands with konda
Konda is a simple wrapper around conda.
# Create a new environment
konda create -n my_env python=3.8 -y
# Activate the environment
konda activate my_env
# Run a command in the environment
konda run "conda install anaconda::tensorflow-gpu=2.4.1 -y"
konda run "pip install requests"
# Deactivate the environment
konda deactivate
Example
To see how konda works in action, check out the example.
🗑️ Uninstallation
To remove the Miniconda installation created by konda:
konda uninstall
To uninstall the konda package itself:
pip uninstall konda
🔍 How It Works
Konda simplifies conda management in Google Colab by:
- 📥 Downloading and installing Miniconda in the Colab environment
- 🔧 Setting up the necessary environment paths and variables
- 🔄 Handling the
source /usr/local/etc/profile.d/conda.shrequirement under the hood - 🚀 Providing a consistent interface for all conda commands
🤝 Contributing
Contributions are welcome! Here's how you can help:
- 🍴 Fork the repository
- 🔧 Create a feature branch
- 💻 Commit your changes
- 📤 Push to the branch
- 🔄 Open a Pull Request
📝 License
This project is licensed under the MIT License.
Made with ❤️ to simplify your Colab experience
Metadata
Release files for konda 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| konda-0.1.0.tar.gz | 6.0 kB | Without provenance | Details for konda-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| konda-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for konda-0.1.0-py3-none-any.whl |
Total release size: 13.3 kB
Release files / konda-0.1.0.tar.gz
| Download URL | konda-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd29cb84736513d227596d3bb972c85d34727ccb0e7ffe422746664ec568f24e
|
|
BLAKE2b-256 checksum How to use checksums |
94f0f0ec6c650fbbaf2a6dfd13784053274defb28e05f0454381061818edfa0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / konda-0.1.0-py3-none-any.whl
| Download URL | konda-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30beab78adc490786934b327edf99d28c643dd503304147f0c9f816240dc715d
|
|
BLAKE2b-256 checksum How to use checksums |
cc6e0a4c6936b311ee703fb295f98db2c7f72c4793e57398c4fb0dfa76eb43fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for konda 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.