Skip to main content

Hyperrr Commerce Engine & Core Platform

Hyperrr is a declarative, runtime-discoverable, capability-driven domain composition engine for modern headless commerce, built on Python 3.12+, FastAPI, Async SQLAlchemy 2.0+, Pydantic v2, and the Universal TypeScript Client SDK (@hyperrr/sdk).


🌟 Architecture Highlights

1. Capability-Driven Decoupled Architecture

Hyperrr decouples core commerce business logic from third-party vendor APIs. The frontend and domain workflows interact exclusively with standard, vendor-agnostic capabilities:

  • payment.gateway (Fulfilled by razorpay, stripe, etc.)
  • tax.calculator (Fulfilled by india_gst, avalara, taxjar, etc.)
  • shipping.carrier (Fulfilled by delhivery, fedex, shiprocket, etc.)
  • auth.provider (Fulfilled by google_auth, webauthn, otp, etc.)
  • storage.driver (Fulfilled by s3_storage, gcs, minio, etc.)
  • email.sender (Fulfilled by smtp_email, resend, sendgrid, etc.)

Frontends remain 100% vendor-agnostic: Swapping payment or tax vendors requires 0 frontend code modifications.

2. Universal TypeScript Client SDK (@hyperrr/sdk)

A unified client library (packages/sdk/) for building modern Storefronts, Admin Panels, Mobile Apps, or Headless integrations (Next.js, Remix, React Native):

npm install @hyperrr/sdk
import { HyperrrClient } from "@hyperrr/sdk";

const hyperrr = new HyperrrClient({
  baseUrl: "https://api.yourstore.com",
  apiKey: "pk_live_...",
});

// Standard Commerce Primitives (Vendor-Agnostic)
const products = await hyperrr.catalog.listProducts();
const cart = await hyperrr.cart.create();
const tax = await hyperrr.tax.calculate({ destinationStateCode: "29", items: [...] });
const rates = await hyperrr.shipping.getRates({ postalCode: "560103" });

3. Dual-Package Standalone Extensions

Every extension is structured as a self-contained dual package ready to be extracted into standalone GitHub repositories:

  • Python Backend: Published to PyPI (hyperrr-razorpay, hyperrr-india-gst, etc.) and installed on the server with hyperrr add <name>.
  • TypeScript Client Plugin: Published to npm (@hyperrr-extension/razorpay, @hyperrr-extension/india-gst, etc.) and chained into HyperrrClient with .use():
import { HyperrrClient } from "@hyperrr/sdk";
import { razorpayPlugin } from "@hyperrr-extension/razorpay";
import { indiaGstPlugin } from "@hyperrr-extension/india-gst";

const hyperrr = new HyperrrClient({ ... })
  .use(razorpayPlugin())
  .use(indiaGstPlugin());

// Typed extension-specific operations & settings
await hyperrr.indiaGst.generateEWayBill({ orderId: "ord_9204" });
await hyperrr.razorpay.updateSettings({ auto_capture: true });

🛠️ Developer CLI Commands

# Add/install a package from Git, ZIP, Marketplace, or Local directory
hyperrr add https://github.com/GoHyperrr/hyperrr-india-gst#v1.0.0
hyperrr add ./razorpay.zip
hyperrr add customer

# Display dependency graph & runtime status
hyperrr tree
hyperrr packages

# Manage runtime capability bindings
hyperrr enable razorpay
hyperrr disable stripe

# Run database schema migrations & health checks
hyperrr migrate --export
hyperrr health

# Launch HTTP ASGI server
hyperrr serve --host 127.0.0.1 --port 8000 --reload

📚 Documentation & Developer Guides

Detailed guides and architecture specifications:

Metadata

Release files for hyperrr 0.1.0

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

Source distribution (sdist)

Source distribution for hyperrr 0.1.0
File Size Uploaded Provenance Actions
hyperrr-0.1.0.tar.gz 699.9 kB Without provenance Details for hyperrr-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hyperrr 0.1.0
File Interpreter ABI Platform Actions
hyperrr-0.1.0-py3-none-any.whl Python 3 none any Details for hyperrr-0.1.0-py3-none-any.whl

Total release size: 1.1 MB

Release files / hyperrr-0.1.0.tar.gz

Download URL hyperrr-0.1.0.tar.gz
Size 699.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6e8e1fa2a3a56a6cd3633bea60435c846fe35a0d3e4b10af9f20a5baf7dabb5e
BLAKE2b-256 checksum
How to use checksums
5d868c7014443dc406200174e6665cf0b0917c269c03babc93a94b6ea135713a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / hyperrr-0.1.0-py3-none-any.whl

Download URL hyperrr-0.1.0-py3-none-any.whl
Size 393.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43512ffebc270c7de958f860c3ce88ef75c8a130f1873d45618af95663c77d0f
BLAKE2b-256 checksum
How to use checksums
a4f91e1a87232ba3c884414e99673ae1110308f4ff31854a975c7d7d0946c2ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for hyperrr 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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