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
    --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.1.tar.gz (16.6 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.1-py2.7.egg (9.3 kB view details)

Uploaded Egg

PyDRCS-0.0.1-py2.6.egg (9.3 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ecb03bda44c79d72ef99792e3a9aa3b988731ef86a5a6b72e52497fbe07b5cec
MD5 54b680b968670251475a96f5dfe55f57
BLAKE2b-256 c15a40d838def87228dbb5bf5340cb4c13710eb09fc307a7cf2ce9e0a1df00af

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.0.1-py2.7.egg
Algorithm Hash digest
SHA256 a84637547b15638d6bb1d4e8edc28b7f113abee09219130babf67b2c038d750d
MD5 d7399ce1d18d8c5ad3e533b5c0cdab44
BLAKE2b-256 0b05c97dd9c1e8cae4fbe45e53a9da89fb23abed28b83ac243e79f8e9cb47fde

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.0.1-py2.6.egg
Algorithm Hash digest
SHA256 0ed60d6d7b7f134258031dd49092eb39052e5e70cd39aa3242ff0356bfe6feb5
MD5 4579d608105e28d512cfdbb6e21f1b1e
BLAKE2b-256 83c6d23a2fdee082ccedc494e6f16176cdc122e44696e06d171856b6d6f8b62d

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