Skip to main content

jp_arrow.

Conver date/datetime from/to Japanese date/datetime.

This module highly depend on "arrow".

  • ISO date/datetime from/to Japanse date/datetime.
  • 100% compatible for "arrow" except japanses date.
  • builtins format for japanese date.

Install

pip install jp_arrow

How to use

In [1]: import jp_arrow

In [2]: jp_arrow.utcnow().format('EEYYYYMMDD', locale='ja')
Out[2]: '令和04年0715日'

In [3]:
In [2]: dt = jp_arrow.get('平成36年01月13日')

In [3]: dt
Out[3]: <Arrow [2024-01-13T00:00:00+00:00]>

In [4]: dt.format(jp_arrow.FORMAT_WAREKI)
Out[4]: '令和6年1月13日'

In [5]: dt.format(jp_arrow.FORMAT_WAREKI_W)
Out[5]: '令和06年01月13日'

In [6]: dt.format(jp_arrow.FORMAT_JISX0301)
Out[6]: 'R6.1.13'

In [7]: dt.format(jp_arrow.FORMAT_JISX0301_W)
Out[7]: 'R06.01.13'

In [8]:

Metadata

Release files for jp-arrow 0.1.1

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

Source distribution (sdist)

Source distribution for jp-arrow 0.1.1
File Size Uploaded Provenance Actions
jp_arrow-0.1.1.tar.gz 39.0 kB Without provenance Details for jp_arrow-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jp-arrow 0.1.1
File Interpreter ABI Platform Actions
jp_arrow-0.1.1-py3-none-any.whl Python 3 none any Details for jp_arrow-0.1.1-py3-none-any.whl

Total release size: 81.8 kB

Release files / jp_arrow-0.1.1.tar.gz

Download URL jp_arrow-0.1.1.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
73ffd85e338dbbafde62f76fb2e9c422e518cc7ccd93ea4847678a8d8c0b860b
BLAKE2b-256 checksum
How to use checksums
c4196ac6b39253b2838d8eccbec3819f1377de790ce468366097d0f2b3d3e435
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / jp_arrow-0.1.1-py3-none-any.whl

Download URL jp_arrow-0.1.1-py3-none-any.whl
Size 42.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ae3137e6d5c954861c649ad32fe14fc4c9b798207e21a0be1c9a2f8b95ea2c6
BLAKE2b-256 checksum
How to use checksums
0a3dda5a0cd76eff6da1ac3b8eba1db28f48c1220e111f235f61603c4330a70c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for jp-arrow 0.1.1

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.1 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