-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from MobilityDB/documentation
Documentation + tests3. Add tests for many classes. Add new documentation structure. Synchronize with MEOS.
- Loading branch information
Showing
115 changed files
with
16,568 additions
and
8,291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.idea | ||
Pipfile.lock | ||
*-checkpoint.ipynb | ||
docs/_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 2 | ||
build: | ||
os: "ubuntu-20.04" | ||
tools: | ||
python: "3.10" | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt | ||
|
||
sphinx: | ||
configuration: docs/conf.py |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
.. PyMEOS documentation master file, created by | ||
sphinx-quickstart on Thu Oct 5 18:26:38 2023. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
======= | ||
PyMEOS | ||
======= | ||
|
||
`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 is a library built on top of MEOS that provides all of its | ||
functionality wrapped in a set of Python classes. | ||
|
||
Requirements | ||
============ | ||
|
||
PyMEOS 1.1 requires | ||
|
||
* Python >=3.7 | ||
* MEOS >=1.1 | ||
|
||
Installing PyMEOS | ||
================== | ||
|
||
We recommend installing PyMEOS using one of the available built | ||
distributions using ``pip``: | ||
|
||
.. code-block:: console | ||
$ pip install pymeos | ||
See the `installation documentation <https://pymeos.readthedocs.io/en/latest/src/installation.html>`__ | ||
for more details and advanced installation instructions. | ||
|
||
.. toctree:: | ||
:caption: User Guide | ||
:hidden: | ||
|
||
src/installation | ||
src/manual | ||
src/examples | ||
|
||
|
||
.. toctree:: | ||
:caption: API Reference | ||
:hidden: | ||
|
||
src/api/pymeos.meos_init | ||
src/api/pymeos.collections | ||
src/api/pymeos.temporal | ||
src/api/pymeos.main | ||
src/api/pymeos.boxes | ||
src/api/pymeos.aggregators | ||
src/api/pymeos.plotters | ||
src/api/pymeos.db | ||
|
||
Indices and tables | ||
================== | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
python-dateutil | ||
shapely | ||
pymeos_cffi==1.1.0a6 | ||
asyncpg | ||
psycopg | ||
psycopg2 | ||
matplotlib | ||
geopandas | ||
sphinx | ||
sphinx-book-theme |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Base Abstract Collections | ||
=================== | ||
|
||
Set | ||
------------------------------- | ||
|
||
.. automodule:: pymeos.collections.base.set | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Span | ||
------------------------- | ||
|
||
.. automodule:: pymeos.collections.base.span | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
SpanSet | ||
---------------------------- | ||
|
||
.. automodule:: pymeos.collections.base.spanset | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Numeric Collections | ||
=================== | ||
|
||
IntSet | ||
----------------------- | ||
|
||
.. automodule:: pymeos.collections.number.intset | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
||
FloatSet | ||
----------------------- | ||
|
||
.. automodule:: pymeos.collections.number.floatset | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
IntSpan | ||
----------------------- | ||
|
||
.. automodule:: pymeos.collections.number.intspan | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
||
FloatSpan | ||
----------------------- | ||
|
||
.. automodule:: pymeos.collections.number.floatspan | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
IntSpanSet | ||
----------------------- | ||
|
||
.. automodule:: pymeos.collections.number.intspanset | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
||
FloatSpanSet | ||
----------------------- | ||
|
||
.. automodule:: pymeos.collections.number.floatspanset | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Collections | ||
=================== | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
pymeos.collections.base | ||
pymeos.collections.time | ||
pymeos.collections.spatial | ||
pymeos.collections.numeric | ||
pymeos.collections.text | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Spatial Collections | ||
=================== | ||
|
||
|
||
GeoSet | ||
----------------------- | ||
|
||
.. autoclass:: pymeos.collections.geo.geoset.GeoSet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
||
GeometrySet | ||
----------------------- | ||
|
||
.. autoclass:: pymeos.collections.geo.geoset.GeometrySet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
||
GeographySet | ||
----------------------- | ||
|
||
.. autoclass:: pymeos.collections.geo.geoset.GeographySet | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Text Collections | ||
=================== | ||
|
||
TextSet | ||
------------------------------- | ||
|
||
.. automodule:: pymeos.collections.text.textset | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
22 changes: 11 additions & 11 deletions
22
pymeos/docs/pymeos.time.rst → docs/src/api/pymeos.collections.time.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
Time | ||
Time Collections | ||
=================== | ||
|
||
Time | ||
----------------------- | ||
|
||
.. automodule:: pymeos.time.time | ||
.. automodule:: pymeos.collections.time.time | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Period | ||
------------------------- | ||
TimestampSet | ||
------------------------------- | ||
|
||
.. automodule:: pymeos.time.period | ||
.. automodule:: pymeos.collections.time.timestampset | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
PeriodSet | ||
---------------------------- | ||
Period | ||
------------------------- | ||
|
||
.. automodule:: pymeos.time.periodset | ||
.. automodule:: pymeos.collections.time.period | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
TimestampSet | ||
------------------------------- | ||
PeriodSet | ||
---------------------------- | ||
|
||
.. automodule:: pymeos.time.timestampset | ||
.. automodule:: pymeos.collections.time.periodset | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Examples | ||
==================== | ||
|
||
Section under construction. However, you can check the existing examples available in the | ||
`PyMEOS repository <https://github.com/MobilityDB/PyMEOS>`__ and the | ||
`PyMEOS-Demo repository <https://github.com/Diviloper/PyMEOS-demo>`__. |
Oops, something went wrong.