Skip to content

😋 SDK Python pour accéder aux menus du restaurant "Au p'tit café" - Nouméa, Nouvelle-Calédonie

Notifications You must be signed in to change notification settings

adriens/auptitcafe-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI - Implementation PyPI - Python Version PyPI - Wheel PyPI - Format PyPI

❔ About

Finally a Python package to make getting Au p'it café's menus a piece of (cheese) cake.😅

With this package you can:

... and get them as list of objects or csv.

👉 See it live on Kaggle 👈

🔖 Social networks

IMAGE ALT TEXT HERE

🤓 Nerd resources

🚀 Quickstart

For the impatients, here is a quick and ready to use code snippet:

# Install the package
!pip install auptitcafe --upgrade

# Make some imports
from auptitcafe.menus import Menus
import pandas as pd

# Create the main utility instance
menu_instance = Menus()

# Dump menus as a csv file
menus = 'menus.csv'
menu_instance.to_csv(menus)

# Load menus in a panda dataframe
df = pd.read_csv(menus)
# Diplay dataframe
df

Build it

poetry show --tree
poetry build
poetry install

test

poetry run pytest

Publish

poetry config pypi-token.pypi $PYPI_TOKEN
poetry publish