Add a short description here!
Project description
Conjugator
A conjugator for spanish verbs. You have to provide a spanish verb and the type of the desired conjugation.
Description
Installation:
pip install conjugator
Example usage:
>>> from conjugator.spanish import conjugate
>>> conjugate("buscar", "Indicative")
Person Present Preterite Imperfect Conditional Future
0 yo busco busqué buscaba buscaría buscaré
1 tú buscas buscaste buscabas buscarías buscarás
2 él/ella/Ud. busca buscó buscaba buscaría buscará
3 nosotros buscamos buscamos buscábamos buscaríamos buscaremos
4 vosotros buscáis buscasteis buscabais buscaríais buscaréis
5 ellos/ellas/Uds. buscan buscaron buscaban buscarían buscarán
The following types are supported:
'Indicative',
'Subjunctive',
'Imperative',
'Continuous (Progressive)',
'Perfect',
'Perfect Subjunctive'
The conjugate-method returns a pandas DataFrame object.
Example:
>>> df = conjugate("bailar", "Subjunctive")
>>> df[["Person", "Present"]]
Person Present
0 yo baile
1 tú bailes
2 él/ella/Ud. baile
3 nosotros bailemos
4 vosotros bailéis
5 ellos/ellas/Uds. bailen
For further reference read: https://pandas.pydata.org/pandas-docs/stable/getting_started/comparison/comparison_with_sql.html
Note
This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for conjugator-1.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d99968ec8956316fc85195be679a3bf5868d03bbd8bc30f18a9a9b574f11e16c |
|
MD5 | 181982cd0757522a35dc853b0aa4f1e6 |
|
BLAKE2b-256 | 31233e41031f61e894b566b2a7f60a40cee87b28d12eace33148eb5c65afeb6b |