Metadata-Version: 2.1
Name: pymeos_cffi
Version: 1.1.0b1
Summary: PyMEOS wrapper for the MEOS C Library.
Author-email: Victor Divi <vdiviloper@gmail.com>
License: PostgreSQL License
        
        -------------------------------------------------------------------------------
        This PyMEOS CFFI code is provided under The PostgreSQL License.
        
        Copyright (c) 2020, Université libre de Bruxelles and PyMEOS CFFI contributors
        
        PyMEOS CFFI includes MEOS, which includes portions of PostGIS version 3 source code released under the GNU General
        Public License (GPLv2 or later). Copyright (c) 2001-2023, PostGIS contributors
        
        Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby
        granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies.
        
        IN NO EVENT SHALL UNIVERSITÉ LIBRE DE BRUXELLES AND PYMEOS CFFI CONTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST
        PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF UNIVERSITÉ LIBRE DE BRUXELLES AND PYMEOS CFFI CONTRIBUTORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
        DAMAGE.
        
        UNIVERSITÉ LIBRE DE BRUXELLES AND PYMEOS CFFI CONTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
        FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND UNIVERSITÉ LIBRE DE BRUXELLES AND PYMEOS CFFI CONTRIBUTORS HAVE NO OBLIGATIONS TO PROVIDE
        MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
        -------------------------------------------------------------------------------
Project-URL: Homepage, https://github.com/MobilityDB/PyMEOS
Project-URL: Bug Tracker, https://github.com/MobilityDB/PyMEOS/issues
Classifier: License :: OSI Approved :: PostgreSQL License
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: C
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
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 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cffi
Requires-Dist: python-dateutil
Requires-Dist: shapely

# PyMEOS CFFI

![MEOS Logo](../docs/images/meos-logo.png)

[MEOS (Mobility Engine, Open Source)](https://www.libmeos.org/) is a C library which enables the manipulation of
temporal and spatio-temporal data based on [MobilityDB](https://mobilitydb.com/)'s data types and functions.

PyMEOS CFFI is a Python library that wraps the MEOS C library using CFFI, providing a set of python functions
that allows to use all MEOS functionality while automatically taking care of conversions between basic Python and C types
(such as Python's `str` to C's `char *`).  

This library is not meant to be used directly by the user, since most of the functions receive or return C objects 
(CFFI's `cdata` type).  

The [PyMEOS](../pymeos) library is built on top of this library and exposes all the functionality
of MEOS through a set of Python classes.

# Usage

## Installation

````shell
pip install pymeos-cffi
````

## Source installation
If the pre-built distribution is not available for your system, `pip` will try to make source distribution. For that, you will 
need to make sure you have the following requirements:

- C compiler
- [MEOS Library](https://www.libmeos.org/)

If the installation fails, you can submit an issue in the [PyMEOS issue tracker](https://github.com/MobilityDB/PyMEOS/issues)
