Skip to main content

sushi-allergy-parser is a parser for allergy infomation document of japanese conveyor-belt sushi chain.

Project description

sushi-allergy-parser

sushi-allergy-parser is a parser for allergy infomation document of japanese conveyor-belt sushi chain. Currently, the following documents are supported.

Requirements

sushi-allergy-parser depends on tabula-py, so you should install Java(7 or 8).

Installation

$ pip install sushi-allergy-parser

Usage

>>> from sushi_allergy_parser import SushiroAllergyParser
>>> df = SushiroAllergyParser().parse()
>>> type(df)
<class 'pandas.core.frame.DataFrame'>
>>> df
    category       name          egg  ...      gelatin       sesame    cashewNut
0        にぎり  合鴨ロースの煮込み  NOT_CONTAIN  ...  NOT_CONTAIN  NOT_CONTAIN  NOT_CONTAIN
1        にぎり        赤えび  NOT_CONTAIN  ...  NOT_CONTAIN  NOT_CONTAIN  NOT_CONTAIN
2        にぎり         あじ  NOT_CONTAIN  ...  NOT_CONTAIN  NOT_CONTAIN  NOT_CONTAIN
3        にぎり  あじ(ネギ生姜)  NOT_CONTAIN  ...  NOT_CONTAIN  NOT_CONTAIN  NOT_CONTAIN
4        にぎり   穴子天ぷらにぎり  MAY_CONTAIN  ...  MAY_CONTAIN  MAY_CONTAIN  NOT_CONTAIN
..       ...        ...          ...  ...          ...          ...          ...
319      その他        天つゆ  NOT_CONTAIN  ...  MAY_CONTAIN  MAY_CONTAIN  NOT_CONTAIN
320      その他       粉末緑茶  NOT_CONTAIN  ...  NOT_CONTAIN  NOT_CONTAIN  NOT_CONTAIN
321      その他        ぽん酢  NOT_CONTAIN  ...  NOT_CONTAIN  MAY_CONTAIN  NOT_CONTAIN
322      その他        わかめ  NOT_CONTAIN  ...  NOT_CONTAIN  NOT_CONTAIN  NOT_CONTAIN
323      その他        わさび  MAY_CONTAIN  ...  MAY_CONTAIN  NOT_CONTAIN  NOT_CONTAIN

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

sushi-allergy-parser-0.1.3.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

sushi_allergy_parser-0.1.3-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file sushi-allergy-parser-0.1.3.tar.gz.

File metadata

  • Download URL: sushi-allergy-parser-0.1.3.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Darwin/18.7.0

File hashes

Hashes for sushi-allergy-parser-0.1.3.tar.gz
Algorithm Hash digest
SHA256 554feaae7d62b7758037981bd945da4639297f4e1e637f2f07b53139262e9515
MD5 f7f8d19260241b55f08419005758a9ea
BLAKE2b-256 bee8a4a9a5eee8423ea83f3473b2ae7dec2dace4b13211108e800ba1f36783c5

See more details on using hashes here.

File details

Details for the file sushi_allergy_parser-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sushi_allergy_parser-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b8b35ddda0f3cf12e1e7eba9d3cb58459ff36e214d4522f8bb7ed12a719d711
MD5 28f38ea72b16ef37a4eeeace00396c95
BLAKE2b-256 c77fa2fdaf2ed049ced0bbee82e9ecef81b66d08bff9ce15b97c998dc7210d5a

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