Skip to main content

A python project template, using Poetry.

Project description

python-project-template

A python project template, using Poetry.

Setup Instructions

  1. Rename the Template
    Run the following command to rename the template to your desired project name:

    ./rename-template.sh <new_project_name>
    
  2. Install Poetry and Poethepoet
    If you don't have Poetry and Poe installed, you can install them from requirements using pip:

    pip install -r requirements.txt
    
  3. Install Project Dependencies
    Use Poetry to install all project dependencies:

    poetry install
    
  4. Setup Releases

Main Commands

  • Run Tests
    Execute the test suite using pytest:

    poe test
    
  • Run Tests with Coverage
    Execute the test suite with coverage reporting:

    poe coverage
    

    and generate a report with poe coverage-report or poe coverage-html

  • Run Static Checks
    Perform static code analysis using both mypy and ruff:

    poe static-checks
    
  • Format Code
    Format your code using ruff:

    poe format
    

Note: All these checks are required to pass in order to create a release.

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

python_project_template_mala1180-1.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file python_project_template_mala1180-1.1.0.tar.gz.

File metadata

File hashes

Hashes for python_project_template_mala1180-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a2f0068b2da5aba4dd52cf1a8b1fb7e894cddeea9f4e62dc2fd9d690e483fe4c
MD5 8bfeda5b92c889cbd0c2238de73a237f
BLAKE2b-256 d13ed0c919174ef55863577d111f1782b6d76525d2d783b4ed55b9120475af4d

See more details on using hashes here.

File details

Details for the file python_project_template_mala1180-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_project_template_mala1180-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3922e36f3d4698478ed9880b1bef6eaa91fec4cf8fda4af5cb354a712014aa20
MD5 b8cf1ef8d83550ac3b57e41d6f643442
BLAKE2b-256 66f15978f319da68960c50b713585c3d477596e0558e99e2837fd014d6b4d461

See more details on using hashes here.

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