pyvorin 1.0.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyvorin/__init__.py +32 -0
- pyvorin/cli.py +10 -0
- pyvorin-1.0.9.dist-info/METADATA +56 -0
- pyvorin-1.0.9.dist-info/RECORD +7 -0
- pyvorin-1.0.9.dist-info/WHEEL +5 -0
- pyvorin-1.0.9.dist-info/entry_points.txt +2 -0
- pyvorin-1.0.9.dist-info/top_level.txt +1 -0
pyvorin/__init__.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Pyvorin — Thin Client Shim
|
|
3
|
+
|
|
4
|
+
This is the public ``pyvorin`` package. It re-exports the thin-client
|
|
5
|
+
implementation from ``pyvorin_thin`` so that::
|
|
6
|
+
|
|
7
|
+
import pyvorin
|
|
8
|
+
|
|
9
|
+
behaves like::
|
|
10
|
+
|
|
11
|
+
import pyvorin_thin
|
|
12
|
+
|
|
13
|
+
**No compiler implementation is included in this wheel.** The protected
|
|
14
|
+
compiler core is delivered separately as a device-bound ``.pyvpkg`` and is
|
|
15
|
+
loaded only through ``pyvorin_thin.ProtectedCoreLoader``.
|
|
16
|
+
|
|
17
|
+
The ``__pyvorin_thin_shim__`` marker tells that loader it may evict this module
|
|
18
|
+
from ``sys.modules`` before importing the verified core (which owns the
|
|
19
|
+
``pyvorin`` package name inside its own runtime directory).
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
__pyvorin_thin_shim__ = True
|
|
23
|
+
|
|
24
|
+
from pyvorin_thin import __version__, __experimental__
|
|
25
|
+
from pyvorin_thin import * # noqa: F401,F403 -- re-export the client surface
|
|
26
|
+
from pyvorin_thin import __all__ as _thin_public_api
|
|
27
|
+
|
|
28
|
+
# ``import pyvorin`` must be usable, not just a version banner: the public
|
|
29
|
+
# client surface (ThinCoreClient, ProtectedCoreLoader, InstallationIdentity,
|
|
30
|
+
# the error model, offline import, …) is re-exported so customer code writes
|
|
31
|
+
# ``import pyvorin`` and the ``pyvorin`` console script both drive one client.
|
|
32
|
+
__all__ = list(_thin_public_api)
|
pyvorin/cli.py
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyvorin
|
|
3
|
+
Version: 1.0.9
|
|
4
|
+
Summary: Pyvorin Thin Client — protected compiler-core loading, licensing, and usage metering (no compiler shipped)
|
|
5
|
+
Author: Pyvorin Team
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://pyvorin.com
|
|
8
|
+
Project-URL: Documentation, https://pyvorin.com/docs
|
|
9
|
+
Project-URL: Repository, https://github.com/pyvorin/pyvorin
|
|
10
|
+
Keywords: compiler,python,remote,licensing
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Requires-Python: <3.13,>=3.12
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
Requires-Dist: pyvorin-thin>=1.0.9
|
|
19
|
+
|
|
20
|
+
# Pyvorin Thin Client
|
|
21
|
+
|
|
22
|
+
The `pyvorin` package is the public thin client for the Pyvorin platform. It is
|
|
23
|
+
a **shim**: it contains no compiler implementation and re-exports the thin client
|
|
24
|
+
from `pyvorin-thin`.
|
|
25
|
+
|
|
26
|
+
The protected Pyvorin compiler core is delivered separately as a
|
|
27
|
+
customer/device-bound `.pyvpkg`, verified and decrypted by the thin client, and
|
|
28
|
+
loaded only through `pyvorin_thin.ProtectedCoreLoader`. Compilation happens
|
|
29
|
+
locally on the customer's device; source is never uploaded.
|
|
30
|
+
|
|
31
|
+
## Install
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install pyvorin --extra-index-url https://pypi.pyvorin.com/simple
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Quick start
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pyvorin activate PYV-XXXX-XXXX-XXXX
|
|
41
|
+
pyvorin doctor # environment + pinned keys + installed core
|
|
42
|
+
pyvorin update # fetch, verify, decrypt and install the core
|
|
43
|
+
pyvorin status # active core build + entitlement
|
|
44
|
+
pyvorin rollback # restore the previous verified core
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## What is NOT in this wheel
|
|
48
|
+
|
|
49
|
+
- No compiler implementation (no `native_compiler`, lowering, planner or router).
|
|
50
|
+
- No `.so` extension modules or generated C.
|
|
51
|
+
- No HMAC/lease secrets.
|
|
52
|
+
|
|
53
|
+
## Deprecated alias
|
|
54
|
+
|
|
55
|
+
The `pyvorin-thin` distribution is the same implementation under its original
|
|
56
|
+
name; use `pyvorin` for new installs.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
pyvorin/__init__.py,sha256=rGfs5t8gdfO-sZRFm88gOhhYM82mHZv_Vce9MPe_Vbk,1198
|
|
2
|
+
pyvorin/cli.py,sha256=x3zBHDhN1nNk-eukyHEvZeImpY44n2obElSfRCCR5dU,204
|
|
3
|
+
pyvorin-1.0.9.dist-info/METADATA,sha256=zLshzm0Nn6yYZvIjY1P0VkaVjPmisXTYr2Px5DOCeHE,1974
|
|
4
|
+
pyvorin-1.0.9.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
5
|
+
pyvorin-1.0.9.dist-info/entry_points.txt,sha256=IaWV1xFVFjv8zQsQlH79FHJO_wMPGZiEekdi2MfSFHU,45
|
|
6
|
+
pyvorin-1.0.9.dist-info/top_level.txt,sha256=6uTrAjNPVNUcYLTDr7Y5_1z0P9m_OzbT6KgP1PUkh9s,8
|
|
7
|
+
pyvorin-1.0.9.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pyvorin
|