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.14.tar.gz
(103.1 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.14-py3-none-any.whl
(143.2 kB
view details)
File details
Details for the file pararamio-3.0.14.tar.gz.
File metadata
- Download URL: pararamio-3.0.14.tar.gz
- Upload date:
- Size: 103.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
577b719e90cce5f34f4d2554f8ce5cedfdebf5bcb5bf8948603d9d0f97b79fcf
|
|
| MD5 |
01fcb2cd8c632b3a271b889d322d972f
|
|
| BLAKE2b-256 |
c8f485af7dc8fad8189514c5954250b574b81ab6cdc289681f28cd049c6821d9
|
File details
Details for the file pararamio-3.0.14-py3-none-any.whl.
File metadata
- Download URL: pararamio-3.0.14-py3-none-any.whl
- Upload date:
- Size: 143.2 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 |
e58b45daba972f0ddf6d9f8f42dde285c25c59b2364799022382be990c7416d2
|
|
| MD5 |
7bb57a218743fbede5403fb508b20f11
|
|
| BLAKE2b-256 |
02de5d101f8e86c629157467536401e13d9d280f708f237c93c301e56b0399cb
|