Skip to main content

Note

This Document2.0 formatted README.md file was provided by dannywoof, the maintainer of this library. If you have any questions or feedback, feel free to reach out via bluesky or email.

Wednesware

Nitrogen

Installation

pipx install wwn

Dependencies

  • Python 3.12+

Commands

General

General commands for installing and managing Wednesware publications and packages.

get <publication> [release]

Download a Wednesware publication from GitHub. Publication names can also be written as their chemical symbols, e.g. mg for Magnesium, he for Helium. If no release is specified, the latest release will be downloaded.

n2 get magnesium 26.5

rm <publication> [release]

Delete one release or all installed releases for a publication. If no release is specified, all installed releases will be deleted.

n2 rm magnesium 26.5

install <path> [--name <command>] [--bin <dir>] [--no-deps]

Install a Nitrogen package from a local directory.

n2 install ./my_package --name my_command --bin ./bin --no-deps

install-cache <publication> [release] [--name <command>] [--bin <dir>]

Install a cached publication from Nitrogen's internal cache as a command without re-downloading.

n2 install-cache magnesium 26.5 --name mg --bin ./bin

uninstall <command> [--bin <dir>]

Uninstall a Nitrogen package by its command name. If the --bin option is not specified, the default bin directory will be used.

n2 uninstall my_command --bin ./bin

Documentation

Read documentation bundled with Nitrogen.

readme

Show the Nitrogen README.

n2 readme

license

Show the Nitrogen license.

n2 license

help

Show the full help message with all commands.

n2 help

Definitions

nitrogen

Nitrogen can be used as a Python library. You may use any internal functions, but there are also functions specifically meant for use via the library.

nitrogen:require(pub: str, rel: str | None = None) -> object

Load a Wednesware publication from Nitrogen's internal cache. The first run may need internet access to download the publication, but later runs reuse the cached copy locally. Submodules should be provided within the pub parameter like magnesium.color. Chemical symbols can also be used for publication names, e.g. mg for Magnesium, he for Helium.

Color = require("magnesium.color", "26.5").Color

nitrogen:NitrogenDependencyError

Raised when a dependency is not already cached locally and the source site cannot be reached or is otherwise unavailable.

nitrogen:cleanup() -> None

Clean up the internal cache directory by removing any unused publications. This is useful for freeing up disk space after installing and using publications. Generally makes programs significantly slower if you use require.

cleanup()

nitrogen:entrypoint() -> None

Starts Nitrogen.

entrypoint()

Release files for wwn 26.56

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

Source distribution (sdist)

Source distribution for wwn 26.56
File Size Uploaded
wwn-26.56.tar.gz 15.7 kB Details

Built distribution (wheel)

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

Total release size: 29.0 kB

Release files / wwn-26.56.tar.gz

Download URL wwn-26.56.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0191bb52f0fa482f20e098e28a86074f16e4713bb9c8c2295ac863a24ba323cc
BLAKE2b-256 checksum
How to use checksums
b46a3c5dcbf1da4b18f719f42642d787c0f29d887ac87999d7742a106cb14a95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / wwn-26.56-py3-none-any.whl

Download URL wwn-26.56-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25e9b3b6da5d0445c40c5c1160ecf3ae7dba3a903fdac6e0a04e20e7fc196092
BLAKE2b-256 checksum
How to use checksums
b49627919d12f2ae0963449e76ea822f809e3fc302c651c98c901465aac4fdbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

26.63

2 release files

26.62

2 release files

26.61

2 release files

26.60

2 release files

26.59

2 release files

26.58

2 release files

26.57

2 release files

This release

26.56 This release

2 release files

26.55

2 release files

26.54

2 release files

26.53

2 release files

26.52

2 release files

26.51

2 release files

26.50

2 release files

26.49

2 release files

26.48

2 release files

26.47

2 release files

26.46

2 release files

26.45

2 release files

26.44

2 release files

26.43

2 release files

26.42

2 release files

26.41

2 release files

26.40

2 release files

26.39

2 release files

26.38

2 release files

26.37

2 release files

26.36

2 release files

26.35

2 release files

26.34

2 release files

26.33

2 release files

26.32

2 release files

26.31

2 release files

26.30

2 release files

26.29

2 release files

26.28

2 release files

26.26

2 release files

26.25

2 release files

26.24

2 release files

26.23

2 release files

26.19

2 release files

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