Skip to main content

Useful tools and utilities to assist in managing a Khoros JX (formerly Jive-x) or Jive-n community.

Project description

Khoros JX Python Library

The khorosjx library acts as a Python software development kit (SDK) to administer and manage Khoros JX (formerly Jive-x) and Jive-n online community platforms.

Latest Stable Release PyPI
Build Status GitHub Workflow Status
Supported Versions PyPI - Python Version
Documentation Documentation Status
License License (GitHub)
Issues GitHub open issues
GitHub closed issues
Pull Requests GitHub pull open requests
GitHub closed pull requests

Installation

The package can be installed via pip using the syntax below.

pip install khorosjx

You may also clone the repository and install from source using the syntax below.

git clone git://github.com/jeffshurtliff/khorosjx.git
cd khorosjx/
python setup.py install

Change Log

The change log is located in the documentation here: https://khorosjx.readthedocs.io/en/latest/changelog.html

Usage

This section provides basic usage instructions for the package.

Importing the package

The package can be imported into a Python script using the syntax below.

import khorosjx

Initializing the modules

While it is certainly possible to import modules directly (e.g. from khorosjx import users), it is recommended that you instead leverage the init_module() function as shown below.

khorosjx.init_module('content', 'users')

In the example above, both the khorosjx.content and the khoros.users modules have been initiated.

Note: It is not necessary to import the khorosjx.core module as it is imported by default.

Establishing the API connection

Before leveraging the API in function calls, you must first establish your connection by providing the base URL for the environment (e.g. https://community.example.com) and the username and password for the unfederated service account through which the API calls will be made. This is demonstrated below.

base_url = 'https://community.example.com'
credentials = ('adminuser', 'password123!')
khorosjx.core.connect(base_url, credentials)

Note: At this time the library only allow connections using basic authentication, but there are plans to include the ability to leverage OAuth 2.0 in a future release.

Once the connection has been established, you can proceed to leverage the library of functions in the various modules as needed.

Requirements

The following packages are leveraged within the khorosjx package:

  • numpy 1.17.4
  • pandas-0.25.3
  • python-dateutil 2.8.1
  • pytz 2019.3
  • requests 2.22.0
  • urllib3 1.25.7

The full requirements list can be found in the requirements.txt file.

Documentation

The documentation is located here: https://khorosjx.readthedocs.io/en/latest/

License

MIT License

Reporting Issues

Issues can be reported within the GitHub repository.

Disclaimer

This package is considered unofficial and is in no way endorsed or supported by the Khoros or Aurea Software, Inc. companies.

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

khorosjx-3.2.0.tar.gz (49.5 kB view details)

Uploaded Source

File details

Details for the file khorosjx-3.2.0.tar.gz.

File metadata

  • Download URL: khorosjx-3.2.0.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.9.7

File hashes

Hashes for khorosjx-3.2.0.tar.gz
Algorithm Hash digest
SHA256 f5c5bf8727f9338bf84fd6cf1b2d2ce39e76888bf4d44bd68f7466ffabcd4196
MD5 2001a289e47e36b4a19a1a8485f5b8d5
BLAKE2b-256 8a912935a64e1bf7ef58633145820ac7fa7f2d1532b59c397c08f7eeeec62f7e

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