2D vector, line and polygon classes, and a spatial hash implementation
Project description
wasabigeom - fast geometry types for Python games
wasabigeom
is a 2D geometry library intended for game development. It started
life as a pure Python library but is now implemented in optimised Cython code.
Documentation
Installation
To install, just run:
pip install wasabi-geom
What's new in 2.0.0
I took the existing wasabi.geom
code and Cythonised it.
I've made some big, breaking changes to the interface; notably, I prefer
radians thes days and eschew namespace packages. To install the old,
pure-Python version, pin to wasabi-geom<2
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file wasabi-geom-2.0.1.tar.gz
.
File metadata
- Download URL: wasabi-geom-2.0.1.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ec68c409a32b291a70a1475e02a6254d12795048ed29715bfba97255565e206 |
|
MD5 | 7c00f5703a6d9f84d1cfef24d261a4ec |
|
BLAKE2b-256 | 2e059293ead3df27111fc8beb664cf5463acae7f9508620a23abe8f1a2903703 |
File details
Details for the file wasabi_geom-2.0.1-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 137.2 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7f63b6c00171169efd7ec61a81d20110bdc70ebd1b7f745ea6adc6c7608c22b |
|
MD5 | e96dff31b2d2ae9ab8d7b219299486b3 |
|
BLAKE2b-256 | 93b2b327430e23cbea240532d4b8705bf129b8c7a4b81ae258bc31329029c47c |
File details
Details for the file wasabi_geom-2.0.1-cp38-cp38-win32.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp38-cp38-win32.whl
- Upload date:
- Size: 117.0 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c28c511ea198d08c392039051a82608a11503c0a8f1602ec8f72edb4fae6a78 |
|
MD5 | f263523802024dae602fb73cde10157a |
|
BLAKE2b-256 | af0c09035f9aeb759571265c7469d8c9e3b63773a5600786ec59735ae6badfe6 |
File details
Details for the file wasabi_geom-2.0.1-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 732.5 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c58e37539a9b3da12ea99f4e7621a5d8597d1cccde485e3a876f482094bb9d27 |
|
MD5 | 9fe54ef4b357c119e5fd0da974cbb338 |
|
BLAKE2b-256 | c8308ffcd27bf710e589fa2e7ba1d80f1cddaf3f374b18f69865e8efd71c14a3 |
File details
Details for the file wasabi_geom-2.0.1-cp38-cp38-manylinux1_i686.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp38-cp38-manylinux1_i686.whl
- Upload date:
- Size: 678.1 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89a54f353dbf01705aa5e44cbe0c08ce9105cd9f02326a2c7a8cd0f194acb12c |
|
MD5 | 6eac48699b90e232f2ab16eaa7c692e6 |
|
BLAKE2b-256 | e00866d5b14d37f86cd33fe2e1871a6ce1817c39aab8758e6306a0757172bb8e |
File details
Details for the file wasabi_geom-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 181.6 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15f004b5fc56cb3858b9aeea81f945f029dc8db42754e7664a468ad3bcdf22ca |
|
MD5 | 11040605ce5cf0956a635e221706dea5 |
|
BLAKE2b-256 | b5970819acee81adced798a76dfccbd4fd6263717c0a8f4ebb61a62ac95febe5 |
File details
Details for the file wasabi_geom-2.0.1-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 130.5 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32097c305a6803fc0fe4f89d9b2c43d8baadcfeec690e27d6ef5778426172fe2 |
|
MD5 | c73d9b63ba2d36d2f82a39db06dc188c |
|
BLAKE2b-256 | e259a38bbff23b0edf307eadd8738b0cd7c143a5611ec8a4262b3adfaef09f57 |
File details
Details for the file wasabi_geom-2.0.1-cp37-cp37m-win32.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp37-cp37m-win32.whl
- Upload date:
- Size: 112.7 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cea588c36e5841df9e32c2922363e9f2b04f51df41bf47da0ca1aee5cec41169 |
|
MD5 | c40547ceebe0fb22b8a5f856705388b4 |
|
BLAKE2b-256 | 05b6d4092f600e888d63c358caa661a7a5a5a5ed939a5504bcb3003eb9a1b450 |
File details
Details for the file wasabi_geom-2.0.1-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 704.9 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 177abae2e9e8061636ffb5353a09d9731f6163b6311ca7583cfdd9f54e81871a |
|
MD5 | 76cfc28c138b3e820612fb68f47f7209 |
|
BLAKE2b-256 | 3a919c30177eaa2bea084c3dc4ec33158c2a12ca18a6b2b77654146537641906 |
File details
Details for the file wasabi_geom-2.0.1-cp37-cp37m-manylinux1_i686.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp37-cp37m-manylinux1_i686.whl
- Upload date:
- Size: 657.5 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f85762a89ab1c50ecf2133fa7ead6e1d489f1e1e91998973525bc919b5a18d7e |
|
MD5 | dcb95599f1050bd10a2e318c1269eb35 |
|
BLAKE2b-256 | 9adeaafaacb5610e5f6628566277160e2a4fd83b9c836ce5e66995cd4919bacd |
File details
Details for the file wasabi_geom-2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 179.8 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3497db76950df238c3a43f729326f124632c25e248154894a8f497cd4a094a59 |
|
MD5 | 4252088eb8e38b323ae11d1193ef43b3 |
|
BLAKE2b-256 | aacdc2141347cc55e9b6a3c9bc798b0d47c7c85ed3c1590576610f53353c40ce |
File details
Details for the file wasabi_geom-2.0.1-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 130.7 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 137b3d7a444572c2e36be4c05638c3aa0d5f29a7cb939c0326ea958e7e801fdf |
|
MD5 | dafed5a6c7175dc5e350cda95b14002a |
|
BLAKE2b-256 | 4c94125d81ea2dc18e16dac6406dd28966e77f11fbef214dda175f732a3833fb |
File details
Details for the file wasabi_geom-2.0.1-cp36-cp36m-win32.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp36-cp36m-win32.whl
- Upload date:
- Size: 112.9 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bbe0b1521cf7ea2091a87c911312920146cc529346cfe1e44b043ce032c0284 |
|
MD5 | cad146799d526cb84986391fc5ba4647 |
|
BLAKE2b-256 | 66d2def597832bfd2dda1b1a2b93d5c1e48dc69e668cf3d0d0dd10909e24e5c8 |
File details
Details for the file wasabi_geom-2.0.1-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 721.3 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25e29ddb8f198a2466e6101385a92f25ffd47e9b7e8952e9490742c8522adfd0 |
|
MD5 | 33066fd0d7629acf7d9aec1865bbdb43 |
|
BLAKE2b-256 | 44aec5d0addcf4c820e21a30fbc14ca1b3c267408def44ec340ca46abd53d3c6 |
File details
Details for the file wasabi_geom-2.0.1-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 671.0 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1d9cf657c30e48d75ff1ac837df4396651e674c5f6674a41a3e87ae20a7e2c7 |
|
MD5 | 55d63f2225f9b482240ef476a04f45bd |
|
BLAKE2b-256 | 09b70afc7602158163071205b7ace35ae6c341f44db9650a0e2b89d590445133 |
File details
Details for the file wasabi_geom-2.0.1-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 191.2 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37443e6aa7a75136b621ba777bb13176537f07efe2edc777139d67d0d3faf6d8 |
|
MD5 | ef6a5f32aa70c56cac18eec36ae3c72b |
|
BLAKE2b-256 | 640525f96b9c86ebd1628d292b32782bcaa10c2d4872af8e15b28c10bfeac6e9 |
File details
Details for the file wasabi_geom-2.0.1-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 127.6 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4ecda631d439d7995c69280c8e102e2640d65ac8a40a5bbf669a4e4871647b |
|
MD5 | 1ef105ce8ad1cc0da298f21ab6e3ab40 |
|
BLAKE2b-256 | 62301d5140a54592e1a38d108cd208e1d609c34f0c0be27e8648c2f27e5c9316 |
File details
Details for the file wasabi_geom-2.0.1-cp35-cp35m-win32.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp35-cp35m-win32.whl
- Upload date:
- Size: 109.6 kB
- Tags: CPython 3.5m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a8114bbbf62e33ea1e548cb1ced1d6bb328ef48f1bb553089051b8103be60f |
|
MD5 | 15ee07f34f324c1a85df1dd9178b6749 |
|
BLAKE2b-256 | 4b79f52f04e3faa98014e7e3ce33176af7546e46e38ad3335a921692cccb8bb8 |
File details
Details for the file wasabi_geom-2.0.1-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 696.8 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7842b435c6954725ceba33e3ef1b6ec0241fbb8c871fbe02d80b18ed466fe4dd |
|
MD5 | a55e406b5b8c1545a816e3e152c1a051 |
|
BLAKE2b-256 | e82e1d71e0dd2ff1f5b07f077cba83bedd1d3dd8ac743875492c6b96f4a8d5ec |
File details
Details for the file wasabi_geom-2.0.1-cp35-cp35m-manylinux1_i686.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp35-cp35m-manylinux1_i686.whl
- Upload date:
- Size: 649.7 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8840a4f95bd26fe8a4e0567967d9d5224d8e215499184eb23bb541e5e85eb018 |
|
MD5 | 9d664d1d68dc2b7fd1abceb355037bd4 |
|
BLAKE2b-256 | dc43b4155639f0b8d37d7afe07e21c455f13e15b8923bbc7199b17617a73a6e9 |
File details
Details for the file wasabi_geom-2.0.1-cp35-cp35m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: wasabi_geom-2.0.1-cp35-cp35m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 180.3 kB
- Tags: CPython 3.5m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d12f626819d9e519a06d8aff95fb5bc849c7ef65d9b46a724a83660aa5fb1f94 |
|
MD5 | 5984d149fdbd5e959b417682927ec194 |
|
BLAKE2b-256 | 73c2447557d86d3cdab20a74e63ec3497ba80a66bed475d188425bb2bb5eb284 |