Skip to main content

No project description provided

Project description

Introduction

Why do we start this repo?

  • Image processing: Snap HTML contents embedded math notations.

Image snapper:

Config:

ENV VARS:

CA_HEADLESS_URL: default is empty, you should set it a headless browser

(I.e: Browserless, Browserstack, Chrominum, Chrome Stable)

Code snippets:

from contentalchemy.images.sync_api.snapper import HTMLSnapper


html_str = "<p>abc</p>"
snapper = HTMLSnapper()
original_encoded = snapper.html_to_encoded_image(html_str)

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

contentalchemy-0.1.8.tar.gz (13.0 kB view hashes)

Uploaded Source

Built Distribution

contentalchemy-0.1.8-py3-none-any.whl (16.0 kB view hashes)

Uploaded Python 3

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