Skip to content

Commit

Permalink
Remove pymeos-cffi code and convert this to repository for only pymeo…
Browse files Browse the repository at this point in the history
…s. PyMEOS-CFFI code has been moved to an independent repository at https://github.com/MobilityDB/PyMEOS-CFFI.
  • Loading branch information
Diviloper committed Apr 27, 2024
1 parent aeb989d commit 8e887a6
Show file tree
Hide file tree
Showing 133 changed files with 523 additions and 25,288 deletions.
224 changes: 0 additions & 224 deletions .github/workflows/build_pymeos_cffi.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ name: Test PyMEOS

on:
push:
branches: [ "develop", "master" ]
branches: [ "master", "stable-[0-9]+.[0-9]+" ]
paths-ignore:
- "docs/**"
- ".readthedocs.yml"
- "**/README.md"
- "README.md"
- ".github/ISSUE_TEMPLATE/**"
pull_request:
branches: [ "develop", "master" ]
branches: [ "master", "stable-[0-9]+.[0-9]+" ]
paths-ignore:
- "docs/**"
- ".readthedocs.yml"
- "**/README.md"
- "README.md"
- ".github/ISSUE_TEMPLATE/**"

jobs:
Expand Down
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
.idea
docs/_build
.vscode

build
dist
docs/_build

*.egg-info
.pytest_cache
*.pyc

sandbox.py
sandbox.ipynb

coverage.xml
File renamed without changes.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ temporal and spatio-temporal data based on [MobilityDB](https://mobilitydb.com/)

PyMEOS is a library built on top of MEOS that provides all of its functionality wrapped in a set of Python classes.

This repository contains 2 subprojects:

- [PyMEOS CFFI](./pymeos_cffi): wrapper of the MEOS C Library built using CFFI.
- [PyMEOS](./pymeos): library that exposes the set of classes that should be used by the developer. Built on top of
PyMEOS CFFI.
For the PyMEOS CFFI library, the middle layer between MEOS and PyMEOS, see
the [PyMEOS CFFI repository](https://github.com/MobilityDB/PyMEOS-CFFI).

# Usage

Expand All @@ -28,9 +25,7 @@ pip install pymeos
````

> PyMEOS wheel should be compatible with any system, but it is possible that the pre-built distribution is
> not available for PyMEOS CFFI for some OS/Architecture.
> If it is not available, see the [source installation notes on PyMEOS CFFI's readme](../pymeos_cffi#installation)
> on how to proceed
> not available for PyMEOS CFFI for some OS/Architecture.
### Using conda

Expand Down Expand Up @@ -78,6 +73,7 @@ print(f'Speeds: {speed}')
# Call finish at the end of your code
pymeos_finalize()
````

````
Output: [POINT(10 10)@2019-09-01 01:00:00+02, POINT(20 20)@2019-09-02 01:00:00+02, POINT(10 10)@2019-09-03 01:00:00+02]
Speeds: Interp=Step;[17.84556057812839@2019-09-01 01:00:00+02, 17.84556057812839@2019-09-03 01:00:00+02]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
python-dateutil
shapely
pymeos_cffi==1.1.0rc1
pymeos_cffi
asyncpg
psycopg
psycopg2
Expand Down
17 changes: 0 additions & 17 deletions pymeos/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions pymeos/CHANGELOG.md

This file was deleted.

1 change: 0 additions & 1 deletion pymeos/MANIFEST.in

This file was deleted.

Loading

0 comments on commit 8e887a6

Please sign in to comment.