Core interfaces, Feed, Sheet, and Base API/Auth classes for Agoras
Project description
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)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agoras_core-2.0.3.tar.gz.
File metadata
- Download URL: agoras_core-2.0.3.tar.gz
- Upload date:
- Size: 35.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0501b22ffcacf89417bf27bb2fb99d3c85b584840c8ff4ce7c4927dcd14eda46
|
|
| MD5 |
cf648939ff6cfdec5ad0e5cef4e15d78
|
|
| BLAKE2b-256 |
4cdfcfb55aacc7bd6ac403345cc3691d4899f4da26b43863959598920b9ce04a
|
Provenance
The following attestation bundles were made for agoras_core-2.0.3.tar.gz:
Publisher:
release.yml on LuisAlejandro/agoras
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agoras_core-2.0.3.tar.gz -
Subject digest:
0501b22ffcacf89417bf27bb2fb99d3c85b584840c8ff4ce7c4927dcd14eda46 - Sigstore transparency entry: 1932968759
- Sigstore integration time:
-
Permalink:
LuisAlejandro/agoras@5a97a9dc7185dea08aa4623133e879873ec26848 -
Branch / Tag:
refs/tags/2.0.3 - Owner: https://github.com/LuisAlejandro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5a97a9dc7185dea08aa4623133e879873ec26848 -
Trigger Event:
release
-
Statement type:
File details
Details for the file agoras_core-2.0.3-py3-none-any.whl.
File metadata
- Download URL: agoras_core-2.0.3-py3-none-any.whl
- Upload date:
- Size: 35.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e2edda8a9325f0713645cbbb3b4a74b5f83bae00e2f0d137acaf160fcd0f5b7
|
|
| MD5 |
c8892d9e7b257d31edae5411da06eb67
|
|
| BLAKE2b-256 |
3d9c9e6ded8b0b17c05329800d706dd43006581963cc6511a06a0f140bdbed91
|
Provenance
The following attestation bundles were made for agoras_core-2.0.3-py3-none-any.whl:
Publisher:
release.yml on LuisAlejandro/agoras
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agoras_core-2.0.3-py3-none-any.whl -
Subject digest:
2e2edda8a9325f0713645cbbb3b4a74b5f83bae00e2f0d137acaf160fcd0f5b7 - Sigstore transparency entry: 1932968869
- Sigstore integration time:
-
Permalink:
LuisAlejandro/agoras@5a97a9dc7185dea08aa4623133e879873ec26848 -
Branch / Tag:
refs/tags/2.0.3 - Owner: https://github.com/LuisAlejandro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5a97a9dc7185dea08aa4623133e879873ec26848 -
Trigger Event:
release
-
Statement type: