50 projects
xtr-messenger
A message bus for Python: envelopes, stamps, a middleware chain, and pluggable transports.
xtr-logging-contracts
The logging contract: one interface, eight severities, and a logger that discards everything.
xtr-logging
Channels, handlers, processors and formatters for Python, behind one logger interface.
xtr-clock
Decouples an application from the system clock: an injectable clock, a timezone-aware instant, and a frozen clock for tests.
xtr-scheduler
Recurring messages on xtr-messenger: cron and periodic triggers, catch-up after downtime, locks and saved state across restarts.
xtr-dependency-injection
A bundle and kernel layer for the xtr libraries, compiled to a wireup container.
xtr-lock
Exclusive and shared locks around resources, held in memory, in files, in Redis, or across several stores at once.
xtr-service-contracts
Contracts for the lifecycle of a service: what a container drives, not what a service does.
xtr-mime
Build email messages — addresses, headers, text and HTML bodies, attachments and inline images — rendered to standard MIME by Python's own email package, signed with DKIM or S/MIME when asked.
xtr-console
Async-native console applications for Python: commands as functions or classes, declared once and wired by a container.
xtr-http-message
A strict, framework-free implementation of the HTTP message contract: requests, responses, streams, URIs, uploaded files and one factory for all six.
xtr-maker
Console commands that write application code for the xtr libraries: messages, schedules, webhooks, entities, commands and listeners.
xtr-security-openid-connect-server
OpenID Connect for the xtr OAuth 2.0 authorization server: ID tokens, userinfo and discovery.
xtr-serializer
Turn objects into JSON and back exactly — dataclasses, models, class hierarchies and dates arrive as they left, or are refused — through a chain of normalizers and encoders.
xtr-storage
Files on local disk, in memory or in object stores, behind one async interface.
xtr-ai-orm-conversation-store
Agent conversations stored in a relational database through xtr-orm, for xtr-ai.
xtr-security
The xtr security bundle: the family facade and the container wiring that configures it.
xtr-slack-notifier
Slack for xtr-notifier — chat messages posted, scheduled and updated in a channel, with Block Kit blocks, configured by DSN.
xtr-http-message-contracts
The HTTP message contract alone: requests, responses, streams, URIs, uploaded files and the six factories that build them.
xtr-security-jwt
Self-issued JSON Web Tokens for xtr security: key sets, an encoder and a token manager for a user.
xtr-security-oauth2-server
An OAuth 2.0 authorization server and resource-server authenticator for xtr security.
xtr-security-oauth2-server-core
The OAuth 2.0 authorization-server library: grants, servers, entities, response types and the resource server.
xtr-security-core
The security core for xtr applications: users, tokens, roles, voters and the authorization decision.
xtr-cache
Cache pools in memory, in files, in Redis, chained or tag-aware, with stampede protection.
xtr-http-client
An async HTTP client behind one interface: typed request options, bodies read on demand, scoped clients, a private-network guard and a mock client for tests.
xtr-cache-contracts
The caching contract: compute-once reads, item pools, tags and namespaces, with no backend attached.
xtr-notifier
Send notifications to chat, SMS and push channels — one notification, the channels its importance or its recipient call for, any provider configured by DSN.
xtr-password-hasher
Password hashing behind one interface: argon2id by default, legacy hashes verified and upgraded.
xtr-security-http
The HTTP edge of xtr security: firewalls, authenticators, bearer access tokens and the request surface.
xtr-stopwatch
Times what code does, in named events grouped by category and nested in sections, kept apart for every concurrent unit of work.
xtr-cli
Scaffolds a new xtr application — a console application or a web application — in one command, and serves it.
xtr-dotenv
Layered .env files loaded into the environment, and the same layers behind a typed settings model.
xtr-http-foundation
Matchers that answer one question each about a request that arrived — method, path, host, port, scheme, headers, query, client address, JSON body — the helpers that place an IP in a network, and the session a stateful request carries: attributes under an ID cookie, kept in whatever storage the application points at.
xtr-mailer
Send email through SMTP, sendmail or a provider's API — picked by DSN, in-process or queued on a message bus, with failover, round-robin, envelope and header overrides, DKIM and S/MIME signing, and S/MIME encryption.
xtr-amqp-messenger
A RabbitMQ transport for xtr-messenger: queues on an AMQP broker, a retry ladder, delays and real dead-lettering, through taskiq.
xtr-event-dispatcher
Let the parts of an application talk through events: listeners and subscribers run by priority, any of them able to stop the rest.
xtr-remote-event
Events received from another system, as one value type, handed to the consumer registered under their source's name — directly or through a message bus.
xtr-webhook
Receive webhooks — verified, replay-bounded, turned into events — and send them signed, in the legacy or the Standard Webhooks format.
xtr-recipes
Applies a package's use-in-an-application steps to a project from a committed lock, and undoes them when the package goes away.
xtr-workflow
Move objects through workflows and state machines — weighted places and transitions, guards, events at every step, definitions in code, config or on a class, dumped as Graphviz, PlantUML or Mermaid.
xtr-ai
Named language-model platforms and agents built on pydantic-ai, configured once and injected by name, with conversation stores.
xtr-http-kernel
Requests turned into responses through events: a request lifecycle for FastAPI applications on the xtr kernel.
xtr-http-client-contracts
The async HTTP client contract alone: a request call, a response read on demand, typed options and the errors they raise.
xtr-security-csrf
Cross-site request forgery protection for xtr applications: a manager that mints and checks tokens by id, and the session storage that keeps them.
xtr-telegram-notifier
Telegram for xtr-notifier — chat messages posted, edited and answered through a bot, with keyboards, media and file uploads, configured by DSN.
xtr-event-dispatcher-contracts
The event dispatching contract alone: an event, a dispatcher and listener introspection, for code that emits events without choosing who hears them.
xtr-rate-limiter
Limits on how often anything may happen — calls, jobs, logins — by fixed window, sliding window or token bucket, kept in memory, in a cache or atomically in Redis.
xtr-orm-messenger
A database transport for xtr-messenger: messages kept in a table on an xtr-orm connection, claimed by workers, delayed, redelivered and woken by notifications.
xtr-orm
Databases for async applications: engines, sessions and versioned schema migrations, configured once per connection.
xtr-web-profiler
A development toolbar on every page and a profile of every request: timing, logs, events, routing, the request and the response.