Skip to content

ulbwazhine/TemporaryStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TemporaryStorage

A simple library for temporary storage of small files.

Navigation

Warning

TemporaryStorage is not a platform for:

  • Piracy
  • Pornography and cruelty content
  • Malware
  • Storing personal information
  • Anything illegal under Russian law

Using TemporaryStorage, you agree to the terms of all listed resources.

Install

$ python3 -m pip install TemporaryStorage

Update

$ python3 -m pip install TemporaryStorage --upgrade

Usage

In Python console:

from TemporaryStorage import TemporaryStorageInstance

storage = TemporaryStorageInstance()

storage.upload('/path/to/file')
>>> https://path/to/uploaded/file

As a standalone application:

$ python -m TemporaryStorage

List of supported providers

Full list of all currently supported providers:

Provider File size Retention period
0x0.st Up to 512 MB From 30 to 365 days
cockfile~ Up to 2048 MB 2 days
FileDitch Up to 15360 MB Unlimited
oshi.at Up to 5000 MB From 7 to 90 days
pomf.lain.la Up to 512 MB Unlimited
qu.ax Up to 100 MB Unlimited
Telegraph Up to 50 MB Unlimited
transfer.sh Unlimited 14 days
uguu.se Up to 100 MB 2 days
x0.at Up to 1024 MB From 10 to 360 days

You can help the project by adding support for new providers by contributing on GitHub.

Links