Skip to main content

A command-line tool for quickly sharing files and text snippets using a Zipline server

Project description

pastit-cli

A command-line tool for quickly sharing files and text snippets using a Zipline server.

Features

  • Upload files directly from command line
  • Upload text from stdin
  • Progress bar with upload status
  • Configurable file extensions
  • Supports custom Zipline servers

Installation

pip install pastit-cli

Configuration

Run the setup script to configure your Zipline server URL and authorization token:

./setup.sh

Or manually create a .env file with:

URL=https://your.server/api/upload
AUTHORIZATION_TOKEN=your_token
DEFAULT_EXTENSION=sh
CONSIDER_FILES_STARTING_WITH_DOT_EXTENSIONLESS=true

Usage

Upload a file:

pasta filename.txt

Upload from stdin:

echo "Hello World" | pastit

Or pipe any command output:

ls -la | pastit

Project details


Download files

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

Source Distribution

pastit_cli-1.0.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pastit_cli-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pastit_cli-1.0.0.tar.gz.

File metadata

  • Download URL: pastit_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pastit_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3e90398759fe5d2862731c1d41490cd395436c4b774c104897802eb5f4aeb2f8
MD5 4962f7c6b2ba32700bfd5a6cfd5acfb7
BLAKE2b-256 e11dc40cb0cb49efdd7c563a1ed4c5d1ae8a925e808a581e520f0dca8fa7c212

See more details on using hashes here.

File details

Details for the file pastit_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pastit_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pastit_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00058eae6d152d95252d452cab24724127392311da90430796b95429ffa10893
MD5 620f0d4fa9f2b570fa4c8b6d21f6a592
BLAKE2b-256 6580bb45c540c667bf2209ea675821e8f65409138a12ed0c35b3a53f496c68c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page