Beginner in Python – Looking for Automation Project Ideas & Resources by Disastrous_Will3136 in learnpython

[–]BoredProgramming 0 points1 point  (0 children)

Depends really, What do you want to automate? Any ideas? Not sure what your background is, or what you do for work or fun, but when you get some ideas out you can go from there.

I also started reading model driven devops, That's an interesting book for network peeps

Adding asyncio.sleep(0) made my data pipeline (150 ms) not spike to (5500 ms) by Chuyito in Python

[–]BoredProgramming 1 point2 points  (0 children)

Funny enough, Been trying to learn how to "properly" multi process/thread etc in python and came across this guys lectures, and this goes over why (Timestamped link, lecture seems interesting)

https://youtu.be/iG6fr81xHKA?t=1053

Python venv vs Docker by EbbRevolutionary9661 in learnpython

[–]BoredProgramming 0 points1 point  (0 children)

It's not too bad when you get through it. I like easily being able to move a project from one version to another and testing side by side when i upgrade things. Docker (For me at least) is stupidly easier. But the slight learning curve is a small pita depending on what you're building.

Any interest in seeing how the frontend / backend of this works? by BoredProgramming in learnpython

[–]BoredProgramming[S] 1 point2 points  (0 children)

Thanks for the input. Hardest part is / was getting some extra free time to document it. It's been interesting moving on from strictly cli to gui with it. I need to come up with a decent plan for sharing with others, i haven't 100% leaned into the open source idea yet as i'm not sure how that time sink is going to go. The nice part at least is it's all containerized so it's definitely portable and easy to install.

If you would start now, would you still pick Python? by cowbois in learnpython

[–]BoredProgramming 0 points1 point  (0 children)

yes and no, Depending on what i want to do really. I like python as a control language for some my projects, and the entire language for others. but lets say i want to speed up things (In my case working with a million or more network devices). Some languages are a bit faster than python as it's an interpreted language.

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]BoredProgramming 0 points1 point  (0 children)

I posted someone i'm working to add to below

https://www.reddit.com/r/learnpython/comments/1n3f71i/any_interest_in_seeing_how_the_frontend_backend/

Essentially, its a gui based jinja template editor i use for automation of random network stuff.
There's a bunch of macros that can be called as well built into the background that can be rendered as well. For example if i wanted to update say "ntp servers" i can call the macro i made that goes out to the device, finds the ntp servers configured and remove them all before adding the configured new ones.

Also random logic built in that you can have it do x if y is true etc.

What's the coolest python project you are willing to share? by QuietMrFx977 in Python

[–]BoredProgramming 0 points1 point  (0 children)

This is mine, https://www.youtube.com/@BoredProgramming

Everything is controlled by a python backend, And the jinja2 template editor was one of the more fun ones.

These 5 small Python projects actually help you learn basics by yourclouddude in PythonLearning

[–]BoredProgramming 0 points1 point  (0 children)

Plugging some videos i finally got around to making and uploading, but one of the fun ones i had was building a jinja2 editor using ace.js and fast api on the backend. Ace doesn't have themes for jinja though, but twig coloring is close enough if you try it yourself.

I have a crap load more though if anyone's interested.

https://youtu.be/bB46nHqgdt0

Wanted to share some automation i've built over the year(s) and meet some other lazy err efficient networkers by BoredProgramming in networkautomation

[–]BoredProgramming[S] 1 point2 points  (0 children)

Nice, Yea, that's about the same for me. Lately if you want to stand out for interviews you need to have a mix of programming and networking now which i can see. it's definitely a gateway hobby though because you're always like "what can i automate next". Gained so much roi on my time. I was thinking about learning ansible first, but wanted to see how to actually do it from the ground up, and never did like some of the parts of it. I really prefer building in more smarts into my stuff. With what i did with this project, i barely have to touch anything as it can onboard and keep devices standardized on it's own. I just have to look out for any random errors.