We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Tutorials - Dave, Bianca, Valerio, Mahe: Publishing your Python project, the conda way
Learn how to publish your Python project with conda, a package manager and environment manager, and discover the benefits of managing dependencies and environments without polluting your system.
- Conda is a package manager and environment manager for Python.
- When publishing a Python project, use conda to manage dependencies and environment.
-
Use
conda build
to create a recipe for your package. - A package manager like conda allows you to manage dependencies and environment without polluting your system.
- When using conda, you can create a new environment with specific dependencies and activate it.
-
Use
conda install
to install packages in your environment. -
When creating a package, use
setup.py
andpyproject.toml
to define metadata. - Conda channels can be used to host packages and manage dependencies.
- Anaconda Cloud account is required to host packages on your own channels.
- Conda Forge is a community-driven package repository.
- Pytest is a testing framework that can be used with conda.
- When testing, use a random seed to ensure reproducibility.
-
Use
conda env
to manage environments and packages. - Conda can be used to manage dependencies and environment on different platforms.
-
Use
conda build
to create a package and upload it to Anaconda Cloud. - Conda can be used to create a new environment with specific dependencies and activate it.
-
Use
conda install
to install packages in your environment. -
When creating a package, use
setup.py
andpyproject.toml
to define metadata. - Conda channels can be used to host packages and manage dependencies.
- Anaconda Cloud account is required to host packages on your own channels.
- Conda Forge is a community-driven package repository.
- Pytest is a testing framework that can be used with conda.
- When testing, use a random seed to ensure reproducibility.
-
Use
conda env
to manage environments and packages. - Conda can be used to manage dependencies and environment on different platforms.