Skip to main content

(WIP) Look up Spanish words on Wiktionary

Project description

palabras

(WIP) CLI app to look up Spanish words on Wiktionary

PyPI version

Tests

Usage

Call from command line like this:

palabras ser
Verb: ser (first-person singular present soy, first-person singular preterite fui, past participle sido)
- to be (essentially or identified as)
- to be (in the passive voice sense)
- to exist; to occur

Noun: ser m (plural seres)
- a being, organism
- nature, essence
- value, worth

For more compact output:

palabras ser --compact
ser
- to be (essentially or identified as)
- to be (in the passive voice sense)
- to exist; to occur
- a being, organism
- nature, essence
- value, worth

Install

Install with pip:

pip install palabras

Dev setup

You'll probably want to do this in a virtualenv or conda env, or using another isolation method of your choice.

Clone the repo and cd into the root directory:

git clone git@github.com:paavopere/palabras.git
cd palabras

Or start from here 👇 if you already got the repo and are in the root directory palabras.

Install the package from current directory with [test] dependencies in editable mode (-e):

pip install -e '.[test]'

Checks

Run tests, linter, and type checks:

pytest
flake8
mypy palabras --ignore-missing-imports

... or in one go:

tox

All checks should pass and test coverage should be 100% of lines.

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

palabras-0.4.2.tar.gz (184.8 kB view details)

Uploaded Source

Built Distribution

palabras-0.4.2-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file palabras-0.4.2.tar.gz.

File metadata

  • Download URL: palabras-0.4.2.tar.gz
  • Upload date:
  • Size: 184.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for palabras-0.4.2.tar.gz
Algorithm Hash digest
SHA256 8b50be139b5c76cd86f520340c824ce0b03a2b07998ceb502acc7eed6931f4c4
MD5 4c759b23f5e73ebded3f190048cbdb27
BLAKE2b-256 bb3c00a01a115c48584b81771b68233474769d582e57b243527350d3ab722f48

See more details on using hashes here.

File details

Details for the file palabras-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: palabras-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for palabras-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 62e1f7c7e46d0335d15bb4eda84deff9cabfbcdab50d5936a0d00f6d6731e463
MD5 8d72b92efbcee358f43102588b9f2891
BLAKE2b-256 2ee48b2b841d5b08c92ea6bc9ed05d2b8c7db335380cca06a05ec7b1029be7b8

See more details on using hashes here.

Supported by

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