Python Build Jelly
New
just added zsh completion! found in the file zsh.sugar
Anyway, PBJ is a simple, extensible pythonic build framework, whose purpose is to be dead simple for the basic cases.
Here’s an example:
from pbj import Builder, cmd
import os
build = Builder("PJs")
build.cmd("jstest", ("js", "test/runtests.js"))
build.clean("build", "test/py/*.js")
@build.file("build/pjslib.js", depends="jslib/*.js")
def jslib(name):
text = cmd("cat", "jslib/*.js")
if not os.path.exists("build"):
os.mkdir("build")
open("build/pjslib.js").write(text)
if __name__ == "__main__":
build.run()
Cool things: targets are classes, and decorate functions.
And…this project is just starting out, so I’ll fill the rest in later.
Included:
disttest - a drop-in plugin to add a “setup.py test” for distutils
Cheers.
Metadata
Release files for pbj 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pbj-0.1.2.tar.gz | 10.5 kB | Without provenance | Details for pbj-0.1.2.tar.gz |
Release files / pbj-0.1.2.tar.gz
| Download URL | pbj-0.1.2.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91120b6db07df0dce7615b375d251574fd1fbfc57835d6b25c27e17ee0da521c
|
|
BLAKE2b-256 checksum How to use checksums |
46183135c7675cb0b100427358ff63b37cddc9b51099a3ad1500e0214587e219
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pbj 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.