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.5.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

zaim_sqlite-0.2.5-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zaim_sqlite-0.2.5.tar.gz
  • Upload date:
  • Size: 10.9 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.5.tar.gz
Algorithm Hash digest
SHA256 5b46fa0ee1858399fa72ba320c0d42eb511284b2e2268d5891244b2950d64828
MD5 86aff305e9f35a5bbdd5dd4473ac955d
BLAKE2b-256 d0cb6f7108306a53a76578d0c0ba8532abbdb2ee7306d597b58502396c12d18f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zaim_sqlite-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 12.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4cd97e57296b1a6a4f45f65bde8d3561f4b0341a910c2d541a4aaf2124e5f304
MD5 6475703c7823dcfb068e1ba9a0e0f195
BLAKE2b-256 daf7ba4207c534cdb516a83977a3a4e2f36d33d5f55a4530fa097a0b328efd18

See more details on using hashes here.

Supported by

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