Skip to main content

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.

  1. Clone the repository.

    git clone https://github.com/bellanov/python-template.git
    cd python-template
    
  2. 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

Metadata

Release files for andy-python-template 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for andy-python-template 0.2.0
File Size Uploaded Provenance Actions
andy_python_template-0.2.0.tar.gz 101.9 kB With provenance Details for andy_python_template-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for andy-python-template 0.2.0
File Interpreter ABI Platform Actions
andy_python_template-0.2.0-py3-none-any.whl Python 3 none any Details for andy_python_template-0.2.0-py3-none-any.whl

Total release size: 229.0 kB

Release files / andy_python_template-0.2.0.tar.gz

Download URL andy_python_template-0.2.0.tar.gz
Size 101.9 kB
Tags Source
SHA-256 checksum
How to use checksums
81aa6ab584e8017aacb277625e6ea2eda9036c00a788921f30c6746a8befbdd8
BLAKE2b-256 checksum
How to use checksums
4f319d3287b889544036219fb698585f224c09daad93511c1ed40994c697164e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.

Transparency log

Release files / andy_python_template-0.2.0-py3-none-any.whl

Download URL andy_python_template-0.2.0-py3-none-any.whl
Size 127.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d126215a8169a7265fdbd9cf776557ce0900fb8d3264c8bbc95cb022079bb9e2
BLAKE2b-256 checksum
How to use checksums
ee97e58e1c1f6622746e0b5487f78dabda74d3d8ea27fa53f89be5617e5afcfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.

Transparency log

Security for andy-python-template 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for andy_python_template-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page