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.10.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

whiteduck-0.3.10-py3-none-any.whl (41.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for whiteduck-0.3.10.tar.gz
Algorithm Hash digest
SHA256 6a1222e01d6bba6dc2b7142270f713c30719a3270ff99a9356c78a84b4482a93
MD5 01dd50a237fe0ff8f05ca6b2129700ff
BLAKE2b-256 84b8cab3fb5c66d470b71c353af63afd94edd53a0fa24f3ff8109a69f520ca21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whiteduck-0.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 29d5ef1773dec656c7bbad729633acd550bd7a346ec02d71dadd92cecc85b009
MD5 c55186ae52d8879764c7245260a97b61
BLAKE2b-256 91fdd56a7a2c7bdaa984e88ff147336aceee8e2d0e6b542ed774289355f886db

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