Skip to main content

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.26

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

Source distribution (sdist)

Source distribution for server-decorator-entity 2.0.26
File Size Uploaded Provenance Actions
server_decorator_entity-2.0.26.tar.gz 11.4 kB With provenance Details for server_decorator_entity-2.0.26.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for server-decorator-entity 2.0.26
File Interpreter ABI Platform Actions
server_decorator_entity-2.0.26-py3-none-any.whl Python 3 none any Details for server_decorator_entity-2.0.26-py3-none-any.whl

Total release size: 21.5 kB

Release files / server_decorator_entity-2.0.26.tar.gz

Download URL server_decorator_entity-2.0.26.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2e3232af2b7056ec2672a85700a6200d47cb9c92bd1ae9def2c486bbc76f80f4
BLAKE2b-256 checksum
How to use checksums
43771d4762a309c828850a7e18c81685dfdf938b3c5fa4aac54015914d92cce8
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 log

Release files / server_decorator_entity-2.0.26-py3-none-any.whl

Download URL server_decorator_entity-2.0.26-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a87f07835a9d56b43e0c63dc9347ba2c4c36be495a440a264467d1d427c5e74d
BLAKE2b-256 checksum
How to use checksums
ed75eb598c09bc99cfaaddf2746e1c2b6aa0b2e12f96e2ccbcc84e7539f3f808
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 log

Security for server-decorator-entity 2.0.26

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.

Select from 2 files

Attestation for server_decorator_entity-2.0.26.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 log

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