rfc-draw


Namerfc-draw JSON
Version 2.6 PyPI version JSON
download
home_pagehttps://github.com/nevil-brownlee/rfc-draw
SummaryMakes svg, ascii and xml diagrams for IETF RFCs
upload_time2025-02-23 03:04:25
maintainerNone
docs_urlNone
authorNevil Brownlee, Brian Carpenter
requires_python>=3.6
licenseNone
keywords svg ietf rfc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## RFC-Draw
### A simple drawing package to make SVG and ASCII-art diagrams for RFCs 

RFC-draw is a python tkinter-based drawing system, with three components: 

* _rfc-draw.py_ - interactive drawing program to create on-screen diagrams,   
     and save them to rfc-draw-data (.rdd) files  

* _rdd-to-svg.py_ - creates a drawing's SVG file that conforms to the RFC7996 SVG schema  

* _rdd-to-ascii.py_ - creates a drawing's ASCII-art (.txt) file  

rfc-draw.py let's you draw (with your mouse) three kinds of objects, 
in three layers, with restrictions to allow for ASCII-art:  

1. Lines  
     Lines have one or more segments; 
   each segment must be either horizontal or vertical. 
 
2. Rectangles  
     Rectangles may have line(s) of text at their centre.  
 
3. Text  
     A text object has one or more (centred) lines of text.  

To use rfc-draw you'll need to install the following python modules:  
  tkinter, math, sys, re, os, svgwrite, traceback (for POSIX and windows)  
  termios (for POSIX) or msvcrt (for Windows)  

To install a python module, e.g. tkinter, the (POSIX) command is  
   pip3 install tkinter  
  
If that doesn't work, you may need to use a more up-to-date version of pip,  
i.e. one that matches your version of python, for example pip3.10
 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nevil-brownlee/rfc-draw",
    "name": "rfc-draw",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "Nevil Brownlee <nevil.brownlee@gmail.com>",
    "keywords": "SVG, IETF, RFC",
    "author": "Nevil Brownlee, Brian Carpenter",
    "author_email": "Nevil Brownlee <nevil.brownlee@gmail.com>, Brian Carpenter <brianecarpenter@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ef/11/21c62a9a4ae95e544cc291cb3df83e31b101978493d6f5cef1995a32d0cb/rfc-draw-2.6.tar.gz",
    "platform": null,
    "description": "## RFC-Draw\n### A simple drawing package to make SVG and ASCII-art diagrams for RFCs \n\nRFC-draw is a python tkinter-based drawing system, with three components: \n\n* _rfc-draw.py_ - interactive drawing program to create on-screen diagrams,   \n   &emsp; and save them to rfc-draw-data (.rdd) files  \n\n* _rdd-to-svg.py_ - creates a drawing's SVG file that conforms to the RFC7996 SVG schema  \n\n* _rdd-to-ascii.py_ - creates a drawing's ASCII-art (.txt) file  \n\nrfc-draw.py let's you draw (with your mouse) three kinds of objects, \nin three layers, with restrictions to allow for ASCII-art:  \n\n1. Lines  \n   &emsp; Lines have one or more segments; \n   each segment must be either horizontal or vertical. \n \n2. Rectangles  \n   &emsp; Rectangles may have line(s) of text at their centre.  \n \n3. Text  \n   &emsp; A text object has one or more (centred) lines of text.  \n\nTo use rfc-draw you'll need to install the following python modules:  \n&emsp; tkinter, math, sys, re, os, svgwrite, traceback (for POSIX and windows)  \n&emsp; termios (for POSIX) or msvcrt (for Windows)  \n\nTo install a python module, e.g. tkinter, the (POSIX) command is  \n&emsp;&emsp; pip3 install tkinter  \n  \nIf that doesn't work, you may need to use a more up-to-date version of pip,  \ni.e. one that matches your version of python, for example pip3.10\n \n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Makes svg, ascii and xml diagrams for IETF RFCs",
    "version": "2.6",
    "project_urls": {
        "Homepage": "https://github.com/nevil-brownlee/rfc-draw"
    },
    "split_keywords": [
        "svg",
        " ietf",
        " rfc"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "38f6ae3010ab379cb7b979b55308a4c87f29fa7241515bfef56ee0bc3356bdf1",
                "md5": "cfd2de36c1df89abecdb2be764a83d87",
                "sha256": "b0a6a0d103e3c5eeb1166982c6097ad98d70bd62ab56b174495f3337bab291f1"
            },
            "downloads": -1,
            "filename": "rfc_draw-2.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cfd2de36c1df89abecdb2be764a83d87",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 72122,
            "upload_time": "2025-02-23T03:04:22",
            "upload_time_iso_8601": "2025-02-23T03:04:22.033167Z",
            "url": "https://files.pythonhosted.org/packages/38/f6/ae3010ab379cb7b979b55308a4c87f29fa7241515bfef56ee0bc3356bdf1/rfc_draw-2.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef1121c62a9a4ae95e544cc291cb3df83e31b101978493d6f5cef1995a32d0cb",
                "md5": "24e392bdb092870eb0a810fb959ec567",
                "sha256": "ce953e43c5d995156c5f24695e510a91a0752d5705393d1a5f0eea38bd05b2e9"
            },
            "downloads": -1,
            "filename": "rfc-draw-2.6.tar.gz",
            "has_sig": false,
            "md5_digest": "24e392bdb092870eb0a810fb959ec567",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 64144,
            "upload_time": "2025-02-23T03:04:25",
            "upload_time_iso_8601": "2025-02-23T03:04:25.295067Z",
            "url": "https://files.pythonhosted.org/packages/ef/11/21c62a9a4ae95e544cc291cb3df83e31b101978493d6f5cef1995a32d0cb/rfc-draw-2.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-23 03:04:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nevil-brownlee",
    "github_project": "rfc-draw",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "rfc-draw"
}
        
Elapsed time: 0.73753s