{ "info": { "author": "chowmean", "author_email": "gaurav.dev.iiitm@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Plugins", "Intended Audience :: Developers", "License :: Other/Proprietary License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Azure Vacant IPs\n\nThis package gives you the list of private ip address that are not allocated to any resource. This helps in below scenario.\nIf you want to make an ip static in azure you need to specify the IPs, this means you have to manage the IPs by yourself. This package helps you by\ngetting you the list of IPs that are not allocated and this saves you from cumbersome process of keeping track of IP addresses allowed.\n\nCreating Network interfaces with dynamic ip is easy but for static ip address you need the ip that is not allocated.\n\n## Usage and how it works.\n\n### Installation\n\n```pip install azureips```\n\nYou can import it to use it with your python program.\n\n### Importing in python application\n\n```\nfrom azureips.vacant_ips import VacantIP\nvacant_ips = VacantIP(client_id, client_secret, subscription_id, tenant_id,\n token_url, base_url, api_version, subnet, vnet, resource_group, count)\nvacant_ips.get_vacant_ips()\n#base_url, api_version and token_url can be empty strings.\n```\n\nThis will return an array of ips\n\n### Options\n\n`client_id` : Client id of the app generated in service principle\n\n`client_secret` : Client Secret obtained from app\n\n`subscription_id`\n\n`tenant_id`\n\n`token_url`: Not required\n\n`base_url`: Not required\n\n`api_version`: Not required\n\n`subnet`: Subnet to search for unallocated IP\n\n`vnet`: Vnet to which the subnet belongs\n\n`resource_group`: Resource group in which vnet is present\n\n`count`: Number of IPs that you want as output\n\n\n# Contributing\n\nWhen contributing to this repository, please first discuss the change you wish to make via issue, or any other method with the owners of this repository before making a change.\n\nPlease note we have a code of conduct, please follow it in all your interactions with the project.\n\n## Pull Request Process\n\n1. Ensure any install or build dependencies are removed before the end of the layer when doing a\n build.\n2. Update the README.md with details of changes to the interface, this includes new environment\n variables, exposed ports, useful file locations and container parameters.\n4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you\n do not have permission to do that, you may request the second reviewer to merge it for you.\n\n## Code of Conduct\n\n### Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as\ncontributors and maintainers pledge to making participation in our project and\nour community a harassment-free experience for everyone, regardless of age, body\nsize, disability, ethnicity, gender identity and expression, level of experience,\nnationality, personal appearance, race, religion, or sexual identity and\norientation.\n\n### Our Standards\n\nExamples of behavior that contributes to creating a positive environment\ninclude:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or\nadvances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic\n address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a\n professional setting\n\n### Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable\nbehavior and are expected to take appropriate and fair corrective action in\nresponse to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or\nreject comments, commits, code, wiki edits, issues, and other contributions\nthat are not aligned to this Code of Conduct, or to ban temporarily or\npermanently any contributor for other behaviors that they deem inappropriate,\nthreatening, offensive, or harmful.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chowmean/azureips", "keywords": "azureips,azure,network_interface_ips", "license": "Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "azureips", "package_url": "https://pypi.org/project/azureips/", "platform": "", "project_url": "https://pypi.org/project/azureips/", "project_urls": { "Homepage": "https://github.com/chowmean/azureips" }, "release_url": "https://pypi.org/project/azureips/0.4.3/", "requires_dist": null, "requires_python": "", "summary": "azureIPs: Gives unallocated Azure ips.", "version": "0.4.3" }, "last_serial": 5696725, "releases": { "0.4.2": [ { "comment_text": "", "digests": { "md5": "15f880e7b09ec1bc69b475f7a75dcc14", "sha256": "594e6ed9d490d38fd2b3e8d5104c9842d045ccb65b123ec94e5130b71baa5ed0" }, "downloads": -1, "filename": "azureips-0.4.2.tar.gz", "has_sig": false, "md5_digest": "15f880e7b09ec1bc69b475f7a75dcc14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9238, "upload_time": "2019-08-18T17:05:28", "url": "https://files.pythonhosted.org/packages/e2/87/6492a323bc21af97a8827bdfb5440f599c2c65079e15ca2549c751fdb2d5/azureips-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "74d21773d4fbfbab8538427193bddd82", "sha256": "908391f43015771f9de513643e07d52a2b24e6901608c085b1eecad576a27b9f" }, "downloads": -1, "filename": "azureips-0.4.3.tar.gz", "has_sig": false, "md5_digest": "74d21773d4fbfbab8538427193bddd82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9483, "upload_time": "2019-08-19T05:01:32", "url": "https://files.pythonhosted.org/packages/e5/1f/d74c0c121a933682059ef4a6e22a07b66db9dc79a3e62d5a3123c9b98c34/azureips-0.4.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "74d21773d4fbfbab8538427193bddd82", "sha256": "908391f43015771f9de513643e07d52a2b24e6901608c085b1eecad576a27b9f" }, "downloads": -1, "filename": "azureips-0.4.3.tar.gz", "has_sig": false, "md5_digest": "74d21773d4fbfbab8538427193bddd82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9483, "upload_time": "2019-08-19T05:01:32", "url": "https://files.pythonhosted.org/packages/e5/1f/d74c0c121a933682059ef4a6e22a07b66db9dc79a3e62d5a3123c9b98c34/azureips-0.4.3.tar.gz" } ] }