Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

README.md 3.7 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ![diagrams logo](assets/img/diagrams.png)
  2. # Diagrams
  3. [![license](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)
  4. [![pypi version](https://badge.fury.io/py/diagrams.svg)](https://badge.fury.io/py/diagrams)
  5. ![python version](https://img.shields.io/badge/python-3.6%2C3.7%2C3.8-blue?logo=python)
  6. [![todos](https://badgen.net/https/api.tickgit.com/badgen/github.com/mingrammer/diagrams?label=todos)](https://www.tickgit.com/browse?repo=github.com/mingrammer/diagrams)
  7. ![on premise provider](https://img.shields.io/badge/provider-OnPremise-orange?color=5f87bf)
  8. ![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900)
  9. ![azure provider](https://img.shields.io/badge/provider-Azure-orange?logo=microsoft-azure&color=0089d6)
  10. ![gcp provider](https://img.shields.io/badge/provider-GCP-orange?logo=google-cloud&color=4285f4)
  11. ![kubernetes provider](https://img.shields.io/badge/provider-Kubernetes-orange?logo=kubernetes&color=326ce5)
  12. ![alibaba cloud provider](https://img.shields.io/badge/provider-AlibabaCloud-orange)
  13. ![oracle cloud provider](https://img.shields.io/badge/provider-OracleCloud-orange?logo=oracle&color=f80000)
  14. **Diagram as Code**.
  15. Diagrams lets you draw the cloud system architecture **in Python code**. It was born for **prototyping** a new system architecture design without any design tools. You can also describe or visualize the existing system architecture as well. Diagrams currently supports six major providers: `AWS`, `Azure`, `GCP`, `Kubernetes`, `Alibaba Cloud` and `Oracle Cloud`. It now also supports `On-Premise` nodes.
  16. **Diagram as Code** also allows you to **track** the architecture diagram changes in any **version control** system.
  17. > NOTE: It does not control any actual cloud resources nor does it generate cloud formation or terraform code. It is just for drawing the cloud system architecture diagrams.
  18. ## Getting Started
  19. It uses [Graphviz](https://www.graphviz.org/) to render the diagram, so you need to [install Graphviz](https://graphviz.gitlab.io/download/) to use **diagrams**. After installing graphviz (or already have it), install the **diagrams**.
  20. > macOS users can download the Graphviz via `brew install graphviz` if you're using [Homebrew](https://brew.sh).
  21. ```shell
  22. # using pip (pip3)
  23. $ pip install diagrams
  24. # using pipenv
  25. $ pipenv install diagrams
  26. # using poetry
  27. $ poetry add diagrams
  28. ```
  29. You can start with [quick start](https://diagrams.mingrammer.com/docs/getting-started/installation#quick-start). Check out [guides](https://diagrams.mingrammer.com/docs/guides/diagram) for more details, and you can find all available nodes list in [here](https://diagrams.mingrammer.com/docs/nodes/aws).
  30. ## Examples
  31. | Event Processing | Stateful Architecture | Advanced Web Service |
  32. | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
  33. | ![event processing](https://diagrams.mingrammer.com/img/event_processing_diagram.png) | ![stateful architecture](https://diagrams.mingrammer.com/img/stateful_architecture_diagram.png) | ![advanced web service with on-premise](https://diagrams.mingrammer.com/img/advanced_web_service_with_on-premise.png) |
  34. You can find all the examples on the [examples](https://diagrams.mingrammer.com/docs/getting-started/examples) page.
  35. ## Contributing
  36. To contribute to diagram, check out [contribution guidelines](CONTRIBUTING.md).
  37. > Let me know if you are using diagrams! I'll add you in showcase page. (I'm working on it!) :)
  38. ## License
  39. [MIT](LICENSE)