Skip to main content

A Modern Python Package Template

Project description

MPPT: A Modern Python Package Template

Python PyPI PyPI Downloads GitHub License

Ruff Checked with mypy pre-commit Build Docs Test Codecov

About

MPPT: A Modern Python Package Template.

Get Started

  1. Use this template repository to create your own project repository by clicking the "Use this template" button on GitHub or visiting MPPT.

  2. Replace all instances of MPPT, shenxiangzhuang, and other template-specific details with your own information:

    • Project name, author, and GitHub username in all files
    • GitHub repository links in README.md badges and documentation
    • Package name in pyproject.toml and code files
    • Update LICENSE file with your name and year
  3. Set up your development environment:

    # Clone your repository
    git clone https://github.com/your-username/your-project.git
    cd your-project
    
    # Set up environment using uv
    uv venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    
    # Install development dependencies with uv
    uv sync --all-extras --dev
    
    # Initialize pre-commit hooks
    uv run pre-commit install
    
  4. Start developing your package by modifying the code structure as needed.

  5. Run tests to ensure everything is working correctly:

    uv run pytest
    
  6. Preview documentation locally:

    uv run mkdocs serve
    

    Then visit http://127.0.0.1:8000 in your browser.

For more details on customization options, refer to the documentation.

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

mppt-0.7.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

mppt-0.7.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file mppt-0.7.0.tar.gz.

File metadata

  • Download URL: mppt-0.7.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.16

File hashes

Hashes for mppt-0.7.0.tar.gz
Algorithm Hash digest
SHA256 6eebaf5fc2d31aef14dfa4f6fefd1369fb71c058ef362d9b8c4de64ad3d8f27e
MD5 3b50c42fc95642fc2d31bd9332cb3507
BLAKE2b-256 3cb53a7289f845876f5c01c320d2b5ffdea4a24e4007163e145977be110f3b92

See more details on using hashes here.

File details

Details for the file mppt-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: mppt-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.16

File hashes

Hashes for mppt-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1dbfdf47f3070297b49900ec9c9850cf31aeb6f9af8ebe859a4a340a96bdc6a5
MD5 73390a46b8aee8dcc4536afcb7fa2326
BLAKE2b-256 11c07caad38b6764f7fdf7e20f3a1c8fac607242d7fe4b3f392227380c2cfb64

See more details on using hashes here.

Supported by

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