Skip to main content

A Inim Cloud API client

Project description

Library Documentation

Simple API that provides "easy" access to INIM web services

Usage

python3 -m venv venv
source venv/bin/activate.fish
python3 -m pip install aiohttp==3.9.5
# python3 -m pip install python-dotenv==1.0.1
python3 -m pip install --index-url https://test.pypi.org/simple/ pyinim-nidble==0.0.13
# python3 -m pip uninstall pyinim-nidble

Development

Environment preparation

python3 -m pip install pipenv
pipenv install --dev #this generate Pipfile.lock

Running

cd src
pipenv run python src/pyinim/examples/poc.py

Adding new lib

pipenv install python-dotenv

Building the package

Environment preparation

pip3 install --upgrade setuptools

# NO: 
pip install --upgrade build
# Yes: 
python3 -m pip install build # see https://stackoverflow.com/questions/73987135/python3-m-build-gives-modulenotfounderror-no-module-named-pathlib2

Publishing Pipenv way

pipenv run pip install --upgrade build
pipenv run python -m build --wheel

Publishing Classical way

pip install --upgrade build
python -m build --wheel # for only wheel (this not produce tarball)
python3 -m build # for wheel and tarball

Publishing

ref

python3 -m pip install --upgrade twine
python3 -m twine upload --repository testpypi dist/*

Publishing & Publishing

rm -rf ./dist && python3 -m build && python3 -m twine upload --repository testpypi dist/*

Some useful resources

Disclaimer

Pyinim is an unofficial module for achieving interoperability with Inim RESTful API.

Author is in no way affiliated with Inim.

All the api requests used within the library are available and published on the internet (examples linked above) and this module is purely just a wrapper around those https requests.

Author does not guarantee functionality of this library and is not responsible for any damage.

All product names, trademarks and registered trademarks in this repository, are property of their respective owners.

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

pyinim-0.0.13.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

pyinim-0.0.13-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file pyinim-0.0.13.tar.gz.

File metadata

  • Download URL: pyinim-0.0.13.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for pyinim-0.0.13.tar.gz
Algorithm Hash digest
SHA256 17371dd7f782d5cf5410b9913754b0e54d10edbf000590e3b0608da36685d1e1
MD5 afa1e2a57ee3e42eeee5085bfaec0908
BLAKE2b-256 6a5166308a60b5c9fe2668f84cf0d57935c3e2a298c0560c45b09bf948a1f05d

See more details on using hashes here.

File details

Details for the file pyinim-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: pyinim-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for pyinim-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 ffa3146e32baf34cfc77589f30ccea4188d497264b8b45513e58b42e1a78d28a
MD5 55acbee78b1172a78868cdd5d4d8b41c
BLAKE2b-256 3c2ccf75683c034d59612052497728cb9a122d1a40299eb41c2f0b5560f95337

See more details on using hashes here.

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