py_regular_expressions
bms-tools
Our great sponsors
py_regular_expressions | bms-tools | |
---|---|---|
43 | 13 | |
1,716 | - | |
- | - | |
2.8 | - | |
9 months ago | - | |
Python | ||
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.
py_regular_expressions
- Understanding Python re(gex)?
-
TUI app with 100+ interactive Python Regex exercises
These exercises have been adapted from my Understanding Python re(gex)? ebook (free to read online).
-
Show HN: Interactive Exercises for Python Regular Expressions
This new version is a TUI app built with Textual. Previous one was written using `tkinter` [0] and covered only four of the `re` functions.
Now, any valid Python expression is accepted as a solution. Both the builtin `re` and third-party `regex` modules are covered.
These exercises have been adapted from my Understanding Python re(gex)? ebook [1] (free to read online, and PDF/EPUB versions are free till the end of this month).
I'd appreciate your feedback, happy learning :)
[0] https://news.ycombinator.com/item?id=29391107
[1] https://github.com/learnbyexample/py_regular_expressions
- Understanding Python re(gex)? with hundreds of examples and exercises (eBook)
-
Understanding Python re(gex)? with hundreds of examples and exercises (free till Feb 5)
Visit https://github.com/learnbyexample/py_regular_expressions for markdown source, example files, exercise solutions, sample chapters and other details related to the book.
-
Show HN: Interactive exercises for Linux CLI text processing commands
Last year, I did a similar project for 75 Python regular expressions exercises: https://github.com/learnbyexample/py_regular_expressions/tre...
That was with Tkinter. I'm planning to update the regex book next year (to add new features like possessive quantifiers and other misc changes). Along with this update, I'll probably make a TUI version and add support for rest of the exercises.
-
Show HN: The Typing of the RegEX
If you are interested in Python regex, here's my tkinter app with 75 interactive exercises: https://github.com/learnbyexample/py_regular_expressions/tre...
This assumes you already know Python regex. If you'd like learn first, see my free ebook: https://learnbyexample.github.io/py_regular_expressions/
-
Best site to learn regex?
I have an entire book dedicated for learning regex from the basics, with hundreds of examples and exercises. I cover both re and third-party regex module. It is free to read online: https://learnbyexample.github.io/py_regular_expressions/
-
What's the coolest thing you've built so far?
A tkinter GUI that helps you to practice your understanding of regular expressions with 75 exercises: https://github.com/learnbyexample/py_regular_expressions/tree/master/interactive_exercises
-
Py Regex
https://github.com/learnbyexample/py_regular_expressions/blob/master/py_regex.md.
bms-tools
-
pip, setup.py, and MANIFEST.in -- somehow I cannot seem to convince any of these things to include some extra directories
The code in question: bms-tools.
-
Remotely powering on and off a rover through wifi?
In my learning journey I have come to realize that BMSes do exist and my silly setup is both redundant and not very good at keeping the battery safe. I found a smart BMS by a company called JBD that has several 3rd party libraries written for it, including the one I'm using by a fellow redditor here called /u/MrSurly. Here's a link to his BMS library. The BMS library allows me to communicate with the BMS using the RPi, I get information such as the voltage of each cell, current output, and more information. It also automatically stops the discharging when the battery is about to die.
-
Can't find a BMS with communication for LiPo
You can use the BMS Tools Python library, but I'm biased, as I wrote this.
- I created an open source tool for the JBD / XiaoXiang BMS.
-
BMS firmware SOC strategies?
So, I went down a rabbit hole of creating an open-source app for the somewhat popular JBD / XiaoXiang BMS. I was messing about with the features provided by the somewhat clunky official Windows app, and tried to do a firmware update on the BMS, and promptly bricked it.
-
What are you having difficulty learning or are currently struggling to learn?
Thank you! Yeah, I've tried a variety of edits to the function call, it's from the backend of a very professionally done python package with the reverse-engineered protocol for this pretty ubiquitous type of BMS; It is very cleanly written but also broken out into a ton of little stepwise functions many of which I don't understand... Enum types, lots of decorators (@staticmethod, @serial.setter, @property) and dunder enter/exit's... but I get the gist of it, every time I ask it it to read data it opens the port, constructs the bytes for the read command, sends them over the port, then collects the response byte-by-byte, verifies the final checksum byte, if ok then converts the payload to a dict otherwise raises an exception, and finally returns the data dict.
- Python
-
Bms User Manual Is Now Available Free Pdf Download
The serial protocol is now available here: https://gitlab.com/bms-tools/bms-tools/-/blob/master/JBD_REGISTER_MAP.md
- Complete protocol documentation is now available! JBD_REGISTER_MAP.md
-
I Created Open Source Software For The Jbd Bms
Hey, here's the v1.1.0 release page -- should fix that issue.
What are some alternatives?
RegExr - RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.
d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
regex-generator - Generate regular expressions from sample texts.
dicrs - A simple dictionary application written in Rust
mpack - MPack - A C encoder/decoder for the MessagePack serialization format / msgpack.org[C]
plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
PropertyWebBuilder - Create a fully featured real estate website on Rails in minutes! ⛺
missing-semester - The Missing Semester of Your CS Education 📚
resholve - a shell resolver? :) (find and resolve shell script dependencies)
korean-dict-nikl - 국립국어원 사전 / FOSS Korean dictionary by National Institute of Korean Language
ntfy-android - Android app for ntfy.sh
free-python-books - Python books free to read online or download