Blocks Genesis
Reusable FastAPI building blocks for multi-tenant services: tenant resolution, auth context, Redis cache, MongoDB access, Azure Service Bus / RabbitMQ messaging, and OpenTelemetry-based observability.
Table of Contents
- Overview
- Features
- Requirements
- Installation
- Quickstart
- Delegated Access
- Public API
- Configuration
- Endpoints and Middleware Added by configure_genesis
- Sample Application
- Versioning and Compatibility
- Testing
- Contributing
- Security
- License
- Maintainers
Overview
seliseblocks-genesis-os is the shared Python foundation of the SELISE Blocks platform. It bootstraps production FastAPI services and background workers with consistent infrastructure wiring: secret loading from Azure Key Vault, tenant-aware request context, JWT authorization dependencies, Redis cache and MongoDB providers, message bus clients for Azure Service Bus and RabbitMQ, and OpenTelemetry tracing with MongoDB log/trace exporters.
It is consumed by the SELISE Blocks service repositories, so its exported names and signatures form a stable contract. See Versioning and Compatibility.
Key use cases:
- Spin up a FastAPI service with shared middlewares and lifecycle wiring.
- Add tenant-aware authorization and context propagation across requests.
- Integrate Redis, MongoDB, and either Azure Service Bus or RabbitMQ with minimal boilerplate.
- Standardize tracing and log export behavior across services.
Features
- FastAPI bootstrap utilities:
fast_api_app,configure_lifespan,configure_genesis, andclose_lifespanwire the full service lifecycle. - Multi-tenant request middleware: resolves the tenant from the
x-blocks-keyheader (or query parameter) or the request domain and injects request context. - Authorization dependency:
authorize()provides JWT authentication (tenant certificate, JWKS, or third-party public certificate) plus role and permission checks. - Azure Key Vault secret loading: loads service secrets into the typed
BlocksSecretmodel at startup usingDefaultAzureCredential. - Redis cache provider: unified sync/async cache API with pub/sub and tracing metadata.
- MongoDB context provider: tenant-aware database and collection resolution with connection caching.
- Message bus abstraction: auto-detects the provider from the connection string (
amqp:///amqps://selects RabbitMQ, anything else Azure Service Bus). - Worker runtime:
WorkerConsoleAppruns event consumers with managed service initialization and graceful shutdown. - Observability baseline: OpenTelemetry tracing plus MongoDB log and trace exporters.
- Project configuration loader: environment-keyed JSON config loading via
APP_ENV.
Requirements
| Dependency | Notes |
|---|---|
| Python 3.12+ | Declared in pyproject.toml (requires-python = ">=3.12"). |
| Redis | Cache provider and tenant update pub/sub. |
| MongoDB | Tenant lookup, application data, log and trace export. |
| Azure Key Vault | Runtime secret source; required by the current secret loader. |
| Message broker | Azure Service Bus namespace or RabbitMQ instance, depending on configuration. |
The backing services are needed at service startup (configure_lifespan / WorkerConsoleApp), not at import time.
Installation
From PyPI:
pip install seliseblocks-genesis-os
With uv:
uv add seliseblocks-genesis-os
From source:
git clone https://github.com/SELISEdigitalplatforms/blocks-genesis-py.git
cd blocks-genesis-py
uv sync
Quickstart
API service
from contextlib import asynccontextmanager
from fastapi import FastAPI
from blocks_genesis import (
AzureServiceBusConfiguration,
MessageConfiguration,
authorize,
close_lifespan,
configure_genesis,
configure_lifespan,
fast_api_app,
)
message_config = MessageConfiguration(
azure_service_bus_configuration=AzureServiceBusConfiguration(
queues=["demo_queue"],
topics=[],
)
)
@asynccontextmanager
async def lifespan(app: FastAPI):
await configure_lifespan("my_service", message_config)
yield
await close_lifespan()
app = fast_api_app(lifespan=lifespan)
configure_genesis(app, show_docs=True)
@app.get("/api/health", dependencies=[authorize(bypass_authorization=True)])
async def health():
return {"status": "healthy"}
configure_lifespan loads secrets from Azure Key Vault, configures logging and tracing, initializes the Redis cache, tenant service, and MongoDB provider, and initializes the message client for the configured broker. It runs at application startup, so the backing services and the Key Vault environment variables described under Configuration must be reachable when the server starts.
Worker service
from blocks_genesis import (
ConsumerSubscription,
MessageConfiguration,
RabbitMqConfiguration,
WorkerConsoleApp,
)
async def handle_demo_event(event_data):
print("received:", event_data)
message_config = MessageConfiguration(
rabbit_mq_configuration=RabbitMqConfiguration(
consumer_subscriptions=[ConsumerSubscription.bind_to_queue("demo_queue")]
)
)
app = WorkerConsoleApp("my_worker", message_config, {"DemoEvent": handle_demo_event})
Start the consume loop with asyncio.run(app.run(callback)), where callback is an async function invoked once the worker is ready. The mapping passed as the third argument registers one handler per payload type. A handler may be an async function or a class with a no-argument constructor and an async handle(self, data) method.
Publishing a message
from blocks_genesis import AzureMessageClient, ConsumerMessage
async def publish_demo():
client = AzureMessageClient.get_instance()
await client.send_to_consumer_async(ConsumerMessage(
consumer_name="demo_queue",
payload={"message": "hello"},
payload_type="DemoEvent",
))
AzureMessageClient.get_instance() (or RabbitMessageClient.get_instance()) is available after configure_lifespan has initialized the client for the configured broker.
Delegated Access
A worker has identity but no credential — the security context arrives over the bus with
oauth_token blanked. Delegated access closes that gap without putting a token in the message.
At send time, while a validated user token is still in scope, the message client writes a short
delegation grant to Redis and puts its opaque id in the DelegationGrant header. The worker
redeems that id at IAM (RFC 8693 token exchange) for a normal, short-lived access token carrying the
original user's tenant, organization, roles and permissions. A long job can redeem as often as it
needs; nothing rotates, so retries are safe.
Receiving checks the grant. When a message carries a grant, the worker reads the grant record
before the handler runs and compares it with the restored SecurityContext: tenant, user and
organization, plus the client for a grant made by an OAuth client. If they differ, or the record is
gone (expired, evicted or never written to this Redis), the handler does not run. Azure Service Bus
dead-letters the message with reason DelegationGrantMismatch and a reason code in the
description; RabbitMQ acks it and logs an error. Either way the grant is kept, and its TTL removes
it. A message with no grant is handled as before. If you pass ConsumerMessage.context yourself, it
must name the same tenant, user and organization as the sender's own context, because the grant is
built from the sender's context.
A SecurityContext header that is present but cannot be read (not JSON, not a JSON object, or not
a valid context) is refused the same way, before the grant is checked: Azure Service Bus
dead-letters the message with reason InvalidSecurityContext, and RabbitMQ acks it and logs an
error. Neither the header nor the parse error is logged. A missing or empty header ("" or {})
still runs the handler with no context.
A message whose SecurityContext names a tenant that is missing or disabled is refused the same
way, before the grant is checked: Azure Service Bus dead-letters it with reason TenantUnavailable,
and RabbitMQ acks it and logs an error. If the tenant cannot be read, the message takes the normal
failure path.
The wire format is identical to blocks-genesis-net — grant id shape, signature input, Redis keys,
JSON field names, header names — and a shared conformance vector is asserted in both SDKs.
Sending is automatic
Any send_to_consumer_async / send_to_mass_consumer_async made inside an authenticated request
creates the grant for you. With no authenticated user, no grant is created and the header is omitted:
it fails closed.
await MessageClient.get_instance().send_to_consumer_async(
ConsumerMessage(
consumer_name="email_queue",
payload=payload,
payload_type="EmailRequested",
delegation_ttl_seconds=6 * 3600, # optional; defaults to 2 days
)
)
A grant lives at most two days (a longer delegation_ttl_seconds is cut to two days), and a grant
whose message was not delivered, because the send failed or RabbitMQ returned it as unroutable, is
deleted at once.
Using the token is explicit, per call
from blocks_genesis import delegated_auth_headers
async def handle(message):
# Adds Authorization: Bearer <token> and x-blocks-key. Merges with what you pass in;
# an Authorization header you already set always wins.
headers = await delegated_auth_headers()
async with aiohttp.ClientSession() as session:
async with session.post(url, json=payload, headers=headers) as response:
...
Nothing is attached implicitly, by design: a worker calling a third party must not hand it a Blocks credential. Call without these headers and no credential is sent.
The token is cached per grant, with an asyncio.Lock per grant giving single-flight — fifty
concurrent callers cost one exchange, and a long job costs one exchange per token lifetime rather
than one per call.
Outside a worker there is no grant, and delegated_auth_headers() returns your headers
unchanged. Delegation solves the worker problem specifically.
Tracing caveat. This SDK has no shared outbound HTTP helper, so a call you make with these headers is not automatically traced and does not propagate
traceparentto the callee. (The token exchange itself does both — it emits ablocks.delegation.token_exchangespan.) The .NET SDK gets this fromIHttpService; there is no Python equivalent yet.
Required configuration
The IAM token endpoint is resolved by OIDC discovery and never hardcoded, because the API route prefix can rewrite it. Set at least one of these, or startup fails:
| Setting | Meaning |
|---|---|
BLOCKS_IAM_BASE_URL |
Preferred. Used for GET {base}/{tenant_id}/.well-known/openid-configuration. |
BLOCKS_IAM_TOKEN_ENDPOINT |
Fallback: the complete endpoint URL, e.g. http://blocks-iam:8080/api/oidc/token. Not a base, not a template. |
Both resolve in this order: environment variable → FrontendRuntime section → top-level key.
FrontendRuntime is checked first because that is where Blocks services keep runtime settings, so
this is the normal place to put them in your config file:
{
"FrontendRuntime": {
"BLOCKS_IAM_BASE_URL": "http://blocks-iam:8080"
}
}
A bare top-level "BLOCKS_IAM_BASE_URL" also works. Point them at IAM's internal address, never
the public host.
Operational notes
- The grant id is a bearer credential. It is never logged or set as a span attribute — keep it that way, and audit dead-letter tooling that captures message headers.
- Restrict Redis writes to
delegation:*to the delegation component; write access there is impersonation authority. - The exchange signature has a ±60s clock window, so NTP must be correct on worker and IAM nodes.
- A grant is deleted only after the message is settled for good, in the order business op → settle
→ DEL. RabbitMQ acks every message once (no retry), so it deletes the grant after the ack whether
the handler succeeded or failed. Azure Service Bus deletes it after completing the message, or
after dead-lettering it on its final attempt (reason
ProcessingFailed; the final attempt is judged from the configuredqueue_max_delivery_countortopic_subscription_max_delivery_count) or because it could not be decoded (reasonUndecodableMessage). An abandoned message keeps its grant so the redelivery still works. A refused message, or one whose grant was never checked, keeps its grant until the absolute TTL. A failed delete is logged and left to the TTL.
Public API
Everything below is importable from the top-level blocks_genesis package.
| Group | Exports |
|---|---|
| App and worker bootstrap | fast_api_app, configure_lifespan, configure_genesis, close_lifespan, WorkerConsoleApp |
| Configuration | load_configurations, get_configurations |
| Auth and context | authorize, BlocksContext, BlocksContextManager |
| Tenancy | Tenant, TenantService, get_tenant_service |
| Cache | CacheClient, CacheProvider |
| Database | DbContext, BaseEntity |
| Messaging | MessageClient, AzureMessageClient, RabbitMessageClient, ConsumerMessage, MessageConfiguration, AzureServiceBusConfiguration, RabbitMqConfiguration, ConsumerSubscription |
| Secrets | AzureKeyVault |
| Observability | Activity |
| Delegated access | delegated_auth_headers, DelegatedTokenProvider, DelegatedTokenContext, AuthClaimsContext, DelegationGrantStore, DelegationGrantFactory, DelegationGrantRecord, DelegationTokenEndpointResolver, get_delegated_token_provider, get_delegation_grant_store, get_delegation_grant_factory, get_endpoint_resolver |
| Utilities | CryptoService |
Notes:
authorize(resource_name, bypass_authorization=False)returns a FastAPI dependency.resource_nameis required unlessbypass_authorization=True; a missing name on a protected endpoint raisesValueErrorat route definition time.get_tenant_service().get_root_tenant_id_async()returns the root tenant's id, read from the root database (loaded once at startup, or on first call if that load failed); the syncget_root_tenant_id()returns the same stored id. Tenant updates on the cache channel never change it.- A tenant update on the cache channel only names the tenant: each process re-reads that tenant from the root database and never applies the message's own fields. A tenant missing or disabled there is dropped; if the read fails, the process keeps its current copy.
- Each process re-reads a cached tenant from the root database once it is a minute old; a tenant that is missing or disabled there is dropped, and if the read fails the current copy is kept for another minute. A disabled tenant is treated as unknown, and an unknown tenant key or domain is remembered for 30 seconds. Revalidation costs one root-database read per cached tenant per minute in each process, and on RabbitMQ a message whose tenant cannot be read is acknowledged and logged rather than retried (Azure Service Bus retries it). Lookups by tenant id and by domain leave disabled records out of the query, so a tenant whose records include a disabled duplicate resolves to its enabled record.
- The subscription usage helpers (
subscription_usage_snapshot,resolve_subscription_usage,resolve_subscription_usage_snapshot) fail open: on any read error they leave the snapshot empty (None) and do not refuse the request. Decide in your own code what an empty snapshot means. MessageConfiguration.resolve_provider()auto-selects RabbitMQ foramqp:///amqps://connection strings and Azure Service Bus otherwise, when neither sub-configuration is set explicitly.
Configuration
Application configuration files
load_configurations(config_dir) loads <config_dir>/<APP_ENV>.json into an in-process dictionary; APP_ENV defaults to dev. get_configurations() returns the loaded dictionary and raises RuntimeError if nothing was loaded.
from blocks_genesis import load_configurations, get_configurations
load_configurations("config") # loads config/<APP_ENV>.json, APP_ENV defaults to dev
settings = get_configurations()
Origin and proxy settings
The two BLOCKS_ settings are read from the environment first (comma-separated), then from a top-level key of the loaded configuration (a list or comma-separated values).
| Setting | Default | Purpose |
|---|---|---|
BLOCKS_CORS_ALLOWED_ORIGINS |
none | Origins CORS allows in addition to the tenants' application domains, for example https://admin.example.com. |
BLOCKS_TRUSTED_PROXY_HOSTS |
* |
Hosts (IP addresses or CIDR networks) whose X-Forwarded-For and X-Forwarded-Proto are trusted. When it is * and the service is not local, a warning is logged at startup. |
is_local |
false |
Configuration key only. true marks a local deployment, the only case where localhost origins are accepted. A service that never calls load_configurations is treated as not local. |
Signing key fetching
Token signing keys and certificates are downloaded under these rules:
- Only
httpsURLs are fetched.httpis accepted only whenis_localistrue. - Redirects are not followed. Each download has a 5 s timeout and a 1 MiB size limit.
- A third-party provider's
JwksUrlorPublicCertificatePathmust resolve only to public addresses. Private, loopback, link-local (including the cloud metadata address), multicast and reserved addresses are refused, in local mode too. File paths are refused for providers. - The primary tenant certificate, which the platform writes, may be a file path or an internal address.
- A JWKS is cached for 10 minutes per URL. A token with an unknown key id refreshes it at most once a minute. If a refresh fails, the last good keys are used for at most 1 hour past the 10 minutes.
- A certificate outside its validity dates is rejected. Certificates are cached in each process's memory for at most 1 hour, and never past their expiry; they are never read from or written to Redis.
Third-party tokens
- A token from a tenant's own identity provider must carry
exp. Up to 5 minutes of clock difference is allowed, as in blocks-genesis-net. - Claims Genesis sets itself are removed from a provider's token before anything reads it: tenant, user, organization, roles, permissions, impersonation, client, session, phone,
oauth,request_uri,token_versionandsecurity_stamp. A message sent for a third-party caller therefore carries no delegation grant built from the provider's values. - A provider with no
Issuer, noAudiences, or still on thedefaultorganization is accepted, as in blocks-genesis-net, and a[Security]warning names it once per process. - Providers that share an issuer and audience are told apart only by the
x-blocks-idpheader, which the caller chooses. Give such providers equal privilege.
Secrets (Azure Key Vault)
At startup, the secret loader fetches the fields of the BlocksSecret model from Azure Key Vault. Two things must be in place:
- Vault URL: the environment variable
KEYVAULT__KEYVAULTURLmust point at the vault (a local.envfile is honored viapython-dotenv). - Credentials: authentication uses
DefaultAzureCredentialfromazure-identity. Locally that typically meansaz login; on servers, a managed identity; or the standardAZURE_CLIENT_ID,AZURE_TENANT_ID, andAZURE_CLIENT_SECRETenvironment variables for a service principal.
Example .env for local development:
APP_ENV=dev
KEYVAULT__KEYVAULTURL=https://your-vault-name.vault.azure.net/
Secret names resolved from the vault (the fields of BlocksSecret):
| Secret | Purpose |
|---|---|
CacheConnectionString |
Redis connection string used by the cache provider. |
MessageConnectionString |
Broker connection string used by the Azure Service Bus or RabbitMQ clients. |
LogConnectionString |
MongoDB connection string used by the log exporter. |
MetricConnectionString |
Reserved metric exporter connection string. |
TraceConnectionString |
MongoDB connection string used by the trace exporter. |
LogDatabaseName |
MongoDB database name for logs. A missing service log collection is created as a time-series collection with a 90-day expiry and an index on TenantId. An existing one is used as is. |
MetricDatabaseName |
Reserved metric database name. |
TraceDatabaseName |
MongoDB database name for traces. A missing tenant trace collection is created as a time-series collection with a 90-day expiry and an index on TraceId. An existing collection is used as is: genesis-py adds no index or expiry to it and never drops it. A span goes to the collection of its own baggage.TenantId; child spans inherit the parent span's baggage.* attributes when they start. |
ServiceName |
Service identifier; overwritten at load time with the name passed to configure_lifespan or WorkerConsoleApp. |
DatabaseConnectionString |
Root tenant metadata database connection string. |
RootDatabaseName |
Root database containing tenant and authorization metadata. |
Startup fails when CacheConnectionString, DatabaseConnectionString, or RootDatabaseName is missing or empty; the error names the missing secrets, never their values.
Endpoints and Middleware Added by configure_genesis
configure_genesis(app, show_docs=False, serve_static=False, static_mount_path="/", static_dir="", cors_origins=None) installs, in order: proxy header handling, gzip compression, tenant validation on paths under /api, a global exception handler, OpenTelemetry FastAPI instrumentation, and CORS. With serve_static=True it also mounts a static directory (default ./static in the working directory) at static_mount_path, after its own routes, so a mount at / does not hide them.
It registers these routes on the app:
| Method | Path | Description |
|---|---|---|
| GET | /ping |
Returns {"status": "healthy", "message": "pong"}. |
| GET | /swagger/index.html |
Swagger UI when show_docs=True, otherwise 404. |
| GET | /openapi.json |
OpenAPI schema when show_docs=True, otherwise 404. |
The API docs routes are off unless show_docs=True: with the default show_docs=False, FastAPI's own openapi_url, docs_url, redoc_url and Swagger OAuth2 redirect routes are removed as well, so every docs path answers 404.
Tenant validation applies to requests whose path, as received or below the ASGI root path, starts with one of the included_paths prefixes (default /api). The tenant is resolved from the x-blocks-key header, the x-blocks-key or tenant_id query parameter, or the request domain. Requests with an unknown or disabled tenant are rejected, as are requests whose Origin/Referer domain is not registered for the tenant. Both get the same 404, so the response does not reveal whether a tenant key exists. A localhost origin is accepted only when is_local is true. A request with neither header passes this check.
CORS allows an origin when it is in cors_origins or BLOCKS_CORS_ALLOWED_ORIGINS, when it is an application domain of an enabled tenant, or when it is localhost and is_local is true. An allowed origin is echoed back, never *, with Access-Control-Allow-Credentials: true and Vary: Origin. Any other origin gets no CORS headers, and its preflight gets 400. Every response carries Vary: Origin. A tenant-domain decision is cached for 60 s when allowed and 10 s when refused, and at most 20 uncached lookups run per second per process; beyond that an unknown origin is refused. Preflight requests are answered before tenant validation, so they need no x-blocks-key.
The Authorization: Bearer header is always accepted. A token in a cookie is read on GET, HEAD and OPTIONS as before; on any other method it is read only when the Origin or Referer is one of the tenant's application domains (or localhost when is_local is true). The localhost alias cookie is read only when is_local is true.
Sample Application
The repository root contains a small reference wiring (not part of the published package):
api.py: a FastAPI service usingconfigure_lifespan,configure_genesis,authorize, and the Azure message client, including a server-sent events endpoint.worker.pyandtest_consumer.py: aWorkerConsoleAppconsuming the message published byapi.py.config/dev.jsonandstatic/: the configuration file and static directory the sample loads.
Starting the samples requires the backing services from Requirements plus the Key Vault environment variables, because configure_lifespan runs at startup.
Versioning and Compatibility
- The package is published to PyPI as
seliseblocks-genesis-os, version4.<minor>.<patch>, assigned automatically on each merge tomain. The minor is not a compatibility signal, so pin an exact version. - The public API is the set of names exported from the top-level
blocks_genesispackage (its__all__). This package is consumed by the SELISE Blocks service repositories, so any change to an exported name, signature, type, or default value is treated as a breaking change and is coordinated across consumers. - Moving from
seliseblocks-genesis0.3.x: replace that dependency withseliseblocks-genesis-os, do not add it next to it (both install the sameblocks_genesispackage and would overwrite each other). Imports stayblocks_genesis. Use 4.0.2 or later: 4.0.0 on PyPI predates 0.3.8, and 4.0.1 can treat a tenant with a disabled duplicate record as unknown. - Python 3.12 or newer is required.
Testing
From the repository root:
uv run pytest
Coverage:
uv run pytest --cov=blocks_genesis
Contributing
Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md before submitting a pull request. Note the branch model described there: work lands on inception and is merged into main via pull request.
Security
See SECURITY.md for the supported versions and the private disclosure process. Do not report vulnerabilities through public GitHub issues.
License
This project is licensed under the terms of the MIT License.
Maintainers
For questions or issues, open a GitHub Issue. For security concerns, follow SECURITY.md.
Metadata
Release files for seliseblocks-genesis-os 4.0.3
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 |
|---|---|---|---|---|
| seliseblocks_genesis_os-4.0.3.tar.gz | 401.4 kB | With provenance | Details for seliseblocks_genesis_os-4.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seliseblocks_genesis_os-4.0.3-py3-none-any.whl | Python 3 | none | any | Details for seliseblocks_genesis_os-4.0.3-py3-none-any.whl |
Total release size: 556.3 kB
Release files / seliseblocks_genesis_os-4.0.3.tar.gz
| Download URL | seliseblocks_genesis_os-4.0.3.tar.gz |
|---|---|
| Size | 401.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7294184b695e4eba2cfd11bef9fc5f6214cc687d79e04f227059b46a97e59796
|
|
BLAKE2b-256 checksum How to use checksums |
58cb33e1143405bf137fa395073538d8312b3292b51029042a86d2498662236f
|
| 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 Dec 1, 2026.
Transparency logRelease files / seliseblocks_genesis_os-4.0.3-py3-none-any.whl
| Download URL | seliseblocks_genesis_os-4.0.3-py3-none-any.whl |
|---|---|
| Size | 154.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fbcb429c6ec3cb2712e5fd04d67e92bd9fcf13e8c39eb61171972d87a8fcb78
|
|
BLAKE2b-256 checksum How to use checksums |
a681c284774e006631dc18c4caff9a435a7c1eeaed012f355b2e7c3174cf6b4f
|
| 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 Dec 1, 2026.
Transparency logSecurity for seliseblocks-genesis-os 4.0.3
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 seliseblocks_genesis_os-4.0.3.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 Dec 1, 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.