Skip to main content

futureboard

a robust html to image engine build on top of playwright

Futureboard_builder Quickstart

#install html2image package first!
from futureboard.futureboard_builder import FutureboardBuilder

futureboard_builder = FutureboardBuilder()
futureboard_congratulation = futureboard_builder.create('congratulation')
futureboard_job = futureboard_builder.create('job')

#Read from file
futureboard_job.generate_from_file(file='web/congrats_empoyer.html', save_as='congrats_employer.png')

#Create job image with option
#available option for job template:
# job: str ='พนักงานเติมน้ำมันหน้าลานจอดรถ',
# company: str ='บริษัท เอเชีย เอ็นจีเนียริ่ง',
# location: str ='อโศก/กรุงเทพ',
# salary: str ='30,000 บาท',
# background_color: str ='#e3c3d7',
# background_image: str ='job_thumbnail.png',
# logo_url_image: str ='https://via.placeholder.com/300'
futureboard_job.generate(save_as='job.png', future_board_option={
    'company': 'Something Company',
    'salary': '100,000 บาท'
})

#Create congrat image with option
#available option for congrat template:
# company: str ='บริษัท เอเชีย เอ็นจีเนียริ่ง',
# text: str ='สนใจสนทนากับพี่',
# background_color: str ='#e3c3d7',
# background_image: str ='congrats.png',
# logo_url_image: str ='https://via.placeholder.com/300'
futureboard_congratulation.generate(save_as='cong.png', future_board_option={
    'company': 'บริษัท กสิกร ซอฟต์',
    'logo_url_image': 'https://res-4.cloudinary.com/crunchbase-production/image/upload/c_lpad,h_170,w_170,f_auto,b_white,q_auto:eco/ll9dkelmfnghuthajcrb'
})

Metadata

Release files for futureboard 1.0.0

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

Source distribution (sdist)

Source distribution for futureboard 1.0.0
File Size Uploaded Provenance
futureboard-1.0.0.tar.gz 4.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for futureboard 1.0.0
File Interpreter ABI Platform
futureboard-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / futureboard-1.0.0.tar.gz

Download URL futureboard-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
35be33738be6204b386a9c4053b89e140eb387e7e2ea0e2450357e4d95945213
BLAKE2b-256 checksum
How to use checksums
1e34f0db15914ee9332aa0d8e66701c7557647c3fffb260f9f46747f8dc70a06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.7 Linux/5.8.0-41-generic

Release files / futureboard-1.0.0-py3-none-any.whl

Download URL futureboard-1.0.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81ef94615b83e3e886e45c6eaf684554f945c09590921f458e3a15b257f125d1
BLAKE2b-256 checksum
How to use checksums
aa5b4f268ed62410fe02d33755f4c31353ef54c49ffd427796d85bb849de4f12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.7 Linux/5.8.0-41-generic

Security for futureboard 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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