How to use a model from a Django project in another Python script
You can use sql alchemy
You can add the mainscript as part of the django project
You can serve content using Django Rest Framework, the database connection happens when you access through manage.py, the table is available to anyone with permissions.
tl:dr; You need a connection to said database
I have a directory which contains a Django project with a models.py in which I have defined some models.  I have another directory somewhere else and which has a Python script.  In this script I would like to import one of the models "Foo" from models.py.
With the table "Foo", I want to create entries, update, get, etc...  How do I go about doing this?