Starter python library project for VSCode AND Github with built-in features;
Project description
py-stars
Description
Starter python library project for VSCode with built-in features:
- Preconfigured venv with linters and formatters
- Unit tests to run in tests.py
- README.md template (this one)
- Preconfigured lint.yml for GitHub Workflow
- Preconfigured ci.yml for Github Workflow (runs test.py unit tests)
- Preconfigured .gitignore file
Example :
Input
Output
Usage
Installation
- Clone this repo
- Open a terminal in local folder
- Create virtual environment :
py -3 -m venv .venv
.venv\scripts\activate
- Install dependencies :
python -m pip install --upgrade pip
pip install -r requirements.txt
- Enjoy !
tests.py
This file can be run :
- in debugger using the preconfigured "Launch current file" debug config
- in Tests explorer tab
- via Terminal with :
python -m unittest tests.py
Changelog
Initial release.
TODO
- PyPI generation in CI step
- Autogenerated doc
- Preconfigured logger
- Main template ?
- Module template ?
- Architecture hierarchy ?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for py-vs-github-starter-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68f0bc0a5127ee4ac4bc610ce8cde552571f51bbe59be4c3cf5d4d77317f5df8 |
|
MD5 | 25de88ac463a1ca465a0ed5eead91aed |
|
BLAKE2b-256 | 2090a0d612656850cf0d87b727e006014c3f9892e1a6dc4b8c79c71914589df0 |
Close
Hashes for py_vs_github_starter-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29331ede1da445c5a8d577badea46356dcf15bd99abe258e6b07778ac726f8f0 |
|
MD5 | 195400f794db1f0757f5a6669fcd2d52 |
|
BLAKE2b-256 | ca9923d605d96100410ffdb9f832bb69ec4bc766773f5b0782166bcf40ae7c8b |