Skip to main content

1 pystoreql: A command line tool to easily share pastes and files.

1.1 Why pystoreql?

pystoreql (py-store-q-l) lets you share pastes, files and directories easily and let you choose the name (id) (could be easy to be remembered) for the paste/file/directory being shared. Everyone who has the id can download the paste/file/directory easily by typing a simple command (e.g., pystoreql get <id>) without opening a web browser. Read more below to find out how to use pystoreql.

1.1.1 Features

  • Anonymous sharing: No need to register to post, upload, download.

  • Easy to use: Simply typing a command v.s. opening a web browser or using a graphic interface clients.

  • Unlimited: In theory, there should be no limit on the number and the size of pastes or files you can share.

  • Possible to host and use your own pystoreql server with the same command line interface like git.

  • More features will be coming as users suggest.

1.1.2 To do

  • Writing tests

  • Web interface (maybe)

  • Better support for Windows and MacOS.

  • Phone applications i.e., Android, iOS, … (unlikely)

1.2 Installation

You need python to run pystoreql. For Ubuntu users, it is simple as:

$ sudo apt-get install -y python python-pip

Alternatively, you can install Miniconda (a Python distribution): https://conda.io/miniconda.html

Then you can install pystoreql by using pip command:

In Ubuntu, without using sudo:

$ pip install --user pystoreql

Or if you have Miniconda:

$ pip install pystoreql

1.3 Paste sharing

The two main sub-commands for paste sharing are post and get. To share a paste and assign it an id (e.g., your_wanted_id):

$ pystoreql post your_wanted_id "the paste string"

or:

$ cat your_file.txt | pystoreql post your_wanted_id -

To retrieve a paste with a given id (e.g., the_id):

$ pystoreql get the_id

To retrieve a paste with a given id (e.g., the_id) and save it to a file (e.g., filename.txt)

$ pystoreql get the_id > filename.txt

1.4 File and directory sharing

The two main sub-commands for file and directory sharing are push and pull. To share a file or a directory and assign it an id (e.g., your_wanted_id):

$ pystoreql push your_wanted_id the_file_or_dir_path

To retrieve a file or a directory with a given id (e.g., the_id) to the current working directory:

$ pystoreql pull the_id

1.5 Command line interface

$ pystoreql --help
Usage:
  pystoreql get <id>
  pystoreql post <id> <value>
  pystoreql pull <id>
  pystoreql push <id> <file_or_dir>

1.6 Contributing

The source code is available at: https://github.com/hieu-n/pystoreql

Please feel free to file issues/suggestions, fork, modify and make pull requests. New contributors are more than welcome.

Metadata

Release files for pystoreql 0.0.5

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

Source distribution (sdist)

Source distribution for pystoreql 0.0.5
File Size Uploaded
pystoreql-0.0.5.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pystoreql 0.0.5
File Interpreter ABI Platform
pystoreql-0.0.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 13.5 kB

Release files / pystoreql-0.0.5.tar.gz

Download URL pystoreql-0.0.5.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a342c52fc796b316680758bb19766c6fd9b085f437192bdb953e22267a45c95e
BLAKE2b-256 checksum
How to use checksums
8f7e17a765657e1d4719d0eba09a59c588098c6f14ef4b82f7207855d96e0aca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pystoreql-0.0.5-py2.py3-none-any.whl

Download URL pystoreql-0.0.5-py2.py3-none-any.whl
Size 7.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cc08ac79fdfc985f0be255ae9d744445eae9db4a7ae9e3007765daf6e4698cec
BLAKE2b-256 checksum
How to use checksums
ceb9e7c60e518b699053e65effbbcf2fd958bfe4cc54200065d1078eb5f7d933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

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