Asynchronous Python Wrapper for the Ufile API

Overview

Ufile.io Hits

Asynchronous Python Wrapper for the Ufile API (Unofficial).

Installation :

pip3 install ufile.io

Usage :

>> from ufile import Ufile

>> ufile = Ufile(api_key='') #  is your ufile api key

# or

>> ufile = Ufile() # as a guest

# to upload
>> data = await ufile.upload_file(file='/path/to/text.bin')
>> print(data)
{'id': 9111424, 'url': 'https://ufile.io/2j9mqrug', 'destination': 'https://ufile.io/2j9mqrug', 'name': 'test.bin', 'filename': '2j9mqrug-1g3er.bin', 'slug': '2j9mqrug', 'size': '10.0 MB', 'type': 'other', 'expiry': '∞', 'location': '6'}

>> file_url = data['url']

>> direct_url = await ufile.download_file(url='https://ufile.io/2j9mqrug')
>> print(direct_url)
https://cdn-eu-hz-1.ufile.io/get/2j9mqxug?token=MDY2NzA4NDU4MzE0MGQwYmJmNWY2MjAyMjU5ZDI0ZDI2NGI3OWVhMTEwOGNiYzZkMzA0YjY0M2FiMTY1YWM2NzJmMjAwYzI2MjFjM2U4NGUwZGE2YmYzNTc1MmU0NzljN2JhZTQ3NDZmNmZjNjM2NTk0NTkwY2YwMGQ1OTliYTJxcmtxOTNKbXdRS3N3L1Y2aWZ6ZTNza2gwU1BQS2huayt2ckNwaFV2K2V6L01wR1ZaREtNalFmeG93T0Q4elBIcHFXOVZVemhRWDd5UUR4UmF4d0VlK2lXQ0ZkMllUYjNuT0RWQ0xtMlU1elBYjF1WG9Xbjg5Qll0Mm90ZVdheUlVeUVJMWkrRWcwUUxSUkVHK1lKaEdlV1RyeVhvcGZjYUR0MTM1ZjBvMVBrOXRhSW53WTdtMjFZTTk1dmpObXZHT3ZaZFc0Ukl2U2VDeDdRPT0=

>> await ufile.delete_file(file_id=9111424)

Credits:

Owner
Gautam Kumar
~ loser
Gautam Kumar
An integrated information collection tool

infoscaner 环境配置 目前infoscaner仅支持在linux上运行,建议运行在最新版本的kali中 infoscaner是基于python3版本实现的,运行之前首先安装python库 如果同时存在python2和python3,请输入以下命令 pip3 install -r requi

CMACCKK 74 Sep 13, 2021
AWS SQS event redrive Lambda

This repository contains the Lambda function to redrive sqs events from source to destination queue while controlling maxRetry per event.

1 Oct 19, 2021
An advanced Filter Bot with nearly unlimitted filters!

Unlimited Filter Bot ㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤ An advanced Filter Bot with nearly unlimitted filters! Features Nearly unlimited filters Supports all type of fil

TroJanzHEX 445 Jan 03, 2023
An example of using discordpy 2.0.0a to create a bot that supports slash commands

DpySlashBotExample An example of using discordpy 2.0.0a to create a bot that supports slash commands. This is not a fully complete bot, just an exampl

7 Oct 17, 2022
Get random jokes bapack2 from jokes-bapack2-api

Random Jokes Bapack2 Get random jokes bapack2 from jokes-bapack2-api Requirements Python Requests HTTP library How to Run py random-jokes-bapack2.py T

Miftah Afina 1 Nov 18, 2021
Azure DevOps Extension for Azure CLI

Azure DevOps Extension for Azure CLI The Azure DevOps Extension for Azure CLI adds Pipelines, Boards, Repos, Artifacts and DevOps commands to the Azur

1 Nov 03, 2021
Discord Token Generator based on HTTPX, makes unverified tokens and automatically joins your server! this is used for memberboosting

Discord Token Generator | 2021 Features: (1) hCaptcha Bypasser, latest hfuck.py Updated by me (2) Free Proxy Support/Scrapper (3) Custom Realistic Dat

2 Nov 30, 2021
BoostIRC - IRC Bot which posts boosts to IRC

BoostIRC Quick Start git clone https://github.com/valcanobacon/BoostIRC.git cd B

7 Dec 23, 2022
Housing Price Prediction Using Machine Learning.

HOUSING PRICE PREDICTION USING MACHINE LEARNING DESCRIPTION Housing Price Prediction Using Machine Learning is to predict the data of housings. Here I

Shreya Shree Padhi 1 Aug 03, 2022
The EscapePod Python SDK for Cyb3rVector's EscapePod Extension Proxy

EscapePod Extension SDK for Python by cyb3rdog This is the EscapePod Python SDK for Cyb3rVector's EscapePod Extension Proxy. With this SDK, you can: m

cyb3rdog 3 Mar 07, 2022
Telegram bot to extract text from image

OCR Bot @Image_To_Text_OCR_Bot A star ⭐ from you means a lot to us! Telegram bot to extract text from image Usage Deploy to Heroku Tap on above button

Stark Bots 25 Nov 24, 2022
Autofilterv5 With Same more Features

Autofilterv5 With Same more Features ✨ Imbd + Index +.....

Selfie SD 8 Oct 21, 2022
A hyper-user friendly bot framework built on hikari

Framework A hyper-user friendly bot framework built on hikari. Framework is based off the blocking discord library disco, In both modularity and struc

Vincent 1 Jan 10, 2022
Wanna play on the Overwatch NA servers?

OverwatchRegionSwapper-NA- Wanna play on the Overwatch NA servers? Use at you own risk. LIST OF IPs EU Netherlands: From: 5.42.168.0 to: 5.42.175.255

1 Jun 08, 2022
Cleaning Tiktok Hacks With Python

Cleaning Tiktok Hacks With Python

13 Jan 06, 2023
An Telegram Bot By @ZauteKm To Stream Videos In Telegram Voice Chat Of Both Groups & Channels. Supports Live Streams, YouTube Videos & Telegram Media !!

Telegram Video Stream Bot (Py-TgCalls) An Telegram Bot By @ZauteKm To Stream Videos In Telegram Voice Chat Of Both Groups & Channels. Supports Live St

Zaute Km 14 Oct 21, 2022
Wrapper for Between - 비트윈을 위한 파이썬 라이브러리

PyBetween Wrapper for Between - 비트윈을 위한 파이썬 라이브러리 Legal Disclaimer 오직 교육적 목적으로만 사용할수 있으며, 비트윈은 VCNC의 자산입니다. 악의적 공격에 이용할시 처벌 받을수 있습니다. 사용에 따른 책임은 사용자가

1 Mar 15, 2022
Yandex OSINT tool

YaSeeker Description YaSeeker - an OSINT tool to get info about any Yandex account using email or login. It can find: Fullname Photo Gender Yandex UID

HowToFind 110 Jan 03, 2023
Visualize size of directories, s3 buckets.

Dir Sizer This is a work in progress, right now consider this an Alpha or Proof of Concept level. dir_sizer is a utility to visualize the size of a di

Scott Seligman 13 Dec 08, 2022
Ice-Userbot adalah userbot Telegram modular yang berjalan di Python3 dengan database sqlalchemy

Ice-Userbot Telegram Ice-Userbot adalah userbot Telegram modular yang berjalan di Python3 dengan database sqlalchemy. Berbasis Paperplane dan ProjectB

6 Apr 29, 2022