Python client library for pararam.io platform with lazy loading
Project description
Pararamio - Python Client for pararam.io
Python client library for pararam.io platform with lazy loading and automatic API calls.
Installation
pip install pararamio
Quick Start
from pararamio import Pararamio
# Initialize client
client = Pararamio(
login="your_login",
password="your_password",
key="your_api_key"
)
# Authenticate
client.authenticate()
# Search users with lazy loading
users = client.search_user("test")
for user in users:
print(f"User: {user.name}") # Automatically loads data
# Get chats
chats = list(client.list_chats())
for chat in chats:
print(f"Chat: {chat.title}") # Lazy loaded
# Get recent posts
posts = chat.posts(start_post_no=-10, end_post_no=-1)
for post in posts:
print(f" {post.text}")
Features
- Lazy Loading: Automatic data loading on attribute access
- Full API Coverage: Complete pararam.io API support
- Cookie Management: Persistent session handling
- Type Hints: Full typing support
- File Handling: Upload/download support
- Search: Users, groups, posts search
- Real-time: Activity tracking
Documentation
Async Version
For async/await support, install the async version:
pip install pararamio-aio
License
MIT License
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
pararamio-3.0.28.tar.gz
(114.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pararamio-3.0.28-py3-none-any.whl
(164.9 kB
view details)
File details
Details for the file pararamio-3.0.28.tar.gz.
File metadata
- Download URL: pararamio-3.0.28.tar.gz
- Upload date:
- Size: 114.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31c829345a7c5a535146e3bfec91d5dcae470878de1bca836e8b966c9e4fefd3
|
|
| MD5 |
bda7fbc642b7006f01abe6ba6f6f4787
|
|
| BLAKE2b-256 |
861a9cfff51c94662c2d3bdae6b1fa4155b744474d0edf4e12155282da52351f
|
File details
Details for the file pararamio-3.0.28-py3-none-any.whl.
File metadata
- Download URL: pararamio-3.0.28-py3-none-any.whl
- Upload date:
- Size: 164.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c044ca74639d3f74a0f21ee89b000ab4fe322f0e2560cee690d2c8a26d8b012
|
|
| MD5 |
62594615df928645bbc26cfcdf29ddc3
|
|
| BLAKE2b-256 |
d62690562d0abf78f9a18c5533768d6c7283d853e3d8b428b0da3349f40c3f02
|