Aedificator - Python project scaffolding tool
Project description
aedificator
Python project scaffolding tool.
Installation
$ pip install aedificator
Usage
In the directory where you want the scaffolding to happen, type
$ aedificate your_project_name
This will create a following structure:
current_working_directory
├── .dockerignore
├── .flake8
├── .gitignore
├── Makefile
├── README.md
├── src
│ └── your_project_name
│ └── __init__.py
├── tests
│ └── __init__.py
└── tox.ini
You can now start putting your code in the src/your_project_name
directory.
Additional options
--target-dir
change the directory where the scaffolding happens (default:.
)--line-length
change the maximum line length to be enforced byBlack
andflake8
Consult $ aedificate --help
for up-to-date info.
Aedificator comes with preconfigured formatting, linting, type checking and testing
options, leveraging the power of tox
. If you do not have tox
installed, type
$ pip install tox
Now, use
$ tox -e linters
for formatting, linting, and type checking (or tox -e format|flake8|mypy
for just one
of them) and
$ tox -e py37|py38|py39|p310
for your test suites.
Use
$ tox
if you want it all. ;)
A small note: tox
will fail as long as you have no tests in your tests
directory.
If you like to see green colour, while you still have no tests, limit yourself to
tox -e linters
(and hurry to add some tests)
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
File details
Details for the file aedificator-2.1.0.tar.gz
.
File metadata
- Download URL: aedificator-2.1.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 545ac37adb8fb8c2113da853cfb38dd53252f54d95e362d16e7ee756ab281e69 |
|
MD5 | c942cef795e6b120cfc86423c9c7dc39 |
|
BLAKE2b-256 | 5da276ec0092405a16edec1ea7d7af4477c77f7b4d2c4e80f80cd906e686e48d |
File details
Details for the file aedificator-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: aedificator-2.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0177647f7963f04392569b7b70279b823a753b56babb852c02c364cce3bb248 |
|
MD5 | bae8871b5706eca8b7f8c31206c2caed |
|
BLAKE2b-256 | 41d509f77342357b7789e265832d2a49b0267ff23988ff2e58744af470c2da45 |