Skip to main content
# pyneis
python http client for Neis service(http://neis.go.kr/)

[![Build Status](https://travis-ci.org/hallazzang/pyneis.svg?branch=master)](https://travis-ci.org/hallazzang/pyneis)

Installation
------------
```bash
$ pip install pyneis
```

Example
-------
```python
>>> import neis
>>> client = neis.NeisClient('서울')
>>> schools = client.search_school('휘문')
>>> print(schools)
[<School: 휘문중학교>, <School: 휘문고등학교>]

>>> meals = schools[1].get_weekly_meals(2015, 10, 10, 2)
>>> print(meals)
[<Meal: Empty>, <Meal: 6 Menus>, <Meal: 6 Menus>,
<Meal: 6 Menus>, <Meal: 6 Menus>, <Meal: Empty>, <Meal: Empty>]

>>> print(meals[1].menus)
[<Menu: 혼합잡곡밥>, <Menu: 돈육김치찌개>, <Menu: 안동찜닭>,
<Menu: 콩나물무침>, <Menu: 삼치살양념구이>, <Menu: 석박지>]
```

`School.get_weekly_meals()` takes `year`, `month`, `day` and `type` for parameters.
`type` can be 1(breakfast), 2(lunch), 3(dinner).

Note
----
pyneis is developed in Python 2.7.13


Metadata

Release files for pyneis 0.3.0

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

Source distribution (sdist)

Source distribution for pyneis 0.3.0
File Size Uploaded Provenance Actions
pyneis-0.3.0.tar.gz 4.6 kB Without provenance Details for pyneis-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyneis 0.3.0
File Interpreter ABI Platform Actions
pyneis-0.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for pyneis-0.3.0-py2.py3-none-any.whl

Total release size: 9.6 kB

Release files / pyneis-0.3.0.tar.gz

Download URL pyneis-0.3.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
17616ffa8867631799f8c302f05ffc19d426b2d070f22f1933a3be0d0f91af80
BLAKE2b-256 checksum
How to use checksums
9a83d5ca5e0405dffc1746681d6baabadb4817fd39fbd3f47b11314370e07727
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyneis-0.3.0-py2.py3-none-any.whl

Download URL pyneis-0.3.0-py2.py3-none-any.whl
Size 5.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
45ed0a57da7b82261246df0144e57fa6ab6b745eb78ac5b801fff84986f96637
BLAKE2b-256 checksum
How to use checksums
23c8e1f3fae71f2051a63018da16e1a6d5e0d7154f0e55a1645a054169ec16ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyneis 0.3.0

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