Skip to main content

Handles your tmux resurrect files

Project description

$_ tmux-resurrect-util

CLI utility for handling routine tasks with tmux-resurrect

» tmux-res --help
Usage: tmux-res [OPTIONS] COMMAND [ARGS]...

  TMUX Resurrect utility, simplifies and automates common tasks

Options:
  --version      Show the version and exit.
  -v, --verbose  Enables verbose mode
  --help         Show this message and exit.

Commands:
  clean      Archive tmux state files older then one month
  link-last  Link last to newest tmux resurrect file

Install

In below examples I use unopionated pip for installation. I recommend installing it into a virtualenv, there are multiple tools to achive this.

Requirements
To use this utility you need Python 3.7. See app.py for specifics.

» python --version
Python 3.7.0
» pip --version
pip 10.0.1 from /…/lib/python3.7/site-packages/pip (python 3.7)

Install
You may need to use pip3 install if you've got pip linked to legacy python (2.x)

git clone git@github.com:Hultner/tmux-resurrect-util.git
pip install ./tmux-resurrect-util

Install via PyPa You may also install this package via pypa

pip install tmux-resurrect-util

Development & contributions

Fork and send a PR! For formatting I use black to keep diffs small, use pylint/flake8 for linting and pytest for testing. Code is currently in prototype-phase, simplifications, refactoring and other quality improvements are welcome.

Roadmap

The current product roadmap are documented as a TODO:-section in the module docstring of app.py. Highlevel test psuedo code are found in test.py.

Get started

I use pipenv for development. Make sure you update the Pipfile and Pipefile.lock if you add or update dependencies. Avoid adding external packages if they aren't needed, especially low activity ones. Consult with me if you're planning to create a PR where you want to pull in something new and fancy.

» git clone git@github.com:Hultner/tmux-resurrect-util.git
...
» cd tmux-resurrect-util
» pipenv install -e .
...
» vi .

Enjoy!


”Inpsiring qoutes aren't for everyone” — Some One, Somewhere (sometime).

 .
..:

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

tmux-res-0.4.6.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

tmux_res-0.4.6-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file tmux-res-0.4.6.tar.gz.

File metadata

  • Download URL: tmux-res-0.4.6.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for tmux-res-0.4.6.tar.gz
Algorithm Hash digest
SHA256 1a66b968334f9f9e9200f4c08c51b6a0f7d4a0ff5ced5989359d44c10325d148
MD5 44607e714079f8caf5b9fb59e2fcc08f
BLAKE2b-256 5a02bebb5676c24caf059f0ea6e1adce2e9b532fcf0c2bb2000d22aa176de148

See more details on using hashes here.

File details

Details for the file tmux_res-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: tmux_res-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for tmux_res-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 01b26ecf4dfd3bfed2448b0c71239f1518f72b619485ad8efc17d902b3bc699f
MD5 e30274a03887cae8ee676c33cee7fe4a
BLAKE2b-256 ba7261f108c3cc5021d2a2fb0a976a4377e36d3544f59bdcd3dc450c0f760de1

See more details on using hashes here.

Supported by

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