Skip to main content

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
    -!, --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)
    -n, --ncolor=NCOLOR                        Specify number of color
    -d, --definition-only                      Emit only escape sequences. don't output printable characters
    -s STARTOFFSET, --start-offset=STARTOFFSET Start offset for DSCS allocation
    --version                                  show version

Code Example

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

Dependency

Reference

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

Uploaded Egg

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

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b963b98a51470931d3e22387f7ba0c25aaad4dc15097f0df95ec2238a00604b7
MD5 30e5107a269e134b9386b5be038cfe66
BLAKE2b-256 cd4d07a40c9c7e8285feb6a7cbca47e3da7fea374163ce235f94b91355da94b4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.6-py2.7.egg
Algorithm Hash digest
SHA256 6db2e932fea2cb90af1c34fa74ec73acbffecd2a1c9e0b8d99b55e5d202e323f
MD5 ffa11803ef8842236d51b5363e7decd1
BLAKE2b-256 e796d20d22884cca657b88ca2a1a5a84c84eaa60cb95b9edfffdb602174badb6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyDRCS-0.1.6-py2.6.egg
Algorithm Hash digest
SHA256 369d4eeab93282eddf4b325ee254f49a54521031fb78d4be65e83bbfb5a5bdc3
MD5 856d337014ac33bff4680e283979a1c7
BLAKE2b-256 03ddae577db3380f85909b1e5df657b38dfb3f41314cd744f0265bb5cfe4c7d0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.6 This release

3 files

0.1.5

3 files

0.1.4

3 files

0.1.3

3 files

0.1.2

3 files

0.1.1

3 files

0.1.0

3 files

0.0.5

3 files

0.0.4

3 files

0.0.3

3 files

0.0.2

3 files

0.0.1

3 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page