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.1.tar.gz (28.8 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.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyprefab-0.2.1.tar.gz
  • Upload date:
  • Size: 28.8 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.1.tar.gz
Algorithm Hash digest
SHA256 af8ff20ca0ae95dc6382c8fa13f0368f846b55fb30ea315297579c37d4f3d3f4
MD5 917f8a203e6c96c694beeb12948a3aed
BLAKE2b-256 e91d52f9ef5c367e4d9907752d751115181dfcb5114fc966518ca196029d7761

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyprefab-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: pyprefab-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9220fe6b57f1eed8dd1b8422e8123f560b764d65af884c4822b0643acb87e183
MD5 19197ca581d75838088124c76e809ca4
BLAKE2b-256 459afef19e3a2a1039b93193369d96fc015a05804ac6bcc5adc76cbcada58fec

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyprefab-0.2.1-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