retracesoftware.stableset


Nameretracesoftware.stableset JSON
Version 0.1.3 PyPI version JSON
download
home_pageNone
SummaryC-Extension type for python that provides a set implementation that is stable on iteration
upload_time2025-08-21 07:15:18
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseApache-2.0
keywords set stable iteration c-extension data-structure
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # stableset

A C-Extension type for Python that provides a set implementation that is stable on iteration.

## Installation

```bash
pip install retracesoftware.stableset
```

## Usage

```python
import retracesoftware.stableset as stableset

# Create a stable set
s = stableset.set([1, 2, 3, 4, 5])

# Iteration order is stable (consistent across runs)
for item in s:
    print(item)

# Standard set operations work as expected
s.add(6)
s.remove(1)
print(len(s))
```

## Features

- **Stable iteration order**: The order of elements when iterating over the set is consistent across runs
- **High performance**: C-extension implementation for optimal speed
- **Python 3.11+ compatible**: Built for modern Python versions
- **Cross-platform**: Works on macOS (Intel and Apple Silicon), Linux, and Windows

## License

This project is licensed under the Apache License, Version 2.0. See the [LICENSE](LICENSE) file for details.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "retracesoftware.stableset",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "Retrace Software <info@retracesoftware.com>",
    "keywords": "set, stable, iteration, c-extension, data-structure",
    "author": null,
    "author_email": "Retrace Software <info@retracesoftware.com>",
    "download_url": null,
    "platform": null,
    "description": "# stableset\n\nA C-Extension type for Python that provides a set implementation that is stable on iteration.\n\n## Installation\n\n```bash\npip install retracesoftware.stableset\n```\n\n## Usage\n\n```python\nimport retracesoftware.stableset as stableset\n\n# Create a stable set\ns = stableset.set([1, 2, 3, 4, 5])\n\n# Iteration order is stable (consistent across runs)\nfor item in s:\n    print(item)\n\n# Standard set operations work as expected\ns.add(6)\ns.remove(1)\nprint(len(s))\n```\n\n## Features\n\n- **Stable iteration order**: The order of elements when iterating over the set is consistent across runs\n- **High performance**: C-extension implementation for optimal speed\n- **Python 3.11+ compatible**: Built for modern Python versions\n- **Cross-platform**: Works on macOS (Intel and Apple Silicon), Linux, and Windows\n\n## License\n\nThis project is licensed under the Apache License, Version 2.0. See the [LICENSE](LICENSE) file for details.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "C-Extension type for python that provides a set implementation that is stable on iteration",
    "version": "0.1.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/retracesoftware/stableset/issues",
        "Documentation": "https://github.com/retracesoftware/stableset",
        "Homepage": "https://github.com/retracesoftware/stableset",
        "Repository": "https://github.com/retracesoftware/stableset"
    },
    "split_keywords": [
        "set",
        " stable",
        " iteration",
        " c-extension",
        " data-structure"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "380800eaaeccf53317eb983a5ce038a5db29981276fe21da3a9fff3babfca2fd",
                "md5": "d38d5d67de8626b62812353f51c6a714",
                "sha256": "dab34f9ce3cc71d012585489a365978d0817a064e733aa2267a7e49460b3795d"
            },
            "downloads": -1,
            "filename": "retracesoftware_stableset-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "d38d5d67de8626b62812353f51c6a714",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.11",
            "size": 15864,
            "upload_time": "2025-08-21T07:15:18",
            "upload_time_iso_8601": "2025-08-21T07:15:18.269146Z",
            "url": "https://files.pythonhosted.org/packages/38/08/00eaaeccf53317eb983a5ce038a5db29981276fe21da3a9fff3babfca2fd/retracesoftware_stableset-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7003a2663b0d465dc72da2e12385fe470bcfca58fbdda555d1f0fb37e7241ba8",
                "md5": "6d5221f65330fe73bae4e5e68424f466",
                "sha256": "7ae164c72cc81368384984f13abeb7f5f35c17f51a0ebcbc5968f42c0993cae2"
            },
            "downloads": -1,
            "filename": "retracesoftware_stableset-0.1.3-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "6d5221f65330fe73bae4e5e68424f466",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.11",
            "size": 16235,
            "upload_time": "2025-08-21T07:15:19",
            "upload_time_iso_8601": "2025-08-21T07:15:19.705226Z",
            "url": "https://files.pythonhosted.org/packages/70/03/a2663b0d465dc72da2e12385fe470bcfca58fbdda555d1f0fb37e7241ba8/retracesoftware_stableset-0.1.3-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-21 07:15:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "retracesoftware",
    "github_project": "stableset",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "retracesoftware.stableset"
}
        
Elapsed time: 0.99430s