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(
    consumer_id,
    consumer_secret,
    access_token,
    access_token_secret,
    oauth_verifier,
    database,
)

# 口座一覧を挿入する
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.1.0.tar.gz (397.4 kB view details)

Uploaded Source

Built Distribution

zaim_sqlite-0.1.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zaim_sqlite-0.1.0.tar.gz
  • Upload date:
  • Size: 397.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for zaim_sqlite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c1e8dacc03b242d7d08e408142e45b68047d126f6e1b8dd1d44bd7643d2cca76
MD5 3f4ea8b67a9ce97a81be87351ca6ba3d
BLAKE2b-256 1c56298a4fa861930156a01774793a804742b525f6bb556119adedb95589eb3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zaim_sqlite-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for zaim_sqlite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43298add9bf461465cb42e1188ce246a4bc8cafd1fff7c38ab4b4f327513666b
MD5 e041c642584538723e31a51869856906
BLAKE2b-256 6e8c96ea661747e8bc32b3985093591382f832ecf038b5404a3829b93555ad68

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