Skip to main content

Pyrogram asyncpg storage

Usage

import asyncpg
from pyrogram import Client
from pyrogram_asyncpg_storage import PostgreSQLStorage


app = Client(...)


async def set_session():
	pool = await asyncpg.create_pool()
	session = PostgreSQLStorage(name=..., pool=pool)
	app.storage = session


app.run(set_session())
app.run()

Metadata

Release files for pyrogram-asyncpg-storage 0.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 pyrogram-asyncpg-storage 0.1
File Size Uploaded Provenance Actions
pyrogram-asyncpg-storage-0.1.tar.gz 3.8 kB Without provenance Details for pyrogram-asyncpg-storage-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyrogram-asyncpg-storage 0.1
File Interpreter ABI Platform Actions
pyrogram_asyncpg_storage-0.1-py3-none-any.whl Python 3 none any Details for pyrogram_asyncpg_storage-0.1-py3-none-any.whl

Total release size: 7.7 kB

Release files / pyrogram-asyncpg-storage-0.1.tar.gz

Download URL pyrogram-asyncpg-storage-0.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5a19720ad9a6f939644efd42c5082cf805a445b9294368bbf558dbb468cafda2
BLAKE2b-256 checksum
How to use checksums
42896c1b43036ef4d338f2eca24b9aa4f4a3dc7b73f52df790895c7d53c3d29a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.12.0

Release files / pyrogram_asyncpg_storage-0.1-py3-none-any.whl

Download URL pyrogram_asyncpg_storage-0.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58b784889e03f875fe08a2882c394b8d7e700c476af3dccbdafb59e41fe65b86
BLAKE2b-256 checksum
How to use checksums
e6023fda425a396bce58ad0494121224ea00595900841f1a8b5b662f74dac065
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.12.0

Security for pyrogram-asyncpg-storage 0.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.

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