Skip to main content

scalableContentGenerations

Python package related to scaling lime plots

import scalableContentGenerations 
from scalableContentGenerations import contentGeneration
from pprint import pprint


if __name__ == "__main__":

    tag_names = [

        {
            "div": {
                "p": [
                    "p1",
                ]*1000,

                "b": {
                    "b": [
                        "b1"
                    ],

                    "b": [
                        "b2"
                    ],

                    "h1": [
                        "h1"
                    ]
                },

                "img": {
                    "img1": {
                        "src": "image1.jpg",
                        "width": 500,
                        "height": 300
                    },

                    "img2": {
                        "src": "image2.jpg",
                        "width": 800,
                        "height": 600
                    }
                }
            }
        }

    ]
    html_pages = contentGeneration.automate_html_generation(
        tag_names,
        "From a boy with a dream!",
        int(pow(10,7))
    )
    print((html_pages)[0])
    print(len(html_pages))

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scalablecontentgenerations-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scalablecontentgenerations-0.2.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file scalablecontentgenerations-0.2.0.tar.gz.

File metadata

File hashes

Hashes for scalablecontentgenerations-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a0fed35f37591277057f691ca4ec6baabf0b4dffd63184c07def12bb91bdc757
MD5 68be0e3f04aa38a43cfc19f96219e298
BLAKE2b-256 6bab00f172d84838ed6c2e32e1346805cb029a37d9768bb40e080afbb983be65

See more details on using hashes here.

File details

Details for the file scalablecontentgenerations-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for scalablecontentgenerations-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6275b61aa7005713a32b457efe67de0fd0eee8c3157d88c34fc3dfce6538617
MD5 e2ed9e740d2496bd24b642094cfe68f2
BLAKE2b-256 68059a13d77ca402ab9fc0080d7e6f1471811e19995b45b43f7c54531d8d4809

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

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