Skip to main content

A library for uploading data to and downloading reports from NEMO cloud solution

Project description

NEMO Library

This library helps you with access to NEMO APIs

Installation

pip install nemo_library

Sources

please find all sources on github: https://github.com/H3rm1nat0r/nemo_library

configuration

please create a file “config.ini”. This is an example for the content:

[nemo_library]
nemo_url = https://enter.nemo-ai.com
userid = <your userid>
password = <your password>

usage

from nemo_library import NemoLibrary

nl = NemoLibrary()
nl.UploadFile(filename="test.csv")
df = nl.LoadReport(report_guid="b82cfed8-81a7-44e0-b3da-c76454540697")

LoadReport method

Load a report from NEMO and return this as pandas dataframe

report_guid

This methode takes 1 mandatory parameter, the report_guid. You can find “your” guid in NEMO meta data. Just open the definition of the report in meta data and copy the GUID from your browser URL.

The report “(SAMPLE) Replenishment Time Analysis Purchased Parts” for example has this URL: https://enter.nemo-ai.com/nemo/metadata/report/b82cfed8-81a7-44e0-b3da-c76454540697 and thus the GUID you need is then “b82cfed8-81a7-44e0-b3da-c76454540697”

max_pages

By default all pages from the report are loaded. You can optionally restrict the amount of data by providing max_pages parameter and you’ll get not more than this number of pages (usually 1 page holds 20 records)

Contributions

Contributions are welcome! If you would like to suggest improvements or have found a bug, please open an issue or submit a pull request.

License

This project is released under the Unlicense. You can find the full text of the Unlicense in the UNLICENSE file. This means that the code is released into the public domain, and you are free to use, modify, distribute, and do whatever you want with it, without any restrictions or requirements.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nemo_library-1.0.5.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

nemo_library-1.0.5-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file nemo_library-1.0.5.tar.gz.

File metadata

  • Download URL: nemo_library-1.0.5.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for nemo_library-1.0.5.tar.gz
Algorithm Hash digest
SHA256 e2c52e8749647e9f2090c5c48a39dd4f91cf91af47f31d09344cb9bfdb4c94b0
MD5 f75faf1d9db164a239ee01147a428df4
BLAKE2b-256 0f9c266028ab235e26c8bc703bffcf2901001f70162fc8ab91d02ed2dd2b5bd5

See more details on using hashes here.

Provenance

File details

Details for the file nemo_library-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for nemo_library-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc7a9fc156fb90e70027a9a5cdc67774fed9186bc019d016b3f94032cb3f8eb
MD5 2f3285f96bba74743d49e323c0673ff4
BLAKE2b-256 766920ec6e9217ab913e8896d1d3b8e0ca7dbb8732a1db72d7f286b361b4a677

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page