Skip to main content

Generate a device independent vector graphic stream that can be converted to pdf, svg, or other vector graphic format.

Project description

Description:

  • Generate device independent vector graphic stream that can be converted to pdf, svg, or other vector graphic format.

  • The output stream is in pure txt, and csv format.

  • A simple stream looks like this:

    MoveTo,50,50
    LineTo,150,150
    Stroke
  • “Lukis” is the Malay word for “Draw”

  • show(GStream) converts the graphic stream to pdf, svg or other graphic file, and open it using the default viewer.

Example:

#To make a line from (0,0) to (300,300) and display the graphics:
S = moveto(0,0)\\
  + lineto(300,300)\\
  + stroke()
show(S)

Installation

Python 3 as default Python:

pip install lukis

Python as Python3:

pip3 install kopi

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

lukis-0.18.5.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

lukis-0.18.5-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file lukis-0.18.5.tar.gz.

File metadata

  • Download URL: lukis-0.18.5.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lukis-0.18.5.tar.gz
Algorithm Hash digest
SHA256 13cd9dc8dcbb80cdf1a6967786fdaba7a07effef20daaa34d1d438e0f2cde28d
MD5 5c97ba7437d30ceb6736d1999910004d
BLAKE2b-256 8c15cd15a97c677e1370cbdd2d5ec05ca7aa15bcd69cb8b611a84ca4fee877e7

See more details on using hashes here.

File details

Details for the file lukis-0.18.5-py3-none-any.whl.

File metadata

File hashes

Hashes for lukis-0.18.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ae5e3a56525246d82287c479be5166cb469def68416df4e58f5cf9dbe4de5723
MD5 a1a72736c0e134472c568e879c6dd539
BLAKE2b-256 bdb3bde2eb46f8bb6bf0ec61dac84f1db9a635e8ee01040b192c3e398ca76478

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