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.12.tar.gz (103.0 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.12-py3-none-any.whl (143.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pararamio-3.0.12.tar.gz
  • Upload date:
  • Size: 103.0 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.12.tar.gz
Algorithm Hash digest
SHA256 acde154c24000d2472107a74b0d1b9a3d7ea86f88448babb46ba31fc203a2f68
MD5 bca84ad9abbe4c2715a6322ff38f7469
BLAKE2b-256 ef2aebe4a458791c9d91696e31d72db5557c85177bee59f44517ddc93291f35f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pararamio-3.0.12-py3-none-any.whl
  • Upload date:
  • Size: 143.0 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 9c173c072b19e61f00b79df49bda271f70cfca34c8abbf0c71d1b1be5e0aace9
MD5 3593ca60d4a36ff9a84acd20114c1813
BLAKE2b-256 349fa836f6cd8e11ec911a76f14c91890b68c08b1e5dc23d2ba111395ba5f3c5

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