Skip to main content

Oxford dictionary python library

Project description

oxfordpy

GitHub issues GitHub forks GitHub stars GitHub license

oxfordpy is a python library for the oxford dictionary API.

Installation

Use the package manager pip to install oxfordpy.

Installation using pip

pip install oxfordpy

Installation from source

git clone https://github.com/spacesudo/oxfordpy.git
cd oxfordpy
python setup.py

Usage

import oxfordpy

dictionary = oxfordpy.Oxford()

search = dictionary.entries("example") #search for "example"

print(search)

Configuration

To configure the library pass your configurations to the oxfordpy() class.

import oxfordpy
oxford = oxfordpy.Oxford(app_id = "<your id>",app_key = "<your key>",timeout = (2,6)) #timeout should be a tuple

Common Issues

Authentification error

Please now that the api key and id used for this package is for test purpose only. Some features of the API are not accessible with a Developer API credentials.

If you face any other issue please kindly let me know

Roadmap

Please know that this library is still under development

Future updates of this library will have advanced features and probably use other dictionary API like Meriam Webster support and others

while this library is production ready please remember to regularly update the library using pip install oxfordpy --upgrade

Social media

You can follow me on:

Twitter @derankem

or send a message on telegram @spacesudo

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

This project is licensed under the MIT License.

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

oxfordpy-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file oxfordpy-1.0.0.tar.gz.

File metadata

  • Download URL: oxfordpy-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.8

File hashes

Hashes for oxfordpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e2f63b2a770192e2174d24d4f7a3c1237935414ce97998d9aa964a729434fa1e
MD5 fc47c9c73ea439485bcb27700b0883bd
BLAKE2b-256 11ac8437c6b379f8de76e6468fe14cdf42523f0ed1b01070e7ffefcba14a7200

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page