Python project scaffolding tool.
Project description
DOGTOR
Dogtor is a simple package to scaffold your Python project. Using Dogtor you can:
- Create a new Python environment using
venv. - Scaffold a new Python package project using
Poetry. - Start your project with
Sphinxdocumentation already set up. - Install a list of packages you want to start with in your environment.
- Generate a GitLab CI/CD configuration file.
Dogtor simplifies the initial setup of your Python projects, handling the boilerplate so you can focus on your code. After the initial scaffolding, Dogtor steps aside, leaving you to work on your project.
Installation
pip install dogtor
Usage
Creating a Virtual Environment
Create a virtual environment using venv
dogtor-env -e "project_python_env"
This command creates a virtual environment named project_python_env. Remember to activate it before using Dogtor to create your project.
Activate the virtual environment
source project_python_env/bin/activate
Scaffolding a New Python Project
Scaffold a new python project using dogtor. This will create a new python project using poetry. It will also create a new sphinx documentation for the project.
dogtor-project -p "project_name"
This creates a new project named project_name. A pyproject.toml file (for Poetry), a basic project structure, and a Sphinx documentation setup will be generated.
If there is a need for you to scaffold a new python project with requirements already installed, you can do so by passing the path of a requirements file to the dogtor-project command.
dogtor-project -p "project_name" -r "path_to_requirements_file"
If you also require a gitlab cicd file template for the python package to be created you can pass the -ci flag to the dogtor-project command.
dogtor-project -p "project_name" -r "path_to_requirements_file" -ci 'gitlab'
This will include a basic GitLab CI/CD configuration file in your project.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Copyright © 2025, The Short Epoch
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dogtor-0.2.0.tar.gz.
File metadata
- Download URL: dogtor-0.2.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.14 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44764308a1ee3095f296f0bdcb38e97d589b8c0df4b2a63f6c9048dc10c33482
|
|
| MD5 |
9aa1dc08bb8ba251c30232d933163cb6
|
|
| BLAKE2b-256 |
64f31411ac611452d24a989ede2bf784201f74eca680c4bfb296365336436d9f
|
File details
Details for the file dogtor-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dogtor-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.14 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff785195085e27ee41c700363b2eb090a1feb32f180c287156813f75bcba2301
|
|
| MD5 |
4efc9009c4860506d5c5772d20cb2a54
|
|
| BLAKE2b-256 |
abb4ba7c06587ddd37af9d4f8bb93965523608e8ed7d0abab391d50fd8558a9c
|