drf-flex-fields
ara
Our great sponsors
drf-flex-fields | ara | |
---|---|---|
3 | 82 | |
710 | 1,793 | |
- | 1.2% | |
4.0 | 6.8 | |
7 months ago | about 1 month ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
drf-flex-fields
-
Ideal way to implement listing of products with tags
You could use a HyperLinked model serializer (also check this) and add expandable fields so with one call you can choose if you want the tags field to be detailed (expanded) or not. E.g. /product//?expand=tags
-
problem with dynamic filtering serializer
You can use drf-flex-fields or copy its implementation. It has exactly what you need, ctrl + f "?fields=".
-
is it a bad practice to have a lot of slightly different serializers?
This library helps me reuse serializers a lot more https://github.com/rsinger86/drf-flex-fields
ara
-
With what should I use ansbile?
Look into AWX as an alternative to Tower. If you just want better reporting on runs, check out ARA or callback plugins.
- Show HN: ARA Records Ansible and makes it easier to understand and troubleshoot
-
Ansible-Semaphore vs Ansible AWX
Also worth considering is ARA for playbook reporting, and then whatever you want for orchestration (Jenkins, Azure Devops, Rundeck, etc).
-
Zabbix to monitor ansible
Why not use ara?
-
How would I get a list of IP addresses of failed hosts and details?
For general recording of playbook activity with a web dashboard, ARA works really well.
- Planning on writing a callback plugin - is there a unique variable to identify a particular play being run?
-
A way to log which user excuted a playbook
If you don’t want any UI / access control then you can also look at ARA - https://ara.recordsansible.org This works as a callback plugin to capture the job run data.
-
Benchmarking ansible-core 2.11 vs 2.14 and python 3.9 vs 3.11 along with ara's database backends
I'm not sure how to interpret running 100 debug messages (https://github.com/ansible-community/ara/blob/master/tests/integration/benchmark_tasks.yaml) into real life performance. Mitogen's Benchmark used either 100 times a "hostname" command on the target machine (https://github.com/mitogen-hq/mitogen/blob/master/tests/ansible/bench/loop-100-items.yml) or running the DebOps project (https://github.com/debops/debops-playbooks/blob/master/playbooks/common.yml) for some sorta real-world module usage.
-
The Bullhorn #92 (Ansible Newsletter)
Reach out on Mastodon or see this issue on GitHub.
-
Best options for monitoring Ansible deployment times
There has been discussions about a prometheus exporter for monitoring, metrics and eventually fancy graphs in grafana but work on this has not started yet: https://github.com/ansible-community/ara/issues/177
What are some alternatives?
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
awx - AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Django REST Swagger - Swagger Documentation Generator for Django REST Framework: deprecated
semaphore - Modern UI for Ansible
best-of-web-python - 🏆 A ranked list of awesome python libraries for web development. Updated weekly.
CIS-Ubuntu-20.04-Ansible - Ansible Role to Automate CIS v1.1.0 Ubuntu Linux 18.04 LTS, 20.04 LTS Remediation
django-rest-auth - This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
elk-ansible - Using ELK to Build a Fact Search Engine and Inventory CMDB for Ansible Tower
drf-nested-routers - Nested Routers for Django Rest Framework
foreman-ansible-modules - Ansible modules for interacting with the Foreman API and various plugin APIs such as Katello
django-cms - The easy-to-use and developer-friendly enterprise CMS powered by Django
django-celery - Old Celery integration project for Django