Skip to main content

GitHub Actions status | sdras/awesome-actions codecov PyPI

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/.

Metadata

Release files for conjugator 1.1.3

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

Source distribution (sdist)

Source distribution for conjugator 1.1.3
File Size Uploaded Provenance Actions
conjugator-1.1.3.tar.gz 13.9 kB Without provenance Details for conjugator-1.1.3.tar.gz

Release files / conjugator-1.1.3.tar.gz

Download URL conjugator-1.1.3.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7e590aac6fc895f2db3ee29d525a9dec7d64482647395691c232a16a5d3a3c3d
BLAKE2b-256 checksum
How to use checksums
25700a5dccf3e57d9cd0ffb1ed99ecad508cbbd0ab567d92edc70f5358de5164
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

Security for conjugator 1.1.3

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.

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