Клиент к сервису glvrd.ru
Project description
glvrd - неофициальный клиент к сервису glvrd.ru
Это неофициальный и не production-ready клиент для замечательного сервиса проверки текстов - glvrd.ru. Работает в обход API, так что на особую скорость советую не расчитывать.
Устанавливается так:
pip install glvrd
Пример кода:
from glvrd import GlvrdClient
client = GlvrdClient()
text = 'Это неофициальный и не production-ready клиент для замечательного сервиса проверки текстов - glvrd.ru. Работает в обход API, так что на особую скорость советую не расчитывать.'
def print_estimate(estimate, what_is_it):
print(f'{what_is_it}: {estimate.estimate}/10')
for error_name, examples in estimate.errors.items():
print(f'{error_name}:')
for example in examples:
print(f'\t{example}')
print()
print_estimate(client.estimate_clarity(text), 'Чистота')
print_estimate(client.estimate_readability(text), 'Читаемость')
... выдаст что-то вроде:
Чистота: 8.1/10
Необъективная оценка:
замечательного
Усилитель:
особую
Читаемость: 8.8/10
В начале предложения нет глагола:
Это неофициальный и не production-ready клиент для замечательного сервиса
Подозрение на парцелляцию:
Работает в обход
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glvrd-0.0.5.tar.gz.
File metadata
- Download URL: glvrd-0.0.5.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fc2a7116787238df8349ef5cc210c3a82d4b3a1654a220146cfde322625c61c
|
|
| MD5 |
1c4725d5c1e249478ffe91266015e514
|
|
| BLAKE2b-256 |
e0183537cf39df57f9459e5fdddd5fce0caa5f27917cec823db54fd3424d527c
|
Provenance
The following attestation bundles were made for glvrd-0.0.5.tar.gz:
Publisher:
release.yml on pomponchik/glvrd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
glvrd-0.0.5.tar.gz -
Subject digest:
1fc2a7116787238df8349ef5cc210c3a82d4b3a1654a220146cfde322625c61c - Sigstore transparency entry: 179478323
- Sigstore integration time:
-
Permalink:
pomponchik/glvrd@39f22d243c647ec30b35c99644e9eaafaff978fd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pomponchik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@39f22d243c647ec30b35c99644e9eaafaff978fd -
Trigger Event:
push
-
Statement type:
File details
Details for the file glvrd-0.0.5-py3-none-any.whl.
File metadata
- Download URL: glvrd-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
266b6d27ce93500ad3afa5b79053aa6410c63f8f42fb7ab0ce4483201ae2fcc8
|
|
| MD5 |
a7f006d2d5de32bba15e4795bddeb874
|
|
| BLAKE2b-256 |
5dbaf7e4d19bf43c3b7443ee60ae348acf822a2887ad3dbcbdc3f9ce59beeb82
|
Provenance
The following attestation bundles were made for glvrd-0.0.5-py3-none-any.whl:
Publisher:
release.yml on pomponchik/glvrd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
glvrd-0.0.5-py3-none-any.whl -
Subject digest:
266b6d27ce93500ad3afa5b79053aa6410c63f8f42fb7ab0ce4483201ae2fcc8 - Sigstore transparency entry: 179478325
- Sigstore integration time:
-
Permalink:
pomponchik/glvrd@39f22d243c647ec30b35c99644e9eaafaff978fd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pomponchik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@39f22d243c647ec30b35c99644e9eaafaff978fd -
Trigger Event:
push
-
Statement type: