Skip to main content
Cspark-python `|Build| <https://travis-ci.org/Matvey-Kuk/cspark-python>`_ `|Version| <https://pypi.python.org/pypi/cspark-python>`_ `|Updates| <https://pyup.io/repos/github/matvey-kuk/cspark-python/>`_ `|Python 3| <https://pyup.io/repos/github/matvey-kuk/cspark-python/>`_ `|codecov| <https://codecov.io/gh/Matvey-Kuk/cspark-python>`_
==============================================================================================================================================================================================================================================================================================================================================

Cspark-python is a library for `Cisco
Spark <https://www.ciscospark.com/>`_ bots.

Why Cspark-python?
~~~~~~~~~~~~~~~~~~

1. Spark API provides only one mechanism to notify bot about updates:
Webhooks. "Webhooks require that the Cisco Spark Cloud be able to
reach your backend over HTTP"
`(link) <https://developer.ciscospark.com/webhooks-explained.html#auth>`_
It's not comfortable to develop and test bots on public server so
Cspark-python emulates update mechanism using REST API.
2. Class-based routers and request handlers allow you to use
Django-style project structure for complex projects.
3. Event-based callbacks allows you to build prototype fast.

Howto:
~~~~~~

1. Install with PIP: ``pip install cspark-python``

2. Then go to developer website, `create new
bot <https://developer.ciscospark.com/apps.html>`_ and achieve
**Access Token**. Be careful and don't copy your own **Access Token**
it will cause funny situation.

If you stacked with icon uploading mechanism (as I always do), you
can use random photo of a cat:
https://pbs.twimg.com/profile\_images/562466745340817408/\_nIu8KHX.jpeg

3. Use examples to start your first bot. Don't forget to change **Access
Token**.

Hello, google: **Cisco Spark Python SDK**, **Cisco Spark Python
Framework**, **Cisco Spark Bot**, **Bot For Cisco Spark Example**

Status:
~~~~~~~

- [x] Build prototype
- [ ] Stabilize interfaces
- [ ] UT
- [ ] Document
- [ ] Web Hooks
- [ ] Deploy instructions & Dockerfile
- [ ] Starter Project Repo

.. |Build| image:: https://travis-ci.org/Matvey-Kuk/cspark-python.svg?branch=master
.. |Version| image:: https://img.shields.io/pypi/v/cspark-python.svg
.. |Updates| image:: https://pyup.io/repos/github/matvey-kuk/cspark-python/shield.svg
.. |Python
3| image:: https://pyup.io/repos/github/matvey-kuk/cspark-python/python-3-shield.svg
.. |codecov| image:: https://codecov.io/gh/Matvey-Kuk/cspark-python/branch/master/graph/badge.svg

Release files for cspark-python 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cspark-python 0.0.13
File Size Uploaded
cspark-python-0.0.13.tar.gz 5.4 kB Details

Release files / cspark-python-0.0.13.tar.gz

Download URL cspark-python-0.0.13.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ae425c00a907c92c207e826b67b20fef8303490bac3cdcab9ed0d982334d549b
BLAKE2b-256 checksum
How to use checksums
da6cb470064e03d4f4e325ee98eab614add96e43995a3cda669b0a2ae9ed73f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.13 This release

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page