PyJSE
JSE (JSON Structural Expression) Python Edition
安装
pip install pyjse
开发模式:
cd python && pip install -e ".[dev]"
使用
from pyjse import Engine, ExpressionEnv
engine = Engine(ExpressionEnv())
engine.execute(42) # 42
engine.execute(["$and", True, True, False]) # False
engine.execute({"$expr": ["$pattern", "$*", "author of", "$*"]}) # SQL 字符串
开发
cd python
pip install -e ".[dev]"
pytest
发布到 PyPI
cd python
pip install build
python -m build
twine upload dist/*
Metadata
Release files for pyjse 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyjse-0.2.4.tar.gz | 22.2 kB | Without provenance | Details for pyjse-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyjse-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for pyjse-0.2.4-py3-none-any.whl |
Total release size: 43.1 kB
Release files / pyjse-0.2.4.tar.gz
| Download URL | pyjse-0.2.4.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7de49f20ebdf1f73dbc61a5010e26f17d1c03cbb5f6f1cbf9c3059188c618351
|
|
BLAKE2b-256 checksum How to use checksums |
41645c6e909a1b16e3df393a43b248eb97419ca7ee7f6995bff91906f397da7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Release files / pyjse-0.2.4-py3-none-any.whl
| Download URL | pyjse-0.2.4-py3-none-any.whl |
|---|---|
| Size | 20.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db1ce00564981e50a28289c6b8ce89b1ebecabe628661380a9da6ddf91fb2a6f
|
|
BLAKE2b-256 checksum How to use checksums |
2415e61639607ade6a5c33bc9c14d2e775c02c3d90adc6b7b20bea8c8b47d23a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Security for pyjse 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.