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
case_insensitive_string_set-1.1.0.tar.gz 6.5 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.0.1

2 release files

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