Install and use Vale (grammar & style check tool) in python environments.
Project description
Vale Python Package
⚠️ Vale is a software developed by errata.ai and a community of open-source contributors. This repository just makes that software available to Python users. The author is not affiliated nor endorsed by errata.ai.
Vale is a command-line tool that can enforce an editorial style guide onto your text. It's written in Go. The purpose of this package is to allow Python users to have Vale as a dependency of a Python application or library and this way allow installing Vale without resorting to manual installation or similar.
Installation
You can add vale
package as a dependency in your setup.py
,
requirements.txt
or pyproject.toml
file depending on how are you managing
dependencies. For example, in requirements.txt
:
vale==3.9.0
The version of this Python package corresponds exactly to Vale's version. That
is, if you add vale==2.20.0
as a dependency, Vale with that same version will
be installed. Note that Vale as such is not included in this package but
downloaded the first time you execute vale
.
Releasing (only for contributors)
New releases using the last Vale versions are delivered in an automated way. See Version Bump if Vale Updated workflow. The new versions of Vale are checked once a day.
Manual release
- Change version in
pyproject.toml
. Changing the version changes the version of Vale that gets downloaded. See note below. - Commit & push.
- Github's Actions will deal with the new release.
Note: Pypi doesn't allow to re-release (even if releases or projects are
deleted). If you want to release this package for a new version of Vale, just
update the version
attribute found in pyproject.toml
so that it matches the
version of Vale that you want to release. If something needs to be fixed in
this package, use or increase the 4th number in the version in
pyproject.toml
. The 4th number will be ignored when it comes to downloading
Vale but will be used to release the package to PyPi.. For example, if you use
2.20.0.1
, this package will try to download vale==2.20.0
. The python
package version will still be 2.20.0.1
in PyPi.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vale-3.9.0.0.tar.gz
.
File metadata
- Download URL: vale-3.9.0.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e9ca14bddcb44330571d9d7aae953043a66853d3904425cbfb41c4742c0a047 |
|
MD5 | 2b6ad3fc8b3a5a45d4e2568c4cc3a2aa |
|
BLAKE2b-256 | bc309e7e52b2bf72924fca1624822c3cbee782609f113e4601c7415576dad693 |
Provenance
The following attestation bundles were made for vale-3.9.0.0.tar.gz
:
Publisher:
publish.yml
on daniperez/vale-python-package
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
vale-3.9.0.0.tar.gz
- Subject digest:
0e9ca14bddcb44330571d9d7aae953043a66853d3904425cbfb41c4742c0a047
- Sigstore transparency entry: 148092887
- Sigstore integration time:
- Predicate type:
File details
Details for the file vale-3.9.0.0-py3-none-any.whl
.
File metadata
- Download URL: vale-3.9.0.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6bceb2060e32f37b490218991e48a05ac5e5c891ee4d1f7b315461f09b45232 |
|
MD5 | 8e43c9c50259332b08706a4af51e485d |
|
BLAKE2b-256 | fa5cb868d3ca055298c5109f0f1cf54d88a8eee3cbecdf72274f75532b121004 |
Provenance
The following attestation bundles were made for vale-3.9.0.0-py3-none-any.whl
:
Publisher:
publish.yml
on daniperez/vale-python-package
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
vale-3.9.0.0-py3-none-any.whl
- Subject digest:
d6bceb2060e32f37b490218991e48a05ac5e5c891ee4d1f7b315461f09b45232
- Sigstore transparency entry: 148092888
- Sigstore integration time:
- Predicate type: