Skip to main content

specfence

A proof-of-concept implementation of Specification Fencing (essay coming soon).

Demo

example/fizzbuzz.py contains a simple implementation of FizzBuzz, but with scattered print and logging statements that do not change any observed behavior as defined by example/fizzbuzz_test.py. Running specfence on this file identifies these lines as specification fencing violations, and suggests deleting them.

$ uvx specfence example/fizzbuzz.py example/fizzbuzz_test.py
 8| print("FizzBuzz!")
11| logger.info("Divisible by 3")
14| logger.info("Divisible by 5")
17| print("Returning number")

4 specification fencing violations found. Delete these lines as they do not change any observed behavior.

Metadata

Release files for specfence 0.0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for specfence 0.0.18
File Size Uploaded Provenance Actions
specfence-0.0.18.tar.gz 6.6 kB Without provenance Details for specfence-0.0.18.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for specfence 0.0.18
File Interpreter ABI Platform Actions
specfence-0.0.18-py3-none-any.whl Python 3 none any Details for specfence-0.0.18-py3-none-any.whl

Total release size: 14.6 kB

Release files / specfence-0.0.18.tar.gz

Download URL specfence-0.0.18.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8af40e787a32b1798ef5955a56d07a580673eb6766cb3ffaf75f87c13535460e
BLAKE2b-256 checksum
How to use checksums
f2259d90e204e7348531f8d748ea6d9cc94295c7c8b7d634652569a13c51a1ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / specfence-0.0.18-py3-none-any.whl

Download URL specfence-0.0.18-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c64ac818d53b2b0ac75504992c09cff29a57b293c561d097bddc49d6afd0172
BLAKE2b-256 checksum
How to use checksums
b8b35eb5a324499610afd6d42decfc2d6421300e8deadeaae25224218810db44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for specfence 0.0.18

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page