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.4.tar.gz (22.9 kB 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.4-py2.7.egg (21.6 kB view details)

Uploaded Egg

PyDRCS-0.0.4-py2.6.egg (21.6 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: PyDRCS-0.0.4.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDRCS-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f7c933b881b719a6f13ac094be1bb56940ef2aaa547bf8f9182244b5cc8bef02
MD5 63c038aa324b1e7b77ff1cfeb0aeade7
BLAKE2b-256 63c9b3d8a53e1f8b8c796662007b2bb814ea18e4f0b841085ebc8d292467e46c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyDRCS-0.0.4-py2.7.egg
  • Upload date:
  • Size: 21.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDRCS-0.0.4-py2.7.egg
Algorithm Hash digest
SHA256 8e222e791a07df3e9a505c6ea1672fe00735bff2794938ebc0ea91b1e5e8fa22
MD5 8b0236cf1e32467440a5ecab0fd291fb
BLAKE2b-256 6bd401654cd9b06bd9f3f59c539fc69c9f05a6f497b7f4192bced1f032a02759

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyDRCS-0.0.4-py2.6.egg
  • Upload date:
  • Size: 21.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDRCS-0.0.4-py2.6.egg
Algorithm Hash digest
SHA256 42f73596becde6b1ce9c8922802092f677f37b191f21e883a87a90d334897f16
MD5 2e3154f9461f77ed42ca2309104cf9ed
BLAKE2b-256 abe84ab2927328e198ab815f367bf010ec17cf3b532e67efc1a0d75692e44d75

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