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.25.tar.gz
(107.7 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.25-py3-none-any.whl
(155.8 kB
view details)
File details
Details for the file pararamio-3.0.25.tar.gz.
File metadata
- Download URL: pararamio-3.0.25.tar.gz
- Upload date:
- Size: 107.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
583d95564e094ddb9cfb8ccd19b75de27c6e1d1943b955fb0a82bfb120db1929
|
|
| MD5 |
13276307a778de3c9f99ed488f1a98ec
|
|
| BLAKE2b-256 |
b9824c4f5eb40588506af40f430602d0c9c7e4523cd29fb96bc376bfe9da986e
|
File details
Details for the file pararamio-3.0.25-py3-none-any.whl.
File metadata
- Download URL: pararamio-3.0.25-py3-none-any.whl
- Upload date:
- Size: 155.8 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 |
e190aaa0c25eb6171ddf25230dd082b321ad2da69c66bd04ebdca7d55b08f24b
|
|
| MD5 |
f681f3654345b6fcdffb34298f7b46e1
|
|
| BLAKE2b-256 |
3d56ab0059a94777e703771d09e20b8b3ae8f26e340ace848c35a8d93a802f39
|