Skip to main content

jk.zhou's datawork

Project description

Sun Jun 18 17:10:46 CST 2023

get_weibo() 微博图片获取(v 0.1.0)

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 uninstall pydatawork

安装:

pip3 install pydatawork
Sat Jun 17 17:32:47 CST 2023

修改了导入方式,使用下面的导入方式:

import pydatawork
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.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydatawork-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pydatawork-0.1.0.tar.gz.

File metadata

  • Download URL: pydatawork-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pydatawork-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b56972ef5b04fa510bb1359c2d490da49a24d60a753a0a06f304e95284cab87
MD5 42e6f54fe339a96c8a7b778f985698b5
BLAKE2b-256 36730b12cfc377e6d5f397169bc009fc9bf7c48cfdf2f94af49ce598bda20c2d

See more details on using hashes here.

File details

Details for the file pydatawork-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pydatawork-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pydatawork-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f22c55087b04f34d097011eacc1b5488fde1f763387ad69d2143c64ff768c844
MD5 4608306dca2d1c1675f487c56ed49ce5
BLAKE2b-256 779591ddd1f67723eca5c50481284ec2550c13f94edb48bf36112b89653660f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page