Publishing Your Python Package on Conda and Conda-forge

Publishing Your Python Package on Conda and Conda-forge

Guide to conda and conda-forge .Publishing Your Python Package on conda and conda-forge

Why Use Conda?

I recently wrote a post guiding users through the process of publishing their python package to PyPI to be installed via pip. However, many users prefer to use conda. I like to have my packages available on conda since it plays nicely with packages that have external dependencies. Sometimes a package will also only be available on a conda channel, and it is best to avoid mixing pip and conda installations in a single environment in order to steer clear of dependency issues.

Note: If you have not already published your package on PyPI, make sure to see the initial steps I layout in my other post. You need to have the correct file hierarchy, `___init.py_`_ files, and a License. See my example Github repo for an example of proper file hierarchy.

Conda Channels

Channels are simply the locations where packages are stored. Some very popular packages are stored in the default conda channel, many smaller packages are stored in individual user’s own channel, or there are community channels like conda-forge.

You can specify the channel you would like to use when installing a package in the command line. Or you can create a conda configuration file (.condarc ), which allow you to list channels in order of priority.

conda install swepy --channel conda-forge

conda anaconda open-source python

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

An Open-Source Book About the Open Source World

Open source today is a word that often include a lot of things, such as open knowledge (Wikimedia projects), open hardware (Arduino, Raspberry Pi), open formats (ODT/ODS/ODP) and so on.

Python Tricks Every Developer Should Know

In this tutorial, you’re going to learn a variety of Python tricks that you can use to write your Python code in a more readable and efficient way like a pro.

How to Remove all Duplicate Files on your Drive via Python

Today you're going to learn how to use Python programming in a way that can ultimately save a lot of space on your drive by removing all the duplicates. We gonna use Python OS remove( ) method to remove the duplicates on our drive. Well, that's simple you just call remove ( ) with a parameter of the name of the file you wanna remove done.

Did Google Open Sourcing Kubernetes Backfired?

With Google not owning the trademarks or control for Kubernetes, it also provided a competitive edge to AWS, Microsoft, IBM etc.

Basic Data Types in Python | Python Web Development For Beginners

In the programming world, Data types play an important role. Each Variable is stored in different data types and responsible for various functions. Python had two different objects, and They are mutable and immutable objects.