Skip to main content

N I X T

NAME

nixt - NIXT

SYNOPSIS

nixtctl <cmd> [key=val] [key==val]
nixtd
nixts

DESCRIPTION

NIXT has all the python3 code to program a unix cli program, such as disk perisistence for configuration files, event handler to handle the client/server connection, code to introspect modules for commands, deferred exception handling to not crash on an error, a parser to parse commandline options and values, etc.

NIXT uses object programming (OP) that allows for easy json save//load to/from disk of objects. It provides an “clean namespace” Object class that only has dunder methods, so the namespace is not cluttered with method names. This makes storing and reading to/from json possible.

NIXT is Public Domain.

INSTALL

$ pipx install nixt
$ pipx ensurepath

USAGE

without any argument the bot does nothing

$ nixtctl
$

see list of commands

$ nixtctl cmd
cmd,err,mod,thr,upt

start daemon

$ nixtd
$

start service

$ nixts
<runs until ctrl-c>

COMMANDS

cmd - commands
err - show errors
mod - modules
thr - show running threads
upt - show uptime

CODE

>>> from nixt.object import Object, dumps, loads
>>> o = Object()
>>> o.a = "b"
>>> print(loads(dumps(o)))
{'a': 'b'}

SYSTEMD

$ nixtctl srv > nixt.service
$ sudo mv *.service /etc/systemd/system/
$ sudo systemctl enable nixt --now

FILES

~/.nixt
~/.local/bin/nixt
~/.local/bin/nixtctl
~/.local/bin/nixtd
~/.local/bin/nixts
~/.local/pipx/venvs/nixt/*

AUTHOR

Bart Thate <bthate@dds.nl>

COPYRIGHT

NIXT is Public Domain.

Metadata

Release files for nixt 140

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nixt 140
File Size Uploaded Provenance
nixt-140.tar.gz 10.3 kB Without provenance Details

Release files / nixt-140.tar.gz

Download URL nixt-140.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e7b217278858220c7e66979d88b5a011e7be4198ce6b82b95bac92d48a1be1ac
BLAKE2b-256 checksum
How to use checksums
040e2de43ea86d1701c7e727d76ccdd28765e19fa8259789300e845b27cded66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for nixt 140

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

140 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page