dvrhax / uPyMySQL

Pure uPython MySQL Client
MIT License
24 stars 5 forks source link

Quick Install using mip #4

Open RattyDAVE opened 1 year ago

RattyDAVE commented 1 year ago

Hi,

I have this code snippet to install directly.

This may be of use to some.

import mip
mip.install("github:dvrhax/uPyMySQL/upymysql/_socketio.py", target="/lib/upymysql")
mip.install("github:dvrhax/uPyMySQL/upymysql/charset.py", target="/lib/upymysql")
mip.install("github:dvrhax/uPyMySQL/upymysql/connections.py", target="/lib/upymysql")
mip.install("github:dvrhax/uPyMySQL/upymysql/optionfile.py", target="/lib/upymysql")
mip.install("github:dvrhax/uPyMySQL/upymysql/cursors.py", target="/lib/upymysql")
mip.install("github:dvrhax/uPyMySQL/upymysql/times.py", target="/lib/upymysql")
mip.install("github:dvrhax/uPyMySQL/upymysql/constants/COMMAND.py", target="/lib/upymysql/constants")
mip.install("github:dvrhax/uPyMySQL/upymysql/constants/CLIENT.py", target="/lib/upymysql/constants")
mip.install("github:dvrhax/uPyMySQL/upymysql/constants/FIELD_TYPE.py", target="/lib/upymysql/constants")
mip.install("github:dvrhax/uPyMySQL/upymysql/constants/CR.py", target="/lib/upymysql/constants")
mip.install("github:dvrhax/uPyMySQL/upymysql/constants/FLAG.py", target="/lib/upymysql/constants")
mip.install("github:dvrhax/uPyMySQL/upymysql/constants/SERVER_STATUS.py", target="/lib/upymysql/constants")
mip.install("github:dvrhax/uPyMySQL/upymysql/constants/__init__.py", target="/lib/upymysql/constants")
mip.install("github:dvrhax/uPyMySQL/upymysql/converters.py", target="/lib/upymysql")
mip.install("github:dvrhax/uPyMySQL/upymysql/util.py", target="/lib/upymysql")
mip.install("github:dvrhax/uPyMySQL/upymysql/__init__.py", target="/lib/upymysql")
dvrhax commented 10 months ago

Very cool. Thanks for the contribution.