Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danishi/simple-python-package-template

Simple Python package template
https://github.com/danishi/simple-python-package-template

Last synced: about 1 month ago
JSON representation

Simple Python package template

Awesome Lists containing this project

README

        

# Simple Python package template

## Setup

```shell
python -m venv venv
. venv/bin/activate
```

## Install
```shell
pip install -e .[dev]
pip list | grep mypackage
python
>>> import mypackage
>>> print(str(mypackage.main.add_one(1)))
2
```

## Uninstall
```shell
pip uninstall mypackage
```

## Test
```shell
pytest
```

## Remote install
```shell
pip install git+https://github.com/danishi/[email protected]
```