server-decorator-entity (Python)
Declarative entity decorators (@restful, @action, field markers) emitting the language-neutral EntitySpec IR — polyglot sibling of @montionugera/entity-spec, sharing the wire-format contracts in ../../../contracts.
Install
pip install server-decorator-entity
Usage
from typing import Annotated
from server_decorator_entity import restful, Id, Email, entity_spec
@restful(path="users")
class User:
id: Annotated[str, Id()]
email: Annotated[str, Email()]
spec = entity_spec(User) # -> EntitySpec IR, byte-identical to the Node emitter
entity_spec_canonical(User) returns the IR as a canonical JSON string (codepoint-sorted keys,
None-dropping) — the exact bytes both languages' generators and the cross-language parity
check compare against.
Metadata
Release files for server-decorator-entity 2.0.27
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 |
|---|---|---|---|---|
| server_decorator_entity-2.0.27.tar.gz | 11.4 kB | With provenance | Details for server_decorator_entity-2.0.27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| server_decorator_entity-2.0.27-py3-none-any.whl | Python 3 | none | any | Details for server_decorator_entity-2.0.27-py3-none-any.whl |
Total release size: 21.5 kB
Release files / server_decorator_entity-2.0.27.tar.gz
| Download URL | server_decorator_entity-2.0.27.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae52022c77d1330b5d9e10f75c8cc1b1cce2e0f29d41e6d13a318d103f9f611a
|
|
BLAKE2b-256 checksum How to use checksums |
927173f86bb50670cb35ea0d000258e874e40bd28e9d04703740feaced1a4a4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 11, 2026.
Transparency logRelease files / server_decorator_entity-2.0.27-py3-none-any.whl
| Download URL | server_decorator_entity-2.0.27-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8502d8b0ff280e21ef3671e3525b9408e67f542df2c0045343dbbd65eb915c7e
|
|
BLAKE2b-256 checksum How to use checksums |
44a25e60a96ac7e903b5cdec6f1f7595b8a23ac5b47d137f1856c20d196692dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 11, 2026.
Transparency logSecurity for server-decorator-entity 2.0.27
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 server_decorator_entity-2.0.27.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 11, 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.