/Python.sqlite3.row_factory.cast.update.20221025150401

Wrap update statements.

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

ja

Python.sqlite3.row_factory.cast.update

Wrap update statements.

Requirement

$ uname -a
Linux raspberrypi 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux

Installation

anyenv

git clone https://github.com/anyenv/anyenv ~/.anyenv
echo 'export PATH="$HOME/.anyenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(anyenv init -)"' >> ~/.bash_profile
anyenv install --init -y

pyenv

anyenv install pyenv
exec $SHELL -l

python

sudo apt install -y libsqlite3-dev libbz2-dev libncurses5-dev libgdbm-dev liblzma-dev libssl-dev tcl-dev tk-dev libreadline-dev
pyenv install -l
pyenv install 3.10.5

this works

git clone https://github.com/ytyaru/Python.sqlite3.row_factory.cast.update.20221025150401
cd Python.sqlite3.row_factory.cast.update.20221025150401/src

Usage

run

./run.py

unit test

./test.py

Author

ytyaru

  • github
  • hatena
  • twitter
  • mastodon

License

This software is CC0 licensed.

CC0