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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
468bde7068b95f7d027f3226c15359193e43d01c8d4a0915ebe204b9567308c5
|
|
| MD5 |
addd310c616aa7a158a9ed4db1543a51
|
|
| BLAKE2b-256 |
37a2fc12a91c12a68be2e4693daddd1d850e13f1679ea5491bd3f2dfb2987d59
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd3ac8cb515ce6b7c26c335cf07333dfecdbab31697b21598623081021da7756
|
|
| MD5 |
282baeee4ebb4f558811b5e8fa114376
|
|
| BLAKE2b-256 |
9a719ca059bb56598208ba519899175c32e28b4f20cd67cc6c9fcfc88bfd4fcb
|