serpentine-shim
The runtime companion of the Serpentine
compiler. It provides the ownership vocabulary — Owned, Ref, Mut, Shared, Weak,
move, @native — as runtime no-ops, so a Serpentine program is also a valid, runnable
CPython program:
from serpentine import Owned, Ref, move
def total(prices: Ref[list[float]]) -> float:
return sum(prices)
def main() -> None:
prices: Owned[list[float]] = [9.99, 4.50]
print(total(prices))
archive = move(prices) # lambda x: x at runtime; a semantic move to `serp check`
Under CPython this package does nothing except make the imports resolve: the wrappers are
typing.Annotated aliases (so Owned[list[float]] is list[float] to any type checker)
and move returns its argument. All semantics live in the static checker, serp check.
This package is intentionally frozen and tiny: its public API is part of the Serpentine language spec (docs/spec.md).
Metadata
Release files for serpentine-shim 0.9.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 |
|---|---|---|---|---|
| serpentine_shim-0.9.2.tar.gz | 13.9 kB | With provenance | Details for serpentine_shim-0.9.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| serpentine_shim-0.9.2-py3-none-any.whl | Python 3 | none | any | Details for serpentine_shim-0.9.2-py3-none-any.whl |
Total release size: 26.9 kB
Release files / serpentine_shim-0.9.2.tar.gz
| Download URL | serpentine_shim-0.9.2.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fabd29f4afa60d34e9c40409309c54ea1d62f34803b308fc905b78d92db62721
|
|
BLAKE2b-256 checksum How to use checksums |
8cf502f941a4e7e452ada37033affcb5c73426cdd191840ef378dbc075ccd824
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / serpentine_shim-0.9.2-py3-none-any.whl
| Download URL | serpentine_shim-0.9.2-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c813ace3f2f1f1a81e7a8d0b1cffe619b87ec311aed1101bd56f7a4ffaded78d
|
|
BLAKE2b-256 checksum How to use checksums |
2d65b45f63638949fdc2b0480973db00047f44c13541b9950fa9783b2f346eff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for serpentine-shim 0.9.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for serpentine_shim-0.9.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA 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.