Skip to main content

Asynchronous wrapper for ShitpostAPI.

Project description

shitposts

Asynchronous wrapper for ShitpostAPI.

Example

import asyncio
from shitposts import AsyncShitpostingSession


async def main():
    with open("input.mp4", "rb") as input_media:
        input_bytes = input_media.read()

    async with AsyncShitpostingSession() as session:
        output_bytes = await session.edit(input_bytes, "video/mp4", frame={"bottom": "Text"})

    with open("output.mp4", "xb") as output_media:
        output_media.write(output_bytes)

asyncio.run(main())

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

shitposts-0.1.1.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

shitposts-0.1.1-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file shitposts-0.1.1.tar.gz.

File metadata

  • Download URL: shitposts-0.1.1.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for shitposts-0.1.1.tar.gz
Algorithm Hash digest
SHA256 109560f77f63b86e55811c8b4441ddfcfaa591e1e6a16ef2831de35dc11291d4
MD5 1950466111d3ec6105a5dad2612b4202
BLAKE2b-256 e7316bc5c7ffee58793ca7ad0917294db9419677ee0bba74c9f46e6c43c5d106

See more details on using hashes here.

Provenance

File details

Details for the file shitposts-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: shitposts-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for shitposts-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01cfcb4c263498c9fae57d21b87344eaf5c49705109711010bd35ea109f4232b
MD5 300e101540d19773b3e8c2065645ac5b
BLAKE2b-256 8709baa83d2a49307b06e1b1880c7342b2f0075b3bd55329a7334110a442ef80

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page