pysketcher


Namepysketcher JSON
Version 0.0.12 PyPI version JSON
download
home_page
SummaryGeometric Sketching Utility for Python
upload_time2023-06-23 12:50:27
maintainer
docs_urlNone
authorHans Petter Langtangen
requires_python<3.12,>=3.9
licenseMIT License Copyright (c) 2020 Richard Vodden Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords sketch graphics scientific engineering geometry
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ============
 PySketcher
============

.. image:: https://github.com/rvodden/pysketcher/workflows/Tests/badge.svg
    :target: https://github.com/rvodden/pysketcher/actions?query=workflow%3ATests+branch%3Amaster

.. image:: https://badgen.net/pypi/v/pysketcher?icon=pypi
       :target: https://pypi.org/project/pysketcher/

.. image:: https://api.codeclimate.com/v1/badges/eae2c2aa97080fbfed7e/maintainability
    :target: https://codeclimate.com/github/rvodden/pysketcher/maintainability

.. image:: https://codecov.io/gh/rvodden/pysketcher/branch/master/graph/badge.svg?token=AHCKOL75VY
    :target: https://codecov.io/gh/rvodden/pysketcher

.. image:: https://readthedocs.org/projects/pysketcher/badge/?version=latest&style=flat
    :target: https://pysketcher.readthedocs.io/en/latest/

.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
    :target: https://github.com/pre-commit/pre-commit

.. image:: https://img.shields.io/badge/hypothesis-tested-brightgreen.svg
    :target: https://hypothesis.readthedocs.io/

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black

.. image:: https://badgen.net/github/dependabot/rvodden/pysketcher?icon=github
    :target: https://github.com/rvodden/pysketcher

**This is alpha software - the interface is likely to change with every release prior to 0.1.0.**

PySketcher is a modern Python library designed to make creating geometric, mathematical and physical diagrams very
easy.

This library is continues the legacy of Hans Petter Langtangen. Work done since he sadly passed in 2016 includes:

1. The MatlibplotDraw object is no longer global and is no longer tightly coupled to the shape object. There is now a DrawingTool interface which this class implements.

2. Code is organised into multiple files and published on pypi.

3. Shapes are immutable. This means functions such as ``rotate`` return modified copies of the original shape, rather than altering the shape on which they are called.

4. Angles are in radians not degrees.

5. The Composition object is used more consistently. Previously objects such as Beam were direct children of Shape which led to code repetition.

`Please see the documentation for more information <https://pysketcher.readthedocs.io/en/latest/index.html>`_.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pysketcher",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "<3.12,>=3.9",
    "maintainer_email": "",
    "keywords": "sketch,graphics,scientific,engineering,geometry",
    "author": "Hans Petter Langtangen",
    "author_email": "Richard Vodden <richard@vodden.com>",
    "download_url": "https://files.pythonhosted.org/packages/11/94/6696a1ba5f53ea1b0202fd7417d9d0cc37c51102b2ffae5553be49a85d24/pysketcher-0.0.12.tar.gz",
    "platform": null,
    "description": "============\n PySketcher\n============\n\n.. image:: https://github.com/rvodden/pysketcher/workflows/Tests/badge.svg\n    :target: https://github.com/rvodden/pysketcher/actions?query=workflow%3ATests+branch%3Amaster\n\n.. image:: https://badgen.net/pypi/v/pysketcher?icon=pypi\n       :target: https://pypi.org/project/pysketcher/\n\n.. image:: https://api.codeclimate.com/v1/badges/eae2c2aa97080fbfed7e/maintainability\n    :target: https://codeclimate.com/github/rvodden/pysketcher/maintainability\n\n.. image:: https://codecov.io/gh/rvodden/pysketcher/branch/master/graph/badge.svg?token=AHCKOL75VY\n    :target: https://codecov.io/gh/rvodden/pysketcher\n\n.. image:: https://readthedocs.org/projects/pysketcher/badge/?version=latest&style=flat\n    :target: https://pysketcher.readthedocs.io/en/latest/\n\n.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white\n    :target: https://github.com/pre-commit/pre-commit\n\n.. image:: https://img.shields.io/badge/hypothesis-tested-brightgreen.svg\n    :target: https://hypothesis.readthedocs.io/\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\n.. image:: https://badgen.net/github/dependabot/rvodden/pysketcher?icon=github\n    :target: https://github.com/rvodden/pysketcher\n\n**This is alpha software - the interface is likely to change with every release prior to 0.1.0.**\n\nPySketcher is a modern Python library designed to make creating geometric, mathematical and physical diagrams very\neasy.\n\nThis library is continues the legacy of Hans Petter Langtangen. Work done since he sadly passed in 2016 includes:\n\n1. The MatlibplotDraw object is no longer global and is no longer tightly coupled to the shape object. There is now a DrawingTool interface which this class implements.\n\n2. Code is organised into multiple files and published on pypi.\n\n3. Shapes are immutable. This means functions such as ``rotate`` return modified copies of the original shape, rather than altering the shape on which they are called.\n\n4. Angles are in radians not degrees.\n\n5. The Composition object is used more consistently. Previously objects such as Beam were direct children of Shape which led to code repetition.\n\n`Please see the documentation for more information <https://pysketcher.readthedocs.io/en/latest/index.html>`_.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2020 Richard Vodden  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Geometric Sketching Utility for Python",
    "version": "0.0.12",
    "project_urls": {
        "homepage": "https://github.com/rvodden/pysketcher",
        "repository": "https://github.com/rvodden/pysketcher.git"
    },
    "split_keywords": [
        "sketch",
        "graphics",
        "scientific",
        "engineering",
        "geometry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "da5d4613d49e3a59098d0d9bb851e3312d30ce4e5bbacee3af51bbe66adb5f71",
                "md5": "5df57b8bd730b503c6d1429827b3cc5d",
                "sha256": "0013afeeceee1b04dde88dd73018427cf0ba6948f8d6ed26cb2ca24e75b1740f"
            },
            "downloads": -1,
            "filename": "pysketcher-0.0.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5df57b8bd730b503c6d1429827b3cc5d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 95641,
            "upload_time": "2023-06-23T12:50:26",
            "upload_time_iso_8601": "2023-06-23T12:50:26.096398Z",
            "url": "https://files.pythonhosted.org/packages/da/5d/4613d49e3a59098d0d9bb851e3312d30ce4e5bbacee3af51bbe66adb5f71/pysketcher-0.0.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "11946696a1ba5f53ea1b0202fd7417d9d0cc37c51102b2ffae5553be49a85d24",
                "md5": "0de30f45cdfaaa4f9d66c6205d552ef9",
                "sha256": "18d08c969218b122a943aa03e3edf7f9b019db20cfaed385c49a48b09589a603"
            },
            "downloads": -1,
            "filename": "pysketcher-0.0.12.tar.gz",
            "has_sig": false,
            "md5_digest": "0de30f45cdfaaa4f9d66c6205d552ef9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.9",
            "size": 3069238,
            "upload_time": "2023-06-23T12:50:27",
            "upload_time_iso_8601": "2023-06-23T12:50:27.780673Z",
            "url": "https://files.pythonhosted.org/packages/11/94/6696a1ba5f53ea1b0202fd7417d9d0cc37c51102b2ffae5553be49a85d24/pysketcher-0.0.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-23 12:50:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rvodden",
    "github_project": "pysketcher",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pysketcher"
}
        
Elapsed time: 0.09165s