Skip to main content

Logo

Word frequency checker based on Wikipedia corpus written in Rust

license Python OS Build PyPi

Table of Contents

About The Project

Rust library for checking against the Wikipedia word frequency corpus. The library is fast, memory efficient, and secure. The data structure used to do full lookups is the Hashmap. A Suffix Array data structure suffix is used to perform quick lookups of sub-patterns over the dictionary.

Built With

Installation

pip3 install pywordfreq

Usage

import pywordfreq


# On the first use of library, the engine is loaded with the dictionary.
# It is worth to mention that there is a significant ammount
# of memory overhead for the engine.

# This function checks the frequency of the word "the" in the corpus
pywordfreq.full_frequency(
    word="the",
)
# This function checks the frequency of the word "inter" as a pattern
# in other words of the dictionary.
pywordfreq.partial_frequency(
    pattern="inter",
)

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Gal Ben David - gal@intsights.com

Project Link: https://github.com/intsights/pywordfreq

Metadata

Release files for pywordfreq 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pywordfreq 0.4.2
File
pywordfreq-0.4.2-cp311-none-win_amd64.whl CPython 3.11 none Windows x86-64 Details
pywordfreq-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
pywordfreq-0.4.2-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
pywordfreq-0.4.2-cp311-cp311-macosx_10_7_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.7+ x86-64 Details
pywordfreq-0.4.2-cp310-none-win_amd64.whl CPython 3.10 none Windows x86-64 Details
pywordfreq-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
pywordfreq-0.4.2-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
pywordfreq-0.4.2-cp310-cp310-macosx_10_7_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.7+ x86-64 Details
pywordfreq-0.4.2-cp39-none-win_amd64.whl CPython 3.9 none Windows x86-64 Details
pywordfreq-0.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
pywordfreq-0.4.2-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
pywordfreq-0.4.2-cp39-cp39-macosx_10_7_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.7+ x86-64 Details
pywordfreq-0.4.2-cp38-none-win_amd64.whl CPython 3.8 none Windows x86-64 Details
pywordfreq-0.4.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
pywordfreq-0.4.2-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details
pywordfreq-0.4.2-cp38-cp38-macosx_10_7_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.7+ x86-64 Details
pywordfreq-0.4.2-cp37-none-win_amd64.whl CPython 3.7 none Windows x86-64 Details
pywordfreq-0.4.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details
pywordfreq-0.4.2-cp37-cp37m-macosx_11_0_arm64.whl CPython 3.7 CPython 3.7 pymalloc macOS 11.0+ ARM64 Details
pywordfreq-0.4.2-cp37-cp37m-macosx_10_7_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.7+ x86-64 Details

Total release size: 94.4 MB

Release files / pywordfreq-0.4.2-cp311-none-win_amd64.whl

Download URL pywordfreq-0.4.2-cp311-none-win_amd64.whl
Size 4.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
9a1b19906a5e66593b00ca032f6d3399a6286b507e0ca89404b846415f03501a
BLAKE2b-256 checksum
How to use checksums
bee7dd244b451bc6aa23fcbf3907f4ef5f03202843f76f80cf6acd0984476b9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pywordfreq-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.8 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
0294146aa5180b4f2748572762ec88360053c61e0516e37617352d76e9aebc9f
BLAKE2b-256 checksum
How to use checksums
cc14128eb2e4f24f670559c3e9a19a54a9dc4063598c231d42b4582ed0f960d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp311-cp311-macosx_11_0_arm64.whl

Download URL pywordfreq-0.4.2-cp311-cp311-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ebdff75b5ad20484457667aec3943e0384e85172be5f3b5bdf42cf4a5094492d
BLAKE2b-256 checksum
How to use checksums
282d6ff162f36a10b29e5578f7583ea0b1499bc96aa60724505000a938f3c68c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp311-cp311-macosx_10_7_x86_64.whl

Download URL pywordfreq-0.4.2-cp311-cp311-macosx_10_7_x86_64.whl
Size 4.7 MB
Tags CPython 3.11 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
24d20b55d1112735d550cc0e4b56cfad7a18a8f7c7aa9f48331f2032a33b1f68
BLAKE2b-256 checksum
How to use checksums
91bebe0ddadb2383d4726dd76d139cb50d5aabd29e4c482920a9d9e9e2c86868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp310-none-win_amd64.whl

Download URL pywordfreq-0.4.2-cp310-none-win_amd64.whl
Size 4.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
3091814d1e6b92f0909db5fc2d59fcef68aed7ea9cc949315bc181a270ea02ae
BLAKE2b-256 checksum
How to use checksums
6c81df5d0457b8019782867a408b8938700e7c1c819af9805f49c6f2906b9728
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pywordfreq-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a4d8d4f0d2d6231742177c783ca6d8699e56bf33f708260e7263ec7fae555c9f
BLAKE2b-256 checksum
How to use checksums
8021fd74fb3e47659f54c329fc702f1bc8e70acde5d8e39f07112411f96461c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp310-cp310-macosx_11_0_arm64.whl

Download URL pywordfreq-0.4.2-cp310-cp310-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6270fec4a36031fe503b8d5e8b9ecec8267544031fca139c2b14b7cb78665480
BLAKE2b-256 checksum
How to use checksums
04b10e0aaafcac0146827b0be87217cd3b9600f54454fe7705744437894ad081
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp310-cp310-macosx_10_7_x86_64.whl

