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.1.2

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.1.2
File Size Uploaded
agoras_core-2.1.2.tar.gz 46.5 kB Details

Built distribution (wheel)

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

Total release size: 93.2 kB

Release files / agoras_core-2.1.2.tar.gz

Download URL agoras_core-2.1.2.tar.gz
Size 46.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3192e91479f0a1ea7d02e2aed5536cdf3c462f3aeed23c679daef0de915c6424
BLAKE2b-256 checksum
How to use checksums
b774db3d28715460248689003c6c4fc709f2531cdc85642e0acb91e2779b5e3d
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 25, 2026.

Transparency log

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

Download URL agoras_core-2.1.2-py3-none-any.whl
Size 46.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36e55fab917c7a64641d6af209298e68cc58aa2719d2b6264032f4d65c693bd5
BLAKE2b-256 checksum
How to use checksums
40926939acfb48515a7ba96491097996e6fa46042dcd1b9bfa44b19197f8611d
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 25, 2026.

Transparency log

Release history Release notifications | RSS feed

2.2.0

2 release files

This release

2.1.2 This release

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