crabviz
django-extensions
crabviz | django-extensions | |
---|---|---|
2 | 12 | |
588 | 6,439 | |
- | 0.6% | |
8.7 | 4.5 | |
3 days ago | 6 days ago | |
Rust | Python | |
Apache License 2.0 | MIT License |
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.
crabviz
-
Ask HN: Anyone use a code to mindmap/flowchart tool?
Are you looking for something like a call graph?
There's pyan3 [1] which although doesn't support python 3.7+, I've still had luck with v1.0.4 which works better for me than its most recent version with python 3.11, but there can be some weird issues though depending on your code style.
A quick search also turned up crabviz [2] which has support for more languages than just python.
[1] https://github.com/Technologicat/pyan
[2] https://github.com/chanhx/crabviz
- Crabviz: a call graph generator for various programming languages
django-extensions
-
Ask HN: Anyone use a code to mindmap/flowchart tool?
django_extensions/utils/dia2django.py: https://github.com/django-extensions/django-extensions/blob/...
django_extensions/management/modelviz.py:
-
Color Django shell by development environment
I often perform operational tasks such as modifying data or debugging failures using the Django shell. In fact, anything I can't do through the admin or through management commands I use the shell for. The package django-extensions provides a shell on steroids that I much prefer over the built in shell. It allows you to run a custom REPL such as IPython or Ptpython and has autocomplete, command history, automatic model class imports and a myriad of other dev tools. shell_plus is for a Django programmer what a scalpel is for a surgeon.
-
How do I list all my endpoints across the whole project
It currently has a bug with the latest django update I think; so if it it isn't fixed by the time you try it, remember to check it out later, because django-extensions is genuinely useful.
-
Is it normal to forget a lot of commands despite having used them multiple times in the past?
alias m='exit_if_not_in_python_virtual_env && ./manage.py' alias mcs='exit_if_not_in_python_virtual_env && ./manage.py collectstatic' alias mcsu='exit_if_not_in_python_virtual_env && ./manage.py createsuperuser' alias mm='exit_if_not_in_python_virtual_env && ./manage.py migrate' alias mmm='exit_if_not_in_python_virtual_env && ./manage.py makemigrations' alias mrs='exit_if_not_in_python_virtual_env && ./manage.py runserver' alias ms='exit_if_not_in_python_virtual_env && ./manage.py shell' alias msa='exit_if_not_in_python_virtual_env && ./manage.py startapp' alias mt='exit_if_not_in_python_virtual_env && ./manage.py test' alias mts='exit_if_not_in_python_virtual_env && ./manage.py testserver' # [django-extension](https://github.com/django-extensions/django-extensions): alias msu="exit_if_not_in_python_virtual_env && ./manage.py show_urls" alias mvt="exit_if_not_in_python_virtual_env && ./manage.py validate_templates" alias msp="exit_if_not_in_python_virtual_env && ./manage.py shell_plus" alias mrsp="exit_if_not_in_python_virtual_env && ./manage.py runserver_plus"
-
Is there a way to enable sql tracing in Django?
I use https://github.com/django-extensions/django-extensions
-
How to get urls path from django views list ?
If you just want a list of all the available urls & paths in your app, take a look at the django-extensions package. It has a django management command show_urls, which will list them all out nicely.
-
django and the issue of doing too much under the hood
https://github.com/django-extensions/django-extensions has a command, show_urls which outputs the URLs rendered for a project along with the name of their view handler
-
Django for Startup Founders: A better software architecture for SaaS startups
# 1 million lines of logic and who knows how many queries
I've actually seen this pattern in every Django project :(
Regarding urls, instead of enforcing a flat file, I'd highly recommend always using django_extensions[0]. You'll get `shell_plus` that auto imports model and `show_urls` that you can grep for endpoint and gives you the handler.
[0] https://github.com/django-extensions/django-extensions
-
Failing the CI build if django migrations are out of date
A common mistake in django is to make a model change but forget to run makemigrations to generate a migration for the model change. Sometimes it is not entirely obvious when this need to happen. For example, let's say I'm using the django-extensions library and I define a model like:
-
Data Analysis with Django
Django Extensions has a shell_plus with notebook mode.
What are some alternatives?
typst-lsp - A brand-new language server for Typst, plus a VS Code extension
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
re-frame - A ClojureScript framework for building user interfaces, leveraging React
go-callvis - Visualize call graph of a Go program using Graphviz
django-crispy-forms - The best way to have DRY Django forms. The app provides a tag and filter that lets you quickly render forms in a div format while providing an enormous amount of capability to configure and control the rendered HTML.
layout - Layout is a rust library and a tool that renders Graphviz dot files.
django-seed - :seedling: Seed your Django database with fake data
lsp-ws-proxy - WebSocketify any Language Server
django-sql-dashboard - Django app for building dashboards using raw SQL queries
tree-sitter-codeviews - Extract and combine multiple source code views using tree-sitter
Django - The Web framework for perfectionists with deadlines.