Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Generally yes, but I'd add a couple of blank lines to separate the code into "visual blocks". Two blank lines each before and after the function block of cease. One blank line each before if direction == "encode": and elif direction == "decode":. Tools like autopep8 or black can help you automate some of that.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- What all tools should I learn more to be a capable python developer ?
- New model using orca dataset
- I have some legacy code which has been ported to Python 3 recently, but is still quite ugly. What are recommended points for coding style to improve it and make it more modern/pleasant in style?
- autopep8 or styler equivalent in Julia
- PEP8 and long if and/or statements