Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

flomo 浮墨

PyPI PyPI - Python Version GitHub stars

一个非官方的 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 相关项目

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flomo-1.0.0a0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

flomo-1.0.0a0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file flomo-1.0.0a0.tar.gz.

File metadata

  • Download URL: flomo-1.0.0a0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for flomo-1.0.0a0.tar.gz
Algorithm Hash digest
SHA256 552d8c866ef1125dc876ae3d333c2946e9a792b8356c6ba9d250f51ff61b5094
MD5 588223f5052470fdaeb54e12f66f1843
BLAKE2b-256 bda80bea07a232f15d18120c4e189ef42f553be184ff3ab728fd0fc06d0bbedc

See more details on using hashes here.

Provenance

The following attestation bundles were made for flomo-1.0.0a0.tar.gz:

Publisher: ci-cd.yml on Benature/flomo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flomo-1.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: flomo-1.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for flomo-1.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 2166a21c1a8f3508fd60a607726c831f8e6b8877d23c84465cb19ad0671cbe35
MD5 436c0a184d6dbdee224a0f039e91f3ed
BLAKE2b-256 6f9d57cdda27c0fb283e006abfe7507ff127922d596785f49fd4f57bc6616594

See more details on using hashes here.

Provenance

The following attestation bundles were made for flomo-1.0.0a0-py3-none-any.whl:

Publisher: ci-cd.yml on Benature/flomo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.0.0a0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page