Skip to main content

Template to quickly bootstrap Python projects.

Project description

๐Ÿ Python Project Template

Template to quickly bootstrap Python projects.

Uses PDM to manage dependencies, build distributions and publish to package repositories.

โœจ Features

  • Centralized configuration in pyproject.toml
  • Dependency management with PDM
  • Testing with unittest
  • Linting with Pylint
  • Integration with Visual Studio Code
  • Building and publishing to PyPI
  • Documentation hosted on GitLab Pages
  • CI/CD with GitLab
  • Several useful examples
    • Type hints
    • Logging
    • CLI

For a detailed description of all features check the documentation and the examples.

๐Ÿ“‚ Project Structure

๐Ÿ“‚ Python Project Template
โ”œโ”€ ๐Ÿ“ .staging              Build artifacts and other ignored files
โ”œโ”€ ๐Ÿ“ .vscode               VS Code configuration
โ”œโ”€ ๐Ÿ“ build                 Build scripts and local PDM plugins
โ”œโ”€ ๐Ÿ“‚ doc                   Documentation
โ”‚  โ”œโ”€ ๐Ÿ“ documentation      Sources for TODO documentation
โ”‚  โ””โ”€ ๐Ÿ“ homepage           Project homepage on GitLab Pages
โ”œโ”€ ๐Ÿ“ examples              Examples
โ”œโ”€ ๐Ÿ“ project_template      Main package
โ”œโ”€ ๐Ÿ“ tests                 Tests for the main package
โ”œโ”€ ๐Ÿ”ถ .gitignore            Git ignored files
โ”œโ”€ ๐ŸฆŠ .gitlab-ci.yml        GitLab CI/CD configuration
โ”œโ”€ ๐Ÿ”’ pdm.lock              Dependency lock file
โ”œโ”€ โš™๏ธ pyproject.toml        Project metadata and tool configuration
โ”œโ”€ ๐Ÿ“„ readme.md             Readme (this file)
โ””โ”€ ๐Ÿ“œ unlicense.txt         License

Contributing

TODO: Contributing.

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

Built Distribution

Supported by

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