Skip to main content

Core interfaces, Feed management, Sheet management, and Base API/Auth classes.

Installation

pip install agoras-core

Contents

  • SocialNetwork Interface: Abstract base class for all platforms

  • Feed: RSS feed parsing and management

  • Sheet: Google Sheets integration for scheduled posts

  • BaseAPI: Base API client with rate limiting

  • BaseAuthManager: OAuth2 authentication base

  • OAuthCallbackServer: Local callback server for OAuth flows

  • SecureTokenStorage: Secure token storage

Usage

import asyncio
from agoras.core.interfaces import SocialNetwork
from agoras.core.feed import Feed
from agoras.core.sheet import ScheduleSheet
from agoras.core.auth import OAuthCallbackServer

# Download RSS feed
async def get_feed_items():
    feed = Feed('https://example.com/feed.xml')
    await feed.download()
    items = feed.get_latest_items(5)
    return items

# Use OAuth callback server
async def oauth_flow():
    server = OAuthCallbackServer(expected_state='random_state')
    # Server will capture authorization code automatically
    code = await server.start_and_wait()
    return code

asyncio.run(get_feed_items())

Dependencies

  • agoras-common

  • agoras-media

  • feedparser (RSS parsing)

  • gspread (Google Sheets)

Metadata

Release files for agoras-core 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agoras-core 2.2.0
File Size Uploaded
agoras_core-2.2.0.tar.gz 46.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agoras-core 2.2.0
File Interpreter ABI Platform
agoras_core-2.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 93.2 kB

Release files / agoras_core-2.2.0.tar.gz

Download URL agoras_core-2.2.0.tar.gz
Size 46.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8dcf34b7d9ac83801c4ae18253e15a5ff595fee61be6c1a714cdb1f5ec001630
BLAKE2b-256 checksum
How to use checksums
91c82d91e2e04887d45937df2043e76b64803d23c87de2c7021e69a829e0472b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.

Transparency log

Release files / agoras_core-2.2.0-py3-none-any.whl

Download URL agoras_core-2.2.0-py3-none-any.whl
Size 46.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
201a936cad1918e702b9152167ef1db56ec4baf5962723cd036147d280da78dc
BLAKE2b-256 checksum
How to use checksums
b0e28070b0b34b926ad5a9410585ac050906f3f486f5dbbd1f6ade4e5b0f0807
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.2.0 This release

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page