Skip to main content

How to make a Python package.

Project description

Sample package structure Build StatusDocumentation Status

This is a tiny, little package that shows how to easily setup a python package that includes

  1. Modularized structure
  2. A simple unittest setup using .travis.yml
  3. An easy environment building option via environment.yml
  4. Documentation of the code based on sphinx.

With this sample repository and a few instructions you should be good to go to create your own repositories that are simple to distribute and easily reproducible in the future.

Where do you start?

The simplest way is to take a peak into the documentation which is located here: Documentation. There, I will explain and go through the few necessary steps to get you started to package your modules.

Installation of this package

A few simple steps:

# Create the conda environment and install dependencies
conda env create -f environment.yml

# Activate the conda environment
conda activate htmapp

# Install your package
pip install -e .

The -e simply let's you modify the package without having to reinstall it all the time.

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

htmapp-0.0.4.tar.gz (19.5 kB view hashes)

Uploaded Source

Built Distribution

htmapp-0.0.4-py3-none-any.whl (20.5 kB view hashes)

Uploaded Python 3

Supported by

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