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.1.0.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.1.0-py2.7.egg (3.2 MB view details)

Uploaded Egg

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

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1f5607efa11c197faba298d112d7ff6c860c73842e47cd48262a4864e839bcf9
MD5 c6c13738210e960a1177dde5953e8011
BLAKE2b-256 0d0b14fd6f4d98b78c0cb372ee984578995c32c60789c355370a791576d08ba8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.0-py2.7.egg
Algorithm Hash digest
SHA256 e095d1a5248fc503f3c0cc587e69825f93bcb173e96204a29fafb1f89a61c52d
MD5 ab59a454e4bef6c667db108c4b657595
BLAKE2b-256 d63e5195ff3b4246902dc23afc5d6e94a28ff8dcfe4578121f440e0b35330139

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.0-py2.6.egg
Algorithm Hash digest
SHA256 3672aa7be0d41e064f9d9a5a358a510a596cd7d2e262a3b33ace55921625d6a1
MD5 e13a2dd98abe0e5d7e964c151a5eee32
BLAKE2b-256 33dcab728999a182b82e6fd95462ccce21cde6b82ee99381f7359293dd12436d

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