Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/danishi/simple-python-package-template
- Owner: danishi
- License: wtfpl
- Created: 2024-03-21T12:11:28.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-21T12:40:45.000Z (9 months ago)
- Last Synced: 2024-05-02T04:16:33.046Z (8 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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]
```