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.

Source Distribution

planga-1.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

planga-1.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file planga-1.0.0.tar.gz.

File metadata

  • Download URL: planga-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2

File hashes

Hashes for planga-1.0.0.tar.gz
Algorithm Hash digest
SHA256 468bde7068b95f7d027f3226c15359193e43d01c8d4a0915ebe204b9567308c5
MD5 addd310c616aa7a158a9ed4db1543a51
BLAKE2b-256 37a2fc12a91c12a68be2e4693daddd1d850e13f1679ea5491bd3f2dfb2987d59

See more details on using hashes here.

File details

Details for the file planga-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: planga-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2

File hashes

Hashes for planga-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd3ac8cb515ce6b7c26c335cf07333dfecdbab31697b21598623081021da7756
MD5 282baeee4ebb4f558811b5e8fa114376
BLAKE2b-256 9a719ca059bb56598208ba519899175c32e28b4f20cd67cc6c9fcfc88bfd4fcb

See more details on using hashes here.

Supported by

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