Skip to main content

A Python framework for backends that scale

Project description

DBOS Transact Python

DBOS Python is under construction! 🚧🚧🚧 Check back regularly for updates, release coming in mid-September!

DBOS Transact is a Python library for building durable and scalable applications.

You want to use DBOS Transact in your application because you need:

  • Resilience to any failure. If your app is interrupted for any reason, it automatically resumes from where it left off. Reliable message delivery is built in. Idempotency is built in.
  • Reliable event processing. Need to consume Kafka events exactly-once? Just add one line of code to your app. Need to run a task exactly once per hour, day, or month? Just one more line of code.
  • Built-in observability. Automatically emit OpenTelemetry-compatible logs and traces from any application. Query your app's history from the command line or with SQL.
  • Blazing-fast, developer-friendly serverless. Develop your project locally and run it anywhere. When you're ready, deploy it for free to DBOS Cloud and we'll host it for you, 25x faster and 15x cheaper than AWS Lambda.

Getting Started

To try out the latest pre-release version, install with:

pip install --pre dbos

Documentation

Coming soon! 🚧

But we have some cool demo apps for you to check out: https://github.com/dbos-inc/dbos-demo-apps/tree/main/python

Main Features

Here are some of the core features of DBOS Transact:

Feature Description
Transactions Easily and safely query your application database using SQLAlchemy or raw SQL.
Workflows Reliable workflow orchestration—resume your program after any failure.
Idempotency Automatically make any request idempotent, so your requests happen exactly once.
Authentication and Authorization Secure your HTTP endpoints so only authorized users can access them.
Kafka Integration Consume Kafka messages exactly-once with transactions or workflows.
Scheduled Workflows Schedule your workflows to run exactly-once per time interval with cron-like syntax.
Self-Hosting Host your applications anywhere, as long as they have a Postgres database to connect to.

And DBOS Cloud:

Feature Description
Serverless App Deployment Deploy apps to DBOS Cloud in minutes.
Interactive Time Travel Query your application database as of any past point in time.
Cloud Database Management Provision cloud Postgres instances for your applications. Alternatively, bring your own database.
Built-in Observability Built-in log capture, request tracing, and dashboards.

Community

If you're interested in building with us, please star our repository and join our community on Discord! If you see a bug or have a feature request, don't hesitate to open an issue here on GitHub. If you're interested in contributing, check out our contributions guide.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbos-0.5.0a7.tar.gz (88.3 kB view hashes)

Uploaded Source

Built Distribution

dbos-0.5.0a7-py3-none-any.whl (71.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page