togo 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of togo might be problematic. Click here for more details.
- {togo-0.1.0/togo.egg-info → togo-0.1.1}/PKG-INFO +15 -8
- {togo-0.1.0 → togo-0.1.1}/README.md +5 -3
- togo-0.1.1/pyproject.toml +35 -0
- {togo-0.1.0 → togo-0.1.1}/setup.py +1 -17
- {togo-0.1.0 → togo-0.1.1/togo.egg-info}/PKG-INFO +15 -8
- togo-0.1.0/pyproject.toml +0 -12
- {togo-0.1.0 → togo-0.1.1}/LICENSE +0 -0
- {togo-0.1.0 → togo-0.1.1}/MANIFEST.in +0 -0
- {togo-0.1.0 → togo-0.1.1}/setup.cfg +0 -0
- {togo-0.1.0 → togo-0.1.1}/tests/test_factories.py +0 -0
- {togo-0.1.0 → togo-0.1.1}/tests/test_geometries.py +0 -0
- {togo-0.1.0 → togo-0.1.1}/tests/test_geometry.py +0 -0
- {togo-0.1.0 → togo-0.1.1}/tests/test_line.py +0 -0
- {togo-0.1.0 → togo-0.1.1}/tests/test_point.py +0 -0
- {togo-0.1.0 → togo-0.1.1}/tests/test_poly.py +0 -0
- {togo-0.1.0 → togo-0.1.1}/tests/test_rect.py +0 -0
- {togo-0.1.0 → togo-0.1.1}/tests/test_ring.py +0 -0
- {togo-0.1.0 → togo-0.1.1}/tg.c +0 -0
- {togo-0.1.0 → togo-0.1.1}/tg.h +0 -0
- {togo-0.1.0 → togo-0.1.1}/togo.c +0 -0
- {togo-0.1.0 → togo-0.1.1}/togo.egg-info/SOURCES.txt +0 -0
- {togo-0.1.0 → togo-0.1.1}/togo.egg-info/dependency_links.txt +0 -0
- {togo-0.1.0 → togo-0.1.1}/togo.egg-info/top_level.txt +0 -0
- {togo-0.1.0 → togo-0.1.1}/togo.pyx +0 -0
|
@@ -1,25 +1,32 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: togo
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Lightweight Python bindings for the TG geometry library
|
|
5
|
+
Author-email: Giorgio Salluzzo <giorgio.salluzzo@gmail.com>
|
|
5
6
|
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/mindflayer/togo
|
|
8
|
+
Project-URL: Source, https://github.com/mindflayer/togo
|
|
9
|
+
Project-URL: Tracker, https://github.com/mindflayer/togo/issues
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: C
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
6
15
|
Requires-Python: >=3.8
|
|
7
16
|
Description-Content-Type: text/markdown
|
|
8
17
|
License-File: LICENSE
|
|
9
|
-
Dynamic: description
|
|
10
|
-
Dynamic: description-content-type
|
|
11
18
|
Dynamic: license
|
|
12
19
|
Dynamic: license-file
|
|
13
|
-
Dynamic: requires-python
|
|
14
|
-
Dynamic: summary
|
|
15
20
|
|
|
16
21
|
# ToGo
|
|
17
|
-
|
|
22
|
+
Python bindings for [TG](https://github.com/tidwall/tg)
|
|
18
23
|
(Geometry library for C - Fast point-in-polygon)
|
|
19
24
|
|
|
20
|
-
|
|
25
|
+
ToGo is a high-performance Python library for computational geometry, providing a Cython wrapper around the above-mentioned C library.
|
|
21
26
|
|
|
22
|
-
|
|
27
|
+
The main goal is to offer a Pythonic, object-oriented, fast and memory-efficient library for geometric operations, including spatial predicates, format conversions, and spatial indexing.
|
|
28
|
+
|
|
29
|
+
While ToGo's API interfaces are still a work in progress, the underling C library is stable and well-tested.
|
|
23
30
|
|
|
24
31
|
## Installation
|
|
25
32
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# ToGo
|
|
2
|
-
|
|
2
|
+
Python bindings for [TG](https://github.com/tidwall/tg)
|
|
3
3
|
(Geometry library for C - Fast point-in-polygon)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
ToGo is a high-performance Python library for computational geometry, providing a Cython wrapper around the above-mentioned C library.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The main goal is to offer a Pythonic, object-oriented, fast and memory-efficient library for geometric operations, including spatial predicates, format conversions, and spatial indexing.
|
|
8
|
+
|
|
9
|
+
While ToGo's API interfaces are still a work in progress, the underling C library is stable and well-tested.
|
|
8
10
|
|
|
9
11
|
## Installation
|
|
10
12
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [
|
|
3
|
+
"setuptools>=61",
|
|
4
|
+
"wheel",
|
|
5
|
+
"Cython>=3.0.0",
|
|
6
|
+
]
|
|
7
|
+
build-backend = "setuptools.build_meta"
|
|
8
|
+
|
|
9
|
+
[project]
|
|
10
|
+
name = "togo"
|
|
11
|
+
version = "0.1.1"
|
|
12
|
+
description = "Lightweight Python bindings for the TG geometry library"
|
|
13
|
+
readme = "README.md"
|
|
14
|
+
authors = [
|
|
15
|
+
{name = "Giorgio Salluzzo", email = "giorgio.salluzzo@gmail.com"}
|
|
16
|
+
]
|
|
17
|
+
requires-python = ">=3.8"
|
|
18
|
+
classifiers = [
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: C",
|
|
21
|
+
"Operating System :: POSIX :: Linux",
|
|
22
|
+
"Intended Audience :: Developers",
|
|
23
|
+
"Topic :: Scientific/Engineering :: GIS"
|
|
24
|
+
]
|
|
25
|
+
dynamic = ["license"]
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Homepage = "https://github.com/mindflayer/togo"
|
|
29
|
+
Source = "https://github.com/mindflayer/togo"
|
|
30
|
+
Tracker = "https://github.com/mindflayer/togo/issues"
|
|
31
|
+
|
|
32
|
+
[tool.pytest.ini_options]
|
|
33
|
+
addopts = "-v -x -q"
|
|
34
|
+
testpaths = ["tests"]
|
|
35
|
+
pythonpath = ["."]
|
|
@@ -17,23 +17,7 @@ TG_HEADER_FILENAME = os.path.basename(urlparse(TG_HEADER_URL).path)
|
|
|
17
17
|
if not os.path.exists(TG_HEADER_FILENAME):
|
|
18
18
|
urllib.request.urlretrieve(TG_HEADER_URL, TG_HEADER_FILENAME)
|
|
19
19
|
|
|
20
|
-
# Package metadata
|
|
21
|
-
NAME = "togo"
|
|
22
|
-
VERSION = "0.1.0"
|
|
23
|
-
DESCRIPTION = "Lightweight Python bindings for the TG geometry library"
|
|
24
|
-
LONG_DESCRIPTION = ""
|
|
25
|
-
LONG_DESCRIPTION_CONTENT_TYPE = "text/markdown"
|
|
26
|
-
if os.path.exists("README.md"):
|
|
27
|
-
with open("README.md", "r", encoding="utf-8") as f:
|
|
28
|
-
LONG_DESCRIPTION = f.read()
|
|
29
|
-
|
|
30
20
|
setup(
|
|
31
|
-
name=NAME,
|
|
32
|
-
version=VERSION,
|
|
33
|
-
description=DESCRIPTION,
|
|
34
|
-
long_description=LONG_DESCRIPTION,
|
|
35
|
-
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
|
|
36
|
-
license="MIT",
|
|
37
21
|
ext_modules=cythonize(
|
|
38
22
|
[
|
|
39
23
|
Extension(
|
|
@@ -43,5 +27,5 @@ setup(
|
|
|
43
27
|
)
|
|
44
28
|
]
|
|
45
29
|
),
|
|
46
|
-
|
|
30
|
+
license="MIT",
|
|
47
31
|
)
|
|
@@ -1,25 +1,32 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: togo
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Lightweight Python bindings for the TG geometry library
|
|
5
|
+
Author-email: Giorgio Salluzzo <giorgio.salluzzo@gmail.com>
|
|
5
6
|
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/mindflayer/togo
|
|
8
|
+
Project-URL: Source, https://github.com/mindflayer/togo
|
|
9
|
+
Project-URL: Tracker, https://github.com/mindflayer/togo/issues
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: C
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
6
15
|
Requires-Python: >=3.8
|
|
7
16
|
Description-Content-Type: text/markdown
|
|
8
17
|
License-File: LICENSE
|
|
9
|
-
Dynamic: description
|
|
10
|
-
Dynamic: description-content-type
|
|
11
18
|
Dynamic: license
|
|
12
19
|
Dynamic: license-file
|
|
13
|
-
Dynamic: requires-python
|
|
14
|
-
Dynamic: summary
|
|
15
20
|
|
|
16
21
|
# ToGo
|
|
17
|
-
|
|
22
|
+
Python bindings for [TG](https://github.com/tidwall/tg)
|
|
18
23
|
(Geometry library for C - Fast point-in-polygon)
|
|
19
24
|
|
|
20
|
-
|
|
25
|
+
ToGo is a high-performance Python library for computational geometry, providing a Cython wrapper around the above-mentioned C library.
|
|
21
26
|
|
|
22
|
-
|
|
27
|
+
The main goal is to offer a Pythonic, object-oriented, fast and memory-efficient library for geometric operations, including spatial predicates, format conversions, and spatial indexing.
|
|
28
|
+
|
|
29
|
+
While ToGo's API interfaces are still a work in progress, the underling C library is stable and well-tested.
|
|
23
30
|
|
|
24
31
|
## Installation
|
|
25
32
|
|
togo-0.1.0/pyproject.toml
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{togo-0.1.0 → togo-0.1.1}/tg.c
RENAMED
|
File without changes
|
{togo-0.1.0 → togo-0.1.1}/tg.h
RENAMED
|
File without changes
|
{togo-0.1.0 → togo-0.1.1}/togo.c
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|