Skip to main content
obj2uni
=======

This packages defines the single function, `obj2uni`, which returns
Unicode strings for sequences of any objects. Each string
has the length equal to the length of the corresponding sequence.
Multiple sequences share the same character mapping.
This function can be useful for other packages which operate on strings faster,
e.g. for computing Levenshtein distance.

```Python
>>> from obj2uni import obj2uni
>>> obj2uni((1, 2, 3, None), ('test', 'ham', 'spam', 3.14159))

(('\x01\x02\x03\x00', '\x07\x05\x06\x04'),
{'\x00': None,
'\x01': 1,
'\x02': 2,
'\x03': 3,
'\x04': 3.14159,
'\x05': 'ham',
'\x06': 'spam',
'\x07': 'test'})
```

Released under MIT license. Copyright © 2016 Mail.Ru Group LLC.

Metadata

Release files for obj2uni 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 obj2uni 1.0
File Size Uploaded Provenance Actions
obj2uni-1.0.tar.gz 2.9 kB Without provenance Details for obj2uni-1.0.tar.gz

Release files / obj2uni-1.0.tar.gz

Download URL obj2uni-1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bf55bf9c4afcef6c71538abc2d6f0b792ae0abad62822b61398685576098c1b8
BLAKE2b-256 checksum
How to use checksums
42444073a12618bcaf75905d7eed5be93a35c5d8b08201d355dd128b04a9cb21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for obj2uni 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

1.0 This release

1 release file 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