Skip to main content

lancelot allows class and function behaviour to be specifed and verified using a DSL-like syntax, for example:

@verifiable
def can_peek_and_pop_after_push():
    spec = Spec(Stack, given=new_stack)
    spec.when(spec.push(value='a'))
    spec.then(spec.peek()).should_be('a')
    spec.then(spec.pop()).should_be('a')
    spec.then(spec.peek()).should_raise(IndexError)
    spec.then(spec.pop()).should_raise(IndexError)

Metadata

Release files for lancelot 1.0

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

Source distribution (sdist)

Source distribution for lancelot 1.0
File Size Uploaded Provenance
lancelot-1.0-py3.0.zip 43.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lancelot 1.0
File Interpreter ABI Platform
lancelot-1.0-py2.5.egg Legacy Egg format - - Details

Total release size: 129.6 kB

Release files / lancelot-1.0-py3.0.zip

Download URL lancelot-1.0-py3.0.zip
Size 43.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9d6933865f589e10a88fa65b81b7f64484a38b54b4c7b74fd480599b480b7d2a
BLAKE2b-256 checksum
How to use checksums
39a029f54a9853bab5d5b9dbebf400aaf0abb5201547645dcb99fa85882136c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / lancelot-1.0-py2.5.egg

Download URL lancelot-1.0-py2.5.egg
Size 86.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
185d68b9186cb001550dcf833e08a7f8c7069117a25be897ee07b08f37771473
BLAKE2b-256 checksum
How to use checksums
2970a51964600616b23c985d096ee6333d3d9de518ef53deab0664bbd6a35779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for lancelot 1.0

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