kswang2400 / lunchnaste Goto Github PK
View Code? Open in Web Editor NEWpinterest lunch slack bot
pinterest lunch slack bot
https://klayy-lmao.slack.com/services/BBL55F388?added=1
add some nice pinterest pins/boards links to the menu message
we can pull pins to send with each menu for certain menu items for pretty pictures
[03:13:43] ~/Desktop/lunchnaste (lambda-deploy) $ source lambda_deploy.sh
find . -name \*.cache -delete
find . -name \*.coverage -delete
find . -name \*.pyc -delete
find . -name \__pycache__ -delete
find . -name \.pytest_cache -delete
Looking in indexes: https://pypi-mirror-external.pinadmin.com/simple/, https://pypirepo-external.pinadmin.com/
Collecting pytest (from -r requirements.txt (line 1))
(lunchnaste) [05:52:17] ~/Desktop/lunchnaste (docs) $ env pytest
=================================== test session starts ===================================
platform darwin -- Python 3.6.4, pytest-3.6.2, py-1.5.3, pluggy-0.6.0
rootdir: /Users/[email protected]/Desktop/lunchnaste, inifile:
collected 0 items / 1 errors
========================================= ERRORS ==========================================
_______________________ ERROR collecting tests/test_html_parser.py ________________________
ImportError while importing test module '/Users/[email protected]/Desktop/lunchnaste/tests/test_html_parser.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_html_parser.py:5: in <module>
from src.menu_html_parser import MenuHTMLParser, DATE_FORMAT
E ModuleNotFoundError: No module named 'src'
!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!
================================= 1 error in 0.18 seconds =================================
(lunchnaste) [05:52:28] ~/Desktop/lunchnaste (docs) $
By default, return the menu for one building only and for one meal.
Then params can customize the response.
api-ize the data scraping, and hook it up to a twitter bot. ups the count of consumers to three (cronjob, slash command, twitter)
we can improve logs.
better name for lambda deploy zip file
add useful logging in code
current lambda api gateway authorization is open. if we put it inside pinterest vpn, it should be secure from pinterest slack and also i don't have to pay for it xP
current menu html parser feels hacky, beautifulsoup might be a better tool
we can pull pins to send with each menu for certain menu items for pretty pictures
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.