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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for whiteduck-0.3.5.tar.gz
Algorithm Hash digest
SHA256 b683c8420e453b35950a1441d3fbaebc867e94530b9c5369660461c8051e0cd6
MD5 4d863aabbc3e280294af2bc7f64166a8
BLAKE2b-256 9dd3167aa06675342973dcb22088fc2f8f29d4465267f72fbb5aabb00255e9dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whiteduck-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ca8726e6e8132a519533a3db68969a32c0cdf574cdd8e9b845102f15db4d74ff
MD5 bf747445f9e48bff851d3062912ff597
BLAKE2b-256 19b49c223b69596b8ea0c1011b2e08c1b2cdfa9f394ff51387a5af27b70eb421

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