Skip to main content

nameko-cloudant

A Cloudant dependency for nameko, enabling services to interface with cloudant nosql database. Future improvements are CouchDB and local Cloudant.

Usage

from nameko_cloudant import DatabaseSession

class Service:

    session = Session("databasename")

    @event_handler("dispatcher", "topic")
    def handler(self, payload):
        self.session.create_document(payload)

    @rpc
    def query_db(self):
        selector = {'name': {'$eq': 'foo'}}
        docs = self.session.get_query_result(selector)

        for doc in docs:
            print doc

        ...

To-Do

  1. Write tests!

  2. Implement support for local bluemix instances.

  3. Implement support for CouchDB.

Metadata

Release files for nameko-cloudant 0.1.7

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

Source distribution (sdist)

Source distribution for nameko-cloudant 0.1.7
File Size Uploaded Provenance Actions
nameko-cloudant-0.1.7.tar.gz 2.1 kB Without provenance Details for nameko-cloudant-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nameko-cloudant 0.1.7
File Interpreter ABI Platform Actions
nameko_cloudant-0.1.7-py3-none-any.whl Python 3 none any Details for nameko_cloudant-0.1.7-py3-none-any.whl

Total release size: 5.4 kB

Release files / nameko-cloudant-0.1.7.tar.gz

Download URL nameko-cloudant-0.1.7.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
999d7c134e58a10c100c35ce9262058d95ca13e672b8abf3732f6d3439cda079
BLAKE2b-256 checksum
How to use checksums
76244816e19e8ef3069ebde90df7905a402e251a13a6d4a3f174a44ad2310bca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / nameko_cloudant-0.1.7-py3-none-any.whl

Download URL nameko_cloudant-0.1.7-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ebc150ece3dd5339a4bfcd98575ec634e0399e6886d30d93d50b2be715c6e67
BLAKE2b-256 checksum
How to use checksums
f81f468eed99eda569eab9d822dde7199baa018ac88a42ed6cb962dc5f17da2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for nameko-cloudant 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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