Skip to main content

commute_agci is a Python package for analyzing commute data.

Project description

プロジェクト概要

このプロジェクトは、「commute_agci.py」という名前で、通勤時間と距離を記録、分析、可視化するためのPythonライブラリです。

主な機能

  • 通勤時間と距離の記録 (移動手段、時間、距離などを記録)
  • 通勤時間の分析 (平均通勤時間、移動手段ごとの平均時間など)
  • 通勤時間の可視化 (グラフ、図表など)
  • 距離分析 (移動手段ごとの平均距離など) (オプション機能)

利点

  • 通勤時間のパターンを理解し、時間管理を改善するのに役立ちます。
  • 異なる移動手段の効率を比較し、最適な移動手段を選択するのに役立ちます。
  • 通勤データに基づいて、交通インフラや政策の改善に役立ちます。

対象ユーザー

  • 通勤時間と距離を記録したい個人
  • 通勤データを分析したい企業や自治体
  • 通勤データに基づいた研究を行う研究者

技術スタック

  • Python
  • Pandas
  • Matplotlib
  • Geopy (オプション機能)

今後の予定

  • 機能の追加 (移動経路の可視化、CO2排出量の計算など)
  • モバイルアプリの開発
  • APIの提供

利用方法

このライブラリを使用するには、以下の手順に従ってください。

  1. ライブラリをインストールする:
pip install commute_agci
  1. 以下のコードを実行して、ライブラリをインポートします。
import commute_agci as ca
  1. ライブラリの機能を使用します。
# 通勤時間の記録
ca.record_commute_data('08:00', '08:45', 'car')

# 通勤時間の分析
avg_duration, grouped_data = ca.analyze_commute_data()
print(f"平均通勤時間: {avg_duration:.2f} 分")
print(f"移動手段ごとの平均通勤時間:")
print(grouped_data)

# 通勤時間の可視化
ca.plot_commute_data(data=grouped_data, x_axis='移動手段', y_axis='時間', title='移動手段ごとの平均通勤時間')

# 距離分析 (オプション機能)
ca.analyze_commute_distance_and_plot()

ライセンス

このライブラリは、MITライセンスでライセンスされています。

関連資料

なし

謝辞

このプロジェクトは、以下のオープンソースプロジェクトの貢献者に感謝しています。

  • Pandas
  • Matplotlib
  • Geopy

連絡先

このプロジェクトに関するご質問やご意見は、以下のメールアドレスまでお送りください。

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

commute_agci-0.6.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

commute_agci-0.6.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file commute_agci-0.6.2.tar.gz.

File metadata

  • Download URL: commute_agci-0.6.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for commute_agci-0.6.2.tar.gz
Algorithm Hash digest
SHA256 f14ec5eb9ca3637e61509bf33ee808b712c4c6e53d35189fc118a56f2b2cbb12
MD5 447d55d2ffd0e1428b949a8c26d608a1
BLAKE2b-256 218fd6dd6467ba972b9f6e56450f4f7d8b703c624b5fe3dd40ec6f773ac96948

See more details on using hashes here.

File details

Details for the file commute_agci-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: commute_agci-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for commute_agci-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea080605e2eec72c1f2263ce905d90dc06a271148b88d8faef57618dc1ef0a74
MD5 8376fb62177b8d4fc70c9100d5260849
BLAKE2b-256 9574b11442e3e68dffa38c2373eb29d303cfb2a1b5bd2505c73122166b7de918

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