{"id":20450022,"url":"https://github.com/turboway/pydemo","last_synced_at":"2025-04-13T02:11:08.035Z","repository":{"id":104902767,"uuid":"278028682","full_name":"TurboWay/pydemo","owner":"TurboWay","description":"记录一些日常用的 python demo","archived":false,"fork":false,"pushed_at":"2022-08-04T02:42:06.000Z","size":77,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T19:45:38.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TurboWay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-08T08:05:29.000Z","updated_at":"2024-03-13T06:42:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9b6cb7c-8151-4f44-8066-cfd5f972e00e","html_url":"https://github.com/TurboWay/pydemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurboWay%2Fpydemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurboWay%2Fpydemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurboWay%2Fpydemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurboWay%2Fpydemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TurboWay","download_url":"https://codeload.github.com/TurboWay/pydemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654090,"owners_count":21140236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T10:49:40.724Z","updated_at":"2025-04-13T02:11:08.013Z","avatar_url":"https://github.com/TurboWay.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pydemo\n记录一些日常用的 python demo\n\n## list\n\n| demo | 功能  | \n| ------------ | ------------ |\n| [demo_algorithm_hash.py](demo_algorithm_hash.py)       | 一致性哈希算法 |\n| [demo_algorithm_sort.py](demo_algorithm_sort.py)       | 排序算法 |\n| [demo_asyncio.py](demo_asyncio.py)       | 异步 |\n| [demo_code.py](demo_code.py)       | 字符编码处理 |\n| [demo_code_video.py](demo_code_video.py)       | 将视频转换成代码视频 |\n| [demo_decorator.py](demo_decorator.py)       | 重试、计时装饰器 |\n| [demo_faker.py](demo_faker.py)       | 生成假数据 |\n| [demo_fastapi.py](demo_fastapi.py)       | fastapi 写 api 服务 |\n| [demo_file_parse.py](demo_file_parse.py)       | docx , pdf 文件解析 |\n| [demo_fire.py](demo_fire.py)       | python 写命令行工具 |\n| [demo_github_host.py](demo_github_host.py)       | 更新 github 的 host 配置 |\n| [demo_importlib.py](demo_importlib.py)       | 动态导入包 |\n| [demo_int.py](demo_int.py)       | 进制转换 |\n| [demo_jieba.py](demo_jieba.py)       | 结巴分词 |\n| [demo_m3u8.py](demo_m3u8.py)       | m3u8 下载器 |\n| [demo_m3u8_AES.py](demo_m3u8_AES.py)       | m3u8 下载器 (AES加密) |\n| [demo_multithread.py](demo_multithread.py)       | 多线程并发 + 进度条 |\n| [demo_nginx_block_ip.py](demo_nginx_block_ip.py)       | nginx 自动禁ip |\n| [demo_numpy.py](demo_numpy.py)       | numpy 类型练习 |\n| [demo_onepiece.py](demo_onepiece.py)       | 海贼王漫画下载 |\n| [demo_ownthink.py](demo_ownthink.py)       | 思知机器人 |\n| [demo_pandas_analyze.py](demo_pandas_analyze.py)       | pandas 数据统计 |\n| [demo_pandas_datetable.py](demo_pandas_datetable.py)       | pandas 生成日期表 |\n| [demo_pandas_db.py](demo_pandas_db.py)       | pandas 操作数据库 |\n| [demo_pandas_etl.py](demo_pandas_etl.py)       | pandas 做数据清洗 |\n| [demo_pandas_excel.py](demo_pandas_excel.py)       | pandas 操作 Excel |\n| [demo_pil.py](demo_pil.py)       | 图片缩放处理 |\n| [demo_psutil.py](demo_psutil.py)       | 根据进程名杀死进程 |\n| [demo_qiniu_monitor.py](demo_qiniu_monitor.py)       | 七牛云 oss 自动监控流量 |\n| [demo_qrcode.py](demo_qrcode.py)       | 二维码的生成与解读 |\n| [demo_recursion.py](demo_recursion.py)       | 秒数时长格式化(递归) |\n| [demo_schedule.py](demo_schedule.py)       | 定时执行命令 |\n| [demo_selenium.py](demo_selenium.py)       | 自动操作 chrome 浏览器 |\n| [demo_sklearn_dim.py](demo_sklearn_dim.py)       | sklearn 降维 |\n| [demo_sklearn_model.py](demo_sklearn_model.py)       | sklearn 模型使用 |\n| [demo_sklearn_predict.py](demo_sklearn_predict.py)       | 线性回归模型做预测 |\n| [demo_sklearn_process.py](demo_sklearn_process.py)       | sklearn 数据预处理 |\n| [demo_snownlp.py](demo_snownlp.py)       | snownlp 处理 |\n| [demo_sqlalchemy.py](demo_sqlalchemy.py)       | 执行 sql |\n| [demo_ssh.py](demo_ssh.py)       | ssh服务器文件夹上传下载 |\n| [demo_subprocess.py](demo_subprocess.py)       | 执行 shell |\n| [demo_tempfile.py](demo_tempfile.py)       | 优雅地处理临时文件 |\n| [demo_tinify.py](demo_tinify.py)       | tinypng 图片压缩 |\n| [demo_tkinter.py](demo_tkinter.py)       | tkinter 制作可视化小工具 |\n| [demo_useragent_parser.py](demo_useragent_parser.py)       | 解析 user-agent 识别用户端和其它相关信息 |\n| [demo_weekly.py](demo_weekly.py)       | 下载 科技爱好者周刊 docs 源码, 遍历生成纯资源 md |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturboway%2Fpydemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturboway%2Fpydemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturboway%2Fpydemo/lists"}