Skip to main content

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


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.32.tar.gz (116.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pararamio-3.0.32-py3-none-any.whl (166.6 kB view details)

Uploaded Python 3

File details

Details for the file pararamio-3.0.32.tar.gz.

File metadata

  • Download URL: pararamio-3.0.32.tar.gz
  • Upload date:
  • Size: 116.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for pararamio-3.0.32.tar.gz
Algorithm Hash digest
SHA256 c89f8579b24845585e21229b600f26af3b26f1e3459c5d30a69f93d3261de66f
MD5 d3c27dc31af5019bf144dd4b607c11ac
BLAKE2b-256 8925c7a47c71e1da7798122852fa5b034c7860fc85b6d8a0efe7269a89fa949a

See more details on using hashes here.

File details

Details for the file pararamio-3.0.32-py3-none-any.whl.

File metadata

  • Download URL: pararamio-3.0.32-py3-none-any.whl
  • Upload date:
  • Size: 166.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for pararamio-3.0.32-py3-none-any.whl
Algorithm Hash digest
SHA256 9190bc020546de8da5c6055d2fc002fad52f5cdffdb4e4e365c906840813f540
MD5 f4f5d953f33318389f7118709898a321
BLAKE2b-256 96713ea936be5c8f9b74f728e1d50f6c5c29c212ce5d0943856f8b5550c9b04a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page