github中适合新人阅读的Python项目有哪些?
最近在用Python实现一些自动化的处理,希望能在Python上更深入一些。希望大家能推荐些,github上有意思的Python项目当然不局限于github
回复内容:
这个问题的标准答案是给出一个长长的列表,或者给出一个链接,里面有一个长长的列表。根据个人经验,这并没什么大用。
这个列表通常是Awesome系列
比如,你用Python,我贴出awesome-python;你用Vim,我贴出awesome-vim;你用Linux,我贴出awesome-linux-resources。
awesome内容太多,因此有人整理awesome-awesome系列,用来收集各种awesome。
再后来,整理awesome-awesome的人也多了,于是就有了awesome-awesome-awesome。。。
awesome收集了很多常用库,这些库本身就是很好的学习项目。但是,长长的列表很多人只是扫两眼,加入书签,收藏到evernote,仅此面已。
没有比较强烈的需求,是没有多少人会静下心来看一个与自己没太大关系的项目代码的。
项目这东西 当你有需要时阅读起来更有效率。
以自己为例,正在写的 [网易云音乐插件]( wu-nerd/dmusic-plugin-NeteaseCloudMusic · GitHub)就是因为网易没有Linux客户端,而目前其他实现,如终端版,都无法显示桌面歌词。我听歌有时候会仔细听歌词,没有桌面歌词会非常不方便。
因此我找到了一个类似的项目—[百度音乐插件](sumary/dmusic-plugin-baidumusic · GitHub) 。这是Linux下深度音乐播放器的插件(深度公司写了很多有用的应用如合作的搜狗输入法和有道翻译等等),歌词功能及相关功能由播放器完成,插件只需要获取在线音乐的信息并在播放器中展示给用户即可。
这个项目除了他是百度音乐的插件,各方面都满足了我的需求(其实我的需求就是能显示桌面歌词)。
因此我准备在这个项目的基础上进行修改,实现播放网易云音乐功能。
阅读百度音乐插件的源码及涉及到的深度音乐播放器的源码,将API替换成网易云音乐的。云音乐创建歌单/订阅歌单/私人FM的模式与百度音乐有很大区别,只保留原有结构,实现逻辑基本都重写,最终将将基本的播放、搜索、添加、删除、私人FM等功能都实现。
要不是需要根据这个插件再写一个插件,我根本不会去细看插件源码的。
我这么做,原因很简单——想在听歌的时候能看到歌词。
想一想,你在日常使用感觉到了哪些不便,或者有哪些地方可以更方便。
ping/traceroute出来的ip需要复制到浏览器搜索才能看到其地理位置,如果调用api在写ip地址的下方直接显示其地理位置就直观多了。
WordPress太大而且是用PHP写的我不懂想自定义根本不知道不知道怎么弄,如果我用flask框架写一个就可以怎么舒服怎么改了。
RSS只能订阅到最近的若干条内容,写个爬虫将历史文章爬出来然后生成RSS这样就方便多了。
。
。
。
当有需求时,找找是不是已经有解决方案。
如果已经有人将其解决,直接使用吧,make your life better。
如果别人的解决方案不完全符合你的需求,pull requests。
如果你是第一个考虑到这个问题,想办法解决,放到Github上让别人方便地使用,make their lives better。 其实没有什么特别的,就是你平时会用到的,且项目体积不大的,这里推荐几个
bottlepy/bottle · GitHub
一个文件就实现一个完整的web server, 看完这个再去看什么flask, tornado, django,绝对轻松
crsmithdev/arrow · GitHub
datetime, date ,time ?还是用arrow吧
kennethreitz/requests · GitHub
urllib, urllib2 ? Http Requests for Humans
如果自己平时不用,光看代码,我觉得成效不大,看代码最好还是能先粗看一遍,然后不太明白的地方,用pdb调试下,多来几遍就可以了
泻药。这个很难总结,给个 list 吧
tclh123 (Harry Lee) / starred · GitHub 既然都说是自动化处理了,题主再说明下方向吧? 很早之前学习的时候写的一个项目,最近找出来看看,发现写的好烂,但是绝对很容易看懂,我也不怕拿出来了,这几天完善一下功能,然后准备重构,哈哈GitHub - iamzcr/deep_flask 边用边学,就是像django这种大的框架也不可怕

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



It is impossible to view MongoDB password directly through Navicat because it is stored as hash values. How to retrieve lost passwords: 1. Reset passwords; 2. Check configuration files (may contain hash values); 3. Check codes (may hardcode passwords).

You can learn basic programming concepts and skills of Python within 2 hours. 1. Learn variables and data types, 2. Master control flow (conditional statements and loops), 3. Understand the definition and use of functions, 4. Quickly get started with Python programming through simple examples and code snippets.

Python is widely used in the fields of web development, data science, machine learning, automation and scripting. 1) In web development, Django and Flask frameworks simplify the development process. 2) In the fields of data science and machine learning, NumPy, Pandas, Scikit-learn and TensorFlow libraries provide strong support. 3) In terms of automation and scripting, Python is suitable for tasks such as automated testing and system management.

As a data professional, you need to process large amounts of data from various sources. This can pose challenges to data management and analysis. Fortunately, two AWS services can help: AWS Glue and Amazon Athena.

The steps to start a Redis server include: Install Redis according to the operating system. Start the Redis service via redis-server (Linux/macOS) or redis-server.exe (Windows). Use the redis-cli ping (Linux/macOS) or redis-cli.exe ping (Windows) command to check the service status. Use a Redis client, such as redis-cli, Python, or Node.js, to access the server.

To read a queue from Redis, you need to get the queue name, read the elements using the LPOP command, and process the empty queue. The specific steps are as follows: Get the queue name: name it with the prefix of "queue:" such as "queue:my-queue". Use the LPOP command: Eject the element from the head of the queue and return its value, such as LPOP queue:my-queue. Processing empty queues: If the queue is empty, LPOP returns nil, and you can check whether the queue exists before reading the element.

Question: How to view the Redis server version? Use the command line tool redis-cli --version to view the version of the connected server. Use the INFO server command to view the server's internal version and need to parse and return information. In a cluster environment, check the version consistency of each node and can be automatically checked using scripts. Use scripts to automate viewing versions, such as connecting with Python scripts and printing version information.

Navicat's password security relies on the combination of symmetric encryption, password strength and security measures. Specific measures include: using SSL connections (provided that the database server supports and correctly configures the certificate), regularly updating Navicat, using more secure methods (such as SSH tunnels), restricting access rights, and most importantly, never record passwords.
