Skip to main content

rtapi

pipeline status coverage report

Racktables API

Python module for accessing and manipulating racktables objects.

Installation

pip install racktables-api

PyPi project

https://pypi.org/project/racktables-api/

Documentation

https://rtapi.readthedocs.io

Example

import MySQLdb
import rtapi

# Create connection to database
try:
    # Create connection to database
    db = MySQLdb.connect(host='hostname',port=3306, passwd='mypass',db='racktables',user='racktables')
except MySQLdb.Error:
    e = sys.exc_info()[1]
    print("Error %d: %s" % (e.args[0],e.args[1]))
    sys.exit(1)

# Initialize rtapi with database connection
rt = rtapi.RTObject(db)

# List all objects from database
print rt.ListObjects()

Download files

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

Source Distribution

racktables-api-0.3.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

racktables_api-0.3.1-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file racktables-api-0.3.1.tar.gz.

File metadata

  • Download URL: racktables-api-0.3.1.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.12

File hashes

Hashes for racktables-api-0.3.1.tar.gz
Algorithm Hash digest
SHA256 13e74242481d654bb4b19eff6ae31e20bb4284b41663d7fd054fcd6a900659ea
MD5 f93346a903a35d22c78cfbe7e74f0e2e
BLAKE2b-256 57635acf004de95833083b2f8a9711a6edd582b779c6ac1e45e2f828d80cf495

See more details on using hashes here.

File details

Details for the file racktables_api-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: racktables_api-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.12

File hashes

Hashes for racktables_api-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4cc3ea919c063baceea3447d62c80f27c9cf492c81ae3c2fd14cc49d65343218
MD5 c565a6cfe68444f4a99ad768b91a79bb
BLAKE2b-256 fe1ba0944f659eb642a926eadd244bc1f58993e039255b6963383ec4d2536d0f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.9

3 files

0.2.8

3 files

0.2.7

3 files

0.2.6

3 files

0.2.5

2 files

0.2.4.post1

2 files

0.2.3

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page