{"id":13774885,"url":"https://github.com/imaginationtech/constrainedrandom","last_synced_at":"2025-05-11T07:30:47.386Z","repository":{"id":169785582,"uuid":"645845581","full_name":"imaginationtech/constrainedrandom","owner":"imaginationtech","description":"A Python package for creating and solving constrained randomization problems.","archived":false,"fork":false,"pushed_at":"2024-06-07T18:55:14.000Z","size":466,"stargazers_count":14,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-25T11:59:25.410Z","etag":null,"topics":["constrained","constrained-random","constraint","random","randomization","verification"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/constrainedrandom/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imaginationtech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-26T15:12:06.000Z","updated_at":"2024-07-14T22:51:00.882Z","dependencies_parsed_at":null,"dependency_job_id":"90eb3b76-66c5-4910-b0ce-b786311c928f","html_url":"https://github.com/imaginationtech/constrainedrandom","commit_stats":{"total_commits":109,"total_committers":1,"mean_commits":109.0,"dds":0.0,"last_synced_commit":"e701f875229b05a36907542e8d1119fb278a2deb"},"previous_names":["imaginationtech/constrainedrandom"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaginationtech%2Fconstrainedrandom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaginationtech%2Fconstrainedrandom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaginationtech%2Fconstrainedrandom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaginationtech%2Fconstrainedrandom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imaginationtech","download_url":"https://codeload.github.com/imaginationtech/constrainedrandom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253533080,"owners_count":21923360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["constrained","constrained-random","constraint","random","randomization","verification"],"created_at":"2024-08-03T17:01:31.370Z","updated_at":"2025-05-11T07:30:46.881Z","avatar_url":"https://github.com/imaginationtech.png","language":"Python","funding_links":[],"categories":["Verification Frameworks"],"sub_categories":[],"readme":"# `constrainedrandom`\n\nA package for creating and solving constrained randomization problems.\n\nUse this package to create SystemVerilog-style \"declarative\" randomizable objects in Python.\n\nThis is achieved by providing wrappers around the Python [`random`](https://docs.python.org/3/library/random.html) and [`constraint`](https://pypi.org/project/python-constraint/) packages, and aims to be as efficient as possible in a language like Python.\n\n## This project has moved!\n\nEffective 1 November 2024, Will Keen (the author of this repository) is no longer employed by Imagination Technologies.\n\nTherefore, to enable the original author to continue maintaining it, the repository has been forked:\nhttps://github.com/will-keen/constrainedrandom\n\nThe license of the project remains the MIT license. Imagination Technologies' right to be recognized as the copyright holder has been maintained.\n\nBoth the PyPi page and the Read The Docs page have been changed to point to the new project location. All releases from 1.2.2 onwards will be released from the fork.\n\nReleases up to and including 1.2.1 will remain here for posterity. The author will do all future development work on the fork.\n\n## Installation\n\n```bash\n$ pip install constrainedrandom\n```\n\n## Documentation\n\n[Read the docs here](https://constrainedrandom.readthedocs.io/en/latest/)\n\nTo build the documentation yourself:\n```bash\n$ cd docs\n$ make html\n```\n\nThe index page is at `docs/_build/html/index.html` - you can open this in a web browser.\n\n## Tests and benchmarks\n\nPlease see `tests/README.md` and `benchmarks/README.md` for more information.\n\n## Releases/versioning\n\nReleases are created using tags from the repository and can be found on [PyPI](https://pypi.org/project/constrainedrandom/).\n\nVersioning attempts to follow [Semantic Versioning](https://semver.org/).\n\n## Contributions\n\nPlease feel free to contribute to the project, following these guidelines:\n- Please contribute by creating a fork and submitting a pull request.\n- Pull requests should be as small as possible to resolve the issue they are trying to address.\n- Pull requests must respect the goals of the library, as stated in the documentation.\n- Pull requests should maintain backwards compatibility at least as far as Python 3.8.\n- Pull requests should pass all the tests in the `tests/` directory. Run `python -m tests`.\n- Pull requests should take care not to make performance worse except for cases which require bug fixes. Run `python -m tests` and `python -m benchmarks`.\n- Pull requests should update the documentation for any added/changed functionality.\n\n## `TODO`\n  - Add proper CI using tox or similar, testing Python versions 3.8..current\n  - Add equivalent SystemVerilog testcases for benchmarking.\n\n## Contact the author(s)\n\nWill Keen - william.keen@imgtec.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimaginationtech%2Fconstrainedrandom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimaginationtech%2Fconstrainedrandom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimaginationtech%2Fconstrainedrandom/lists"}