osu! pp and difficulty calculator, C bindings
Project description
osu! pp and difficulty calculator. automatically generated C bindings for https://github.com/Francesco149/oppai-ng
usage
pip install oppai
#!/usr/bin/env python
import sys
from oppai import *
ez = ezpp_new()
ezpp(ez, sys.argv[1])
print("%g pp" % ezpp_pp(ez))
ezpp_free(ez)
./example.py /path/to/file.osu
python -c 'help("oppai")'
for a list of functions, or just read the top of oppai.c for better doc
limitations
for some reason, python3 doesn’t provide a persisting pointer to strings you pass to c code even if you aren’t doing anything with them, so if you want to reuse the handle at all you have to use ezpp_dup and ezpp_data_dup, which create a copy of the strings you pass in. this is inefficient so it’s recommended to use autocalc mode and only call ezpp_dup or ezpp_data_dup when you’re actually changing map
Project details
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
Hashes for oppai-3.3.0-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a664c6b56edd181f58fb093a4f528e59b8d4b6e8188816b86a5d19c50b043131 |
|
MD5 | b0cbf3122333954d7685f08d681ecec9 |
|
BLAKE2b-256 | bb5de4bfe87798882c017492aa626809e41ab4537bdba6d544b03544f60ec34a |
Hashes for oppai-3.3.0-cp39-cp39-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027812f37f9dba9693b8fb35b596dfc2b27fb5db521b39b581c9d532b09ddf00 |
|
MD5 | a079fee467b105d33ad94c961d6ab3eb |
|
BLAKE2b-256 | 72187063ab74b8d68cfae1dda23c6f97ca610cf567318a7cebb28fd43c426f75 |
Hashes for oppai-3.3.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eb94ef14d1906abb19c8f422a66eb232e76340f860c03e57c08a4e57ace037e |
|
MD5 | 96049fe36dcdaea0bb71fbb815e00597 |
|
BLAKE2b-256 | 58abf30a7b02eb512edbee8c3dc258c005bdaebbef1b34a234ecedd857ef1ea4 |
Hashes for oppai-3.3.0-cp39-cp39-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9c0880366b482acbb6c3c3ac87b7ff0cc4c5e0d2bf5eb784c6244ca8fd66e44 |
|
MD5 | 4fd0224f97712cbb53b147b628b77820 |
|
BLAKE2b-256 | 7a3d596b58bc2f4f888e785b813200e00f8c4133024a3e77f4dd4310eb88f690 |
Hashes for oppai-3.3.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0526d732acb23feebc91b2d23554188f8122b7356293ee20ec86517b779e604 |
|
MD5 | 9b1031076d65bdbe6689bcfc9e4351c0 |
|
BLAKE2b-256 | 5aeb804ca2d3031f19060e9eb3b504e81a875bb93ccdf3c605273e3eeeff0cc6 |
Hashes for oppai-3.3.0-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24cfdb947fd58a49e0161175a8f6d41856ca6250c2515f673076e3f1ec7ee0b |
|
MD5 | fc71a2be6fddf3163eb51a1a4b34c7d4 |
|
BLAKE2b-256 | 95f9275d50394c94195a6ea2f07549ef411c95230b6ed51cef8537e2d061b710 |
Hashes for oppai-3.3.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b44bcab5256eeb2a3c2695ef5de77831c0f1c6a4aa9d9c141c98c6237ef44971 |
|
MD5 | deb4167fcbb0607b9958ee0ec2fbd06c |
|
BLAKE2b-256 | 0f8f6a614459d968f454eea881adb60e35f876a0844c0dd196b99c5d6365ae33 |
Hashes for oppai-3.3.0-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a246a1f32f00bc6a79b7ceb072d94825e540bdd331af2e240f884a172c7a1a4f |
|
MD5 | d0f180fbf201447950812ceeb7669820 |
|
BLAKE2b-256 | cdbcb4c0e0270f2744cbd3f977dc29e76ad1786fa83e8f9c8c1b12309143c63c |
Hashes for oppai-3.3.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 482294ac2a3045a811a618f95d77c365f8d0d871c34859f9c64fa1fd3c70e188 |
|
MD5 | 072f43be9a47619294a479d330e65bad |
|
BLAKE2b-256 | 09035e140ba16da5b35b07df2904206e7b5e2e645822d93230f188660e31c4d1 |
Hashes for oppai-3.3.0-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f37713640de77beb83bfd10d6b25fdd3220cd4817eacdf1f316bfaafa8c0390 |
|
MD5 | 6a7babb258e8cdc452541637ed870e2c |
|
BLAKE2b-256 | 27df51f8f420b20a27749859cc6c17c958549e04e6bf19b79879eef3d1da51ab |
Hashes for oppai-3.3.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf34dc0daa82c73232082efc56126fe11b3a482e161d5e2c499b3052ca51b50 |
|
MD5 | 7dca590d5f6bd83f564c3ae4c19ec173 |
|
BLAKE2b-256 | 3a258e61e55edc6f0af8d935db9b4e0d98a0fd1a6944e37a01b7ab4d9fb74fa3 |
Hashes for oppai-3.3.0-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 916b09b3d57481eae706bd66c1b9075beb0276587ff56d196a765d033bce2f85 |
|
MD5 | 63529f4ec3190880259f909d3160cec5 |
|
BLAKE2b-256 | 3ac5742734f34cdd14e1f7854843d607192563eeab91012615221e79955af3cf |
Hashes for oppai-3.3.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2239c0391f1cf634cf9789d3612f7c425ac65c51a40676d3c110c3cf6fab005 |
|
MD5 | 70fd9eab06fb34ba25f413ccdfb50c19 |
|
BLAKE2b-256 | dd8859dc451f4681de9ce4acf6b3493226cd4ea99c5c99af020f9c21f958d432 |
Hashes for oppai-3.3.0-cp36-cp36m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26b1dc4952a90dfa8e7ef89ca6e575e5f40044913a26c58278245b09b4b05b3b |
|
MD5 | 5abb737fc8cb32848009fd9897f53679 |
|
BLAKE2b-256 | 6b2e7e581ebd9bc0885d5e7a97d2226473c260df2ae7762b6667532cac94fe97 |
Hashes for oppai-3.3.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b38ea82d16c55d75dbdaab939f177f63e313b08726dc43e78ba2c15c1addd83 |
|
MD5 | e49cf1105bb67c852b277bfd5c285d2f |
|
BLAKE2b-256 | 4ebf2e719c9b1797bcb626e0fbef21a353389248849b931c1b426771813e0426 |
Hashes for oppai-3.3.0-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 696e97a54e9d8611b4cdbbbae125d9d32e895a6aeda77e28521b6e450554a985 |
|
MD5 | 7a277b862f9eb258825dacfa6fdcc8b3 |
|
BLAKE2b-256 | 6d0598d6f036276f40212d4944fe9e7daee5a07635eb54c5977dccb507aa80a8 |
Hashes for oppai-3.3.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b96559a8ace6f7ecd2fee61a8f7d04f4534e1ff1d1fde9951af3cb82790f085 |
|
MD5 | 7715dc02b411274130a0b19862e0c107 |
|
BLAKE2b-256 | e4a5fc88910704fe0eacb3bf74195925b60d593427473145ca0d8dc0a7917c2f |
Hashes for oppai-3.3.0-cp35-cp35m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d43916498cd58ef3da10b8b00d4c293d1835b0ef18fe1351062af19126a5e57 |
|
MD5 | 8557a835b1901b017f261f181c6ca56c |
|
BLAKE2b-256 | 131b589bc216c4786166346d3bba91d85e3958d6309a6661a12f5ec1ef14ade5 |
Hashes for oppai-3.3.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5efc846c4e66210309f70e6d064c55b7044a03010b0196e63acd4b1514df1a2 |
|
MD5 | 9a861735c9c030be5869491069e4d6d4 |
|
BLAKE2b-256 | 5d827cd7642db79a2501ad3c41aa3bc321fa61dcdafaa3df9a6bb53ed469934d |
Hashes for oppai-3.3.0-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be4a59658045c5ee23df0df3392ef24b86c0fb5ad5786653ac30fa8e2d818474 |
|
MD5 | d14080d25d2debda5c5a35ed8b86b950 |
|
BLAKE2b-256 | d6b9345917eddc6771230f1c483e5959ae7d393ed064787756e252ad1ca356bb |
Hashes for oppai-3.3.0-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51c8721376bbfe26d82a6ae4c37e224a6ebc0154cdc773d2c58883b7563040c2 |
|
MD5 | 93c846590a71e9c2e933b04cdff926ea |
|
BLAKE2b-256 | c9ff580ad9009ce6288db233f44c0ace1aaaee906d2119c9a0316460a5c04ce5 |
Hashes for oppai-3.3.0-cp27-cp27mu-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05fa44f7367a5492799929b1ccd059489d9225e5056baeeae2bf5c849fd9bfc6 |
|
MD5 | 5807a8eb2a45994aae6ca6c01845cd99 |
|
BLAKE2b-256 | 17fcc78b541edae333ba21b0481eaf0f05c00239a472ce8fc6b6a3cf48588d64 |
Hashes for oppai-3.3.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2def8afa95686b204f3c29bcd9e869f1b6c3913a0e379e7de72dc2122042b2d9 |
|
MD5 | 93e343b1ea7fcb1d254265c7ffbe5a80 |
|
BLAKE2b-256 | 7d9478c150224f61f3829cdc924607de6c6400bccdf75474d737bd82b477d4e4 |
Hashes for oppai-3.3.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03ea32db5cdf9e46f2d53dedfe3b5f49ed9d8f45e7c4413d44e71e8aa561dcfc |
|
MD5 | c27dd879d4bed7c5f618c69f47431380 |
|
BLAKE2b-256 | c8de8a68d867374d475d90b509a44e88c9921fa99cdd7673ca24b99c4ad0d345 |
Hashes for oppai-3.3.0-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9db01c7c65581f82476a6680fef22e88657d28fe89aaef9ad98a357aa692255 |
|
MD5 | 631bb8a11bc5cb606ca891569e46cba6 |
|
BLAKE2b-256 | 34ed2c2504aa3e8090a28d46f8521e7346ca6c1a3273da8723033792bcb10307 |
Hashes for oppai-3.3.0-cp27-cp27m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a07e83d0a0cc04c4c771e7b5130b21905a736314ca0d93c73ea40a3361ba307d |
|
MD5 | bc335527430917024a63dd7c20a89bba |
|
BLAKE2b-256 | 4bd67bb3cb3e37b31a63d2a3a8fe318955c7ad58885fbed0d2a7c2ffba92b731 |
Hashes for oppai-3.3.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e2bcc21a48d6bffb7f1ae64128dc8bed10c6dea9a2958826851e55f571adc81 |
|
MD5 | d1e417f55477e25300544634c7a1a0ac |
|
BLAKE2b-256 | af0808989461494ca3f464b8432ee72ac59a7483aad72d22b719c8e51607c95e |
Hashes for oppai-3.3.0-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1b41b5d66bc891c1b72a051b3fc10321a6110eb0f3fabbf748c5f0cba0e65e2 |
|
MD5 | d4969eb624afc7e9f8e4094f849db6ed |
|
BLAKE2b-256 | faac51050a30d9481dae062d7219b2c6f3051339750af783990337742a6fc3c5 |