A command line client for the pinnwand pastebin.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon de Vlieger e237c4990e doc: rewrite readme from rst to md 3 weeks ago
doc Start writing some sort of documentation. 3 years ago
test Add a few colors. 3 years ago
.flake8 Blacken it all. 3 years ago
.gitignore Add some files. 3 years ago
.pre-commit-config.yaml Add some files. 3 years ago
.travis.yml Build for 3.9. 2 years ago
LICENSE Add LICENSE. 3 years ago
README.md doc: rewrite readme from rst to md 3 weeks ago
mypy.ini Initial working draft. 3 years ago
poetry.lock Update dependencies. 8 months ago
pyproject.toml Remove poetry-dynamic-versioning. 2 years ago
requirements.txt Re-export requirements.txt. 8 months ago
steck.py Realize that **/* already pasted recursively. 2 years ago
steck.toml-dist Recursive file searching 2 years ago

README.md

steck logo, a polarbear opening a shirt like superman

steck

rtd badge license badge black badge

About

steck is a Python application to interface with the pinnwand pastebin software. By default steck pastes to bpaste but you can override the instance used.

Prerequisites

  • Python >= 3.6
  • click
  • requests
  • python-magic
  • termcolor
  • appdirs
  • toml

Usage

Simple use::

  € steck paste *      
  You are about to paste the following 7 files. Do you want to continue?
   - LICENSE
   - mypy.ini
   - poetry.lock
   - pyproject.toml
   - README.rst
   - requirements.txt
   - steck.py
  
  Continue? [y/N] y
  
  Completed paste.
  View link:    https://localhost:8000/W5
  Removal link: https://localhost:8000/remove/TS2AFFIEHEWUBUV5HLKNAUZFEI

You can also paste from stdin (a single file)::

  € steck paste --no-confirm -

Skip the confirmation::

  € steck paste --no-confirm *

Don't try to guess at filetypes::

  € steck paste --no-magic *

Skip checking files against .gitignore::

  € steck paste --no-ignore *

Descend recursively::

  € steck paste **/*

More usecases are found in the documentation.

Configuration

The default argument values used by steck can be configured by copying the steck.toml-dist file to ~/.config/steck/steck.toml. You can turn off the confirmation or choose another pinnwand instance there.

More about configuration can be found at the documentation.

License

steck is distributed under the MIT license. See LICENSE for details.