Download URL pywordfreq-0.4.2-cp310-cp310-macosx_10_7_x86_64.whl
Size 4.7 MB
Tags CPython 3.10 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
965cdccc25d1d25f7675501ad77c6836ea9dac7aa8566cde264013829a655871
BLAKE2b-256 checksum
How to use checksums
92cebf6acc810d411c399e835dd3d809a4131c10d1f0718b0fc31d35a2d35ecb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp39-none-win_amd64.whl

Download URL pywordfreq-0.4.2-cp39-none-win_amd64.whl
Size 4.7 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
0a3d8a23cd0544764be420d4dcf887f6aba677a50c2c65b1949cb1aee8dacb72
BLAKE2b-256 checksum
How to use checksums
5652903a8d8ead97406b92595570d5a79bedcf03643726f1276710baf1f99497
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pywordfreq-0.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.8 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
268f02b4b62a19d40bdf965bef2fa6037cca05845e8e507de8a1658f66c3f4e2
BLAKE2b-256 checksum
How to use checksums
c074aadd0ffb9f6c686c44ffe9c582f68ef3b44880324f9ab0d1d8f58d9db897
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp39-cp39-macosx_11_0_arm64.whl

Download URL pywordfreq-0.4.2-cp39-cp39-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a18af4f93e8a4e59e26a43f38d36394f4e5b169182742dc5efe4bfb867d87ab4
BLAKE2b-256 checksum
How to use checksums
e5853974f9a6c9b1c31d0f2f39d03de618701d8e2ed26275da30285ac0063a4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp39-cp39-macosx_10_7_x86_64.whl

Download URL pywordfreq-0.4.2-cp39-cp39-macosx_10_7_x86_64.whl
Size 4.7 MB
Tags CPython 3.9 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
70ebbfd6161c0fe4a17d8d453f174978781ee5de6903247440a3e7d47063f208
BLAKE2b-256 checksum
How to use checksums
50cf6c1d166e9c646b8865d6843477151db0e3f520cd56ac2613d226fa29c233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp38-none-win_amd64.whl

Download URL pywordfreq-0.4.2-cp38-none-win_amd64.whl
Size 4.7 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
47b44b8d5fd1193dc908ae1a354ea5617f9fcaf0398a943a86a04299afd57c34
BLAKE2b-256 checksum
How to use checksums
d75f8943de137f4a0874942c4dd255bbc17a57ae20e38fb7140826195758d024
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pywordfreq-0.4.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.8 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8522762d994faee4dba88f126f0e189dec921f5770351709b18179c0bc7194c9
BLAKE2b-256 checksum
How to use checksums
7b885d7bc4459499d4631d89875bd1ae585c2e6e816f8fad1456aa65f5b3a4ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp38-cp38-macosx_11_0_arm64.whl

Download URL pywordfreq-0.4.2-cp38-cp38-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
60396ded53792e48c0b6acea6c3d7a37cc5bda29b0ede4ff9acc41e128d7e13f
BLAKE2b-256 checksum
How to use checksums
b7c51857c4d0a92fcd9fa6233658daf545b5d11191836f16fd559d0f8d6fa26f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp38-cp38-macosx_10_7_x86_64.whl

Download URL pywordfreq-0.4.2-cp38-cp38-macosx_10_7_x86_64.whl
Size 4.7 MB
Tags CPython 3.8 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
8292ed71fd0bf0479d43151cde647c21b7fe858a2bd54747afc5952521789d0e
BLAKE2b-256 checksum
How to use checksums
0792df1d3da84931b72251fa1be380018541cd53076863250be71d7420788a3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp37-none-win_amd64.whl

Download URL pywordfreq-0.4.2-cp37-none-win_amd64.whl
Size 4.7 MB
Tags CPython 3.7 Windows x86-64
SHA-256 checksum
How to use checksums
e0f1c58ed44d42006f01986876e3213540a04d034ea99b3a1bc2e30375e9d854
BLAKE2b-256 checksum
How to use checksums
3f8411d76264de9807db3f8255be23dae2137dc888a18956f1c843d1809fe651
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pywordfreq-0.4.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
733379dc05e98a72d16f0868aecb5b75bd537733d743c4028ec5d082fb643c1e
BLAKE2b-256 checksum
How to use checksums
02cd8d69d73cea16c949558e5504ca52433072c4541f7aa5230cd97e7ae927d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp37-cp37m-macosx_11_0_arm64.whl

Download URL pywordfreq-0.4.2-cp37-cp37m-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
259c234f7b124fb5771f949548c6972d9e13dec69088bf6121fe1ae306592245
BLAKE2b-256 checksum
How to use checksums
0c84762e0f0af2a751dd526d37b9588eb37d830c485e0ece0caeb37262114ce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / pywordfreq-0.4.2-cp37-cp37m-macosx_10_7_x86_64.whl

Download URL pywordfreq-0.4.2-cp37-cp37m-macosx_10_7_x86_64.whl
Size 4.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
ae8c7fd15071cfbbdc245243e5eab1de0b9ba6ff9c2d41ac6ace1de74f19f33b
BLAKE2b-256 checksum
How to use checksums
f2aab926484da1c91a9257edbaf58ec19676c028bc876334838a145008c7fad1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Security for pywordfreq 0.4.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page