Skip to main content

Add your description here

Project description

white duck templater

Welcome to the Python Project Starter! This tool allows you to quickly generate and configure Python project templates tailored to different types of development workflows, from general-purpose projects to specialized setups like data science or web applications. With built-in wizards, dependency management, and ready-to-use configurations, you can start coding right away with minimal setup hassle.

Features

  • Automated Project Setup: Create fully-configured Python projects in minutes with essential dependencies and tools pre-installed.
  • Modular and Flexible: Choose from a variety of templates, each designed to support specific development needs such as libraries, web apps, CLI tools, or data science projects.
  • Configuration Wizard: A step-by-step guide to configure your project type, name, and directory, with options to customize dependencies and modules.
  • Pre-configured Development Tools: Includes options for setting up linting, testing, profiling, logging, and more, with popular tools like pytest, mypy, Black, and Loguru.
  • Documentation Generation: Templates include support for MkDocs and MkDocs Material to make it easy to document your project.

Templates Available

The app comes with pre-built templates to support various types of projects:

  • White Duck Python Stack: A versatile template with essential development tools for general Python projects.
  • Python Data Science Project Stack: A data science-focused template, pre-configured with libraries for data manipulation, visualization, and machine learning.

You can also extend and customize these templates to include additional dependencies or features specific to your project needs.

Getting Started

  1. Clone the Repository:

    git clone https://github.com/yourusername/python-project-starter.git
    cd python-project-starter
    
  2. Select a Template: Open the app and select the template that best suits your project type. Each template includes a setup wizard that will guide you through the configuration.

  3. Configure Your Project:

    • Project Type: Choose the project type based on your workflow (e.g., library, web app, CLI tool, data science).
    • Project Name and Directory: Specify the name and directory where you want the project to be created.
    • Modules and Dependencies: Select additional modules and dependencies you want to include, such as pre-commit, pytest, Black, and others.
  4. Run the Setup Wizard: Follow the prompts to configure the project. The wizard will install dependencies, set up project structure, and configure any selected tools.

  5. Initialize the Project: Once configured, the app will initialize the project with the specified tools and settings. You’re now ready to start coding!

Modules and Dependencies

Each template includes a set of default tools that can be extended or customized. Below is an overview of the main dependencies included:

  • Development Tools: pre-commit, pytest, Black, Flake8, Mypy, Loguru
  • Data Science Libraries (Data Science Stack): pandas, numpy, matplotlib, seaborn, scikit-learn, Jupyter Notebook
  • Documentation: MkDocs, MkDocs Material

These tools help ensure code quality, facilitate testing, and support interactive data exploration and visualization.

Adding Custom Templates

You can extend the app by creating custom templates. Simply create a new YAML file in the templates directory with your desired configuration. Ensure the structure follows the same format as the existing templates, and the app will recognize your custom template during setup.

Contributing

If you'd like to contribute to the project, feel free to submit a pull request. We welcome improvements, new templates, and feature enhancements!

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

whiteduck-0.3.7.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

whiteduck-0.3.7-py3-none-any.whl (38.9 kB view details)

Uploaded Python 3

File details

Details for the file whiteduck-0.3.7.tar.gz.

File metadata

  • Download URL: whiteduck-0.3.7.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.22

File hashes

Hashes for whiteduck-0.3.7.tar.gz
Algorithm Hash digest
SHA256 8e31b719ef3efdc2446302a3f53c8fe9177363be345470a53819c58775c7f3bf
MD5 02ce011f4bfa4a5d980e3cf68112e301
BLAKE2b-256 bb126a7539a439f04a36e6f3a92902716665cf62416ad6445a314d2f7fb0e42d

See more details on using hashes here.

File details

Details for the file whiteduck-0.3.7-py3-none-any.whl.

File metadata

File hashes

Hashes for whiteduck-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0ce695bbe5a592d297d92ad862f0efbccb7e6e410fefd77dd7ae8b95666003ce
MD5 9c991810c27178a175dcabbc987576de
BLAKE2b-256 ab05c7fe6af43baacb5e4cedf7800f13f08beb51ca1b02702c55705435b17309

See more details on using hashes here.

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