Skip to main content

子不语个人工具包-印象笔记SDK

Project description

子不语个人工具包-evernote

印象笔记的官方SDK年久失修,虽然也能使用,但却得搭配旧版本的Python;

且由于早期的Python风格问题,整个代码没有类型注解和编码提示;

这个版本是我自己对一些常用功能进行的封装,方便使用。

新增功能

  • 增加了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


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.1.tar.gz (144.1 kB view details)

Uploaded Source

Built Distribution

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

zibuyu_evernote-0.0.1-py3-none-any.whl (159.4 kB view details)

Uploaded Python 3

File details

Details for the file zibuyu_evernote-0.0.1.tar.gz.

File metadata

  • Download URL: zibuyu_evernote-0.0.1.tar.gz
  • Upload date:
  • Size: 144.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for zibuyu_evernote-0.0.1.tar.gz
Algorithm Hash digest
SHA256 48dc97ee02d6e3f1b16b29baaf95a1d6e77b590c28c5cb16d996f1947424ed92
MD5 bf7161e32dd8c25edbd36b5182377126
BLAKE2b-256 12f6e6480d2c4502b7eff19db34386caee6b2ab616b6c739da2d284c92da4fd4

See more details on using hashes here.

File details

Details for the file zibuyu_evernote-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: zibuyu_evernote-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 159.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for zibuyu_evernote-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9fbfdc59e77f13f6acc4eaeccc54d35189e5cee3c4a2a735b2459fbadb601726
MD5 03ff3a094b31d0e9c1619917c3635eee
BLAKE2b-256 e20565e26ca5ab3c169caf82c91c196d1b1739b774b3f1b136db2fc04b25f374

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