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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file contentalchemy-0.1.8.tar.gz.

File metadata

  • Download URL: contentalchemy-0.1.8.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.123.1-microsoft-standard-WSL2

File hashes

Hashes for contentalchemy-0.1.8.tar.gz
Algorithm Hash digest
SHA256 f300fc1ded435568b2be2759d8be5a837ef30c287e5f147b0f2d06add5950392
MD5 008fb852616c5901debdbbc2816f8d34
BLAKE2b-256 5e26ae2548539cb7a4c4cd042e775432c83c8c92e231263d7611e4f8920a3e5e

See more details on using hashes here.

File details

Details for the file contentalchemy-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: contentalchemy-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.123.1-microsoft-standard-WSL2

File hashes

Hashes for contentalchemy-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6ca90d27979b2b27be5f38c7989287d620401c237b64ff834362e9aa54e555a9
MD5 839c8bf151eaebf9a7347c2ecdba6f8c
BLAKE2b-256 afbb2d0b3ef4214496ccf1cec003dca1e39c0ed72e9023c153eb5fb74cf8128e

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