Skip to main content

子不语个人工具包-印象笔记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


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.3.tar.gz (144.3 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.3-py3-none-any.whl (160.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zibuyu_evernote-0.0.3.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

Hashes for zibuyu_evernote-0.0.3.tar.gz
Algorithm Hash digest
SHA256 18d8fc6387e15aa27e379e6f653daf4f74d38adc92beac998c667a6c59633fa7
MD5 c6029097a7cd6c8b362378c4f2d9251e
BLAKE2b-256 132629f2e330a5776d5ddc250a248dff6c90166410a644a1b88f711d7c716f7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zibuyu_evernote-0.0.3-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

Hashes for zibuyu_evernote-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f519a2abb559517ae819825e0be72db4e7a9b648eb67ee1928ee7c2635b71593
MD5 cd1ff1643211d649a214abe2ac8d94cc
BLAKE2b-256 e9f457b74b2fdfd6163448a07f104705f10c43d178f9c67a75ea4305fbe309b9

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