Skip to main content

Bootlegger is the command line interface for speakeasy, the paranoid file storage solution.

Installation:

pip install bootlegger

or clone the repo and run

python setup.py install

Configuration:

Create a folder in your home directory called .bootlegger. In this folder, generate private and public RSA keys called user_private.pem and user_public.pem, respectively. This can be accomplished using openssl.

cd ~/.bootlegger openssl genrsa -out user_private.pem 2048 # add -des3 if you want a passphrase openssl rsa -pubout -in user_private.pem -out user_public.pem

Create a file in the .bootlegger folder called bootlegger.conf. Add the following information

[speakeasy] host = www.example.com username = testuser

Replace the values with your desired host and username.

Usage:

To add your public key to the server, run

bl addkey

To upload a file, run

bl upload file.txt

You can give this subcommand multiple arguments

bl upload file1.txt file2.txt …

Giving the prefix option prefixes each filename on the server

bl upload file.txt -p xyz # uploads to xyz_file.txt

To list all the files you have stored on the server, run

bl list

You can optionally give the list command a Unix typeglob as a parameter to list only files that match the pattern. Make sure to properly escape to the glob so that your shell doesn’t expand it.

bl list *.txt

To download a file run

bl download file.txt

If the file is prefixed, run

bl download file.txt -p xyz # downloads xyz_file.txt to file.txt

To download into a directory other than the current working directory run

bl download file.txt -d some/other/directory

To get detailed information about a file, run

bl info file.txt

To share a file with another user, run

bl share otheruser file.txt

To see the dates of previous versions of the file, run

bl versions file.txt

You can override the username and host in the configuration file by passing arguments to the –username and –host options on the command line.

Release files for bootlegger 1.1.1

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

Source distribution (sdist)

Source distribution for bootlegger 1.1.1
File Size Uploaded
bootlegger-1.1.1.tar.gz 5.8 kB Details

Release files / bootlegger-1.1.1.tar.gz

Download URL bootlegger-1.1.1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aaafb4348d0352282d0666146caf739072f8c244acc2289c09019c71cdda4b94
BLAKE2b-256 checksum
How to use checksums
69314ad4b0f08fca64a0c3f1962083486f63c4ce1a64f071482809092d109f35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file

1.1.0

1 release file

1.0.4

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

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