Qiita Conference 2025 Autumn

ミノ駆動

MCPサーバー「モディフィウス」で変更容易性の向上をスケールする

9
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PythonでEvernote API

Posted at

なんか標準入力をevernoteに送るというコマンドをpythonで作った。正月に。
そのまま放置してたんだけど、せっかく作ったのに誰も使わないのが虚しいので改良して公開した。

こんな感じで使える

$ echo 'Note Content' | everstdin

$ tail -f /var/log/access_log | everstdin -t 'apache access log'

$ cat /etc/nginx/nginx.conf | everstdin --tags nginx,config --notebook linux

$ everstdin -t 'localhost hosts file' < /etc/hosts

tail -f とかシグナル送らないと終了できないものにも対応しようとして詰まってたけど、
よく考えたらfinallyに書くだけだった。。
argparseの便利さに感動した
evernote apiのデベロッパーページがわかりやすくてよかった

9
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Qiita Conference 2025 Autumn will be held!: 11/5(Wed) - 11/7(Fri)

Qiita Conference is Qiita's largest tech conference, dedicated to engineers in the age of AI!

Keynote Speaker

piacere, Tsuyoshi Ushio, Esteban Suarez, Takuto Wada, seya, MinoDriven, Toshihiro Ichitani, Karaage, Matz, Minorun

View event details
9
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?