Skip to main content

Клиент к сервису glvrd.ru

Project description

glvrd - неофициальный клиент к сервису glvrd.ru

Downloads Downloads codecov Hits-of-Code Tests Python versions PyPI version Checked with mypy Ruff

Это неофициальный и не 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

glvrd-0.0.5.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glvrd-0.0.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for glvrd-0.0.5.tar.gz
Algorithm Hash digest
SHA256 1fc2a7116787238df8349ef5cc210c3a82d4b3a1654a220146cfde322625c61c
MD5 1c4725d5c1e249478ffe91266015e514
BLAKE2b-256 e0183537cf39df57f9459e5fdddd5fce0caa5f27917cec823db54fd3424d527c

See more details on using hashes here.

Provenance

The following attestation bundles were made for glvrd-0.0.5.tar.gz:

Publisher: release.yml on pomponchik/glvrd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for glvrd-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 266b6d27ce93500ad3afa5b79053aa6410c63f8f42fb7ab0ce4483201ae2fcc8
MD5 a7f006d2d5de32bba15e4795bddeb874
BLAKE2b-256 5dbaf7e4d19bf43c3b7443ee60ae348acf822a2887ad3dbcbdc3f9ce59beeb82

See more details on using hashes here.

Provenance

The following attestation bundles were made for glvrd-0.0.5-py3-none-any.whl:

Publisher: release.yml on pomponchik/glvrd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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