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.2.tar.gz (5.2 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.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fileuploader-0.1.2.tar.gz
  • Upload date:
  • Size: 5.2 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.2.tar.gz
Algorithm Hash digest
SHA256 223bc49f7d46a02df81ffac7d91d5cd4019db7cd18a0cd0fb79b4c634339d40d
MD5 b301ee7d2b0fcee584496870da4c37f0
BLAKE2b-256 d2bc557d7e3de8499516c2306e1fe840eeeda2b60d2fab8f42ef7c6e8633b2a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fileuploader-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad7f1d7a891f7ae1b97bed04487f256a7a926d50b7e25f4d6ab79b499e1a0795
MD5 0544b32be95d605166e3ab7fc5cd7460
BLAKE2b-256 44cbf105457fcb44f4facae1d5b472c255eb63e0ab49b7d82a694e95a760244d

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