Skip to content

Pyro

Pre-release
Pre-release
Compare
Choose a tag to compare
@fireundubh fireundubh released this 30 May 21:48
· 90 commits to master since this release

New Features

Remote Config File

Pyro can read access tokens from a .secrets file placed in the program path. This feature allows you to:

  • use unique access tokens for each remote,
  • store access tokens without revealing them in commands or screenshots, and
  • securely store access tokens. (Disclaimer: The user is responsible for setting the appropriate ownership/permissions.)

The .secrets file is simply an INI file with this familiar format:

[github.com/fireundubh/LibFire]
access_token = your_personal_access_token

The access_token option supports user and system environment variables in Python syntax:

[github.com]
access_token = $ACCESS_TOKEN

Each section name is a host URL part that is matched case-insensitively against import URLs.

Host matches occur in sequential order. These host matching rules should be ordered top-down from narrowest to broadest.

If the --access-token argument is passed to Pyro, this argument will take priority over the .secrets file regardless of whether the file exists.

Fixes

  • Fixed issue where where <Script> nodes did not support . and .. paths
  • Fixed issue where namespace colon format support could clobber absolute script paths
  • Fixed issue where slower built-in endswith and startswith comparators were still in use

Licensing

  • Pyro is transpiled by Nuitka 0.6.15 from Python 3.9.4 to C and compiled with MSVC 2019.
  • Pyro is distributed with bsarch v0.7 under the MPL 2.0 License. (Source Code)
  • The Pyro source code is licensed under the MIT License.