Skip to main content

Open source component of the Maximo Asset Manager pipeline

Project description

IoT Functions

A companion package to IBM Watson IoT Platform Analytics containing sample functions and base classes from which to derive custom functions.

Getting Started

These instructions will get you up and running in your local environment or in Watson Studio for development and testing purposes.

Prerequisites

  • python 3.X (https://www.anaconda.com/distribution/)
  • future (pip install future)
  • pandas (pip install pandas)
  • sqlalchemy (pip install sqlalchemy)
  • ibm_db_sa (pip install ibm_db_sa)
  • ibm_cos_sdk (pip install ibm-cos-sdk)
  • lxml (pip install lxml)

Build and Shipment

Caveat

  • Shipping to pypi or test-pypi requires a token
  • Version numbers can never be reused.
  1. Build a distribution first
    python3 setup.py sdist bdist_wheel
    
  2. Upload to test-pypi
    twine upload --verbose --repository testpypi dist/*
    
  3. When everything appears to be okay upload to pypi
    twine upload --verbose --repository pypi dist/*
    

Installing

  1. Create a virtual environment
    python3 -m venv env
    
  2. Activate virtual environment
    source env/bin/activate
    
  3. Install in your local environment from GitHub
    pip install git+git://github.com/ibm-watson-iot/functions@production --upgrade 
    

To install in IBM Watson Studio from another Jupyter notebook:

!pip install git+git://github.com/ibm-watson-iot/functions.git@production --upgrade

Test for successful install:

import iotfunctions as fn
print(fn.__version__) 

Changelog

Keep up to date with the latest changes.

Further information

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

iotfunctions-8.11.0.tar.gz (14.5 MB view details)

Uploaded Source

Built Distribution

iotfunctions-8.11.0-py3-none-any.whl (243.8 kB view details)

Uploaded Python 3

File details

Details for the file iotfunctions-8.11.0.tar.gz.

File metadata

  • Download URL: iotfunctions-8.11.0.tar.gz
  • Upload date:
  • Size: 14.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for iotfunctions-8.11.0.tar.gz
Algorithm Hash digest
SHA256 5787b669e3afc93b6107363c46e2966104b514531bc1dd5d92ec0dde92f78242
MD5 90a15309a57a7a8e5bcfe9ae13b14f06
BLAKE2b-256 b144056aaba6016c79030a633fce3f2f5e90940ff866d9ead2c2deea29783ea1

See more details on using hashes here.

File details

Details for the file iotfunctions-8.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iotfunctions-8.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e69b1a74651133873c02acbc492ff514a1d0c463f499284a04e50227e80112cd
MD5 6faa33e64c28e00165010468c957519c
BLAKE2b-256 6dcd7dec8990898fde4b426a72e500b8deb0ef876ba988b76e67945a720fe9d1

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