{"id":35026306,"url":"https://github.com/reflex-dev/ruff-format","last_synced_at":"2025-12-27T06:26:32.489Z","repository":{"id":321271849,"uuid":"1073249754","full_name":"reflex-dev/ruff-format","owner":"reflex-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-28T18:24:31.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-01T17:48:20.979Z","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/reflex-dev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-09T20:39:27.000Z","updated_at":"2025-10-28T18:14:58.000Z","dependencies_parsed_at":"2025-10-28T20:25:54.138Z","dependency_job_id":null,"html_url":"https://github.com/reflex-dev/ruff-format","commit_stats":null,"previous_names":["reflex-dev/ruff-format"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/reflex-dev/ruff-format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflex-dev%2Fruff-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflex-dev%2Fruff-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflex-dev%2Fruff-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflex-dev%2Fruff-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reflex-dev","download_url":"https://codeload.github.com/reflex-dev/ruff-format/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflex-dev%2Fruff-format/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28074180,"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-12-27T02:00:05.897Z","response_time":58,"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":[],"created_at":"2025-12-27T06:26:27.393Z","updated_at":"2025-12-27T06:26:32.478Z","avatar_url":"https://github.com/reflex-dev.png","language":"Rust","readme":"# ruff-format\n\nA fast Python code formatter powered by [Ruff](https://github.com/astral-sh/ruff)'s formatting engine.\n\n## Overview\n\n`ruff-format` is a Python package that provides Python bindings to Ruff's Python formatter.\n\n## Installation\n\n```bash\npip install ruff-format\n```\n\n## Usage\n\n```python\nfrom ruff_format import format_string, is_valid_syntax\n\ncode = \"\"\"\ndef hello(  x,y,   z  ):\n    print( x+y+z )\n\"\"\"\n\nassert is_valid_syntax(code)\n\nformatted = format_string(code)\nprint(formatted)\n```\n\n## Development\n\n### Prerequisites\n\n- Rust (latest stable)\n- Python 3.8+\n- [maturin](https://github.com/PyO3/maturin)\n\n### Building from source\n\n```bash\n# Install maturin\npip install maturin\n\n# Build the package\nmaturin develop\n\n# Or build a release version\nmaturin build --release\n```\n\n## License\n\nMIT\n\n## Links\n\n- [Repository](https://github.com/reflex-dev/ruff-format)\n- [Ruff](https://github.com/astral-sh/ruff)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freflex-dev%2Fruff-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freflex-dev%2Fruff-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freflex-dev%2Fruff-format/lists"}