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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaa84496072253dde8f7a8bea0847bfbca8ded6d268c8a077ba53adde4759638
|
|
| MD5 |
45a94fdf09435b4af52e3590dc699579
|
|
| BLAKE2b-256 |
b84a8c5cf206cd6bc8da0a65d9c3a8e7a111cd11b39952ffd4ae4297214c3f9f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b09620c1342a5ff3e600b12fae91ccd13974ef2168b02d77d60a79f1ba254162
|
|
| MD5 |
4f04443995f489620fd964207945843a
|
|
| BLAKE2b-256 |
9a9e1ceeb0012f181a394447d830f565846dacdccd144cb0d999a767a92c0805
|