primecount
A Python wrapper for primecount.
Documentation
This package follows the documentation provided by the C API reference, generating three methods: primecount.nth_prime, primecount.pi and primecount.phi.
Installation
In the first place, you have to download the source code of the library and build it. Make sure you have installed cmake, git and make. You might have to make use of sudo if make install ever fails.
git clone https://github.com/kimwalisch/primecount
cd primecount
cmake . -DBUILD_SHARED_LIBS=ON
make -j
make install
After having installed the library, it's time to install the Python wrapper by cloning this repository. Make sure you have installed pip and that primecount is reachable as a shared library using a compiler.
git clone https://github.com/hearot/primecount
cd primecount
pip install .
Instead of the last command, you can type python setup.py install as well.
Commit messages
See Conventional Commits.
Contributing
See CONTRIBUTING.md.
Versioning
See PEP 440.
Copyright & License
- Copyright (C) 2020 Hearot.
- Licensed under the terms of the BSD 2-Clause License.
Metadata
Release files for primecount 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| primecount-1.0.0-cp36-cp36m-manylinux2014_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.17+ x86-64 | Details |
Release files / primecount-1.0.0-cp36-cp36m-manylinux2014_x86_64.whl
| Download URL | primecount-1.0.0-cp36-cp36m-manylinux2014_x86_64.whl |
|---|---|
| Size | 437.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1febe5a484cdc840c4348a44ebc99e2af0b0126fc2722bb26605eefaa7b623a1
|
|
BLAKE2b-256 checksum How to use checksums |
ba3037f6c6fe49d8dbd17ab1645d5b37b04d0b006d8cd2268c56319f430a23fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
|
Security for primecount 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.