retracesoftware.stableset


Nameretracesoftware.stableset JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryC-Extension type for python that provides a set implementation that is stable on iteration
upload_time2025-08-18 13:44:24
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.1",
    "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": "76ad623c489660b1f809469cb91cfbd2fec2b7b0a54c5e0b636a359dc8d18aba",
                "md5": "2035c7dc5cb8c41002a9cc7e4da857a0",
                "sha256": "ca5f3ba332316a493e30ce695403d0e77e8b260291a58e1f1f27d808f2fe6a17"
            },
            "downloads": -1,
            "filename": "retracesoftware_stableset-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2035c7dc5cb8c41002a9cc7e4da857a0",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.11",
            "size": 15863,
            "upload_time": "2025-08-18T13:44:24",
            "upload_time_iso_8601": "2025-08-18T13:44:24.453864Z",
            "url": "https://files.pythonhosted.org/packages/76/ad/623c489660b1f809469cb91cfbd2fec2b7b0a54c5e0b636a359dc8d18aba/retracesoftware_stableset-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6c1bb2845f2b32a3393cc0cd805e05d564a438d569e39ae349b6c5e9065d6c61",
                "md5": "2820f0ee528afc67eba0489ec5c08b3f",
                "sha256": "06c12ad70d1b62d2dfcdf9356121b3cac48c2fb4b445403c19de99e5b47d6ac8"
            },
            "downloads": -1,
            "filename": "retracesoftware_stableset-0.1.1-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "2820f0ee528afc67eba0489ec5c08b3f",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.11",
            "size": 16233,
            "upload_time": "2025-08-18T13:44:25",
            "upload_time_iso_8601": "2025-08-18T13:44:25.733880Z",
            "url": "https://files.pythonhosted.org/packages/6c/1b/b2845f2b32a3393cc0cd805e05d564a438d569e39ae349b6c5e9065d6c61/retracesoftware_stableset-0.1.1-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-18 13:44:24",
    "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.86621s