{"id":16276530,"url":"https://github.com/virgesmith/pycrypto-rs","last_synced_at":"2025-04-08T16:53:02.776Z","repository":{"id":87710804,"uuid":"324848892","full_name":"virgesmith/pycrypto-rs","owner":"virgesmith","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-17T13:09:51.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T13:28:23.299Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/virgesmith.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":"2020-12-27T21:05:55.000Z","updated_at":"2022-07-17T13:09:53.000Z","dependencies_parsed_at":"2023-03-13T18:39:50.541Z","dependency_job_id":null,"html_url":"https://github.com/virgesmith/pycrypto-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpycrypto-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpycrypto-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpycrypto-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpycrypto-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virgesmith","download_url":"https://codeload.github.com/virgesmith/pycrypto-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247888243,"owners_count":21012996,"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":[],"created_at":"2024-10-10T18:48:43.650Z","updated_at":"2025-04-08T16:53:02.738Z","avatar_url":"https://github.com/virgesmith.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python-rust binding with pyo3 and maturin\n\nThis replicates the functionality of the command-line crypto-rs module as a python module.\n\n## Prerequisites\n\nIt uses the maturin and py03 crates for creating rust-implemented python modules.\n\nFirstly, you need a working rust installation, and the [crypto-rs](https://github.com/virgesmith/crypto-rs) repo installed alongside this one (i.e. both have same parent directory).\n\nThen install the python dependencies (virtualenv recommended):\n\n```sh\npip install maturin\n```\n\nBuild locally:\n\n```sh\nmaturin develop\n```\n\nTest:\n\n```sh\npytest.py\n```\n\n## References\n\n[py03 docs](https://docs.rs/pyo3/0.13.0/pyo3/index.html)\n\n[py03 repo with examples](https://github.com/PyO3/pyo3)\n\n[maturin docs](https://docs.rs/maturin/0.8.3/maturin/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirgesmith%2Fpycrypto-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirgesmith%2Fpycrypto-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirgesmith%2Fpycrypto-rs/lists"}