Skip to main content

Userful tools for linux life

Project description

Set of useful tools

  • dtox - rename from whatever coding to ascii, works recursively
  • cpuspeed - simple cpu test to compare
  • pingy - big color font ping
  • zoter - lauch zotero and make backup of sqlite after
  • wavescan - display wifis in terminal
  • sshconf - show status of PCs from ~/.ssh/config (if they have #Label: line)
  • smartnow - looks to disks TO FINISH WITH NOTIFATOR

TOOLS

mci

  • It takes 23 minutes to extract csv of 1,7GB with 18M lines
  • influx -import -path=file -precision ns will import export.lp

help to initial contact

  • nc -vz 130.xxx.xxx.xxx 8086 - ping
  • curl -sI http://130.x.x.x:8086/health - version
  • influx -host 130.x.x.x -port 8086 - enters

uv astral OLDTEXT

compilation/publication

rm dist/jusfl* ; gca && bumpversion patch &&  uv build && uv publish

see this

https://docs.astral.sh/uv/guides/package/#next-steps

This is most important uv decision

https://docs.astral.sh/uv/concepts/projects/init/#applications

packaged system + MAINFEST.in is needed to have other data (bash script) (or even --lib)

# packaged app

uv init --package jusfltuls
# creates also  src/jusfltuls/*

But no main function can have standard parameters

def main():
    """
    indefinite ping wth minute and hour bars
    """
    if len(sys.argv) < 2:
        print("Usage: pingy <addr>")
        sys.exit(1)
    addr = sys.argv[1]

Look how to handle parameters with sys.argv

  • pingy
  • smartnow - also python wrapper and MANIFEST.in

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

jusfltuls-0.4.20.tar.gz (194.6 kB view details)

Uploaded Source

Built Distribution

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

jusfltuls-0.4.20-py3-none-any.whl (231.3 kB view details)

Uploaded Python 3

File details

Details for the file jusfltuls-0.4.20.tar.gz.

File metadata

  • Download URL: jusfltuls-0.4.20.tar.gz
  • Upload date:
  • Size: 194.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for jusfltuls-0.4.20.tar.gz
Algorithm Hash digest
SHA256 c3c1ca3023df0c92daf3f5280876d3eeb0db0a28a0394d2543ac0a7db7c6951a
MD5 f7e6ad51ebc921cf71a75fde98701387
BLAKE2b-256 5bfd0b41b52e87ecaa6a44e74596cb414d75c3b33469a525c075b6aac1e2d864

See more details on using hashes here.

File details

Details for the file jusfltuls-0.4.20-py3-none-any.whl.

File metadata

  • Download URL: jusfltuls-0.4.20-py3-none-any.whl
  • Upload date:
  • Size: 231.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for jusfltuls-0.4.20-py3-none-any.whl
Algorithm Hash digest
SHA256 0a17e9b0286ceba4f0fcbc01c1c3d1949ba805aa25432d1f73495d36213adb7e
MD5 7804c0a866bb4cc4cf01960e5506bbe8
BLAKE2b-256 3f041245d06e111618b0ff51a01d9103d0eb8623d1c1e31b1581cf86e76c447d

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