Python API for Dicio.com.br
Installation
$ pip install Dicio
Usage
from dicio import Dicio
# Create a Dicio object
dicio = Dicio()
# Search for "Doce" and return an object Word
word = dicio.search("Doce")
# Print the word, the url and the meaning
print(word, word.url, word.meaning)
# Print a list of synonyms
print(word.synonyms)
# Print a list of examples
print(word.examples)
# Print extra informations
for chave, valor in word.extra.items():
print(chave, "=>", valor)
# Load information about the first synonym
# Print the word, the URL and the meaning of the first synonym
word.synonyms[0].load()
print(word.synonyms[0], word.synonyms[0].url, word.synonyms[0].meaning)
Word details
Attributes
- word - the word itself
- url - Dicio.com.br URL for the word
- meaning - the meaning
- etymology - the etymology
Properties
- synonyms - list of synonyms
- examples - list of examples
- extra - dictionary of extra information (keys in portuguese)
Functions
- load - load information from Dicio.com.br
Contribute
If you want to add new features or improve something, send a pull request!
Metadata
Release files for dicio-scrapper 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dicio_scrapper-0.0.1.tar.gz | 4.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dicio_scrapper-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / dicio_scrapper-0.0.1.tar.gz
| Download URL | dicio_scrapper-0.0.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a087ad8d41e6809b26bc361ed0abb9f6f3a5972d7fb97613ad034bba862720fc
|
|
BLAKE2b-256 checksum How to use checksums |
69d2e45863c322905c9b423e65ea14f171cb305939b03626eeaa9790a45f48c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.8
|
Release files / dicio_scrapper-0.0.1-py3-none-any.whl
| Download URL | dicio_scrapper-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b19475b3f9748dc101d3dd3db29ffea5b8fca7ef975ea9fdad9ab775a8fc049
|
|
BLAKE2b-256 checksum How to use checksums |
4e47c5e8c431366004fe90aae47d37192609618924b3cfb50b92257e2227194b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.8
|
Security for dicio-scrapper 0.0.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.