Python port of polygon clipping algorithm by F. Martinez et al.
Project description
martinez
In what follows
python
is an alias forpython3.5
or any later version (python3.6
and so on).
Installation
Install the latest pip
& setuptools
packages versions:
python -m pip install --upgrade pip setuptools
User
Download and install the latest stable version from PyPI
repository:
python -m pip install --upgrade martinez
Developer
Download the latest version from GitHub
repository
git clone https://github.com/lycantropos/martinez.git
cd martinez
Install dependencies:
python -m pip install --force-reinstall -r requirements.txt
Install:
python setup.py install
Development
Bumping version
Preparation
Install bump2version.
Pre-release
Choose which version number category to bump following semver specification.
Test bumping version
bump2version --dry-run --verbose $CATEGORY
where $CATEGORY
is the target version number category name, possible
values are patch
/minor
/major
.
Bump version
bump2version --verbose $CATEGORY
This will set version to major.minor.patch-alpha
.
Release
Test bumping version
bump2version --dry-run --verbose release
Bump version
bump2version --verbose release
This will set version to major.minor.patch
.
Running tests
Install dependencies:
python -m pip install --force-reinstall -r requirements-tests.txt
Plain
pytest
Inside Docker
container:
docker-compose up
Bash
script (e.g. can be used in Git
hooks):
./run-tests.sh
PowerShell
script (e.g. can be used in Git
hooks):
.\run-tests.ps1
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 martinez-0.0.2.tar.gz
.
File metadata
- Download URL: martinez-0.0.2.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5a12e320c120936a806a9d45dcf8dba4e25f84ebe14e93b1bb0721179cd02e |
|
MD5 | da29c428dc1a8bce5a6addea6f11021e |
|
BLAKE2b-256 | 137a1e0877fd78f131eb330c588f8ecc0e5792bb989952691a4f1728958db7a5 |
File details
Details for the file martinez-0.0.2-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: martinez-0.0.2-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 70.2 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e22e3a1cf20507d8505ed8664d384c6a149cfb9e43694a260184c4a2e6dd8bd |
|
MD5 | 27129f4c5384e05bb198f6c885735602 |
|
BLAKE2b-256 | a84ce52ff8c6117f6ea75784a3b45f319b0df8244c3addbfcbf7f5e16f02ae48 |
File details
Details for the file martinez-0.0.2-cp38-cp38-win32.whl
.
File metadata
- Download URL: martinez-0.0.2-cp38-cp38-win32.whl
- Upload date:
- Size: 63.0 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9112fe1d9d6255152f16d8bb4c7f34e653a7d60ca59d716286a38a3dd79dd733 |
|
MD5 | c5fe35d10765a1954f8b71bda9d1c8eb |
|
BLAKE2b-256 | 652ed2ed7141ff9742c04b392626ea65ade1bfc11d0b04275c3e219ae515a341 |
File details
Details for the file martinez-0.0.2-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: martinez-0.0.2-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 213841531b9ca00f33a288dfb16692f7016b706bcb186f1a6f5481d70ce8ee80 |
|
MD5 | 48eac394becdfb44fcd22339f436ad54 |
|
BLAKE2b-256 | 61d16ba12627f98a10115d84624e40fd49fb4887466ce763ac56836e4d3fac70 |
File details
Details for the file martinez-0.0.2-cp38-cp38-manylinux2010_i686.whl
.
File metadata
- Download URL: martinez-0.0.2-cp38-cp38-manylinux2010_i686.whl
- Upload date:
- Size: 779.4 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed123a1933b3f2b55e0f535779d607330474a71a1291a72160584cb86dcdcdb6 |
|
MD5 | ac00b981ae4aea9e27af0b3d303f2e5c |
|
BLAKE2b-256 | 8c57e8518edb2b80e0d7bd12ee51f659d870e011d8c4dc09940983d853694f56 |
File details
Details for the file martinez-0.0.2-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: martinez-0.0.2-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 89.6 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04881e820ced7cf9a7f7cdf9978f7b9e545e6e34ddfde73780eaa09216ffb615 |
|
MD5 | e3b5765924d16e72db5d6611aa4bff8a |
|
BLAKE2b-256 | 1ee33d4c197e0be467152e6065acef016faae15a21590b15295447c85c56dc91 |
File details
Details for the file martinez-0.0.2-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: martinez-0.0.2-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 71.6 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f4ff2d110436cf5bf24c0830f18291d2034deceae2febc8226a9280c6883f6a |
|
MD5 | 2d300cca049e50e116494dffd951e25d |
|
BLAKE2b-256 | 638c2091b42a93f7502798351274993f22d3cd071d65f09ead9f33845c127081 |
File details
Details for the file martinez-0.0.2-cp37-cp37m-win32.whl
.
File metadata
- Download URL: martinez-0.0.2-cp37-cp37m-win32.whl
- Upload date:
- Size: 64.0 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5613a68f3b6dea6524a8d589a1e9e04692a21c28d89ed5e59e0511546387abca |
|
MD5 | 57e698cac84a5a3e2bf3abb5781b79e6 |
|
BLAKE2b-256 | 52a7762c6ff0f42e5981c4b129c1f49b46595f4523060f09b723359f86a2f4c8 |
File details
Details for the file martinez-0.0.2-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: martinez-0.0.2-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52135bf1c849ae5a7bc800480ed9e7d39a06d88d28c0359379feb13cfc57f811 |
|
MD5 | 44c8ac483024b15094d3f4efa91e776f |
|
BLAKE2b-256 | e6ae64b5eb5fb577bc4a17f275355ee97cc7d40bc7aff7b17bb13f698167786a |
File details
Details for the file martinez-0.0.2-cp37-cp37m-manylinux2010_i686.whl
.
File metadata
- Download URL: martinez-0.0.2-cp37-cp37m-manylinux2010_i686.whl
- Upload date:
- Size: 776.5 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dcbdd61aae5da6ae5aa6f8739778b9e82f7c0fdf70e7b009cf97c76e74e3024 |
|
MD5 | 0c7431c2fe00ef8a2a39fb67e0e9a1ad |
|
BLAKE2b-256 | 57dff88d69bcf02ed036ae72aecae9df6956431fee2faaaed5f2d92fcc6fa9cc |
File details
Details for the file martinez-0.0.2-cp37-cp37m-macosx_10_6_intel.whl
.
File metadata
- Download URL: martinez-0.0.2-cp37-cp37m-macosx_10_6_intel.whl
- Upload date:
- Size: 169.6 kB
- Tags: CPython 3.7m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3dbe55122ed6b7184d19e78a83da1a72f1215314ddfec29ed849765fdc9cc07 |
|
MD5 | 418e67e649657dd07903823648c0a91a |
|
BLAKE2b-256 | f445d52159fe6451e0a9b6f466083704df12a95b74de5dff3d7d0c83d78ff487 |
File details
Details for the file martinez-0.0.2-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: martinez-0.0.2-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 71.6 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c53ca2debfdec806e6c03e02f84f01bbca27d7640436f5e833a251b1445b9bc5 |
|
MD5 | 1400b64f7de2afd9eb45852e16a79af6 |
|
BLAKE2b-256 | 93b86034ef14426da4330375ba151352c386b02072baf6b4d58cbeee0de4c658 |
File details
Details for the file martinez-0.0.2-cp36-cp36m-win32.whl
.
File metadata
- Download URL: martinez-0.0.2-cp36-cp36m-win32.whl
- Upload date:
- Size: 64.0 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e8d93df3fa80b8bd14224447894c7e5a090fe4a0e404677f62f9ccdc124b342 |
|
MD5 | 21ee39800300b49c5c9d0d1cdce9da10 |
|
BLAKE2b-256 | 8dbff77d3db174df261b521cf2429582663f9febf7e1395481abd369616db5bd |
File details
Details for the file martinez-0.0.2-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: martinez-0.0.2-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04df9cd4d34fc5f07453f6d0d56a6fb63f476de0a6cd73507a800c3756c6943a |
|
MD5 | 54bc8843288a4a2c80d2298400253e41 |
|
BLAKE2b-256 | 1c9359b0fe3417b472f4c7e9fc2c0c9b27a4ebe57108e9aedd990ea6c0931740 |
File details
Details for the file martinez-0.0.2-cp36-cp36m-manylinux2010_i686.whl
.
File metadata
- Download URL: martinez-0.0.2-cp36-cp36m-manylinux2010_i686.whl
- Upload date:
- Size: 775.4 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 406a87ed4111a6be960aa867989a57cf075b2d44e02fbdd5b27ed072b45b9b76 |
|
MD5 | 7b6313bc436aa70f86b26bb8d004b8be |
|
BLAKE2b-256 | d556fa05338e469e31c1b192530fc1bfd8fdd4ae6d8027fdb2681c857ed03cee |
File details
Details for the file martinez-0.0.2-cp36-cp36m-macosx_10_6_intel.whl
.
File metadata
- Download URL: martinez-0.0.2-cp36-cp36m-macosx_10_6_intel.whl
- Upload date:
- Size: 169.6 kB
- Tags: CPython 3.6m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d5a2cc49422c23b07f470f967724b2ca3ba90f5269e9d08c9bc106af71bb45a |
|
MD5 | 70baf13d73c714f702979ed51c8bd228 |
|
BLAKE2b-256 | bde9b3d6316081721db5b46512a93ea0f46eb5758ff2395c1d6b3dfb466894ec |
File details
Details for the file martinez-0.0.2-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: martinez-0.0.2-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 73.1 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00fb718ac10662187b7b6ac6e256b1300c14f85f4192e1d9d2b5ea5c7c318af7 |
|
MD5 | cbf64304e91831b26c86044b83cd79f8 |
|
BLAKE2b-256 | d395883f4dc64763393a44c8bcf0616307d57381b4ec67bcc00bc8b08cae0a22 |
File details
Details for the file martinez-0.0.2-cp35-cp35m-win32.whl
.
File metadata
- Download URL: martinez-0.0.2-cp35-cp35m-win32.whl
- Upload date:
- Size: 63.0 kB
- Tags: CPython 3.5m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecc1de625a94ff57d3b4019b8dc7f3fea191b1246e4106ebe00b465c845492d2 |
|
MD5 | fbc6acdbd441aa49dd46007c28db6bc3 |
|
BLAKE2b-256 | ff2f5dbf54e76a6a6e8ddbf01386c99e19886db641fb7eaba731443cb95d0690 |
File details
Details for the file martinez-0.0.2-cp35-cp35m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: martinez-0.0.2-cp35-cp35m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94e944785c6edd970cf261da3996fa443158331b7d7bcbf873872ad89983f76 |
|
MD5 | 8e76fe93f3396fa041f1ab635dc5a16b |
|
BLAKE2b-256 | 10a1e35e436504ce42e503000f867b1bb902560efd841828a5caa8463a9abb7a |
File details
Details for the file martinez-0.0.2-cp35-cp35m-manylinux2010_i686.whl
.
File metadata
- Download URL: martinez-0.0.2-cp35-cp35m-manylinux2010_i686.whl
- Upload date:
- Size: 775.3 kB
- Tags: CPython 3.5m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb102f08bdcae13b85c0de50a103f8c10e99f320025b8362c7d9ec23f78e48ad |
|
MD5 | c1d2d485dcb73125f8a95d95108d2a10 |
|
BLAKE2b-256 | 2b62b9f28c32f40ef2637723427fe5d7312272df7fff6a41cbcb0ded843c1b64 |
File details
Details for the file martinez-0.0.2-cp35-cp35m-macosx_10_6_intel.whl
.
File metadata
- Download URL: martinez-0.0.2-cp35-cp35m-macosx_10_6_intel.whl
- Upload date:
- Size: 169.6 kB
- Tags: CPython 3.5m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.5.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b4f8fcf742b404faf2fec36264d27dd08434cffd936baa8c64855d06d93f70 |
|
MD5 | c5468f00f1080f75380f58e542e261e6 |
|
BLAKE2b-256 | 6983114b516d92a1a403b90049b25ffda7f7d9b3f79b913d622f45fe00da852b |