jk.zhou's datawork
Project description
Sun Jun 18 17:10:46 CST 2023
get_weibo() 微博图片获取(v 0.1.1)
get_weibo(path,id,weibo_name)
参数说明:
path: 内容存放路径;
id: 微博id;
weibo_name: 内容存放路径下文件夹的名字。
示例:获取梅西的微博id,获取其微博内容
import pydatawork as dw
path="/home/Desktop/pydatawork"
id="3543420821" # 梅西的微博id。在网页版上能获得链接,链接中u后面的内容即为id ,梅西微博的id为 3543420821 https://weibo.com/u/3543420821
weibo_name="mx"
dw.get_weibo(path,id,weibo_name)
pypi维护指令
cd 到pydatawork文件夹
python3 setup.py sdist bdist_wheel # 打包
twine check dist/* # 检查
twine upload dist/* # 上传,需要输入帐号密码
Sat Jun 17 18:23:38 CST 2023
查看pydatawork是否有更新
pip3 list --outdated
pydatawork升级方法(先卸载,再安装)
pip3 uninstall pydatawork # 卸载
pip3 install pydatawork # 安装
Sat Jun 17 17:32:47 CST 2023
pydatawork 导入方式
import pydatawork # 标准导入方式
import pydatawork as dw # 推荐使用此方式,更简洁
Thu Jun 15 13:23:43 CST 2023
pydatawork安装
安装:
pip3 install pydatawork
关于
数据工作相关的分享。
推荐始终使用最新版。
要升级使用最新的安装包,比较稳定可靠的一种方式是,先卸载旧的,再重装。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydatawork-0.1.1.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydatawork-0.1.1.tar.gz.
File metadata
- Download URL: pydatawork-0.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dcf62878d0eff1543e6acbf266f30bb628c720dedac6b204a4ced729402f11b
|
|
| MD5 |
8a3710774dbf4c2f48d6ae0590633d6d
|
|
| BLAKE2b-256 |
e76c4e47121605ecf1a127e10e812433c8e40d3567baab41fdce777b92eddcde
|
File details
Details for the file pydatawork-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pydatawork-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a916d97baf5cb9d06f1529f7e9d046505f97e420f5090a0454c0670c74cf2a3b
|
|
| MD5 |
4ed84d169c6db047bc523b5f8789ce99
|
|
| BLAKE2b-256 |
f779b6a302865291a5f59ff12c32738447722c6da64f7a6c1c6cf7faacd99d2d
|