Skip to main content

polishify

Setup

Simply

pip install polishify

Usage

If you have some text that is in Polish but characters look weird it might not be encoded with windows-1250 or iso-8859-2 encoding. If your file is sometext.txt you may

polishify sometext.txt

and it will show you something like

detected encoding is:  windows-1250

If you wish to get this file converted to utf-8 just do

polishify sometext.txt properly-encoded.txt

If you do it in bash script you might not want to see any outputs, the script supports silent mode as follows

polishify sometext.txt properly-encoded.txt --silent

This package contains words with polish letters, you might want to use your own dataset dataset.json file.

polishify sometext.txt properly-encoded.txt --silent --dataset dataset.json

We also provide a tool that generates it from a text

polishify-extract sometext.txt dataset.json --encoding windows-1250

Author

Made by Marek Narożniak, for the world and especially people who have people in the family who needs subtitles in Polish and want to bulk convert their encodings. No warranty provided. Licensed under GPL-3.

Metadata

Release files for polishify 0.1.0

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

Source distribution (sdist)

Source distribution for polishify 0.1.0
File Size Uploaded Provenance Actions
polishify-0.1.0.tar.gz 20.6 kB Without provenance Details for polishify-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polishify 0.1.0
File Interpreter ABI Platform Actions
polishify-0.1.0-py3-none-any.whl Python 3 none any Details for polishify-0.1.0-py3-none-any.whl

Total release size: 41.6 kB

Release files / polishify-0.1.0.tar.gz

Download URL polishify-0.1.0.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
99def97d6e407d67fdcfe6918130ec30e3e9ee03f914de494f56c6d90c3e1086
BLAKE2b-256 checksum
How to use checksums
8f4c9a7d97adcb38ed2b8767da0aa82e3c1e5205448e77f0e2e70708874b0f65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.4

Release files / polishify-0.1.0-py3-none-any.whl

Download URL polishify-0.1.0-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b10f26e4d1947071d28a3565ec5d8c6acff4c8b432d520c3a7954516be54da4
BLAKE2b-256 checksum
How to use checksums
a1e7b4a9ab3cb69a845d0104b8847d60f49c19f1e7404b2ffaa247387f5fdd73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.4

Security for polishify 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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