{"id":25602772,"url":"https://github.com/vizonex/pyrx2","last_synced_at":"2026-05-20T05:33:09.336Z","repository":{"id":278696348,"uuid":"936478713","full_name":"Vizonex/pyrx2","owner":"Vizonex","description":"A Fork of the Original PYRX RandomX Python Library in Cython ","archived":false,"fork":false,"pushed_at":"2025-02-21T07:05:17.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T07:31:24.588Z","etag":null,"topics":["cryptominer","cython","monero","python","python3","randomx"],"latest_commit_sha":null,"homepage":"","language":"Cython","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vizonex.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":"2025-02-21T06:45:15.000Z","updated_at":"2025-02-21T07:08:35.000Z","dependencies_parsed_at":"2025-02-21T07:31:26.570Z","dependency_job_id":"0b339843-6bab-43a8-93a8-513d969b1c99","html_url":"https://github.com/Vizonex/pyrx2","commit_stats":null,"previous_names":["vizonex/pyrx2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vizonex/pyrx2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizonex%2Fpyrx2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizonex%2Fpyrx2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizonex%2Fpyrx2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizonex%2Fpyrx2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vizonex","download_url":"https://codeload.github.com/Vizonex/pyrx2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizonex%2Fpyrx2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270976625,"owners_count":24678529,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cryptominer","cython","monero","python","python3","randomx"],"created_at":"2025-02-21T17:24:00.361Z","updated_at":"2026-05-20T05:33:09.309Z","avatar_url":"https://github.com/Vizonex.png","language":"Cython","funding_links":[],"categories":[],"sub_categories":[],"readme":"PYRX2\n-----\n\nA Forked Version of the original PYRX for Mining Monero \u0026 Other Crypto Currencies as well as being used \nfor Malware research. It was my intent and goal to understand how cryptojacking works and why the original\nlibrary made kind of sucked at delivering what people may have been looking for. There were many limitations\nwith the original which is why I said enough was enough so I made a better one. \n\n\n## Changes Made From the Original Version\n\n- Code is now written in `Cython` instead of in `C/C++/pybind11` making the library easier to maintain and safer to \n  install without requiring jack-shit or specific things to install.\n\n- `RXMiner` class is designed to be isolated for use with multiprocessing. No More static Global Variables\n\n- __Windows__ is no longer bound to requiring __WSL__ , __cmake__ and the __git__ command which was a deterrent for many developers from using the original PYRX library.\n\n- __OpenMP__ ([Cython's Parallel Library](https://cython.readthedocs.io/en/latest/src/userguide/parallelism.html)) is used in trade of windows-threads and pthreads directly.\n\n- `setup.py` Compiles RandomX Directly instead of via-cmake\n\n## Requirements\n- Visual Studio C/C++ Extension if your on Windows and you \nwish to compile this yourself\n- `3.9+` is supported. Older Versions are discouraged because I don't program on them.\n\n```python\nfrom pyrx2 import RXMiner, RXFlags, get_flags\nimport binascii\n\nseed_hash = binascii.unhexlify('63eceef7919087068ac5d1b7faffa23fc90a58ad0ca89ecb224a2ef7ba282d48')\n\n\ndef main():\n    # Obtain Default Flags\n    flags = get_flags()\n\n    # Example if we wanted 2 mining threads \u0026 Cutsom Flags \n    # (Custom flags is Optional)\n    miner = RXMiner(flags, 2)\n    seed_height = 1\n    print(\"mining...\")\n    output = miner.mine(b'my input', seed_hash, seed_height)\n    print(binascii.hexlify(output).decode('utf-8'))\n\nif __name__ == \"__main__\":\n    main()\n\n```\n\n## Pull Requests Are Welcome\n- There's a lot of limitations on my plate so any suggestions and pull requests are welcome. \n\n\n## Todos\n- [ ] pypi release\n- [ ] testing pyrx2\n- [ ] There's a possibility to turn it into an optional Cython Extension as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvizonex%2Fpyrx2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvizonex%2Fpyrx2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvizonex%2Fpyrx2/lists"}