Metadata-Version: 2.1
Name: casioplot
Version: 3.1.5
Summary: Use casioplot module on a computer
Author-email: Uniwix <uniwixu@gmail.com>, Miguel Torrinha Pereira <miguel.torrinha.pereira+pypi@gmail.com>
License: MIT License
        
        Copyright (c) 2022 Uniwix
        
        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.
        
Project-URL: Homepage, https://github.com/uniwix/casioplot
Project-URL: Documentation, https://casioplot.readthedocs.io/en/latest/
Project-URL: Issues, https://github.com/uniwix/casioplot/issues
Project-URL: Repository, https://github.com/uniwix/casioplot.git
Project-URL: Changelog, https://github.com/uniwix/casioplot/releases/latest
Keywords: casioplot
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: Pillow

Casioplot for computers
=======================

Module ``casioplot`` from Casio calculator for Computers.

This can help to develop python programs in your computer and run it before you put it in your calculator.
Due to it's customization ability, this package can also be used as simple way to draw at a pixel level.

.. image:: docs/source/images/colours.png
    :alt: A colorful image

.. image:: docs/source/images/3D_cube.png
    :alt: A 3D cube

Installation
------------

.. code-block:: shell

    pip install casioplot

This module use python 3.11.

Need the module ``Pillow`` to work.

**Install Pillow:**

.. code-block:: shell

    pip install pillow

Usage example
-------------

Draw a single pixel
~~~~~~~~~~~~~~~~~~~

.. code-block:: python3

    from casioplot import *

    print(get_pixel(10, 10))
    red = (255, 0, 0)
    set_pixel(10, 10, red)
    print(get_pixel(10, 10))
    show_screen()  # Don't forget to show the screen to see the result.

.. image:: docs/source/images/pixel.png
    :alt: A single pixel on the screen

.. code-block:: text

    (255, 255, 255)
    (255, 0, 0)

For more examples and usage, please refer to the `Docs <https://casioplot.readthedocs.io/en/latest/>`_.
There is also a demonstration of the package in the folder `demo <https://github.com/uniwix/casioplot/tree/master/demo>`_.

Development setup
-----------------

Nothing needed.

Release history
---------------

See `Github release page <https://github.com/uniwix/casioplot/releases>`_.

Meta
----

Uniwix - `uniwixu@gmail.com <uniwixu@gmail.com>`_

MiguelTorrinhaPereira - `miguel.torrinha.pereira+github@gmail.com <miguel.torrinha.pereira+github@gmail.com>`_

Distributed under the MIT license. See `LICENSE <https://github.com/uniwix/casioplot/blob/master/LICENSE>`_ for more information.

`<https://github.com/uniwix>`_

Contributing
------------

1. Fork it (`<https://github.com/uniwix/casioplot/fork>`_)
2. Create your feature branch (``git checkout -b feature/fooBar``)
3. Commit your changes (``git commit -am 'Add some fooBar'``)
4. Push to the branch (``git push origin feature/fooBar``)
5. Create a new Pull Request


v 3.1.5 - Uniwix - MiguelTorrinhaPereira
