Ensures generated code does no more than your spec demands.
Project description
specfence
A proof-of-concept implementation of Specification Fencing (essay coming soon).
Demo
$ 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.
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
specfence-0.0.6.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file specfence-0.0.6.tar.gz.
File metadata
- Download URL: specfence-0.0.6.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f047068c74cf96825c78ba1671c38b393e9f69a5846d0b35bfe39652eddadc26
|
|
| MD5 |
344bc4d321c861fa77e4379257ea88e5
|
|
| BLAKE2b-256 |
fc595451cf22bd9d1ac51f24ff5874577aed71f3c84cb5fc27dbe271be6b9334
|
File details
Details for the file specfence-0.0.6-py3-none-any.whl.
File metadata
- Download URL: specfence-0.0.6-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff1ac6fd55a4279c50d0f0ec280c26a29db408904a145a50e80e9b77497cab3a
|
|
| MD5 |
b95323d369af34a48d2661a6cbe813cd
|
|
| BLAKE2b-256 |
649fa25b48dbc419be4955265e7fc30ad7efa07c1a41c3640b8b7b3b6d2beaf9
|