Snap-in-Time
parsimonious
Snap-in-Time | parsimonious | |
---|---|---|
4 | 5 | |
6 | 1,760 | |
- | - | |
3.8 | 3.3 | |
about 1 year ago | 4 months ago | |
Python | Python | |
GNU General Public License v3.0 only | 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.
Snap-in-Time
-
Completing Advent of Code 2015 with 3 Programming languages
Python - it’s my main language and the one in which I’m most proficient. I have written some programs used by many others (like my Extra Life Donation Tracker) and utilities that solve some problem I have (like my btrfs snapshot and backup program). By solving each problem in Python first, I allow myself to focus on the problem first instead of a syntax I’m unfamiliar with.
-
how do you go from basic python stuff to building a project????
https://github.com/djotaku/Snap-in-Time - for btrfs snapshots
-
Do programmers save chunks of code for repeated use?
IF you think it'll be useful to others, then see if there's a repo for your programming language like CPAN, PyPi, NPM, etc and put it there. This utility I made for btrfs snapshots is useful to anyone else using btrfs, so I put it on pypi: https://github.com/djotaku/Snap-in-Time can be found at https://pypi.org/project/snapintime/
-
Dumb Question: learning to code but have no idea what to code
I wanted to manage my btrfs COW snapshots, so I madde: https://github.com/djotaku/Snap-in-Time
parsimonious
-
How would I solve this?
Oh sorry, I grabbed the wrong PEG parser… I’ve used this one: https://github.com/erikrose/parsimonious
-
Not Your Grandfather’s Perl
A grammar provides the high level constructs you need to define the "shape" of your data, and it largely takes care of the rest. Grammar libraries exist in other language (eg. lark or Parsimonius in Python) and they weren't created just to make XML parsing easier.
-
Do programmers save chunks of code for repeated use?
I'm honestly shocked that you are being downvoted heavily for this. I was literally reading a pip module a few days ago that cites stackoverflow in the code. It may not be for code snips but it it's not wild to think that someone would do this for code they pulled from SO.
-
Advent of Code 2020: Day 25 with Generators in Python
Parsimonious
-
Advent of Code 2020: Day 07 using Python PEG grammars + NetworkX
Since the input comes in the form of well-formatted text with with variable-width lines, this seems a perfect fit for a PEG parser, as described in Day 04. Using a PEG parser with a node visitor also lets us process each each node as it is being parsed, saving a loop or two. As usual, I will be using the parsimonious library for Python. Importing it with from parsimonious.grammar import Grammar
What are some alternatives?
adventofcode - My solutions to the Advent of Code challenges
pip - The Python package installer
transitions - A lightweight, object-oriented finite state machine implementation in Python with many extensions
aoc2015 - Advent of Code 2015
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
Glitch-Garden - A Plants Vs Zombies clone from my Udemy Class
Bash-Utilities - A few bash scripts I've written that I wanted to share
yabsnap - Btrfs Scheduled Snapshot Manager for Arch
NumPy - The fundamental package for scientific computing with Python.
ELDonationTracker - A Python-based donation tracker for Extra Life streams
lastfmeoystats - Create some stats for last.fm End of Year Post