Skip to main content

ZaimのデータをSQLite DBに格納するPythonパッケージ

Project description

zaim-sqlite

PyPI version build License

Zaim のデータを SQLite DB に格納する Python パッケージ

Installation

You can install this library using PyPI:

pip install zaim-sqlite

使用方法

from zaim_sqlite import ZaimSqlite

database = "sqlite:///db/zaim.db"

# Zaim2Sqlite クラスのインスタンスを作成
app = ZaimSqlite(
    database,
    consumer_id,
    consumer_secret,
    access_token,
    access_token_secret,
    oauth_verifier,
)

# 口座一覧を挿入する
app.upsert_accounts()

# カテゴリ一覧を挿入する
app.upsert_categories()

# カテゴリの内訳一覧を挿入する
app.upsert_genres()

# 入出金履歴を挿入する
app.upsert_money()

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

zaim_sqlite-0.2.4.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

zaim_sqlite-0.2.4-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file zaim_sqlite-0.2.4.tar.gz.

File metadata

  • Download URL: zaim_sqlite-0.2.4.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for zaim_sqlite-0.2.4.tar.gz
Algorithm Hash digest
SHA256 2b429107cc39d57f85df8447bff5a5365b3c7f427f1a6cd5b03bc1db42fecd8e
MD5 536e4dbbe28d5692206b2d2d50d463de
BLAKE2b-256 32ab5974315e7fc163dbe7259b39f54a410671b1c4d18a1033aa47431e0a92c4

See more details on using hashes here.

File details

Details for the file zaim_sqlite-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: zaim_sqlite-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for zaim_sqlite-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f33a6846e62e9ad8a846a7941f660f52f2ffa90bea6f1a295ac99cff55b55f38
MD5 f0f0240aec157a6bb8ec08667a9f04cf
BLAKE2b-256 c75c7562ce64df6b7a6392ac6bfbf3e38bbf3b7ce20a805c86f9d19350a816e2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page