Skip to main content

日本で使用される医薬品マスタを簡単に取得・利用するためのライブラリ

Project description

pytest GitHub License PyPI - Version PyPI Downloads

jp-medicine-master

日本で使用される医薬品マスタを簡単に取得・利用するためのライブラリ

利用可能な医薬品マスタ

インストール方法

pip install jp-medicine-master

使用方法

import jp_medicine_master as jpmed

各マスタについて、csvとして保存する関数(download_xxx)と pandasのDataFrameとして読み込む関数(read_xxx)がある。

レセプト電算処理システム用医薬品マスタ

# csvとして保存する場合
save_dir = '/path/to/directory'
filepath = jpmed.download_ssk_y(save_dir)  # /path/to/directory/y_ALL20241205.csv

# pandasのDataFrameとして読み込む場合
df = jpmed.read_ssk_y()

薬価基準収載医薬品

# csvとして保存する場合
save_dir = '/path/to/directory'
filepath = jpmed.download_mhlw_price(save_dir)  # /path/to/directory/tp20241206-01.csv

# pandasのDataFrameとして読み込む場合
df = jpmed.read_mhlw_price()

後発医薬品に関する情報

# csvとして保存する場合
save_dir = '/path/to/directory'
filepath = jpmed.download_mhlw_ge(save_dir)  # /path/to/directory/tp20241206-01_05.csv

# pandasのDataFrameとして読み込む場合
df = jpmed.read_mhlw_ge()

License

This software is released under the MIT License, see LICENSE.

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

jp_medicine_master-1.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

jp_medicine_master-1.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file jp_medicine_master-1.2.tar.gz.

File metadata

  • Download URL: jp_medicine_master-1.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for jp_medicine_master-1.2.tar.gz
Algorithm Hash digest
SHA256 1354b4651e1f638c5589b3e2fae5776c33371efbd77ee9bd30b2e5c7655130ab
MD5 66179154a6c8b3289d5cc580528a3ac8
BLAKE2b-256 b3319be12288ed99955297ce5dada3e2b77fee33b173876c97af8c520d8b48ce

See more details on using hashes here.

File details

Details for the file jp_medicine_master-1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jp_medicine_master-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 be23523e71d9c865aac44869b027c3dbb1c8591386de02854aeec1f05e642494
MD5 3e0034d740fe3b387930d4f8d654da24
BLAKE2b-256 3af987f881a8413a6efeefc543afceca3e17423395eef4aa005d445e9ef53b39

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