Calculate points on lines.
Project description
polf
Simple library written with the Python C API to calculate points on lines. It does not perform any checks on the passed data, but rather follows the GIGO processing pattern.
I have written it with the main purpose of learning, but it may be useful in some situation or it can serve as a reference to get you started in the Python C API and building multiplatform wheels using cibuildwheel using TravisCI. If it has been useful to you, do not hesitate to leave a star.
Install
pip install polf
Useful links
Contributing (Linux)
First, create a virtual environment and initialize it with:
python3 -m virtualenv venv
source venv/bin/activate
Develop commands
- Build documentation:
make docs
- Run tests:
make tests
- Lint:
make lint
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 polf-0.0.12.tar.gz
.
File metadata
- Download URL: polf-0.0.12.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd77023005bfdfa88e9f2957e2e32f6bcfcd597a99007968b63e842353ce5726 |
|
MD5 | 1d3d9ea49b853bd4bc88d8b05678df2d |
|
BLAKE2b-256 | 13ad825711dc617d08d850c3fb096482d18d32a6ccf3b416d5a92e982960e166 |
File details
Details for the file polf-0.0.12-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: polf-0.0.12-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 10.8 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c8533a8a06c86e766e46aae450169eb888f765594a3640a720420157705efa |
|
MD5 | 361acada56f46f4c68c60fcf8315d20f |
|
BLAKE2b-256 | 37a401eaec387f045368f8e5e9f58eea831bd12439ae570ea1f46437c2c3220a |
File details
Details for the file polf-0.0.12-cp38-cp38-win32.whl
.
File metadata
- Download URL: polf-0.0.12-cp38-cp38-win32.whl
- Upload date:
- Size: 10.0 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e8d14d4ee13cd135d6b23f746710ed9031c59aca0ae2ed54b219aee46c8fa2a |
|
MD5 | a30cdce557bcccce920d6a7f9fbe607c |
|
BLAKE2b-256 | fec1f0d2e7a00cf4bac8961bb03ef3d56957218d4027bcbce5a527102c2e30f2 |
File details
Details for the file polf-0.0.12-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: polf-0.0.12-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 22.6 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 699620f2d05ce1385f5e3d688f7c8207bddc1349281b6f9050e9f7188d4e2714 |
|
MD5 | 30bde4b9637aa9ac488b2cdea7cbf803 |
|
BLAKE2b-256 | dac6b04fe5c9bf4072b82a1e33cc5e0655bbbd14066258c670003dacabfa8c4f |
File details
Details for the file polf-0.0.12-cp38-cp38-manylinux2010_i686.whl
.
File metadata
- Download URL: polf-0.0.12-cp38-cp38-manylinux2010_i686.whl
- Upload date:
- Size: 21.8 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e57bd05e3c18ae673fca331251b0924468f604a1e82489164441cb913a79f65 |
|
MD5 | 68936bbefab9b72b23572adfbe4fa6b9 |
|
BLAKE2b-256 | b43256551a6bf2b6f0103a0005c1cb1cae56d451405e89c86c2a45343fe5e22f |
File details
Details for the file polf-0.0.12-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: polf-0.0.12-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 22.6 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d865576644f584a7d5ff84063c81f570238daa2c1e7fa646cdbde5147220d3cf |
|
MD5 | bc4da61ab085f861b8d91afd5fa9ed08 |
|
BLAKE2b-256 | abcd5b6526d96edeb74c7754f31bdc1867ff285ca96f0e802a20236a766766e6 |
File details
Details for the file polf-0.0.12-cp38-cp38-manylinux1_i686.whl
.
File metadata
- Download URL: polf-0.0.12-cp38-cp38-manylinux1_i686.whl
- Upload date:
- Size: 21.8 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8fd0f33654c26f0c039e9430a66ca583b43a6dc745d805394ab0b28948921d |
|
MD5 | c6844e2611dda60431da3a0d4672929a |
|
BLAKE2b-256 | cb9f0fe59919fd46874f84f71e54c031eb6cef88bbeb21ab382125315d621e2f |
File details
Details for the file polf-0.0.12-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: polf-0.0.12-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 7.1 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34fe7aa0300d6ccce3f65860efdbb8bbfcc677716364c78549d6a70d5a188398 |
|
MD5 | 72bfebbeab44d4104c6a99168dd232ab |
|
BLAKE2b-256 | 01df6506d905cfa8029f305229b92a6b5167fa8243c65f7f182e502f097b1efd |
File details
Details for the file polf-0.0.12-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: polf-0.0.12-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 10.7 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29c427c55880aa29e429b8702e63a285e858df4f28500f827824138a0ed2da5a |
|
MD5 | fe0d720e35d35961e2d1ca7f46f56e58 |
|
BLAKE2b-256 | 18ac0a43ebb7dd5c2fa8b81fcd03cd76df91668427dac45d443159c02ebcffa7 |
File details
Details for the file polf-0.0.12-cp37-cp37m-win32.whl
.
File metadata
- Download URL: polf-0.0.12-cp37-cp37m-win32.whl
- Upload date:
- Size: 10.0 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c66483e2c918a9859cd11634c8e3eed826ab69ca9896b6bea0da2e88a58b241 |
|
MD5 | 7f7f26ef645e4dde398658e0b019e3b6 |
|
BLAKE2b-256 | 6bfa80affd3476bd933bb25bdd74e56b45f3d4184f45dfa937478865bcc17109 |
File details
Details for the file polf-0.0.12-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: polf-0.0.12-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 23.5 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a72a5526fc1dc9f8edf80f8eb27432ba3d5807a8e69bcf5426ae224f3e7cbad4 |
|
MD5 | f7d7627d6adfc1aae6232220890aed3c |
|
BLAKE2b-256 | 70f3ac61c5b1376b9f42168aaa1a59a4969b05eb284e33f1b1079046ce06ec47 |
File details
Details for the file polf-0.0.12-cp37-cp37m-manylinux2010_i686.whl
.
File metadata
- Download URL: polf-0.0.12-cp37-cp37m-manylinux2010_i686.whl
- Upload date:
- Size: 22.6 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4575a63f5b3fbe9e0278787a600672cece873bfa1997e1e38ddef06cc88daa4 |
|
MD5 | 47390ead564f88a50d662585c21ef48d |
|
BLAKE2b-256 | b3f9ec2beca3e5d10d22eff57ba4fa6028b0e291d730561de4e137485bdd555b |
File details
Details for the file polf-0.0.12-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: polf-0.0.12-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 23.5 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 934baf8090176267fa52d44fdf5b97398047505dfd4a2441dbe71de58aaab535 |
|
MD5 | 46ca7734d4387e2f226fe3592df3817a |
|
BLAKE2b-256 | a2f6acda0a19b48c37b0fad446af803053365eee427641e8304303c16ff4cd73 |
File details
Details for the file polf-0.0.12-cp37-cp37m-manylinux1_i686.whl
.
File metadata
- Download URL: polf-0.0.12-cp37-cp37m-manylinux1_i686.whl
- Upload date:
- Size: 22.6 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c3cae1e60155fa1c5b51634c33c021e102528dbfa6546166970b64bb23de16a |
|
MD5 | a8aa90a4d43fcb2e7c0ba10dad68303e |
|
BLAKE2b-256 | 8704b703d394818f297f861385d8a36ae4e8b445b52df36b241b51064a0c7f2e |
File details
Details for the file polf-0.0.12-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: polf-0.0.12-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 7.1 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 600ef8b2ec4e4f49152f63e86dd9e2783b81203ea859712595ec1774dc79f98f |
|
MD5 | 0ac7699c72869027a34c1c69c915f74a |
|
BLAKE2b-256 | b10316b2a22fc3ff7fb3c90801b8fb4a4d96bcfe73e2a7b3be6be2bd1ab9fef6 |
File details
Details for the file polf-0.0.12-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: polf-0.0.12-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 10.7 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1c2f8eaab7c3919283c39432779288c4cef56571427e79296893ebe52b63b77 |
|
MD5 | c85f9bb74aa8da7d41da1aed005667f4 |
|
BLAKE2b-256 | 801ead4d1894f606f69317c2060448b768f8c4f34a5e436452c6569e4c8c90f7 |
File details
Details for the file polf-0.0.12-cp36-cp36m-win32.whl
.
File metadata
- Download URL: polf-0.0.12-cp36-cp36m-win32.whl
- Upload date:
- Size: 10.0 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbbe6b3f85d56a885fb456f0bde847ceace978f40a1b2687157a8ba5b55f8d29 |
|
MD5 | a6b6d3b9df0296e1b8165fd392d6ec15 |
|
BLAKE2b-256 | 814f6c0bda2ade9761b3f874e7c26a66a08103ea9233a9be78047fa8251556b6 |
File details
Details for the file polf-0.0.12-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: polf-0.0.12-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 22.5 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d216af247667cab4124fecfa31c8c8130219e031ff1de265aab700466221bc50 |
|
MD5 | b38323c1e5af5f616806aa3c6f3a24d2 |
|
BLAKE2b-256 | b9c64f7c62fc703b3d47103a5b3eec33be3830a9261692a8fffe8cd263f1cb6a |
File details
Details for the file polf-0.0.12-cp36-cp36m-manylinux2010_i686.whl
.
File metadata
- Download URL: polf-0.0.12-cp36-cp36m-manylinux2010_i686.whl
- Upload date:
- Size: 21.7 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e932a2ad03b24667e409b522f17a77b8cc99dae3bee682693e817dc5a157ecb0 |
|
MD5 | ce561e32ba371ab9304aac7c9f49195b |
|
BLAKE2b-256 | 755a56cf60f920a1ed886e540a159c5e68e1938bf19b36c28997ff524a8cef0a |
File details
Details for the file polf-0.0.12-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: polf-0.0.12-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 22.5 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c132077f0763ea318b09ea387c960079d1e53e9aff98749b125f964a270d5601 |
|
MD5 | 7701b9aed488d9d1b072900e856310bd |
|
BLAKE2b-256 | c3f3a2c3be3c5a13b1b0c833c4df9547a91bd41704a89080b24a8b6d29344946 |
File details
Details for the file polf-0.0.12-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: polf-0.0.12-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 21.7 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bd09a5a216dae6f41042c3ae703c16580c6bce394ccb0e00d38f931c4dcd874 |
|
MD5 | 5a47c206d40f37ef33e0f65c2c5e2071 |
|
BLAKE2b-256 | 984f9e240907f00bcc05d4485d08955ce4d8e9181980c3e932daee44558d0e75 |
File details
Details for the file polf-0.0.12-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: polf-0.0.12-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 7.1 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef022093c243e91eadeb4b6e7fe74c6ec26329dcf8023c2c0b0c21ff885c8520 |
|
MD5 | 804e719dc6e93a96a7bc49eee324676b |
|
BLAKE2b-256 | 00208739c52568d15f6b49a1a7bcc9084d12f9ca2a0abb1c8569c4c505879e9b |