Skip to main content

Package for working with the API fu.andcool.ru

Project description

File uploader package

Asynchronous Python package for working with the API fu.andcool.ru. The package is currently in beta.

Installing

Run pip install fileuploader in the console.

Simple example

Use the upload method to upload the file to the server.

import fileuploader
import asyncio


async def run():
    f = open("tests/logo.png", "rb")  # Open file as bytes
    response = await fileuploader.upload(f.read(), f.name)  # Upload file to a fu
    print(response.file_url_full)  # Print file url


asyncio.run(run())

More examples

You can find more usage examples here.

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

fileuploader-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fileuploader-0.1.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fileuploader-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for fileuploader-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aaa84496072253dde8f7a8bea0847bfbca8ded6d268c8a077ba53adde4759638
MD5 45a94fdf09435b4af52e3590dc699579
BLAKE2b-256 b84a8c5cf206cd6bc8da0a65d9c3a8e7a111cd11b39952ffd4ae4297214c3f9f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fileuploader-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for fileuploader-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b09620c1342a5ff3e600b12fae91ccd13974ef2168b02d77d60a79f1ba254162
MD5 4f04443995f489620fd964207945843a
BLAKE2b-256 9a9e1ceeb0012f181a394447d830f565846dacdccd144cb0d999a767a92c0805

See more details on using hashes here.

Supported by

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