Skip to main content

Wrapper for interacting with the Planga chat server.

Project description

Planga Python Wrapper:

Setup:

  • Install Twine: pip install twine

requirements:

Build and Deploy new package:

  • run python3 setup.py sdist bdist_wheel
  • run twine upload --repository-url https://test.pypi.org/legacy/ dist/* --skip-existing

Installing the new package:

  • run python -m pip install jwcrypto
  • run python -m pip install --index-url https://test.pypi.org/simple/ planga

Installing jwcrypto manually is only necessary when uploading the planga wrapper to test.pypi.org. The installation tool will attempt to install jwcrypto from test.pypi.org as well, which fails. Having jwcrypto pre-installed allows the installation of the planga wrapper to finish successfully.

Deploy to live Pypi:

  • run twine upload dist/* --skip-existing

For information on how to package for PiPy: https://packaging.python.org/tutorials/packaging-projects/

Example usage:

from planga import *

conf = PlangaConfiguration("foobar", "kl9psH9VrLZ1hfsPY0b3-W", "general", "1234", "Bob", "my_container_div")

snippet = Planga.get_planga_snippet(conf)

Project details


Download files

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

Files for planga, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size planga-1.0.0-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size planga-1.0.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page