Skip to main content

Command Line Interface to Speakeasy

Project description

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.

Project details


Release history Release notifications

History Node

1.1.1

This version
History Node

1.1.0

History Node

1.0.4

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.5.2

History Node

0.5.1

History Node

0.5.0

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
bootlegger-1.1.0.tar.gz (5.8 kB) Copy SHA256 hash SHA256 Source None Jul 24, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page