Keep Python project conventions up-to-date and worry less about trifling matters. 🍰
Project description
Syllabub bolt-on
Keep Python project conventions up-to-date and worry less about trifling matters. 🍰
Status
Unstable prototype. Please wear goggles.
TODO:
- Replace with pdm scripts: https://pdm.fming.dev/latest/usage/scripts/
- Just use https://pyscaffold.org
Background
High-quality software projects demand more effort to contribute. Syllabub makes simplifying assumptions and toolchain/workflow decisions, so that:
- maintainers make fewer, less frequent project-level decisions
- contributors require less up-front learning, but can dive into detail when required
- syllabub can be used as a bolt-on, not a dependency (maintainers can declare it as a dependency if they prefer)
Usage (syllabub tool)
- Set values in
pyproject.toml
. - Invoke
syllabub
to overwrite boilerplate files. - Review diff.
- Commit changes.
Usage (syllabub workflow)
See "Development environment" below.
Development environment
Install prerequisites
- Python 3.10
- pdm
- make
Instructions
- Fork the upstream repository.
git clone [fork-url]
cd [project-folder]
- Run
make develop
to initialise your development environment.
You can use any text editor or IDE that supports virtualenv / pdm. See the Makefile for toolchain details.
Please make test
and make lint
before submitting changes.
Make targets
USAGE: make [target]
help : Show this message.
develop : Set up Python development environment.
run : Run from source.
clean : Remove all build artefacts.
test : Run tests and generate coverage report.
lint : Fix or warn about linting errors.
build : Clean, test, lint, then generate new build artefacts.
publish : Upload build artefacts to PyPI.
Sharing and contributions
Syllabub bolt-on
https://lofidevops.neocities.org
Copyright 2022 David Seaward and contributors
SPDX-License-Identifier: AGPL-3.0-or-later
Shared under AGPL-3.0-or-later. We adhere to the Contributor Covenant 2.1, and certify origin per DCO 1.1 with a signed-off-by line. Contributions under the same terms are welcome.
Submit security and conduct issues as private tickets. Sign commits with
git commit --signoff
. For a software bill of materials run reuse spdx
. For
more details see CONDUCT, COPYING and CONTRIBUTING.
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
Built Distribution
File details
Details for the file syllabub-0.0.3.tar.gz
.
File metadata
- Download URL: syllabub-0.0.3.tar.gz
- Upload date:
- Size: 64.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.9 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 564cd4b316f1604841f76ee8e88495189013fe35eb810f76abbc0eb45320c671 |
|
MD5 | 743691f9106f047a9fed96e5a97afb6d |
|
BLAKE2b-256 | a80148010242942ff000f424c675a63cb31da40449601b352a3f816079a58c7e |
File details
Details for the file syllabub-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: syllabub-0.0.3-py3-none-any.whl
- Upload date:
- Size: 75.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.9 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45d6d7b8ede917539dcf568ed8f6a3300d2efad513b460f108c4f6fa1cfff784 |
|
MD5 | cd95390bde164278d08c92310ccc07c2 |
|
BLAKE2b-256 | f16365bf55a90550d89782eabb5533803e5cab7308a47773eb172ff269667115 |