Skip to main content

cnparser is a parser library of Corporate Number Publication Site data.

Project description

cnparser

Test
cnparser is a python library for loading and enrichment Corporate Number Publication Site data that is provided from National Tax Agency Japan. cnparser only support to parse latest data now.

Installation


cnparser is available on pip installation.

$ python -m pip install cnparser

GitHub Install

Installing the latest version from GitHub:

$ git clone https://github.com/new-village/cnparser
$ cd cnparser
$ python setup.py install

Usage


Many properties are available once the cnparser object is created.

Collect basic information (基本3情報)

>>> import cnparser
>>> cndata = cnparser.bulk_load("Shimane")
>>> cndata.show
[{'sequence_number': '1', 'corporate_number': '1000013050246', ...,  'hihyoji': '0'}, {...}]

Enrich information

>>> import cnparser
>>> cndata = cnparser.bulk_enrich(cndata)
>>> cndata.show
[{'sequence_number': '1', ..., 'lat': 34.978982, 'lng': 132.525163, 'level': 3}, {...}]

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

cnparser-1.0.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

cnparser-1.0.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file cnparser-1.0.0.tar.gz.

File metadata

  • Download URL: cnparser-1.0.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for cnparser-1.0.0.tar.gz
Algorithm Hash digest
SHA256 16ff041b8ee89a571ab9448f716ed1676e7b433152bebaf9c1c9985965c53c51
MD5 b886f57521a71d22408a3abb1bb5e88c
BLAKE2b-256 eec2fe5a0df3789b6029215d5a3580121f236a6e360d4a4c078936a45828bcd7

See more details on using hashes here.

File details

Details for the file cnparser-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cnparser-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for cnparser-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db41a6e03bf6d72a2065c6f4dcd532b343b8408eeb4c77049cc666d084f84c36
MD5 cca4afb817c5dc946afe3d5969adba69
BLAKE2b-256 bab0cd5ba3393a39e77c03f4bc7d542eb1502500f1d9fefe4b70d3fee79e79e2

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