Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Sapid

A high-level framework for building GitHub applications in Python.

Core Features

  • Async
  • Proper ratelimit handling
  • Handles interactions for you (responding with appropriate response status codes etc.)
  • Minimal raw payloads. Most are being parsed internally into pythonic objects.
  • Runs its own webhook server, with a no-bloat async web server (aiohttp)

Example

Basic bot example

from sapid import GitBot

bot = GitBot(
    pem_file_fp="bot.pem",
    app_id="...", # Found on github.
    webhook_secret="...", # Set on github.
    client_secret="..." # Generate on github.
)

@bot.event
async def on_sapid_tcp_ready(host, port):
    print(f"tcp running on http://{host}:{port}")
    print(bot.user.name)
    print(bot.user.description)

bot.run(host="127.0.0.1", port=3000)

Metadata

Release files for sapid 1.0.0a0

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

Source distribution (sdist)

Source distribution for sapid 1.0.0a0
File Size Uploaded Provenance Actions
sapid-1.0.0a0.tar.gz 12.9 kB Without provenance Details for sapid-1.0.0a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sapid 1.0.0a0
File Interpreter ABI Platform Actions
sapid-1.0.0a0-py3-none-any.whl Python 3 none any Details for sapid-1.0.0a0-py3-none-any.whl

Total release size: 30.5 kB

Release files / sapid-1.0.0a0.tar.gz

Download URL sapid-1.0.0a0.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
031b07478f2ba1aacad382dc2850d5652f42d4abeb525ff51cec8a32fae96139
BLAKE2b-256 checksum
How to use checksums
fbad25f49ed4ac4ca0ff6a7d8135c319c19e2de7ed9b8acfd64ce7aaab9a063a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

Release files / sapid-1.0.0a0-py3-none-any.whl

Download URL sapid-1.0.0a0-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13ee8f514cf284f71aa09795a8382f8454c55ead7493932bd85033c40f471d50
BLAKE2b-256 checksum
How to use checksums
b4b8c127e3aeec2f4686028cf69c06d4ec1f26cd80b919b5f6b7192fe770de45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

Security for sapid 1.0.0a0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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