Skip to main content

A library to manage environment on Google Colab and Kaggle.

Reason this release was yanked:

return bug

Project description

G-Conda

Introduction

G-Conda is a Python library that simplifies Conda environment management on Google Colab and Kaggle. This library supports checking, installing Conda, creating new Python environments, and running commands within Conda environments automatically.

Installation

You can install G-Conda using pip:

pip install gconda

Usage

from gconda import gconda

1. Check Conda and Python availability

from gconda.gconda import check_conda, check_python

print("Conda available:", check_conda())
print("Python available:", check_python())
print("Conda available:", gconda.check_conda())
print("Python available:", gconda.check_python())

2. Install Conda (if not already installed)

from gconda.gconda import install_conda
install_conda()
gconda.install_conda()

3. Create a new environment with a specific Python version

from gconda.gconda import setup_env
setup_env(python_version="3.10", env_name="gconda")
gconda.setup_env(python_version="3.10", env_name="gconda")

4. Run a pip-installed library command within the Conda environment

from gconda.gconda import run_library_command
run_library_command("gdown", "--version")
gconda.run_library_command("gdown", "--version")

License

G-Conda is released under the GNU GPL v3.0 license.

References

G-Conda is built upon and integrates features from several established projects. We acknowledge and appreciate the contributions of the following projects:

  • miniconda: A lightweight Conda distribution used for efficient package and environment management.
  • condacolab: A library that enables Conda usage on Google Colab.

These projects have played a crucial role in shaping the functionality of G-Conda.

Author

Contributions

Contributions, bug reports, and improvements are welcome. Please create an issue or submit a pull request on GitHub.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gconda-0.1.1.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gconda-0.1.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file gconda-0.1.1.tar.gz.

File metadata

  • Download URL: gconda-0.1.1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for gconda-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f9a4d1687b117a4d8bcb366aaa26b16dab3070c41b08b3741734ba1c5fec94bb
MD5 20f1f37bb9570481966dca3a52ec568d
BLAKE2b-256 f8f437f965735f886473cde73d5e45eddf114de37e1028926afb19065f0cedb4

See more details on using hashes here.

File details

Details for the file gconda-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gconda-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for gconda-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e0adc8cc352c65aa3f56042ec2a21f84257c5d6c1f5dc477577e7bcdcbb9616
MD5 a7b1d46d0d5ad5810a61baf2a3aa6e49
BLAKE2b-256 674a27ab9c2893582aa2f4c2c6962fc7da1394ff9c2d45054c57c00f6aaf3dc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page