This release is a pre-release and may not be stable for production use.
flomo 浮墨
一个非官方的 API python 玩具盒 👀
prefer python3.7+
欢迎 Star 🌟、Fork 🍴、Issue 💬、PR. 一起让 flomo 用的更加得心应手
最新版在 dev 分支
Usage 使用
pip install -U flomo
Python 封装
from flomo import Flomo, Parser
authorization = "Bearer xxxxxxxxxxx"
flomo = Flomo(authorization)
memos = flomo.get_all_memos()
memo = Parser(memos[-1])
print(memo.text) # memo 纯文本
print(memo.url) # memo 链接
print(memo.tags)
或参考 main_simple.py (by MarkShawn2020)
authorization 是用户 flomo 登录后获取的 token,可在浏览器的开发者工具中查看。
CLI 命令行
# 配置token
flomo config --token 'your_token'
# 列出前5条备忘录,表格格式
flomo list -l 5 -f table
# 搜索包含关键词的备忘录
flomo search "知识管理" -f markdown
credit to MarkShawn2020
Local Install 本地安装
git clone https://github.com/Benature/flomo.git
make all
Relative Project 相关项目
- workflow: Benature/flomo workflow
- npm: geekdada/flomo api helper
Metadata
Release files for flomo 1.0.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flomo-1.0.0a0.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flomo-1.0.0a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.0 kB
Release files / flomo-1.0.0a0.tar.gz
| Download URL | flomo-1.0.0a0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
552d8c866ef1125dc876ae3d333c2946e9a792b8356c6ba9d250f51ff61b5094
|
|
BLAKE2b-256 checksum How to use checksums |
bda80bea07a232f15d18120c4e189ef42f553be184ff3ab728fd0fc06d0bbedc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2025.
Transparency logRelease files / flomo-1.0.0a0-py3-none-any.whl
| Download URL | flomo-1.0.0a0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2166a21c1a8f3508fd60a607726c831f8e6b8877d23c84465cb19ad0671cbe35
|
|
BLAKE2b-256 checksum How to use checksums |
6f9d57cdda27c0fb283e006abfe7507ff127922d596785f49fd4f57bc6616594
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2025.
Transparency log