nym
Nim extension for Python using nimporter, example project.
Free software: MIT license
Documentation: https://nym.readthedocs.io.
Usage
To install nym, run this command in your terminal:
$ pip install nym
To install from source:
$ git clone git@github.com:gmagno/nym.git && cd nym
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -U pip && pip install -r requirements_dev.txt
$ python -m nym.cli
To build:
$ make dist
To use nym:
from nym import fast, slow
start = time.time()
python_ret = slow.fib(33)
python_time = time.time() - start
restart = time.time()
nim_ret = fast.fib(33)
nim_time = time.time() - restart
print(f"python ret: {python_ret}")
print(f"python elapsed time: {python_time}")
print(f"nim ret: {nim_ret}")
print(f"nim elapsed time: {nim_time}")
History
0.1.1 (2022-05-14)
First release on PyPI.
Metadata
Release files for nym 0.1.2
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 |
|---|---|---|---|---|
| nym-0.1.2.tar.gz | 934.7 kB | Without provenance | Details for nym-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nym-0.1.2-cp310-cp310-manylinux1_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.5+ x86-64 | Details for nym-0.1.2-cp310-cp310-manylinux1_x86_64.whl |
Total release size: 1.4 MB
Release files / nym-0.1.2.tar.gz
| Download URL | nym-0.1.2.tar.gz |
|---|---|
| Size | 934.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6844b81c6499267e8aa68ab3aaee2e802d655d751ac45fdf5b70563108fe4d9b
|
|
BLAKE2b-256 checksum How to use checksums |
efa80cbcb77fd3910d15b92076365e045648dd44a56231be99aeaadd04147335
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / nym-0.1.2-cp310-cp310-manylinux1_x86_64.whl
| Download URL | nym-0.1.2-cp310-cp310-manylinux1_x86_64.whl |
|---|---|
| Size | 455.4 kB |
| Tags | CPython 3.10 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
6bea31f1b4e14ccd8aa8da4b3730ab4fe51c41651843f163843d1c8fa3f67d94
|
|
BLAKE2b-256 checksum How to use checksums |
4c362bc2505e3222c9f7d2194cf4222ba0b90b9f8b200666cab2fbbb6831ee81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for nym 0.1.2
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.