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

Uploaded Egg

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

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b12d4abd7e01203671f52366d55ac200ab473d8bc47a2f5dbd4ac87a48be5f7d
MD5 b139821900aaac5b899af7bf3b3c4502
BLAKE2b-256 aee09c107988fd54a75d552234dc2190ff5dc8db4d889581fd3be5cad995ebab

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.0.3-py2.7.egg
Algorithm Hash digest
SHA256 1711dc9efda9874eb4198056d9afe1a4ae5c29d3596a5e8896ad50b650a79ac1
MD5 2ee94e0fc8e07720578755e083503056
BLAKE2b-256 8992b2f8a584efb0e133ce0b7145c820b331b20645ed663869d4bbbe8cdaeb8c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.0.3-py2.6.egg
Algorithm Hash digest
SHA256 0a202694f489a0527c75caf6e7db44e7d1a69ed688937c9446da769737a0690a
MD5 ad345f2774a663d6c9e468214403a0f4
BLAKE2b-256 61901cb270ac2886728a837922e28d8eceb2846ad725a27221a9d8cb1540746b

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