iplib3
5G00EV25-3001_server
Our great sponsors
iplib3 | 5G00EV25-3001_server | |
---|---|---|
31 | 22 | |
11 | 3 | |
- | - | |
8.7 | 8.7 | |
10 days ago | 4 days 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.
iplib3
-
Blackjack project review
Instead of keeping all the code at the repository root, maybe consider a more traditional project structure. As far as examples go, I've got this for an executable, and I think this works for a more complex project.
-
Relative importing from another directory. No known parent package.
What that means in practice, I have yet to figure out how to explain in the simplest way possible, but perhaps an example repository might help somewhat. The details more or less boil down to
-
A tip I just taught myself
First, some values simply never change. For example, my iplib3 has plenty of hard-coded constants set by the IPv4 and IPv6 specifications and there's no need to have those in some external config file because, again, unless the standard gets updated those are constant.
-
I’ve been struggling with organizing projects and utilizing classes so I’ve been looking for public projects I can study
I haven't touched this codebase in a while (although I really should), but it serves as one of my better examples for object-oriented programming. It's reasonably large, yet meticulously linted: https://github.com/Diapolo10/iplib3
-
Help with importing custom packages
I don't have any projects using setuptools anymore so unfortunately I can't give an example for that, but if Poetry is fine then iplib3 will probably suffice. Focus on the imports and the project structure, and maybe pyproject.toml, everything else is just noise.
-
Begginer learning Python
Well, my GitHub profile is part of my flair in this subreddit, feel free to dig around. My latest project was an attempt to port the ms JavaScript library to Python, and I think I did alright. Other things I can highlight would be my iplib3 package, a server implementation for the EguiValet messaging service, and finally I've got a fairly unfinished text colouring utility called escapyde.
-
Suggest me so GitHub repositories
And iplib3 could use some cleanup, such as redesigning the inheritance to add support for seamless conversion between all supported types. The documentation should also be written as right now there's basically nothing.
-
Casino Craps Game - Code critique and project help
You could maybe take a look at my iplib3 project for some examples. Alternatively, the EguiValet server project should be fine too.
-
Are there some rules that state how code for python module should look like?
While I have a very recent project that would otherwise be a perfect example, it does something a bit unusual with imports so I'll instead use iplib3 as an example, even though I haven't had time to work on it lately.
-
How to write 'helloworld'-level unit tests?
The Pytest documentation does a much better job at explaining how this works in practice than I ever could. I don't have any super simple example repositories, but iplib3 might work: https://github.com/Diapolo10/iplib3/blob/main/tests/test_address.py
5G00EV25-3001_server
-
Pytest: RuntimeError: Task <Task pending name='anyio.from_thread.BlockingPortal._call_func' coro=<BlockingPortal._call_func()
I was looking through this and didn't see anything off at first, so I went to look at the tests of one of my own FastAPI projects.
-
I`ve created my first project on GitHub
I don't really have any simple project examples that use databases (the closest thing would be a certain server project, which is probably too complex for you right now), but to showcase project structure I can suggest python_ms.
-
Bank System with DB and Tkinter
For example, my EguiValet project uses UUID v4 for various things: https://github.com/Diapolo10/5G00EV25-3001_server/blob/main/eguivalet_server/models.py
-
What tools are out there to help total newcomers to unit testing, that can generate unit test code for them?
If you'd like to see more practical examples I've got a repo dedicated to simple unit testing here and a more advanced example here. Both of them also have GitHub Actions scripts that auto-run tests on every commit and pull request, not to mention linters, and they can generate new releases on both PyPI and GirHub.
-
[GitHub Actions] Cannot get Dependabot to auto-update dependencies
`dependabot.yml|
-
My first project is a mess!
I... honestly am not the best person to answer that. While I don't always write documentation properly for my personal projects, either (at least initially), I've never really had a problem writing it once I start so I've never had to look up guides for it. My co-workers are very pleased with my style regardless for whatever reason. But from the same example project, you can take a look at how I wrote some documentation for it: https://github.com/Diapolo10/5G00EV25-3001_server/blob/main/docs/index.md
-
Design patterns and structure of source files
As far as examples go, I think my EguiValet server project might suffice for this one. It's probably a bit bigger than whatever you're working on, but python_ms would probably be too bare-bones in this case.
-
What about all the non-coding programming knowledge one needs for prod level?
That said, pytest is pretty much the industry standard (because it has almost no boilerplate) so I recommend learning that. As far as examples go, ironically I've got a project specifically for showcasing unit testing which I made during a university course, but for real-world tests my EguiValet server is probably the best example I have readily available.
-
Begginer learning Python
Well, my GitHub profile is part of my flair in this subreddit, feel free to dig around. My latest project was an attempt to port the ms JavaScript library to Python, and I think I did alright. Other things I can highlight would be my iplib3 package, a server implementation for the EguiValet messaging service, and finally I've got a fairly unfinished text colouring utility called escapyde.
-
Suggest me so GitHub repositories
My EguiValet server project could use a hand in writing more tests, and it's currently missing proper authentication. The current plan is to use fastapi-users, but I haven't had time to implement it.
What are some alternatives?
pytricia - A library for fast IP address lookup in Python.
RuneScore - A script that pulls a RuneScape player's stats from Jagex' servers, and outputs a HTML file containing them.
iplist-youtube - An attempt to list all Youtube IPs at one place.
5G00EV17-3001_unit-testing - TAMK Software development course, unit testing.
ipnetwork - IPNetwork command line and C# library take care of complex network, IP, IPv4, IPv6, netmask, CIDR, subnet, subnetting, supernet, and supernetting calculation for .NET developers. It works with IPv4 as well as IPv6, is written in C#, has a light and clean API, and is fully unit-tested
python-ms - A Python equivalent to the JavaScript ms package
schedule-generator
5G00EV25-3001_client - The client side of the course communication system project
bank-account-manager
sportsipy - A free sports API written for python
DBMS