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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py-vs-github-starter-0.2.1.tar.gz.
File metadata
- Download URL: py-vs-github-starter-0.2.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68f0bc0a5127ee4ac4bc610ce8cde552571f51bbe59be4c3cf5d4d77317f5df8
|
|
| MD5 |
25de88ac463a1ca465a0ed5eead91aed
|
|
| BLAKE2b-256 |
2090a0d612656850cf0d87b727e006014c3f9892e1a6dc4b8c79c71914589df0
|
File details
Details for the file py_vs_github_starter-0.2.1-py3-none-any.whl.
File metadata
- Download URL: py_vs_github_starter-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29331ede1da445c5a8d577badea46356dcf15bd99abe258e6b07778ac726f8f0
|
|
| MD5 |
195400f794db1f0757f5a6669fcd2d52
|
|
| BLAKE2b-256 |
ca9923d605d96100410ffdb9f832bb69ec4bc766773f5b0782166bcf40ae7c8b
|