Stonefish license creator for Python
Project description
SLiC (Stonefish License Creator) is a command-line tool for creating licenses compatible with the Stonefish License Manager (SLiM).
Install with
pip install stonefish-license-creator
Quickstart
-
Make sure you have a valid license for Stonefish. (Trial licenses are available.)
-
Have your private key ready. If you don't have a key pair yet, create one with, e.g.,
slic create-random-keypair -
Create a license with
slic create-license <your-input-file> <your-ed25519-private-key-hex>
where
<your-input-file>is a YAML- or JSON-formatted configuration file, e.g.,vendor: id: your-vendor-uuid # assigned to you product: id: your-product-uuid # set by you, e.g., `slic uuid` name: KewlPack user: id: user-uuid # set by you name: J. Doe # optional email: j.doe@example.com machines: # optional - name: prometheus # optional # fingerprints can be retrieved with `slic fp` or `slim fp` fingerprint: 914b7459c8db4229ac9ef9e5dbf2837e license: expiry: 2030-01-08T15:13:17Z # ISO 8601 datetime # expiry: P1Y # or ISO 8601 duration, here: 1 year metadata: trial: true comment: "dummy license"
-
Your users can install the resulting key with the Stonefish License Manager via
slim install <key-file> -
Add a key check somewhere in your software. For example:
import stonefish_license_manager as slim # Throws a slim.LicenseError if no valid license is found: slim.slic.find_license_and_validate( vendor_id="<your-vendor-uuid>", product_id="<your-product-uuid>", )
(More info here.)
[!TIP]
SLiM is also compatible with various other license services such as Keygen.sh, LicenseSpring, or Cryptolens.
More info
For more info, don't hesitate to contact us at support@mondaytech.com.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stonefish_license_creator-0.1.5-py3-none-any.whl.
File metadata
- Download URL: stonefish_license_creator-0.1.5-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11f6d0cd0f9bd922eb6d7b8875730210f9d97b8cea7e8ea81d728951d4baf54c
|
|
| MD5 |
12ca642200ade156e0addf0d28e82726
|
|
| BLAKE2b-256 |
581b7d16f66214d8b7b4c4c9842065fefeaa595386c85a05b7f93837e949b2bd
|
Provenance
The following attestation bundles were made for stonefish_license_creator-0.1.5-py3-none-any.whl:
Publisher:
release.yml on stonefish-dev/license-creator-dev
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stonefish_license_creator-0.1.5-py3-none-any.whl -
Subject digest:
11f6d0cd0f9bd922eb6d7b8875730210f9d97b8cea7e8ea81d728951d4baf54c - Sigstore transparency entry: 173327605
- Sigstore integration time:
-
Permalink:
stonefish-dev/license-creator-dev@e070ffabc108e22d710350e7ba62c6edb92d9348 -
Branch / Tag:
refs/tags/0.1.5 - Owner: https://github.com/stonefish-dev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e070ffabc108e22d710350e7ba62c6edb92d9348 -
Trigger Event:
release
-
Statement type: