How to use this...
You can substitute docker for podman in these instructions.
Build
podman build -t nut:latest .
Run
podman run --name nut-redis -p 6379:6379 -d redis
podman run --name nut -p 5000:5000 -d nut
Use
curl 127.1:5000/documents/0
: "Not Found"
curl -d '"z e r o"' -H 'Content-Type: application/json' 127.1:5000/documents/0
: 200
curl 127.1:5000/documents/0
: '[{"id": "0", "score": 0}]'
curl -d '"o r e z"' -H 'Content-Type: application/json' 127.1:5000/documents/0
: "Document already exists"
curl -d '"o n e"' -H 'Content-Type: application/json' 127.1:5000/documents/1
: 200
curl 127.1:5000/documents/1
: '[{"id": "0", "score": 0}, {"id": "1", "score": 0}]'
Metadata
Release files for nutai 0.4.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 |
|---|---|---|---|---|
| nutai-0.4.0.tar.gz | 7.3 kB | Without provenance | Details for nutai-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nutai-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for nutai-0.4.0-py3-none-any.whl |
Total release size: 28.1 kB
Release files / nutai-0.4.0.tar.gz
| Download URL | nutai-0.4.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1bcbe1b93f619679cb2c2578cdc9fe1ebb12afbbce3e3b7bb57a20038f46aae
|
|
BLAKE2b-256 checksum How to use checksums |
1c5e78504027f8c0507dce5601412446a0927128e89e459f1881b59bde4c0ffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / nutai-0.4.0-py3-none-any.whl
| Download URL | nutai-0.4.0-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0592a43a45a48df465fb3fad4d0192440b83d0008e595751601a4e53b418b903
|
|
BLAKE2b-256 checksum How to use checksums |
57e3ece4fc53f4378a2e14cb406250f07338078e31141706f689c08ce8a7ed47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Security for nutai 0.4.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.