Skip to main content

Python application template for personal use

Project description

pyprefab

A Python template for personal use. The package itself doesn't do much, but I keep it up to date as my Python workflow and tooling preferences evolve.

Installing and running the package (no development)

To install this package via pip:

pip install git+https://github.com/bsweger/pyprefab.git

To run it:

hello_world

Setup for local development

The instructions below outline how to set up a development environment based on uv tooling.

Prerequisites:

  1. Clone this repository

  2. Change to the repo's root directory:

    cd pyprefab
    
  3. Create a Python virtual environment and install dependencies. The command below creates a virtual environment in the .venv directory, installs Python if needed, installs project dependencies (including dev dependencies), and installs the package in editable mode:

    uv sync
    
  4. Run the test suite to confirm that everything is working:

    uv run pytest
    

Updating dependencies

Use uv add to include a new dependency in the project. This command will install the new dependency into the virtual environment, add it to uv.lock, and update the dependencies section of pyproject.toml.

uv add <package-name>

To add a dependency to a specific group (adding a dev dependency, for example), use the --group flag:

uv add <package-name> --group dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyprefab-0.2.0.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyprefab-0.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pyprefab-0.2.0.tar.gz.

File metadata

  • Download URL: pyprefab-0.2.0.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pyprefab-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6cd5230ad2a54bbaf8f02508211f537aa6f7c8d6ccbd39babbde0399fcc9633f
MD5 d70735547dfd1e18d467d510a8fd7c95
BLAKE2b-256 bbcedf281e24de5245ffa4099dfe91b8f0a2897c74b98351a0bb7ecbb3d41f3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyprefab-0.2.0.tar.gz:

Publisher: publish-pypi.yml on bsweger/pyprefab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyprefab-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyprefab-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pyprefab-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d6a8244f0d948bcdd88870ac69bf1e3418f35b86829b2f8da22bd08b0da86e3
MD5 34319d0eabbb39408431a1240b90b217
BLAKE2b-256 029eaf01dba10e3e0fd7ac7abdf40ce35dd24133e847d7e1e04aaf964d4d7742

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyprefab-0.2.0-py3-none-any.whl:

Publisher: publish-pypi.yml on bsweger/pyprefab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page