Skip to main content

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.

Metadata

Release files for fileuploader 0.1.3.6

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

Source distribution (sdist)

Source distribution for fileuploader 0.1.3.6
File Size Uploaded
fileuploader-0.1.3.6.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fileuploader 0.1.3.6
File Interpreter ABI Platform
fileuploader-0.1.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 12.5 kB

Release files / fileuploader-0.1.3.6.tar.gz

Download URL fileuploader-0.1.3.6.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
517dc6392486c0c85f30cf6a95832719c34c276db24cf2c3b4604bdb6ba671e6
BLAKE2b-256 checksum
How to use checksums
f5945dad15f9ffb08e19341ce688be1edad1ab6bcbdb032df3c5afca00dc3feb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / fileuploader-0.1.3.6-py3-none-any.whl

Download URL fileuploader-0.1.3.6-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5892c9a5e0f0e4efd9d232497bff37a409a1aeb7ce6925a55eb473143868f54
BLAKE2b-256 checksum
How to use checksums
bc7a2c60fe7c018b3067556d4862d60374b3aa6e05d82632c3e7db0e22d8d0b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.3.6 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

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