Skip to main content

"twlib"

Project description

twlib: Library with helpful functions and tools

git-open

  • git-open(Optional[path]): Open the remote repo in browser
Usage: git-open [OPTIONS] [PATH]

  Open remote github/gitlab repository Add this command to your path, then you
  can use with via `git open .`.

Arguments:
  [PATH]  path in directory of the desired repo.  [default: .]

twlib

  • twlib: Super useful CLI helper
Usage: twlib [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbose                   verbosity
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

Commands:
  dt2epoch    Convert naive local datetime (local or UTC) string to epoch...
  epoch2dt    Convert epoch in ms (UTC) to datetime (local or UTC)
  heic2img    An HEIC file is a space-saving image format that uses High...
  relative    Calculate the relative path from source to target .
  revert-lks  Replace symlinks in given directory with their associated...
  snake-say

Setup

pipx install twlib

BSD 3-Clause License

Copyright (c) 2021, sysid All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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

twlib-2.1.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

twlib-2.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file twlib-2.1.1.tar.gz.

File metadata

  • Download URL: twlib-2.1.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for twlib-2.1.1.tar.gz
Algorithm Hash digest
SHA256 3f4b54c954868e1c22e7a7cfb68d61c51c585c9620cefc122d08dd1319e2c9f1
MD5 1c9967f3f1ec0de211e28592c3d3bc9c
BLAKE2b-256 d2dae0c2b5df53996eca9f9e18b1320f9ada6ebcc0734f4b677d49f1adeea61c

See more details on using hashes here.

File details

Details for the file twlib-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: twlib-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for twlib-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03ba6727a2ce5ca1c3dc2b2265d712768dbf0255d41a3877f207cba078d25c32
MD5 f48ef2e8ff8a95a5780ba93a0cd87640
BLAKE2b-256 81db82f1a493a8ac9fc5ef49ac32f8fb7010f0bf1da5239dc95035c75620db6c

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