camply
docopt
camply | docopt | |
---|---|---|
8 | 29 | |
403 | 7,892 | |
- | -0.0% | |
7.7 | 2.5 | |
5 days ago | about 1 month ago | |
Python | Python | |
MIT 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.
camply
-
Gooey: Turn almost any Python command line program into a full GUI application
Adding Textual support to camply [1] was apparently very easy. I didn't to the implementation; I just contribute to the project sometimes: https://juftin.com/camply/command_line_usage/#tui
[1] https://juftin.com/camply/
-
11 New Park Systems Added to my Campsite Finder with an AbstractBaseClass!
I've got an open-source project called camply. Here's the spiel:
-
Want to float one of the West’s most popular rivers? You have roughly a 2% chance of getting a permit. Nearly 60,000 people applied to raft the West’s four most popular rivers in 2022. The boating community says the federal government’s process to administer permits is broken.
I've built a free command line tool that helps with this - it's called camply: https://juftin.com/camply.
- Camply, tool to help you book a campground online
-
I'm building a personal website. Should I bother doing it in Python or just use a template?
Here's a personal page built with Jekyll: https://juftin.com. And here's a Sphinx Page: https://juftin.com/camply. Both are actually hosted on GitHub pages for free.
-
Hiking permit bot?
I used this one once, but it only does campsite availability.
-
Campground reservations in Yosemite are unattainable and it is a serious issue
I came across a reddit post about a really neat tool somebody created to find openings at campgrounds on the recreation.gov website (after cancellations) and get notified immediately. This does not secure you the reservation, but instead uses the website's (public) API to link you to the booking page, from which you then select those dates that somebody else cancelled. It looks like this.
-
camply, the campsite finder ⛺️ - a command line tool to help you find campsites at thousands of sold out campgrounds across the USA
If you have a working understanding of how to run the below command and then your command line proficiency is likely enough to work with camply and you can feel free to start a discussion on GitHub to ask questions: https://github.com/juftin/camply/discussions
docopt
- Docopt: Command-line interface description language
-
Building a Command Line Tool with PHP and Symfony Console
Symfony Console closely follows the well-established docopt conventions. Docopt, based on longstanding conventions from help messages and man pages, ensures a consistent and intuitive interface for describing a program's interface. Symfony Console's adherence to docopt conventions guarantees that your command line tools maintain a standardized and predictable user experience, simplifying development and user interaction.
-
CLI user experience case study
You probably already know, but just in case you don't, you might read about http://docopt.org/ It seems to me a lot of your usage ideas could be refinements of / tooling around docopt-style interfaces.
-
Gooey: Turn almost any Python command line program into a full GUI application
http://docopt.org/
Not quite what you asked for, but close: type example invocations to generate the CLI, and just pull the arguments from a dictionary at runtime.
-
Things I've learned about building CLI tools in Python
I've been using docopt to handle CLI arguments for years now.
http://docopt.org/
-
What's up, Python? The GIL removed, a new compiler, optparse deprecated
If you aren't averse to using a third party package, on my personal projects I always found https://github.com/docopt/docopt to be nice.
You can kill 2 birds with one stone by documenting your scripts while also providing the argument structure / parsing.
-
adaszko/complgen: Generate {bash,fish,zsh} completions from a single EBNF-like grammar
As for the implementation differences, complgen uses a trivial DSL that’s everybody is already familiar with more or less because it’s a slightly more rigorous version of what tools usually spit out when you do command --help (projects like docopt even use that for command line arguments parsing). Those happen to be regular languages and therefore can be represented as a Deterministic Finite Automata. complgen compiles the grammars to DFAs, minimizes the DFA and spits out shell-specific shell completions scripts that simply walk the DFA to match and complete the current input.
-
[Media] shrs: a shell that is configurable and extensible in rust
The current completion system has a list of rules of which completions to use at which time. It's purposely simple to make it as flexible as possible. The current things I'm planning is a derive macro like what clap has to generate these rules. I'm also considering introducing a plugin that let's you write rules in the format of docopt
-
Docopt.sh – Command-Line Argument Parser for Bash 3.2, 4, and 5
For anyone unfamiliar, docopt is an established standard for specifying arguments in a script’s doc string. I use it for Python and it’s lovely. You’re going to write a docstring with examples anyway, why not make them functional?
http://docopt.org/
-
I am sick of writing argparse boilerplate code, so I made "duckargs" to do it for me
I like http://docopt.org/ a lot. You seem like someone who might have opinions on that.
What are some alternatives?
pynotifier - Python notifications
click - Python composable command line interface toolkit
aquaui - Display native dialogs, alerts, notifications, color pickers, and more with Python
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
SnitchDNS - Database Driven DNS Server with a Web UI
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
Tautulli - A Python based monitoring and tracking tool for Plex Media Server.
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
bedrock-schema-docs - Auto generated documentation from the Schemas by Blockception
cement - Application Framework for Python
notify-py - :speech_balloon: | A simple Python Module for sending cross-platform desktop notifications on Windows, macOS and Linux
Argh - An argparse wrapper that doesn't make you say "argh" each time you deal with it.