Skip to main content

Testing a custom extension module

Project description

Python CPP Example

Test hybrid python-cpp package (an extension module).

Instructions

  1. Install:
pip install package_name
  1. Import the extension module:
from aesthetic_ascii import synthesize

# initialize drive object (to generate visuals)
drive = synthesize.Drive()
# generate a ASCII visual (dark_mode optional)
drive.generate(dark_mode=True)
# save to png
drive.to_png('aesthetic.png')
  1. Call the funk

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

python_cpp_example_peresec-0.0.8.tar.gz (195.7 kB view details)

Uploaded Source

File details

Details for the file python_cpp_example_peresec-0.0.8.tar.gz.

File metadata

File hashes

Hashes for python_cpp_example_peresec-0.0.8.tar.gz
Algorithm Hash digest
SHA256 58fd05de07fddd1f706c17191339303e0ac71f6afab260e194e60c4058746c69
MD5 3812eec8a20a8945ab2e000c6a50d731
BLAKE2b-256 359ef0cf2528445ce93f8359be681cd7ab1430a859865fe7a1c210db1a6d86cd

See more details on using hashes here.

Supported by

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