python-prompt-toolkit
GoAccess
python-prompt-toolkit | GoAccess | |
---|---|---|
21 | 76 | |
8,960 | 17,523 | |
0.8% | - | |
7.5 | 9.2 | |
26 days ago | 4 days ago | |
Python | C | |
BSD 3-clause "New" or "Revised" License | 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.
python-prompt-toolkit
-
Is there a library that can give python-prompt-toolkit like completion for TUI?
Ref. https://github.com/prompt-toolkit/python-prompt-toolkit and https://github.com/c-bata/go-prompt ?
-
Show HN: Replbuilder, quickly build a Python REPL CLI prompt
> The purpose is not to do this however, the goal for a repl cli is usually to invoke a set of particular, already implemented commands, not on the fly python input and output. The implementation will be predefined and packaged, repl are only used to run a list of specific commands with arguments that implementation has already defined.
That's a very strange definition for a REPL, I would just call that an (interactive) CLI. Maybe that's why you couldn't find anything when you were doing your search? I used python-prompt-toolkit [0] when building such interfaces. pgcli [1] is an example of such an interface built with prompt-toolkit.
It has a lot of nice autocomplete and readline emulation options. Maybe it's something you can integrate with your project.
[0] https://github.com/prompt-toolkit/python-prompt-toolkit
[1] https://www.pgcli.com/
-
TUI library with Sixel support?
Euporie uses prompt_toolkit as its TUI library. prompt_toolkit does not specifically support terminal graphics, but I've written various of custom components and modifications to enable images to be displayed using terminal graphics.
-
Why is the terminal input so weird?
That bothered me too, the default function for Ctrl-W in ipython is unix-word-rubout from python-prompt-toolkit [1], which uses spaces for word boundaries. You can rebind it to backward-kill-word so it uses "not a letter nor a digit" as a word boundary.
Here's a gist with my config (also binds shift-left/right arrow to move to previous space instead of visual select): https://gist.github.com/fratajczak/64e32421a43d3b8194d0409ce...
[1]: https://github.com/prompt-toolkit/python-prompt-toolkit/blob...
- Is there a library for creating interactive long running terminal applications?
-
improved repl for lua?
When coding in python I've used ptpython repl based on prompt-toolkit which has been used in numerous CLI programs https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/PROJECTS.rst. I've also used mycli from that page. I've really enjoyed the UX of these. In addition to the syntax highlighting, auto/tab completions, (and maybe other enjoyable features) the vi-mode is amazingly helpful (for us vi folks) (it's probably got emacs bindings too). I would love to have all of this in a repl for lua.
-
A simple tui to launch gzdoom mods
That's an interesting approach. I was also thinking of using a more sophisticated framework than whiptail, maybe the PromptToolkit. I guess it then would be more similar to the idea of using a text editor. I certainly do think a TUI may be overkill yet it was also a good excuse to practice some bash scripting for me.
- How to create terminal GUI?
-
Rich is a Python library for rich text and beautiful formatting in the terminal
Try prompt_toolkit which is a Python library used by IPython among others: https://github.com/prompt-toolkit/python-prompt-toolkit
-
python-prompt-toolkit VS python-sploitkit - a user suggested alternative
2 projects | 15 Jan 2022
GoAccess
-
You don't need analytics on your blog
If one wants server-side metrics with a little more info than the author's "hacky little script", there's always goaccess [1], which functions in broadly the same way. I even use it with Firebase Hosting-hosted sites via [2] (which I wrote).
[1] http://goaccess.io/
[2] https://github.com/Silicon-Ally/gcp-clf
-
Using Analytics on My Website
> Just use GoAcces for fuck's sake.
GoAccess seems pretty cool and is probably a good task for the job, when you need something simple, thanks for recommending it: https://goaccess.io/
Even if you have analytics of some sort already in place, I think it'd probably still be a nice idea to run GoAccess on your server, behind some additional auth, so you can check up on how the web servers are performing.
That said, I'd still say that the analytics solutions out there, especially self-hostable ones like Matomo, are quite nice and can have both UIs that are very easy to interact with for the average person (e.g. filtering data by date range, or by page/view that was interacted with), as well as have a plethora of different datasets: https://matomo.org/features/
I think it can be useful to have a look at what sorts of devices are mostly being used to interact with your site, what operating systems and browsers are in use, how people navigate through the site, where do they enter the site from and how they find it, what the front end performance is like, or even how your e-commerce site is doing, at a glance, in addition to seeing how this changes over time.
People have also said good things about Plausible Analytics as well: https://plausible.io/
-
How do {you} analyze apache log files?
Maybe, if it's just local and need just information, maybe https://goaccess.io is an option.
-
Show HN: Why Google Analytics May Not Be the Best Option for Your Website (2023)
I run goaccess on a cron job and have paired it with a MaxMind GeoIP database so that you can see where people are coming from etc.
https://goaccess.io/
-
Working on Ubuntu: File does not exist on the server, how to create it
file on GitHub.
-
Display real time visitors statistics of a website
There is small programm for linux https://goaccess.io/
-
Monitoring traefik access logs easily
I heard about https://goaccess.io/ (and even tested it) but first, nothing about tracing logs, and I think that the provided HTML dashboard isn't enough security-oriented for me but it's more about monitoring your customer volume... It does -partially- fit my case.
-
Google Analytics alternative that protects your data and your customers' privacy
Loved AWStats! Still can be useful — but bots, client side caching, CDNs, and did I mention bots..? have made the data hard to rely on for much. A while ago I switched from AWStats to GoAccess (https://goaccess.io/) for this kind of thing. I prefer its interface, and it's way way faster to churn through big log files (C vs. Perl).
-
Show HN: Google Analytics alternative with the most generous free tier
matomo and goatcounter are nice, but there are even solutions which don't need any extra CPU or any extra client request:
• https://goaccess.io/
• https://www.awstats.org/
Both of them are free/open-source.
-
Setup GoAccess in Ubuntu/Linux with Docker and Real-Cad & access over domain/sub-domain
GoAccess is a powerful web log analyzer that generates real-time web traffic statistics.
What are some alternatives?
click - Python composable command line interface toolkit
AWStats - AWStats Log Analyzer project (official sources)
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
Elasticsearch - Free and Open, Distributed, RESTful Search Engine
Turbo Vision - A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
Matomo - Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
textual - The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
Plausible Analytics - Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Open Web Analytics - Official repository for Open Web Analytics which is an open source alternative to commercial tools such as Google Analytics. Stay in control of the data you collect about the use of your website or app. Please consider sponsoring this project.
colorama - Simple cross-platform colored terminal text in Python
nginx-proxy-manager-goaccess - NGINX Proxy Manager and Goaccess docker file