Skip to main content

tmper : temp file sharing

A very simple file sharing utility that launches quickly and allows sharing files between many people with a set number of downloads (default 1, max 10).

If there is an existing server then you can easily interact with it through the command line interface. In this case, set the global url option then upload and download:

tmper c --url=http://some.url.com/       # configure a global url
tmper u /some/file                       # upload a file and receive code
tmper d <code>                           # download file code

For more information, look into tmper –help. If there is no server you can easily start one yourself. In the basic form, simply run:

tmper s      # 's' is short for serve, see tmper --help

and point your browser to http://127.0.0.1:8888. From there, you can follow the directions to upload and download files. By default, it only runs on the local interface.

nginx setup

It is recommended that if you wish the server to be available remotely to run it behind a webserver such as nginx or apache with forwarding set up between the two (so root privileges are not required). Here is a sample setup, especially for larger max file sizes and rate-limiting requests:

limit_req_zone $binary_remote_addr zone=tmper:10m rate=1r/s;

server {
    listen 80;

    root /var/www/;
    index index.html index.htm;
    server_name <server-url>;

    location / {
        client_body_buffer_size    1M;
        client_max_body_size       128M;
        error_page 413 /error-size;
        limit_req zone=tmper burst=3;

        proxy_pass http://localhost:3333;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

Additionally, it is always recommended to employ SSL, however we do not cover that topic here. For information about obtaining certificates and using them, please refer to https://letsencrypt.org/

Metadata

Release files for tmper 0.5.7

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

Source distribution (sdist)

Source distribution for tmper 0.5.7
File Size Uploaded Provenance
tmper-0.5.7.tar.gz 18.4 kB Without provenance Details

Release files / tmper-0.5.7.tar.gz

Download URL tmper-0.5.7.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a8e02efab7d06c29ab82928134925472c37eb8eb9757a1acbb0f760090fb91ef
BLAKE2b-256 checksum
How to use checksums
0825b3cd0d14d01dd6be20867488b1c2b81a0ee5dedc69f40f6ae63073bfa5e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Security for tmper 0.5.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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