Name | zaim-sqlite JSON |
Version |
0.2.5
JSON |
| download |
home_page | None |
Summary | ZaimのデータをSQLite DBに格納するPythonパッケージ |
upload_time | 2024-10-19 16:50:05 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT License Copyright (c) 2024 日高 凌 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
japan
japanese
sqlite
zaim
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# zaim-sqlite
[![PyPI version](https://badge.fury.io/py/zaim-sqlite.svg)](https://badge.fury.io/py/zaim-sqlite)
![build](https://github.com/ryohidaka/zaim-sqlite/workflows/Build/badge.svg)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
Zaim のデータを SQLite DB に格納する Python パッケージ
## Installation
You can install this library using PyPI:
```shell
pip install zaim-sqlite
```
## 使用方法
```py
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](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "zaim-sqlite",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "japan, japanese, sqlite, zaim",
"author": null,
"author_email": "ryohidaka <39184410+ryohidaka@users.noreply.github.com>",
"download_url": "https://files.pythonhosted.org/packages/d0/cb/6f7108306a53a76578d0c0ba8532abbdb2ee7306d597b58502396c12d18f/zaim_sqlite-0.2.5.tar.gz",
"platform": null,
"description": "# zaim-sqlite\n\n[![PyPI version](https://badge.fury.io/py/zaim-sqlite.svg)](https://badge.fury.io/py/zaim-sqlite)\n![build](https://github.com/ryohidaka/zaim-sqlite/workflows/Build/badge.svg)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nZaim \u306e\u30c7\u30fc\u30bf\u3092 SQLite DB \u306b\u683c\u7d0d\u3059\u308b Python \u30d1\u30c3\u30b1\u30fc\u30b8\n\n## Installation\n\nYou can install this library using PyPI:\n\n```shell\npip install zaim-sqlite\n```\n\n## \u4f7f\u7528\u65b9\u6cd5\n\n```py\nfrom zaim_sqlite import ZaimSqlite\n\ndatabase = \"sqlite:///db/zaim.db\"\n\n# Zaim2Sqlite \u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\napp = ZaimSqlite(\n database,\n consumer_id,\n consumer_secret,\n access_token,\n access_token_secret,\n oauth_verifier,\n)\n\n# \u53e3\u5ea7\u4e00\u89a7\u3092\u633f\u5165\u3059\u308b\napp.upsert_accounts()\n\n# \u30ab\u30c6\u30b4\u30ea\u4e00\u89a7\u3092\u633f\u5165\u3059\u308b\napp.upsert_categories()\n\n# \u30ab\u30c6\u30b4\u30ea\u306e\u5185\u8a33\u4e00\u89a7\u3092\u633f\u5165\u3059\u308b\napp.upsert_genres()\n\n# \u5165\u51fa\u91d1\u5c65\u6b74\u3092\u633f\u5165\u3059\u308b\napp.upsert_money()\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 \u65e5\u9ad8 \u51cc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "Zaim\u306e\u30c7\u30fc\u30bf\u3092SQLite DB\u306b\u683c\u7d0d\u3059\u308bPython\u30d1\u30c3\u30b1\u30fc\u30b8",
"version": "0.2.5",
"project_urls": {
"Changelog": "https://github.com/ryohidaka/blob/main/zaim-sqlite/CHANGELOG.md",
"Homepage": "https://github.com/ryohidaka/zaim-sqlite",
"Issues": "https://github.com/ryohidaka/zaim-sqlite/issues",
"Repository": "https://github.com/ryohidaka/zaim-sqlite"
},
"split_keywords": [
"japan",
" japanese",
" sqlite",
" zaim"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "daf7ba4207c534cdb516a83977a3a4e2f36d33d5f55a4530fa097a0b328efd18",
"md5": "6475703c7823dcfb068e1ba9a0e0f195",
"sha256": "4cd97e57296b1a6a4f45f65bde8d3561f4b0341a910c2d541a4aaf2124e5f304"
},
"downloads": -1,
"filename": "zaim_sqlite-0.2.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6475703c7823dcfb068e1ba9a0e0f195",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 12689,
"upload_time": "2024-10-19T16:50:03",
"upload_time_iso_8601": "2024-10-19T16:50:03.541914Z",
"url": "https://files.pythonhosted.org/packages/da/f7/ba4207c534cdb516a83977a3a4e2f36d33d5f55a4530fa097a0b328efd18/zaim_sqlite-0.2.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d0cb6f7108306a53a76578d0c0ba8532abbdb2ee7306d597b58502396c12d18f",
"md5": "86aff305e9f35a5bbdd5dd4473ac955d",
"sha256": "5b46fa0ee1858399fa72ba320c0d42eb511284b2e2268d5891244b2950d64828"
},
"downloads": -1,
"filename": "zaim_sqlite-0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "86aff305e9f35a5bbdd5dd4473ac955d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 10931,
"upload_time": "2024-10-19T16:50:05",
"upload_time_iso_8601": "2024-10-19T16:50:05.074206Z",
"url": "https://files.pythonhosted.org/packages/d0/cb/6f7108306a53a76578d0c0ba8532abbdb2ee7306d597b58502396c12d18f/zaim_sqlite-0.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-19 16:50:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ryohidaka",
"github_project": "blob",
"github_not_found": true,
"lcname": "zaim-sqlite"
}