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.3.6.tar.gz (5.4 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.3.6-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fileuploader-0.1.3.6.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for fileuploader-0.1.3.6.tar.gz
Algorithm Hash digest
SHA256 517dc6392486c0c85f30cf6a95832719c34c276db24cf2c3b4604bdb6ba671e6
MD5 069f111dd6393ccc8beb24e40741c8d9
BLAKE2b-256 f5945dad15f9ffb08e19341ce688be1edad1ab6bcbdb032df3c5afca00dc3feb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fileuploader-0.1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for fileuploader-0.1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a5892c9a5e0f0e4efd9d232497bff37a409a1aeb7ce6925a55eb473143868f54
MD5 dcfd50f0d511fcfdb5ee394603f21db8
BLAKE2b-256 bc7a2c60fe7c018b3067556d4862d60374b3aa6e05d82632c3e7db0e22d8d0b8

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