An Autodocumenting tool for Cloud Infrastructure
Project description
Infra Surveyor
A tool to survey existing cloud infrastructure and document what exists. This project is still in development and is not yet in use on a production system. Diagrams are against AWS at the moment but this might not be required in the future.
Installation
To Install this on Mac OSX install graphviz then the requiremewnts and the library.
brew install graphviz
pip install infra_surveyor
Installation for development
This project uses optional dependancies for development, documentation and release. To develop on this project please clone the repository setup your virtual environment then run the following
pip install -e ".[dev]"
Installation for documentation developers
To work on the documentation on this project please clone the repository setup your virtual environment then run the following
pip install -e ".[docs]"
This will install mkdocs which can be used to host the docs locally during writing. The command below will host the docs in html format on your machine.
mkdocs serve
Releasing
pip install -e ".[dev]"
semantic-release publish --minor
This command will:
- bump the verison number
- create the git tag for the release
- push the tag
A github action will kick in to create the release in github when the tag is pushed. The release will contain the files in the dist directory created by flit and license file.
Running the tool
Prequisites:
- AWS account
- AWS profile setup
- AWS login with PROFILE and REGION defined in your environment via environment variables.
This is a self documenting commandline application so once installed you can run the command below to explore the project.
infra_surveyor --help
Dependencies
- Graphviz - Graphing library
- Boto3 - AWS SDK library
- Click - A command line building library
The following are not required dependencies for using the tool but are used in development
Tool | Description |
---|---|
black | code linter |
coverage | used to generate code coverage stats |
docker | used to mock lambdas |
flit | Python package building |
Github actions | CI/CD processes |
mkdocs | Documentation builder |
moto | AWS Mocking Library |
pytest | test runner |
python-semantic-release | Version management |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file infra_surveyor-0.7.0.tar.gz
.
File metadata
- Download URL: infra_surveyor-0.7.0.tar.gz
- Upload date:
- Size: 58.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69cfe2e668d39a95203672d1a0b78cfb00ed83e09316fba7dd5318b2dbc1f659 |
|
MD5 | 9b0b6c1bb257ff68d98d0010cf28c6c6 |
|
BLAKE2b-256 | de53c51e731c8cfc244aae83c68e7938373330ea91eb70435ca1e6ba62bad016 |
File details
Details for the file infra_surveyor-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: infra_surveyor-0.7.0-py3-none-any.whl
- Upload date:
- Size: 60.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aba0cdadf1ea03aa7d0b24a93ffccda98c4a9d7ca5b33935030e0a342bfc290 |
|
MD5 | 0ee5f845cba6b3f3d8f55cbc0392627b |
|
BLAKE2b-256 | 287c931d4b519fc33d68b9f10838de4c5f1803701475c3cea6bdf68dc37b73f9 |