Classicdude1's Posts
Nairaland Forum › Classicdude1's Profile › Classicdude1's Posts
I recently built an open-source CLI tool called vole-clean and thought some developers here might find it useful. One problem I've seen in many React and TypeScript projects is that image assets accumulate over time. You end up with old logos, unused banners, abandoned icons, and multiple versions of the same image sitting in the codebase. vole-clean scans a project, detects image references, and identifies assets that are no longer being used. It supports: - React and TypeScript projects - import statements - require() - <img src> - CSS url() - Multiple asset directories - YAML configuration - macOS, Linux, and Windows Example: bash npm install -g vole-clean vole-clean Project website: https://vole-clean./ GitHub: https://github.com/devrapture/Vole npm: https://www.npmjs.com/package/vole-clean The project is completely open source. I'd appreciate feedback from fellow developers, suggestions for features, bug reports, or contributions. Thanks. |
nice work, definitely will keep sharing your work when i see an opportunity |
@BvocNews I have checked your project. it's really nice. i suggest you add a way for users to use it without pip. let's say maybe install with home brew for mac os. this will make it easier to onboard more users sure, you can share the project to any community you are in. |
Hello guys 👋 I recently built something I think developers, students, and even startups might find useful. It’s called the Nigerian Institutions API — a platform that provides structured and searchable data for Nigerian educational institutions. v ⸻ 🔍 What this project does This API gives you access to verified data on: * Universities (Federal, State, Private) * Polytechnics * Colleges of Education Instead of manually searching different websites, everything is now accessible through a single API. ⸻ ⚙️ Key Features * Clean and searchable database of Nigerian institutions * Filter by type (federal, state, private, etc.) * Search by name (e.g., Lagos, Ibadan, etc.) * Pagination support for large datasets * Secure access using API keys * OAuth login (Google & GitHub) for developers * Well-documented endpoints (GitBook docs) ⸻ 🧠 How it works The system uses a Go-powered backend API and a scraper that collects data from official sources like: * NUC (National Universities Commission) * Federal Ministry of Education The data is stored in PostgreSQL and served through a fast REST API. ⸻ 💻 Example Use Cases * Building school search platforms * EdTech products * Admission tools * Data analysis on Nigerian education * Student-focused apps ⸻ 🔗 Useful Links 🌐 Project Website https://nigerian-institutions. 📘 API Documentation: https://14th-labs.gitbook.io/nigerian-institution-api 💻 GitHub Repository: https://github.com/devrapture/nigerian-universities#nigerian-institutions-api 🙌 Feedback I’d really appreciate feedback, suggestions, or ideas on how to improve it. If you’re a developer, feel free to contribute or use it in your projects. ⸻ Thanks 🙏 |
Got really bored of JavaScript and decided to try Go. Built an API endpoint that provides a list of Nigerian Universities (federal, state and private) The data is scrapped from NUC website Link to API https://nigerian-universities.onrender.com/ For more, here is the GitHub repo https://github.com/coolpythoncodes/nigerian-universities |
Source code: https://github.com/coolpythoncodes/To_Do_List_verision_1 Link to web app : http://scheduletask.herokuapp.com |
For more free udemy courses to learn Python and web development. Follow coolpythoncodes on Instagram. Here are the available courses : Another free django (web development course ) With this course you will learn how to build a blog with django. Grab it now https://www.udemy.com/try-django/learn/v4/overview Free udemy course to learn django (web development) Just get the course. Or share it with someone interested https://www.udemy.com/try-django-v1-11-python-web-development/ Free udemy course to learn front-end development (how to design a website ) https://www.udemy.com/learn-css-and-bootstrap-from-scratch/?couponCode=NEWYEAR2019&ranMID=39197&ranEAID=VkwVKCHWj2A&ranSiteID=VkwVKCHWj2A-scShlH0geQh7TeQBlqTSCw&LSNPUBID=VkwVKCHWj2A |
Hey , So, recently I did some work with Excel using Python. Such as sending emails to addresses saved in an Excel file. Creating a chart I used for my university project. Getting an email list of a particular location stored in an Excel file. But I didn't email you today to brag. Instead, I'm going to show you how I did it. Specifically, I did a practical and easy to follow guide for you Here's what you'll learn in today's post: -How to use Python third-party module (openpyxl) to work with Excel -How to create a chart and some practical examples Check out the new post right here. https://coolpythoncodes.com/openpyxl-python-tutorial/ |
Please, I need anyone interested in Python to fill this one minute survey for me. https://docs.google.com/forms/d/e/1FAIpQLSeB7NABBe-HHfcO7sxa7cGlHsbYwEGNCUUEo8pMCs5pGhtaRQ/viewform?usp=sf_link |
Another Free Udemy course for Python programmers .... https://www.udemy.com/pythonforbeginnersintro/?siteID=jU79Zysihs4-Hp5JUgcuzTPiRD.gbmoWMA&LSNPUBID=jU79Zysihs4 |
Here is a free Udemy course(2 days left). The Numpy, Scipy, Pandas, and Matplotlib stack: prep for deep learning, machine learning, and artificial intelligence This course is important if you plan on going into Deep Learning, Machine Learning, and Data Science. For more updates and free Udemy courses, kindly join our Facebook group- https://www./1953034938283141/ . Best Regards, Cool Python Codes. |
Are you looking for an IDE to write Python code snippets or you want to learn Python on your android device? This post has picked out the best for you. here is the link: https://coolpythoncodes.com/python-ide-android-app/ |
Osaetin Daniel, one of PyconNg speakers has an Open Source Polling application known as Votr. Votr is built using Flask and React. Here is the link to his project : https://github.com/danidee10/Votr He had an interesting interview with Cool Python Codes blog, promise me, you will learn a lot. Here is the link to the interview: https://coolpythoncodes.com/osaetin-daniel-develops-votr/ |
hehehehe.... no snakes but there are a bunch of codes. |
Below is a Python script to send jpg files via gmail. import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.multipart import MIMEBase from email import encoders import os """ extensions of files that we will send """ extension = "jpg" """ This function returns a tuple with the files located in the current directory """ files = os.listdir() #this program should be saved in the current directory where your files are. """ We check what files have our wished extension """ for file in files: if extension in file: user ="sending@gmail.com" recv ="receiving@gmail.com" subject = "Subject" message = MIMEMultipart() message["From"] = user message["To"] = recv message["Subject"]= subject body = "Files with ." + extension + "extension" message.attach(MIMEText(body,"plain" )attachment = open(file,"rb" ![]() part = MIMEBase("application","octet-stream" ![]() part.set_payload((attachment).read()) encoders.encode_base64(part) part.add_header("Content-Disposition","attachment; filename= " + file) message.attach(part) text = message.as_string() server = smtplib.SMTP("smtp.gmail.com",587) server.starttls() server.login(user,"your gmail pasword" server.sendmail(user,recv,text) server.quit() else: pass This code was shared by Om Tav on a Facebook page. You may get an error at first due to Google trying to protect your Gmail account from unknown app trying to login in. Just check your email and follow the steps provided by Gmail. Then run the code again. Happy Pythonic Holiday and try to automate your task with Python |
Here new free Python udemy courses..... https://www.udemy.com/try-django/?couponCode=CFEOCT2016 https://www.udemy.com/30-days-of-python/?couponCode=CFEOCT2016 https://www.udemy.com/learn-python-3-from-beginner-to-advanced/?couponCode=JERRYBANFIELD https://www.udemy.com/python-gui-programming/?couponCode=REDDITFREE6 https://www.udemy.com/python-django-programming-beginner-to-advance-tutorial-step-by-step/?couponCode=FACEBOOKJOY2 https://www.udemy.com/data-analysis-with-pandas/?couponCode=INDEPENDENCEDAY https://www.udemy.com/learn-programming-in-python-with-the-power-of-animation/?couponCode=PBCUDEMYGROUPS https://www.udemy.com/python-complete/?couponCode=FREEFB7 https://www.udemy.com/c-c-python-ruby-java-html5-php-programming-for-beginners/?couponCode=FREE1111 For more freebies Like my Python facebook page - www.facebook.com/coolpythoncodes or subscribe to my hot email list - https://coolpythoncodes.com/about-cool-python-codes/ |
AI Sweigart posted this on Reddit today Use this link to sign up for the "Automate the Boring Stuff with Python" Udemy online course: https://www.udemy.com/automate/?couponCode=PY_ALL_THE_THINGS It's free until the end of Friday, Dec 1, 2017. Afterwards, it goes back to its normal $50 price. (Though you can use this link https://www.udemy.com/automate/?couponCode=FOR_LIKE_10_BUCKS to buy it for $10. And it's an open secret that if you browse Udemy in privacy mode, they'll show you the discount price to lure in a "new" customer. But course creators get a much larger cut when people use their referral codes.) The course follows the book of the same name, which is available for free, in full, at https://automatetheboringstuff.com under a Creative Commons license. (Which I encourage you to use to share your own creative works.) The course is 50 videos and made for people with no previous programming experience. The first 15 videos are free to view on YouTube: https://www.youtube.com/watch?v=1F_OgqRuSdI&list=PL0-84-yl1fUnRuXGFe_F7qSH1LEnn9LkW And now I will go self-flagellate to atone for my part in legitimizing "cyber monday". For regular updates in Python, kindly like my Facebook page. My blog is Cool Python Codes |
Today 6 experts will show you the best way to learn Python Click on the link below, to see the article. https://coolpythoncodes.com/best-way-learn-python-programming/ |
Today on LinkedIn, Aditya thakekar asked an important question which was; Can you kindly guide me how to land a remote Python Job? It case you don't know what it means to work remotely, it means working somewhere other than in an office. Here was Cătălin Matei's to the question answer: Finding a remote job is only part of the battle. You then need to get it, which is hard. You need to convince some strangers that you can deliver what they ask for. They'll ask you some questions and maybe give you some tests, but the time spent there is lost, you can't reuse that time for the next opportunity. So while you're searching for the remote job, work on the getting-the-job part too. Find (or start) an open source project related to your interests and contribute to it regularly. This is what you're going to do for the remote job you're looking for, so it's a good way to show your potential employer that you know how to do it. And the work done on that project is not lost, you can reuse it for many job applications. And hopefully that work improves that open source project, another good way to make a better world while you're improving your skills too. Doing a good work on that project could make the remote job you're looking for to come to you; He continues by saying: people could approach you instead of you looking for them. That's how Michael Galarnyk gets his job in data science. Knowing inside out an open source project gives you another revenue opportunity, you can implement / adapt it for some company or charge for support. I wanted to share the thought I had when I read your post. But to answer your question first thing you can do is to use your favorite search engine to find "remote programming work" sites and use them: make a solid profile, browse the posts, apply to them. Another way is to find programming communities (forums, slack, discord, reddit, facebook etc) and make yourself useful, build a reputation improving yourself and building a network at the same time. TL;DR Remote jobs are not laying around somewhere waiting for us to find them, we need to get good at what we do and show it to the world; then the jobs will come to us or at least they'll be easier to get when we find them. For more reading: Patrick Triest, a full stack engineer in this interview shares tips to succeed as a digital nomad(i.e how to work remotely effectively) Please, I need more answers. How can one get remote jobs as a Python programmer? |
I just came across something awesome. A curated list of awesome Python frameworks, libraries, software and resources. In this list, you will find Libraries to manipulate audio Tools for managing, compressing and minifying website assets Libraries for fighting spam( for Django developers) Libraries for caching data. Libraries for chatbot development. Libraries for migrating from Python 2 to 3. Libraries for computer vision. Libraries for data analyzing. And much more. You can see this curated list here. To get news, articles, and tutorials related to Python, don't forget to like us on Facebook. Kindly subscribe to our YouTube channel. All the best. |
Double underscores are very popular in Python. Some special Class methods such as init and str start and end with double underscores. You can make a class attribute private by adding double underscores as a prefix after self. Funny enough, double underscores have a weird name known as dunder Now you know what double underscores are called in the Python community. for more free and thorough comprehensive Python tutorial click here. |
you are welcome. |
Check out this Machine Learning project that recognizes the color of objects. https://www.youtube.com/watch?v=TWWwcGvJ_u0 |
I came across this awesome Python book for engineering students. The name of the book is: Programming for Computations – Python (A Gentle Introduction to Numerical Simulations with Python) Authors - Svein Linge and Hans Petter Langtangen This 244-page book is not only about numerical methods, it emphasizes on programming and verification. The book enables engineering students to use their knowledge of Python to solve problems correctly. Each of the six chapters in the book has exercises for students to solve more problems. Major topics treated in the book include: - Ordinary Differential Equations - Partial Differential Equations - Nonlinear Algebraic Equations Other topics treated include: - Newton's method - Secant method - Bisection method - Brute Force methods - Runge-Kutta methods and much more Download book here. Click - For a comprehensive list of Python books. What other Python book for engineering students do you recommend? |
Mine is King Arthur and spider man |
They are great guys. |
Are you a freelancer in Python programming niche or a Blogger and you need more exposure(including links to your blog, social media etc) Don't worry anymore. I’m creating an expert roundup post for my blog( Cool Python Codes) and would love to include your insights on the following topic: How to learn Python effectively- The best way. Just 100–500 words on this topic would be awesome. You can basically tell me how you learned Python. It should be written in a way that you are telling someone how to learn Python. I’ve invited 60 other influential bloggers/authors/freelancers to contribute and some have already agreed to participate. Deadline for submissions is 23rd of November – hope you are able to participate. Kindly include a brief description of yourself. Kindly submit your entry here |
Dramatically improve your skills with this simplified but more thorough guide on object-oriented programming in Python. A PDF version is available in the tutorial including code snippets. There is also cheat sheet to aid your learning. You can read this awesome tutorial via the link below. https://coolpythoncodes.com/object-oriented-programming-python/
|
To be honest with you, There are not many Python blogs by Nigerians. But here are the few I have come across. #1 Geospatial Solutions Expert- A Geomatics Information Technology and Python Programming Blog by Umar Yusuf. On this blog, you will find projects on Geomatics Information Technology (GIT) aka GIS and Python Programming Language, with more emphasis on QGIS, ArcGIS, PostGIS, wxPython, PyQt, PySide, SQLite, WxFormBuilder, QtBuilder, Web Mapping e.t.c Umar Yusuf is a Geospatial Solutions Specialist with over seven years experience in the industry. #2 Cool Python Codes - A Python programming blog by Godson Rapture Chijioke. If you ever wondered: “Where can I get the best Python tutorial with examples, free source codes to download, Python interviews with experts etc?”, Cool Python Codes is the best Python blog in Nigeria for you. This Nigerian blog is where Godson shares his experience that he has gained over his past years of learning Python programming. He also shares interviews he had with other experts in Python programming and inspiring stories of programmers that have changed our world. #3 Osaetin Daniel blog - A blog by Osaetin Daniel This is just a blog where Daniel keeps records of all the amazing stuff he found as he journeyed through the ever exciting world of programming. Osaetin Daniel happens to be a web and Odoo developer at Vascon solutions Abuja, Nigeria.He loves working with Python, HTML, CSS, js, PHP, Django, Linux, odoo , PySide. He developed a polling service known as VOTR, which is an open source project. If you know of any Python blog by a Nigerian, please drop it in the comment section. |
)