子不语个人工具包-印象笔记SDK
Project description
子不语个人工具包-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)
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
zibuyu_evernote-0.0.2.tar.gz
(144.3 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 zibuyu_evernote-0.0.2.tar.gz.
File metadata
- Download URL: zibuyu_evernote-0.0.2.tar.gz
- Upload date:
- Size: 144.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e6b8082df9686e0e75e496739d36d4e55ad3d35a0d9389fc1c98a650bd49891
|
|
| MD5 |
af1c539722b9c82b509b09e6163cc321
|
|
| BLAKE2b-256 |
5e1a7aaabc5448190a2643c5fc25a2f8c3875e8169803e09793826211935b74e
|
File details
Details for the file zibuyu_evernote-0.0.2-py3-none-any.whl.
File metadata
- Download URL: zibuyu_evernote-0.0.2-py3-none-any.whl
- Upload date:
- Size: 160.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20eef1a34a34bf0d465909774382ffc52ebcda346c8874ce37f1eed87d43c391
|
|
| MD5 |
2c43b00edb4c9287768120baacc9572f
|
|
| BLAKE2b-256 |
deb5e6686b838d926dfedaf83982a93e1aa5d0e1654d80081e153b6651969ec9
|