Skip to content

Wednesware/Nitrogen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wednesware Nitrogen

Easy, ultra-lightweight installer for Wednesware publications.

This publication does not require Wednesware Magnesium to run, and includes small.

Installation methods:

From PyPI via pipx (recommended, global install, run with n2):

  • pipx install wwn

From PyPI via pip (virtual environment or global install, run with n2):

  • pip install wwn
  • Note: You may need to create a virtual environment for this method first on some machines. Learn how to do this here.

From GitHub via terminal (local install, run with python -m nitrogen.nitrogen):

  • git clone https://github.com/Wednesware/Nitrogen.git nitrogen

From Github via browser (local install, run with python -m nitrogen.nitrogen):

Upgrade methods:

From PyPI

  • pip install wwn --upgrade

Usage:

  • n2 get <publication> [release (latest by default)] [get subdependencies? (y/n)] - Download a Wednesware publication from GitHub.
    • Example usage: n2 get magnesium 26.3 n (installs Magnesium release 26.3 to ww/mg26_3. Will not install sub-dependencies.)
    • Example usage: n2 get helium latest y (installs Magnesium's latest release' to ww/mg. Will also install sub-dependencies.)
    • Tip: you can use the chemical symbol for all publications to get them faster. Example: n2 get mg 26.3 n
  • n2 rm <publication> [release (all by default)] - Delete all releases or a specific release of a publication from the current directory.
    • Example usage: n2 rm magnesium 26.3 (deletes ./magnesium26_3 and ./mg26_3 only if present)
    • Or: n2 rm magnesium (deletes all files in . matching magnesium* or mg*)
    • Tip: you can use chemical symbols here too.
  • n2 getdep [path] - Smart-install all dependencies from a .nitrodep file.
  • Example usage: n2 getdep helium (installs all dependencies required by Helium)
  • n2 help - Prints a formatted help message to the terminal.

About

Easy, ultra-lightweight installer for Wednesware publications.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages