Skip to main content
|pypi| |pypi| |GitHub license| |travis| |coveralls|

erajp: Convert datetime to Japanese era
=======================================

Requirements
------------

- Python 2.7+
- Python 3.2+

Installation
------------

Install erajp via PyPI:

::

pip install erajp

How to use
----------

.. code:: python

>>> strjpftime()
'H27.08.05' # now
>>> strjpftime(datetime.datetime(1989, 1, 8))
'H1.01.08'
>>> strjpftime(datetime.datetime(1989, 1, 8), u"%O%E年")
'平成元年'

New available date format
~~~~~~~~~~~~~~~~~~~~~~~~~

- %o : alpabet era
- %O : Chinese charactor era
- %E : era year

Main Project Website.
---------------------

https://github.com/recruit-mtl/erajp

License
-------

MIT License

.. |pypi| image:: https://img.shields.io/pypi/dm/erajp.svg
:target: https://pypi.python.org/pypi/erajp
.. |pypi| image:: https://img.shields.io/pypi/v/erajp.svg
:target: https://pypi.python.org/pypi/erajp
.. |GitHub license| image:: https://img.shields.io/github/license/recruit-mtl/erajp.svg
:target: https://github.com/recruit-mtl/erajp
.. |travis| image:: https://img.shields.io/travis/recruit-mtl/erajp.svg
:target: https://travis-ci.org/recruit-mtl/erajp
.. |coveralls| image:: https://img.shields.io/coveralls/recruit-mtl/erajp.svg
:target: https://coveralls.io/github/recruit-mtl/erajp

Metadata

Release files for erajp 0.0.4

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

Source distribution (sdist)

Source distribution for erajp 0.0.4
File Size Uploaded Provenance Actions
erajp-0.0.4.tar.gz 2.0 kB Without provenance Details for erajp-0.0.4.tar.gz

Release files / erajp-0.0.4.tar.gz

Download URL erajp-0.0.4.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
55b4c7261dd20823a5e1844a8de92301bccff6d92adc97acd6eea07439818502
BLAKE2b-256 checksum
How to use checksums
7ea6d8a621e5512d51b2229c4fe94f772c9c3b1ac62ee15b7d1a6795e08c55c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for erajp 0.0.4

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.

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