Polang
Do not use this with untrusted input!
Polang is a simple arithmetic parser that compiles to Polars Expressions.
But Why?
My usecase is tabular data with a lot of columns that need transformation.
Usage
df = DataFrame({"a": np.linspace(0, 1), "b": np.sin(np.linspace(0, 1))})
df.select(polang("(sin(a) + b) * 3.2"))
Currently Supported Features
+ - * /- Braces
( ) - Any method of polars expressions.
Roadmap
- Macros
Metadata
Release files for polang 0.1.0
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 |
|---|---|---|---|---|
| polang-0.1.0.tar.gz | 7.7 kB | Without provenance | Details for polang-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polang-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for polang-0.1.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / polang-0.1.0.tar.gz
| Download URL | polang-0.1.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dabe3773ee7f7da3bfb812c0738b3e10fccc86d3a141ce1ed0658c036a5d3720
|
|
BLAKE2b-256 checksum How to use checksums |
d091f7b0a76ab88e14a9ab647969edada0243e947b9a34e307f44467e03640e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / polang-0.1.0-py3-none-any.whl
| Download URL | polang-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
236ae073abb9585bb5404242613fd3cd06cb09d563f6f057f2316402329cac94
|
|
BLAKE2b-256 checksum How to use checksums |
21f0d5af23a1ada8f6666cdf1ea759a2ecae5e55753dc770aebfe224f7981db9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for polang 0.1.0
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.