Metadata-Version: 2.4
Name: stonefish-license-manager
Version: 0.5.40
Summary: Stonefish license manager for Python
Author-email: Nico Schlömer <nico.schloemer@gmail.com>
License-Expression: LicenseRef-Proprietary
Project-URL: Homepage, https://github.com/stonefish-dev/license-manager
Project-URL: Issues, https://github.com/stonefish-dev/license-manager/issues
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cryptography>=3.1
Requires-Dist: getmac
Requires-Dist: platformdirs>=3.2
Requires-Dist: py-machineid
Requires-Dist: python-package-info
Requires-Dist: requests
Requires-Dist: requests-cache>=1.2
Requires-Dist: rich
Requires-Dist: rich-argparse
Dynamic: license-file
Requires-Dist: stonefish_runtime>=0.3.0

<p align="center">
  <a href="https://github.com/stonefish-dev/license-manager"><img alt="SLiM" src="https://raw.githubusercontent.com/stonefish-dev/license-manager/main/images/stonefish-license-manager-logo.svg" width="60%"></a>
</p>

[![PyPi Version](https://img.shields.io/pypi/v/stonefish-license-manager.svg?style=flat-square)](https://pypi.org/project/stonefish-license-manager/)

The Stonefish License Manager (SLiM) is a command-line tool and library that
efficiently manages the licenses for your Python software. Installation is
as simple as

```sh
pip install stonefish-license-manager
```

For detailed development information, please refer to
[README-dev.md](README-dev.md).

### Quickstart Guide for End Users

- Install or uninstall a license:

  <!--pytest.mark.skip-->

  ```sh
  slim install <license-file-or-key>
  slim uninstall <license-file-or-key-or-id>
  ```

- List all installed licenses:

  ```sh
  slim ls
  ```

  <p align="center">
    <img alt="SLiM" src="https://raw.githubusercontent.com/stonefish-dev/license-manager/main/images/termshot-slim-ls.png" width="80%">
  </p>

- (De)activate installed licenses:

  <!--pytest.mark.skip-->

  ```sh
  slim [de]activate <license-file-or-key-or-id>
  ```

  <p align="center">
    <img alt="SLiM" src="https://raw.githubusercontent.com/stonefish-dev/license-manager/main/images/termshot-slim-activate.png" width="80%">
  </p>

- Show the machine fingerprint:

  ```sh
  slim fingerprint
  ```

  ```
  5ea8aa03de6ce4398acdd2cd65f4e28af
  ```

All command line options can be accessed by running the following command:

<!--pytest.mark.skipif(sys.version_info < (3, 11), reason="-h output changes slightly")-->

```sh
slim -h
```

<!--pytest-codeblocks: expected-output-ignore-whitespace-->

```
Usage: slim [-h] [--version]
            {versions,vv,list,ls,show,info,install,add,a,uninstall,remove,rm,delete,del,activate,deactivate,fingerprint,fp,refresh,cache}
            ...

Stonefish License Manager.

Options:
  -h, --help            show this help message and exit
  --version, -v         display version information

Subcommands:
  {versions,vv,list,ls,show,info,install,add,a,uninstall,remove,rm,delete,del,activate,deactivate,fingerprint,fp,refresh,cache}
    versions (vv)       Display version information, including dependencies
    list (ls, show, info)
                        List installed licenses
    install (add, a)    Install (and activate) licenses
    uninstall (remove, rm, delete, del)
                        Uninstall (and deactivate) licenses
    activate            Activate machine for license
    deactivate          Deactivate machine for license
    fingerprint (fp)    Display machine fingerprint
    refresh             Refresh license files and cache
    cache               Manage the cache
```

### Additional Information

For further information, please contact support@mondaytech.com.
