Skip to main content

Britannica Dictionary Crawler

This package allows you to scrape word entries, definitions, parts of speech, and the word of the day from the Britannica Dictionary.

Installation

You can install the package directly from GitHub using pip:

pip install git+https://github.com/Esubaalew/Dictionary.git

Alternatively, after publishing to PyPI, you can install the package like this:

pip install britannica-dictionary
from dictionary.britannica import get_entries, get_definitions, get_word_of_the_day

# Get related entries for a word
entries = get_entries('python')
print(entries)

# Get word definitions
definitions = get_definitions('python')
print(definitions)

# Get word of the day
word_of_the_day = get_word_of_the_day()
print(word_of_the_day)

Functions

1. get_entries(word)

Fetches related entries for a word from Britannica Dictionary.

Args:

  • word (str): Word to search for.

Returns:

  • list: List of dictionaries containing the text and link of each entry.

2. get_definitions(word)

Fetches definitions and examples for a word from Britannica Dictionary.

Args:

  • word (str): Word to search for.

Returns:

  • list: List of dictionaries containing the meaning and examples of word usage.

3. get_word_of_the_day()

Fetches the word of the day from Britannica Dictionary.

Returns:

  • dict: Dictionary containing the word, part of speech, image, and meanings.

Features

  • Get related entries for any word
  • Fetch definitions and examples of word usage
  • Retrieve the word of the day from Britannica Dictionary

Metadata

Release files for britannica-dictionary 0.1.1

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

Source distribution (sdist)

Source distribution for britannica-dictionary 0.1.1
File Size Uploaded Provenance
britannica_dictionary-0.1.1.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for britannica-dictionary 0.1.1
File Interpreter ABI Platform
britannica_dictionary-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / britannica_dictionary-0.1.1.tar.gz

Download URL britannica_dictionary-0.1.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c32c307adc0d7d15de12e7bf012bb24e0c66416e520ecf0e74b6bdffc6137748
BLAKE2b-256 checksum
How to use checksums
6b29b97dc982a9f05f8c17feb2d6cea38f473d872ecf37a19528ee38fe0c9628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / britannica_dictionary-0.1.1-py3-none-any.whl

Download URL britannica_dictionary-0.1.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7c139c93a62da5e48bf8a7bc5553be8dd858f19b49cb88e34581ddbecbcb879
BLAKE2b-256 checksum
How to use checksums
a27b99cdda42d008f292668195fe7150c496b5751f1ff6690a0c9a3ee3698bab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Security for britannica-dictionary 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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