Skip to main content

Make DRCS glyphs for DEC VT-series from image files

Project description

Install

via github

$ git clone https://github.com/saitoha/PyDRCS.git pydrcs
$ cd pydrcs
$ python setup.py install

or via pip

$ pip install PyDRCS

Usage

Command line tool:

$ drcsconv [options] filename

or

$ cat filename | drcsconv [options]
  • Options:

    -h, --help                    show this help message and exit
    -8, --8bit-mode               Generate a DRCS image for 8bit terminal or printer
    -7, --7bit-mode               Generate a DRCS image for 7bit terminal or printer
    -u, --unicode                 Use drcsterm's DRCS-unicode mapping
    -n, --negate                  Negate image
    -c COLUMNS, --columns=COLUMNS Image width in cell size (default=62, max=62)
    -r ROWS, --rows=ROWS          Image height in cell size
    -t, --text                    Interpret input stream as a text run
    -f FONT, --font=FONT          Specifies the absolute path of font file if -t option is set (default: GNU unifont)
    --version                     show version

Code Example

from drcs import DrcsWriter
writer = DrcsWriter()
writer.draw('test.png')

Dependency

Reference

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

PyDRCS-0.0.5.tar.gz (3.1 MB view details)

Uploaded Source

Built Distributions

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

PyDRCS-0.0.5-py2.7.egg (3.2 MB view details)

Uploaded Egg

PyDRCS-0.0.5-py2.6.egg (3.2 MB view details)

Uploaded Egg

File details

Details for the file PyDRCS-0.0.5.tar.gz.

File metadata

  • Download URL: PyDRCS-0.0.5.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDRCS-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2460cc20c0884824dc151c79f11daf1797aa711997285b62f738ac16efb3cbec
MD5 f88be17b8bee366c049af11e89f78f76
BLAKE2b-256 3633f361192c47d482bf533566eebf466c2dbf83dcbde989145a0b51b98d1c7e

See more details on using hashes here.

File details

Details for the file PyDRCS-0.0.5-py2.7.egg.

File metadata

  • Download URL: PyDRCS-0.0.5-py2.7.egg
  • Upload date:
  • Size: 3.2 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDRCS-0.0.5-py2.7.egg
Algorithm Hash digest
SHA256 0b0a410b462e56156886a1d929fe29488cff7a128a6ee36d4ba3cd2a87dc3d3e
MD5 0994876c518fa69e0a39a2d16e463859
BLAKE2b-256 12588106bb8e37fe4d1da2c631eb40d0854737aca913a3ca075d88c1525e233e

See more details on using hashes here.

File details

Details for the file PyDRCS-0.0.5-py2.6.egg.

File metadata

  • Download URL: PyDRCS-0.0.5-py2.6.egg
  • Upload date:
  • Size: 3.2 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDRCS-0.0.5-py2.6.egg
Algorithm Hash digest
SHA256 6d44500f6287016d7ae1900f838f0b5027a1c73561980c5a8c86f2f4c232b5aa
MD5 4af3a86b9433c2e97f6ca6ce22fdfd41
BLAKE2b-256 aa9d3e1f7778d25d5eb51e33c85b554011c656660a29000686530cc04f50b7fa

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