Skip to main content

Twisted Python clj-documint client implementation

Project description

=========
txdocumint
=========

Twisted Python client for `clj-documint <https://github.com/fusionapp/clj-documint>`.


Usage
-----

.. code-block:: python

from StringIO import StringIO
# inlineCallbacks affords the opportunity to be concise.
from twisted.internet.defer import inlineCallbacks, returnValue
from txdocumint import actions, create_session

@inlineCallbacks
def render_some_html(html_string):
session = yield create_session(DOCUMINT_ENDPOINT_URI)
html_uri = yield session.store_content(StringIO(html_string), 'text/plain')
pdf_uri = yield session.perform_action(actions.render_html(html_uri))
returnValue(pdf_uri)


Contribute
----------

See <https://github.com/fusionapp/txdocumint> for details.


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

txdocumint-18.0.0.tar.gz (41.9 kB view details)

Uploaded Source

Built Distribution

txdocumint-18.0.0-py2-none-any.whl (30.6 kB view details)

Uploaded Python 2

File details

Details for the file txdocumint-18.0.0.tar.gz.

File metadata

  • Download URL: txdocumint-18.0.0.tar.gz
  • Upload date:
  • Size: 41.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for txdocumint-18.0.0.tar.gz
Algorithm Hash digest
SHA256 b4e6b41848df867292fa21d9a365c82b21bf7366f02d9551ccf2179a2f4f53ff
MD5 73c662776df2a0c90071378b816503fa
BLAKE2b-256 7b4e33a5ea8c903b66be7560d80b4a8a1921ac7a416ff527425284dd7532056a

See more details on using hashes here.

File details

Details for the file txdocumint-18.0.0-py2-none-any.whl.

File metadata

File hashes

Hashes for txdocumint-18.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 7a8b13d624decb582b04f382cc3fd57cc47235e808474520c1fcf75e2da303d3
MD5 750f0ef096b6464be4997bbb23e3b5f8
BLAKE2b-256 46868a4af1f4dc313165f1df1248b0b058bfca3abd0aeccd71a8d634fb128b82

See more details on using hashes here.

Supported by

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