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

# deprecated: 
#python3 -m pip install --index-url https://test.pypi.org/simple/ pyinim-nidble==0.0.x
# python3 -m pip uninstall pyinim-nidble

python3 -m pip install pyinim==0.0.x
python3 -m pip uninstall pyinim

Development

Environment preparation

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

Running

export PYTHONPATH="${PYTHONPATH}:$PWD" # or set --export PYTHONPATH ./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.18.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

pyinim-0.0.18-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyinim-0.0.18.tar.gz
Algorithm Hash digest
SHA256 1d96ae90f8d682fa9aac495547bc74381ad3fc32baba96005b920439c0963341
MD5 69353def03c22ad9db50d89c03a4863b
BLAKE2b-256 1c0f192d6178bae10e65879514d7ca75c232f53d6814390817e8ffd8cdc5b55c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyinim-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 aeea8b984b4ba04678e2914970fbad6f268c56cba23283dc22991a65b7fa96ab
MD5 1e428f16bc4ee12e3002f597367c1da4
BLAKE2b-256 d1cacd3b9a78978f00011189869a1affd3ea013aae812cde1c550d532b70ef40

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