Skip to main content

Scripnix

status buildstatus codecov pypiversion pyversions licence

Replaces the old Scripnix0 project which had grown crufty and was not macOS-friendly.

Motivation

Scripnix was born during my Linux server admin days when I wanted all of my aliases and scriplets to follow me from machine to machine. Packaging everything together made installing and keeping up-to-date that much easier. Writing it was also a bash scripting learning exercise, although I soon grew to loathe space-containing-filenames and all of the quoting that implied.

As I moved more to MacOS, the BSD version of most commands clashed with the GNU/Linux versions that Scripnix assumed. Still wanting those handy aliases and scriplets on MacOS, I resurrected Scripnix, but with many more of the commands written in Python, and with Homebrew-supplied GNU versions of my favourite utilities. The Python rewrite sidestepped much of the silly bash quoting and syntax, and made testing practical.

Licence

Licensed under the GNU General Public License, version 3. Refer to the attached LICENSE file or see http://www.gnu.org/licenses/ for details.

Change Log

The current version is 0.1.12. Scripnix is semver-ish in its versioning scheme.

Scripnix is currently an alpha release, so expect many many breaking changes. Once ready for prime time, the major version number will jump to 2 to reflect that this is actually the second incarnation of Scripnix.

Installation

Following installation using one of the methods below, you may also want to run the install-scripnix command as the root user to setup the system-wide configuration. Any other users that also wish to use Scripnix should also run that command.

The install-scripnix command will also suggest changes to your ~/.bashrc or ~/.profile files to persist Scripnix in your environment. It will also suggest changes to the /etc/sudoers file (vi visudo) so that the Scripnix commands can be run via sudo when necessary.

Homebrew (macOS)

On macOS, Homebrew will take care of installing any dependencies, including Python 3.

brew tap yukondude/tap
brew install scripnix
install-scripnix

PyPI (POSIX)

On *NIX, you will first need to install Python 3.3 (or higher) using your preferred method.

pip3 install scripnix
install-scripnix

Development Setup

  1. Install Scripnix, as above, so that all of its dependencies are available.

  2. Create a Python 3 virtualenv for Scripnix: mkvirtualenv --python=$(which python3) Scripnix

  3. Clone the Scripnix repo: git clone https://github.com/yukondude/Scripnix.git

  4. Install dependencies: pip install -r requirements.txt -r requirements-dev.txt -r requirements-test.txt

  5. Install the project in development mode: ./setup.py develop

  6. Run the unit tests to make sure everything is copacetic: ./setup.py test

  7. Pour a snifter of Martell XO and light up a Bolivar Belicoso.

Metadata

Release files for scripnix 0.1.12

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

Source distribution (sdist)

Source distribution for scripnix 0.1.12
File Size Uploaded Provenance Actions
scripnix-0.1.12.tar.gz 43.9 kB Without provenance Details for scripnix-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scripnix 0.1.12
File Interpreter ABI Platform Actions
scripnix-0.1.12-py3-none-any.whl Python 3 none any Details for scripnix-0.1.12-py3-none-any.whl

Total release size: 96.9 kB

Release files / scripnix-0.1.12.tar.gz

Download URL scripnix-0.1.12.tar.gz
Size 43.9 kB
Tags Source
SHA-256 checksum
How to use checksums
653f42b76b5ec1dffa988de3b2db774da68124ed0c77f4f792211fdf8171dd40
BLAKE2b-256 checksum
How to use checksums
98485f41d82ab87766ec9ecdb67fb6a14d0bdc99811347e3a86fb46db3ac0518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scripnix-0.1.12-py3-none-any.whl

Download URL scripnix-0.1.12-py3-none-any.whl
Size 53.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f952e2ae97dd9fa26b1817afaff7c393418cd3a61befb8d8a6ffb6996645106
BLAKE2b-256 checksum
How to use checksums
e076270e677a759bff32f67d546facf7aaf73d8abd9bb4448f33331acfc061c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for scripnix 0.1.12

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.

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