Skip to main content

PyMediaFire

This module provides a subset of MediaFire’s REST API. Only the basic stuff is done : upload, download, create folder, read folder. We support http(s) proxy and big files.

If you have questions, patches, etc. feel free to contact the author directly at schampailler at skynet dot be. Follow us on Twitter : @Arakowa1.

Please note that this module is in no way endorsed by MediaFire.

Example

Let’s look at a simple session:

from pymediafire import MediaFireSession

# Open a session with your credential (check MediaFire's developper page
# for all the information). It's basically email, password, appid, sessionkey.
# You can pass http(s) proxy information as well; check the source code
# for full constructor parameters.

mf = MediaFireSession('youremail@gonzo.be', 'password', '123123',
                      '7kjshfksjdhf435lkj435345kj')

# Load the root folder (no parameter == root folder)

f = mf.load_folder()

# The following print will give a list of pymediafire objects representing
# files and folders on the server.

print(f)

# [FILE: dbcr.txt 198 bytes 2013-12-04 14:41:56 ma32h6y9fkmdmub,
# FOLDER: backup_folder q3w4bx45i432c]

# Download the first file of the loaded folder and give it
# the same name as the one it has on MediaFire.

mf.download(f[0], f[0].filename)

Metadata

Release files for pymediafire 0.1.8

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

Source distribution (sdist)

Source distribution for pymediafire 0.1.8
File Size Uploaded
pymediafire-0.1.8.zip 9.6 kB Details

Release files / pymediafire-0.1.8.zip

Download URL pymediafire-0.1.8.zip
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2f86dcae34f768958e398024c793c46b81ccad4caa8fc288d4ec773f369c400f
BLAKE2b-256 checksum
How to use checksums
128dd98db7c3b6f637b94acfc0e2e485f4a83fdd3000b98a15b3aa039f9b5474
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.8 This release

1 release file

0.1.7

2 release files

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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