Metadata-Version: 2.1
Name: crappy
Version: 2.0.0
Summary: Command and Real-time Acquisition in Parallelized Python
Home-page: https://github.com/LaboratoireMecaniqueLille/crappy
Download-URL: https://pypi.org/project/crappy/#files
Author: LaMcube
Author-email: antoine.weisrock1@centralelille.fr
Maintainer: Antoine Weisrock
Maintainer-email: antoine.weisrock@gmail.com
License: GPL V2
Project-URL: Documentation, https://crappy.readthedocs.io/en/latest/index.html
Keywords: control,command,acquisition,multiprocessing
Classifier: Development Status :: 4 - Beta 
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Embedded Systems
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.21.0
Provides-Extra: sbc
Requires-Dist: smbus2; extra == "sbc"
Requires-Dist: spidev; extra == "sbc"
Requires-Dist: Adafruit-Blinka; extra == "sbc"
Requires-Dist: adafruit-circuitpython-ads1x15; extra == "sbc"
Requires-Dist: adafruit-circuitpython-motorkit; extra == "sbc"
Requires-Dist: adafruit-circuitpython-mprls; extra == "sbc"
Requires-Dist: adafruit-circuitpython-busdevice; extra == "sbc"
Provides-Extra: image
Requires-Dist: opencv-python>=4.0; extra == "image"
Requires-Dist: Pillow>=8.0.0; extra == "image"
Requires-Dist: matplotlib>=3.3.0; extra == "image"
Requires-Dist: SimpleITK>=2.0.0; extra == "image"
Requires-Dist: scikit-image>=0.18.0; extra == "image"
Provides-Extra: hardware
Requires-Dist: pyusb>=1.1.0; extra == "hardware"
Requires-Dist: pyserial>=3.4; extra == "hardware"
Requires-Dist: pyyaml>=5.3; extra == "hardware"
Provides-Extra: main
Requires-Dist: matplotlib>=3.3.0; extra == "main"
Requires-Dist: opencv-python>=4.0; extra == "main"
Requires-Dist: pyserial>=3.4; extra == "main"

Command and Real-time Acquisition in Parallelized PYthon (CRAPPY)
=================================================================

[![Downloads](https://pepy.tech/badge/crappy)](https://pepy.tech/project/crappy)
[![Documentation Status](https://readthedocs.org/projects/crappy/badge/?version=latest)](https://crappy.readthedocs.io/en/latest/?badge=latest)
[![PyPi version](https://badgen.net/pypi/v/crappy/)](https://pypi.org/project/crappy)
[![Python version](https://img.shields.io/pypi/pyversions/crappy.svg)](https://pypi.python.org/pypi/crappy/)

CRAPPY aims to provide a free and open-source software canvas for driving 
experimental setups in a versatile and accessible way.

Presentation
------------

Setups in experimental research tend to get increasingly complex, and require 
to drive a variety of actuators, sensors, and cameras from various suppliers. 
However, as researchers are one step ahead of industrials, the commercially 
available testing solutions are not always well-suited to their objectives. 
Developing a custom software interface is also not always an option, as the 
synchronization of the devices and the optimization of the computer resources
can prove challenging even to experienced developers.

The purpose of CRAPPY is to provide a framework for driving experimental 
setups, in which even the most complex designs can be controlled in usually 
less than a hundred lines of code. CRAPPY is:

- A free and open source Python module
- Written in pure Python, to make it easily understandable and editable by a 
large audience
- Highly modular and versatile, and can adapt to almost any setup
- Distributed with a wide collection of ready-to-run [examples](https://github.com/LaboratoireMecaniqueLille/crappy/examples)
- Heavily optimized, to make the most of your computer's resources
- Distributed with a collection of powerful tools for performing real-time data
and image processing

Crappy is developed at the [LaMCube](https://lamcube.univ-lille.fr/), a
mechanical research laboratory based in Lille, France, where it is used mainly 
for materials testing.

Requirements
------------

CRAPPY can run with Python 3.7 to 3.10, and has been tested on Windows, Linux, 
Raspberry Pi and macOS. It can probably run on other operating systems 
supporting the required Python versions. 

CRAPPY has only one requirement: [Numpy](https://numpy.org/) (1.21 or higher).
In addition, other modules can be necessary depending on which features you 
want to use. The main ones are [Matplotlib](https://matplotlib.org/),
[openCV](https://opencv.org/), [pyserial](https://pypi.org/project/pyserial/)
and [Pillow](https://python-pillow.org/).

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

CRAPPY is distributed on PyPI, and can be installed on the supported operating 
systems simply by running the following command in a terminal:

    python -m pip install crappy

You'll find more details in the dedicated [installation section](https://crappy.readthedocs.io/en/latest/installation.html) 
of the documentation, as well as alternative installation methods.

Citing Crappy
-------------

If Crappy has been of help in your research, please reference it in your 
academic publications by citing one or both of the following articles:

- Couty V., Witz J-F., Martel C. et al., *Command and Real-Time Acquisition in 
Parallelized Python, a Python module for experimental setups*, SoftwareX 16, 
2021, DOI: 10.1016/j.softx.2021.100848. 
([link to Couty et al.](https://www.sciencedirect.com/science/article/pii/S2352711021001278))
- Weisrock A., Couty V., Witz J-F. et al., *CRAPPY goes embedded: Including 
low-cost hardware in experimental setups*, SoftwareX 22, 2023, DOI: 
10.1016/j.softx.2023.101348. 
([link to Weisrock et al.](https://www.sciencedirect.com/science/article/pii/S2352711023000444))

Documentation
-------------

The latest versions of the documentation can be accessed on our
[ReadTheDocs](https://crappy.readthedocs.io/) page. It contains a description 
of Crappy's features, tutorials, and other useful information.

License
-------

[GNU GPLv2](https://github.com/LaboratoireMecaniqueLille/crappy/blob/master/LICENSE) 
&copy; 2015, Laboratoire Mécanique de Lille & contributors
