{"id":23849081,"url":"https://github.com/9de/subnet-ip-generator","last_synced_at":"2025-10-29T15:07:45.521Z","repository":{"id":268408646,"uuid":"904260979","full_name":"9de/subnet-ip-generator","owner":"9de","description":"A Python utility for generating random IP addresses within specified subnets. Includes validation, history tracking, and clipboard integration.","archived":false,"fork":false,"pushed_at":"2024-12-16T14:52:12.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T21:51:50.350Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/9de.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-12-16T14:51:02.000Z","updated_at":"2024-12-16T14:52:23.000Z","dependencies_parsed_at":"2024-12-16T15:49:37.263Z","dependency_job_id":"cf4dd8ee-9668-4f03-a9e2-103cd5a48401","html_url":"https://github.com/9de/subnet-ip-generator","commit_stats":null,"previous_names":["9de/subnet-ip-generator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9de%2Fsubnet-ip-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9de%2Fsubnet-ip-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9de%2Fsubnet-ip-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9de%2Fsubnet-ip-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9de","download_url":"https://codeload.github.com/9de/subnet-ip-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240137013,"owners_count":19753648,"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":"2025-01-02T21:50:58.591Z","updated_at":"2025-10-29T15:07:45.412Z","avatar_url":"https://github.com/9de.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# subnet-ip-generator\n\nA Python utility for generating random IP addresses within specified subnets. Perfect for network testing, simulation scenarios, and educational purposes.\n\n## Features\n\n- Generate random IP addresses within any valid IPv4 subnet\n- Input validation and robust error handling\n- Command history tracking\n- Automatic clipboard integration\n- Cross-platform compatibility\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/9de/subnet-ip-generator.git\ncd subnet-ip-generator\n```\n\n2. Install required dependencies:\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\nRun the script:\n```bash\npython subnettoIp.py\n```\n\nAvailable commands:\n- Enter a subnet (e.g., `216.114.75.0/24`) to generate a random IP\n- Type `history` to view previously generated IPs\n- Type `clear` to clear the generation history\n- Type `exit` to quit the program\n\nExample:\n```bash\nEnter a subnet (e.g., 216.114.75.0/24): 192.168.1.0/24\nRandom IP from 192.168.1.0/24: 192.168.1.57\nIP address copied to clipboard.\n```\n\n## Requirements\n\n- Python 3.7+\n- pyperclip\n- ipaddress (included in Python standard library)\n\n## Error Handling\n\nThe tool includes comprehensive error handling for:\n- Invalid subnet formats\n- Network/broadcast address exclusion\n- Clipboard operation failures\n- Keyboard interrupts\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Built using Python's ipaddress library\n- Clipboard functionality provided by pyperclip\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9de%2Fsubnet-ip-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9de%2Fsubnet-ip-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9de%2Fsubnet-ip-generator/lists"}