Skip to main content

Case-insensitive string set

A Python package providing an ordered set class for case-insensitive strings.

Useful for doing things like foo in bar where bar is a set of strings and you want the check to be case-insensitive, but also preserve the original casing of the strings in the set when iterating over it.

Inside the CaseInsensitiveStringSet class, a dictionary is used to store the data, which means that insertion order is preserved in Python >= 3.7.

Examples

>>> c = CaseInsensitiveStringSet()
>>> c.add("a")
>>> 'a' in c
True
>>> 'A' in c
True
>>> 'b' in c
False
>>> list(c)
['a']
>>> c.add("A")
>>> list(c)
['a']

Metadata

Release files for case-insensitive-string-set 1.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 case-insensitive-string-set 1.1.0
File Size Uploaded Provenance Actions
case_insensitive_string_set-1.1.0.tar.gz 6.5 kB With provenance Details for case_insensitive_string_set-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for case-insensitive-string-set 1.1.0
File Interpreter ABI Platform Actions
case_insensitive_string_set-1.1.0-py3-none-any.whl Python 3 none any Details for case_insensitive_string_set-1.1.0-py3-none-any.whl

Total release size: 10.7 kB

Release files / case_insensitive_string_set-1.1.0.tar.gz

Download URL case_insensitive_string_set-1.1.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c0b37a47aa8d75d754a2300dc042aa2e342a97b1da1f41d8af26448287b0fa93
BLAKE2b-256 checksum
How to use checksums
765997dc9a0e2a42493ffd0926a34ea1a674004f2d6a28e8b0f57508811fdc7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2025.

Transparency log

Release files / case_insensitive_string_set-1.1.0-py3-none-any.whl

Download URL case_insensitive_string_set-1.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d3e455987e3e64000ceb594483f13d0667ec9b7d00a2441a90af94b6839d934
BLAKE2b-256 checksum
How to use checksums
67040d4227184750edcfc70fbe25b34b58d0d1344a03bc7fec6be6832ea5ffb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2025.

Transparency log

Security for case-insensitive-string-set 1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for case_insensitive_string_set-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2025.

Transparency log

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.

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