Using python3.6 and sqlite, we need a small function to load a db and output or change values from records.
Example db is attached both in csv and sqlite db format. Semi-randomly generated data. Column headeers are USER_ID, FIRST_NAME, LAST_NAME, DOB, STREET, POSTCODE, CITY. Table name is tablename.
db was converted from csv with csv2sqlite with this command
python3 [login to view URL] [login to view URL] randomminidb [tablename]
Function should be: Name of database we are loading, output/change target column, select variables
If there is more than one output based on our criteria we return string "uncertain"
Find/print example:
python3 [login to view URL] print target=CITY FIRST_NAME=Floris LAST_NAME=Diepen DOB=24
prints Delfzijl. target USER_ID would find 1.
Change example:
python3 [login to view URL] change target=CITY change=Amsterdam USER_ID=1
now Delfzijl became Amsterdam in db
we print 1 if succesful
There can be any number of select statements and they should not be hardcoded - e.g. if we add BLA to the db as a column that should be an option to select for too.
Hello,
seems like a nice project for me.
I find your explanation to be very good, aldo i have some questions,
and would like to discuss them on chat before accepting the project.
How many actions would you need apart from print and change?
BR. Jurica
€100 EUR in 3 days
4.9 (11 reviews)
3.5
3.5
12 freelancers are bidding on average €132 EUR for this job
Greeting,
I have understood your python sqlite small script task and can do it with your 100% satisfaction. Please ping me for more discussion.
I have more than 5 years of experience in Python, SQL
I have been working with python for quite some time now. Do you want the script to run in command line and it manipulates the DB as you search your commands right.
I have read the requirement. Is your Db ready or you have to make some changes in that as well for this script. how many tables are there exactly on which you want this script to run ?
I hope to discuss these few things with you so i can get a clear view about your project.
I am experienced python developer with experience in sqlite. I have more than 5-year experience in python and Django development. I have worked in large scale AI project in python.
Also, I have worked as a senior developer in a data analytics platform for more than 1 year.
I am very confident that I can deliver you the best. Please ping me to start the project as I am clear with the requirement.
Thanks
Rupa