Skip to main content

annofab-har

AnnofabのHAR(Http Archive)ファイルを扱うCLIです。

PyPI version Python Versions

Requirements

  • Python 3.10 以上

annofab_har sanitize

AnnofabのHARファイルから機密情報をマスクします。

マスク対象

HARファイルに含まれる以下の情報をマスクします。

  • response
    • content.text(レスポンスボディ)
    • cookies
  • request
    • postData.text(リクエストボディ)
    • cookies
    • headers
      • nameがAuthorizationであるvalue
    • url
      • AWS署名付きURLに含まれるマスク対象のクエリパラメータ(後述参照)
  • _initiator
    • urlに含まれるAWS署名付きURLに含まれるマスク対象のクエリパラメータ(後述参照)。再帰的に処理する。

AWS署名付きURLに含まれるマスク対象のクエリパラメータ

  • X-Amz-Credential
  • X-Amz-Signature
  • X-Amz-Security-Token

Usage

$ uv run annofab_har sanitize input.har --output output.har

annofab_har to_timing_csv

HARファイルからtimingに関する情報をCSVとして出力します。

CSVの列名

  • startedDateTime
  • request.method
  • request.url
  • response.status
  • response.content.size
  • response.content.mimeType
  • response.headers.contentLength
  • time
  • timings.blocked
  • timings.dns
  • timings.connect
  • timings.send
  • timings.wait
  • timings.receive
  • timings.ssl

Usage

$ uv run annofab_har to_timing_csv input.har --output output.csv

Metadata

Release files for annofab-har 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for annofab-har 0.1.2
File Size Uploaded Provenance Actions
annofab_har-0.1.2.tar.gz 6.1 kB Without provenance Details for annofab_har-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for annofab-har 0.1.2
File Interpreter ABI Platform Actions
annofab_har-0.1.2-py3-none-any.whl Python 3 none any Details for annofab_har-0.1.2-py3-none-any.whl

Total release size: 14.5 kB

Release files / annofab_har-0.1.2.tar.gz

Download URL annofab_har-0.1.2.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9130846fa4f72ebd89f0eb417b47632b8394318f0e67dc985312aecbff121781
BLAKE2b-256 checksum
How to use checksums
d7da7f1c27d019e7525a151cf5d9fba67cabe6f8e6e8df0b8d3e27f54fc15a56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / annofab_har-0.1.2-py3-none-any.whl

Download URL annofab_har-0.1.2-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2a694d0af97dc9b0ac06dfdbd0f16441e5effc563ed930a80f1494c76df7876
BLAKE2b-256 checksum
How to use checksums
7bdb28dcc30fac52c5a5198b937ba9b4e82cff7922228fe8415095eea2b1d869
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for annofab-har 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page