BrownieCutter
- I just needed a quick script to lower the time cost of creating new FOSS tools. So just run this script, give the project name and class name and you'll get a proper template dir with some boiletplate code done for you.
- Yes BrownieCutter was created by itself.
- Inspired by CookieCutter.
Getting started
- As an uv tool:
uvx BrownieCutter@latest --help - From pypi:
uv pip install BrownieCutterorpip install BrownieCutter - From git: git clone then
pip install . BrownieCutter --help
Roadmap
This TODO list is maintained automatically by MdXLogseqTODOSync
- refactor to store the full files as is in a subdir, then write a function that does the regex replacement, major code cleanup and readibility expected from this
- add a pre commit hook file with isort, black
- add lines necessary for using MdXLogseqTODOSync
- fix the issue you found when refactoring wdoc about init.py vs main.py use the code of human readable seed for that
- add arg "requirements_source" to automatically populate the setup.py with them
- store the file content as fulltext in a source dir instead of in a var
- add arg "add to root"
- which automatically overwrites (copy not move) placeholders with what's given, for example to give a LICENSE
- must support dirs too
- add arg "add to project dir"
- for example used to copy the utils dir directly at the right location
- add args to import code directly from a python file
- use ast to match the imports line at the top
- use ast to get the class code you want to use
- if there is a version number, automatically set it to this number
Release files for BrownieCutter 0.1.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| browniecutter-0.1.20.tar.gz | 18.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| BrownieCutter-0.1.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.3 kB
Release files / browniecutter-0.1.20.tar.gz
| Download URL | browniecutter-0.1.20.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6f709caa6de3401c42cf54bd1eefc4c6936c1c7c014aabfb36919d0dc929a7d
|
|
BLAKE2b-256 checksum How to use checksums |
fdff1a78aa668de08fa2e644c81da5f506633833f66cc5863c9422ecdefd7664
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.7
|
Release files / BrownieCutter-0.1.20-py3-none-any.whl
| Download URL | BrownieCutter-0.1.20-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07fb62926b6fe171f9510de526a91a06b04564143d29ea7d1b528b7ac8528be5
|
|
BLAKE2b-256 checksum How to use checksums |
37eea4565d0657aa583b86e6edc464553ad6b6b87e2e3058f3c049ed4846369d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.7
|