Skip to main content

mpratyush54-sdk

The official Python SDK for the Platform.

This SDK provides core backend integrations for your Python microservices, including auto-registration with the platform, metrics aggregation, structured logging, and standardized database connections.

Installation

pip install mpratyush54-sdk

Features

  • Service Registration: Automatically registers your microservice with the Platform API on startup.
  • Metrics Aggregation: Utility decorators and middleware to record route metrics, execution times, and memory deltas.
  • Database Connections: Pre-configured Psycopg2 (PostgreSQL), PyMongo (MongoDB), and Redis connection utilities.
  • Logging: Structured logging that automatically ships to the platform.

Usage

from platform_sdk import PlatformSDK

sdk = PlatformSDK(
    project_id="your-project-id",
    environment="production",
    api_url="https://api.your-platform.com"
)

# Initialize connections and register service
sdk.initialize()

# Use database connections safely
db = sdk.connections.get_postgres()
cursor = db.cursor()
cursor.execute("SELECT version();")
print(cursor.fetchone())

Metadata

Release files for mpratyush54-sdk 0.6.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 mpratyush54-sdk 0.6.0
File Size Uploaded Provenance Actions
mpratyush54_sdk-0.6.0.tar.gz 7.3 kB With provenance Details for mpratyush54_sdk-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mpratyush54-sdk 0.6.0
File Interpreter ABI Platform Actions
mpratyush54_sdk-0.6.0-py3-none-any.whl Python 3 none any Details for mpratyush54_sdk-0.6.0-py3-none-any.whl

Total release size: 13.2 kB

Release files / mpratyush54_sdk-0.6.0.tar.gz

Download URL mpratyush54_sdk-0.6.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
591f509f67a79ba137b7a80be1e762492c0992ce3252e1e4a0d48a3bb0342c0c
BLAKE2b-256 checksum
How to use checksums
8c0827b9e40136895cc9248fcaa025da07f28668f53bc7b40b97a1bf9e681a76
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 Aug 1, 2026.

Transparency log

Release files / mpratyush54_sdk-0.6.0-py3-none-any.whl

Download URL mpratyush54_sdk-0.6.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be8ac2f11a21a053c00a66d6bb32e43493f1da4b31b0f6f2b09633fee65eb1b4
BLAKE2b-256 checksum
How to use checksums
f4d605edbf55499d7bfa7e89eb59842031b9e24a45ca1018e882fc07f6c893c0
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 Aug 1, 2026.

Transparency log

Security for mpratyush54-sdk 0.6.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mpratyush54_sdk-0.6.0.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 Aug 1, 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