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.1

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.1
File Size Uploaded Provenance Actions
mpratyush54_sdk-0.6.1.tar.gz 7.3 kB With provenance Details for mpratyush54_sdk-0.6.1.tar.gz

Built distribution (wheel)

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

Total release size: 13.2 kB

Release files / mpratyush54_sdk-0.6.1.tar.gz

Download URL mpratyush54_sdk-0.6.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c63f2f7488588166344e6d3aecf43db1a598938cde118178e451ed6f5bb45fd2
BLAKE2b-256 checksum
How to use checksums
eb6d14df17c537fc7244b801ce59ea5d1816d28064df55579d4c8fed1c96126a
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.1-py3-none-any.whl

Download URL mpratyush54_sdk-0.6.1-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79227c93374f26cc5234d2eeabccd78f2d8e5b2a0c6b1b42fbda3ca055ce15e3
BLAKE2b-256 checksum
How to use checksums
3045382808051ddecac1268b2780288beb6541099a85e5d322410bc00de10168
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.1

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.1.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