子不语个人工具包-evernote
印象笔记的官方SDK年久失修,虽然也能使用,但却得搭配旧版本的Python;
且由于早期的Python风格问题,整个代码没有类型注解和编码提示;
这个版本是我自己对一些常用功能进行的封装,方便使用。
安装
pip install zibuyu-evernote
新增功能
- 增加了markdown与印象笔记的转换功能;
示例代码
from zibuyu_evernote import MyEvernote
my_evernote = MyEvernote(
auth_token="xxx", # 从官网获取token
sandbox=False, # 是否为沙盒测试环境
china=True, # 是否为中国区
)
markdown_content = """
# 样式笔记
## 二级标题
### 三级标题
- 无序列表1
- 无序列表2
"""
result = my_evernote.create_note(
title="测试笔记",
markdown_content=markdown_content,
)
print(result)
Metadata
Release files for zibuyu-evernote 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zibuyu_evernote-0.0.3.tar.gz | 144.3 kB | Without provenance | Details for zibuyu_evernote-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zibuyu_evernote-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for zibuyu_evernote-0.0.3-py3-none-any.whl |
Total release size: 305.1 kB
Release files / zibuyu_evernote-0.0.3.tar.gz
| Download URL | zibuyu_evernote-0.0.3.tar.gz |
|---|---|
| Size | 144.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18d8fc6387e15aa27e379e6f653daf4f74d38adc92beac998c667a6c59633fa7
|
|
BLAKE2b-256 checksum How to use checksums |
132629f2e330a5776d5ddc250a248dff6c90166410a644a1b88f711d7c716f7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / zibuyu_evernote-0.0.3-py3-none-any.whl
| Download URL | zibuyu_evernote-0.0.3-py3-none-any.whl |
|---|---|
| Size | 160.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f519a2abb559517ae819825e0be72db4e7a9b648eb67ee1928ee7c2635b71593
|
|
BLAKE2b-256 checksum How to use checksums |
e9f457b74b2fdfd6163448a07f104705f10c43d178f9c67a75ea4305fbe309b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Security for zibuyu-evernote 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.