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.21.tar.gz (99.4 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.21-py3-none-any.whl (144.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pararamio-3.0.21.tar.gz
  • Upload date:
  • Size: 99.4 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.21.tar.gz
Algorithm Hash digest
SHA256 207418ae810e903f5f5f04ace113c63e3020221bea9ffe8d5d1eff389aba47fc
MD5 72f7fe93b4b4fbc45199f043d695a19d
BLAKE2b-256 084cd20683a625153eaf3a80673f111fa27e80760b62eef7cded5e58d7a124c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pararamio-3.0.21-py3-none-any.whl
  • Upload date:
  • Size: 144.3 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.21-py3-none-any.whl
Algorithm Hash digest
SHA256 17e4f14da48792fe6ea13ce18604500fad578bfb21de35f4032770af5d90a650
MD5 93a6a59600523fac5ac88de825f09c5e
BLAKE2b-256 aa6782eb3c96370497f56bcb5dde865c7b36b7c169201eff32e9ed6db24b36a3

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