Template for general Python development.
Project description
python-samples
A series of Python samples are available spanning the categories below.
| Sample | Description |
|---|---|
| args_kwargs | Overview of args & kwargs and their usage. |
| assert | Overview of assert and its usage. |
| asychronous_programming | Overview of Asynchronous Programming in Python. |
| classes | Overview of Classes / Object-Oriented Programming (OOP) and their usage. |
| control_flow | Overview of Control Flow and its usage. |
| counters | Overview of Counters and their usage. |
| defaultdict | Overview of defaultdict and its usage. |
| dictionaries | Overview of Dictionaries and their usage. |
| dsa | Data Structures and Algorithms (DSA). |
| exceptions | Overview of Exceptions and their usage. |
| functions | Overview of Functions and their usage. |
| hello_world | A very simple Python program. |
| introduction | A general introduction to the Python programming language. |
| iterables_and_generators | Overview of Iterables & Generators and their usage. |
| list_comprehensions | Overview of List Comprehensions and their usage. |
| lists | Overview of Lists and their usage. |
| modules | Overview of Modules and their usage. |
| randomness | Overview of Randomness in Python. |
| regex | Overview of Regular Expressions in Python. |
| sets | Overview of Sets and their usage. |
| sorting | Overview of Sorting and its usage. |
| strings | Overview of Strings and their usage. |
| truthiness | Overview of Truthiness in Python. |
| tuples | Overview of Tuples and their usage. |
| type_annotations | Overview of Type Annotations in Python. |
| virtual_environments | Overview of Virtual Environments and their usage. |
| whitespace_formatting | Overview of Whitespace Formatting in Python. |
| zip_argument_unpacking | Overview of zip & Argument Unpacking in Python. |
Script Execution
First, a local project environment needs to be created, then the project's modules will be installed into locally into a virtual environment.
-
Clone the repository.
git clone https://github.com/bellanov/python-template.git cd python-template
-
Create a virtual environment.
# Create Virtual Environment python3 -m venv .venv # Activate Virtual Environment # Linux source .venv/bin/activate # Windows .venv\Scripts\activate .venv\Scripts\Activate.ps1 # Install all dependencies (runtime and development) pip install -e ".[dev]" # Deactivate Virtual Environment deactivate
Testing, Linting, and Formatting
Execute the tests to validate your installation.
Linux
scripts/test.sh
Windows
.\scripts\test.ps1
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 andy_python_template-0.2.0.tar.gz.
File metadata
- Download URL: andy_python_template-0.2.0.tar.gz
- Upload date:
- Size: 101.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81aa6ab584e8017aacb277625e6ea2eda9036c00a788921f30c6746a8befbdd8
|
|
| MD5 |
b12337f0db357f593e4dcfa522cc7511
|
|
| BLAKE2b-256 |
4f319d3287b889544036219fb698585f224c09daad93511c1ed40994c697164e
|
Provenance
The following attestation bundles were made for andy_python_template-0.2.0.tar.gz:
Publisher:
release.yml on bellanov/python-template
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
andy_python_template-0.2.0.tar.gz -
Subject digest:
81aa6ab584e8017aacb277625e6ea2eda9036c00a788921f30c6746a8befbdd8 - Sigstore transparency entry: 2082433253
- Sigstore integration time:
-
Permalink:
bellanov/python-template@49146e0a865075bfd34edff64a1fd4925bd7c738 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/bellanov
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@49146e0a865075bfd34edff64a1fd4925bd7c738 -
Trigger Event:
release
-
Statement type:
File details
Details for the file andy_python_template-0.2.0-py3-none-any.whl.
File metadata
- Download URL: andy_python_template-0.2.0-py3-none-any.whl
- Upload date:
- Size: 127.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d126215a8169a7265fdbd9cf776557ce0900fb8d3264c8bbc95cb022079bb9e2
|
|
| MD5 |
ca29cc0352fe653094089f3e68a36036
|
|
| BLAKE2b-256 |
ee97e58e1c1f6622746e0b5487f78dabda74d3d8ea27fa53f89be5617e5afcfe
|
Provenance
The following attestation bundles were made for andy_python_template-0.2.0-py3-none-any.whl:
Publisher:
release.yml on bellanov/python-template
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
andy_python_template-0.2.0-py3-none-any.whl -
Subject digest:
d126215a8169a7265fdbd9cf776557ce0900fb8d3264c8bbc95cb022079bb9e2 - Sigstore transparency entry: 2082433519
- Sigstore integration time:
-
Permalink:
bellanov/python-template@49146e0a865075bfd34edff64a1fd4925bd7c738 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/bellanov
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@49146e0a865075bfd34edff64a1fd4925bd7c738 -
Trigger Event:
release
-
Statement type: