{"id":27220055,"url":"https://github.com/xansaul/django-tools","last_synced_at":"2026-05-19T14:37:10.382Z","repository":{"id":236583692,"uuid":"792907801","full_name":"xansaul/django-tools","owner":"xansaul","description":"Command-Line Interface to create APIs quickly in Django","archived":false,"fork":false,"pushed_at":"2024-04-29T19:42:03.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T08:33:32.795Z","etag":null,"topics":["cli","django","django-rest-framework","rest-api","rust"],"latest_commit_sha":null,"homepage":"","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/xansaul.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":"2024-04-27T22:20:02.000Z","updated_at":"2024-04-29T19:42:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"285a5b89-b3eb-434f-bbef-2a03bd4dc58a","html_url":"https://github.com/xansaul/django-tools","commit_stats":null,"previous_names":["xansaul/django-tools"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xansaul/django-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xansaul%2Fdjango-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xansaul%2Fdjango-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xansaul%2Fdjango-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xansaul%2Fdjango-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xansaul","download_url":"https://codeload.github.com/xansaul/django-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xansaul%2Fdjango-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273416783,"owners_count":25101808,"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-09-03T02:00:09.631Z","response_time":76,"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":["cli","django","django-rest-framework","rest-api","rust"],"created_at":"2025-04-10T06:51:48.695Z","updated_at":"2026-05-19T14:37:10.341Z","avatar_url":"https://github.com/xansaul.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Tools CLI\n\nDjango Tools CLI is a command-line interface (CLI) tool written in Rust 🦀 to quickly create APIs in Django. It provides commands to generate different components of a Django project, such as ViewSet, ApiView, and new projects.\n\n## Requirements\n\n- Windows or Linux\n  - For Linux, `sh` (shell) environment is required.\n- Python 3 or later\n- Rust 🦀 (Optional: Required only if you want to compile or modify the project)\n\n## Installation\n\n1. **Download binaries**: You can download pre-built binaries for your operating system from the [releases section](https://github.com/xansaul/django-tools/releases) of the Django Tools CLI GitHub repository.\n\n2. **Build from source (Alternative)**: If you prefer, you can build the project from the source code. Clone the repository and navigate to the project directory. Then, follow these steps:\n\n    - **Windows**:\n        - Take the generated `.exe` file, for example, `django-tools.exe`, and place it in a directory of your choice. For instance, you can place it in `C:\\Program Files`.\n        - Copy the entire directory path where the `.exe` file is located.\n        - Add the copied directory path to the system's environment variables. To do this:\n            - Search for \"Environment Variables\" in the Windows search bar and open the system's environment variables settings.\n            - In the System Properties window, click on the \"Environment Variables\" button.\n            - Under \"System variables\", find the \"Path\" variable, select it, and click on \"Edit\".\n            - Click on \"New\" and paste the directory path where the `.exe` file is located.\n            - Click \"OK\" on all windows to save the changes.\n\n    - **Linux**:\n        - Take the generated binary file (executable), typically located at `target/release/django-tools` after building the project.\n        - Move or copy the binary file to `/usr/local/bin` directory using the following command:\n            ```\n            sudo cp target/release/django-tools /usr/local/bin/\n            ```\n        - You might need to use `sudo` to have the necessary permissions to copy the file.\n## Usage\n\nYou can utilize Django Tools CLI with the following commands:\n\n### Creating a new project:\n\nTo initiate a new Django project, use the following command:\n```bash\ndjango-tools Project -n backend\n```\nThis command will create a new Django project named \"backend\".\n\n### Creating a ViewSet app:\nTo generate a ViewSet app within your Django project, use the following command:\n```bash\ndjango-tools ViewSet -n ducks\n```\nThis command will generate a ViewSets app named \"ducks\" within your Django project.\n\n### Creating an ApiView app:\n\nTo generate an ApiView app within your Django project, use the following command:\n```bash\ndjango-tools ApiView -n dogs\n```\nThis command will create an ApiView app named \"dogs\" within your Django project.\n\n\n![Captura de pantalla 2024-04-27 184334](https://github.com/xansaul/django-tools/assets/90731443/f135967b-59bd-437a-8160-69a31058f2a8)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxansaul%2Fdjango-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxansaul%2Fdjango-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxansaul%2Fdjango-tools/lists"}