pyreinfolib
国土交通省不動産情報ライブラリAPIサービスのPythonクライアントです。API仕様についての詳細はAPI操作説明ページをご参照ください。
Installation
pip install pyreinfolib
Supported Python Versions
Python >= 3.11
Usage
from pyreinfolib import Client
client = Client(api_key="<your api key>")
Example
不動産価格(取引価格・成約価格)情報
client.get_real_estate_prices(year=2024, quarter=1, price_classification="01", city="13109")
鑑定評価書情報
from pyreinfolib.enums import UseDivision
client.get_appraisal_reports(year=2024, area="13", division=UseDivision.INDUSTRIAL_LAND)
Typing
型情報を同梱しています(PEP 561)。
division、land_type_code、use_category_code には pyreinfolib.enums の enum メンバーを渡してください。StrEnum なので実行時は文字列でも動きますが、型チェックでは拒否されます。単一のコードはリストに包む必要はありません。
Author
@matsudan (daaamatsun@gmail.com)
Metadata
Release files for pyreinfolib 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyreinfolib-0.3.0.tar.gz | 34.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyreinfolib-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.7 kB
Release files / pyreinfolib-0.3.0.tar.gz
| Download URL | pyreinfolib-0.3.0.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
457cc57e723d1c21888841ca255504a4d3665c475cc15cf98e175916dd702188
|
|
BLAKE2b-256 checksum How to use checksums |
9edcf637d676623c466f41f60413fcf30b33a2735ac2850b77cc21f98c443152
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logRelease files / pyreinfolib-0.3.0-py3-none-any.whl
| Download URL | pyreinfolib-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cd3d3beaf9538f76f9033e4db7d6ad1ee57b2b17b092d1151927e969508a71c
|
|
BLAKE2b-256 checksum How to use checksums |
aafca6ad93d8176e0290e52ff55d7d3a3e6568bfeb6106b06ea28ad46b34c5f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency log