Compare commits
No commits in common. "2f8085109f598026b00e2940411afb2614306eec" and "f33627fed6082361545a45a456f823ad4dd47297" have entirely different histories.
2f8085109f
...
f33627fed6
0
handle_gpx.py
Normal file
0
handle_gpx.py
Normal file
0
handle_mail.py
Normal file
0
handle_mail.py
Normal file
19
main.py
19
main.py
@ -1,19 +0,0 @@
|
||||
import configparser
|
||||
from imaplib import IMAP4
|
||||
|
||||
from sqlalchemy import create_engine
|
||||
|
||||
|
||||
config = configparser.ConfigParser().read('config.ini')
|
||||
db = create_engine(f"postgresql://{config['db']['username']}:{config['db']['password']}@{config['db']['host']}/{config['db']['database']}")
|
||||
|
||||
|
||||
def main():
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
main()
|
||||
except (KeyboardInterrupt, EOFError):
|
||||
pass
|
@ -1,3 +0,0 @@
|
||||
sqlalchemy
|
||||
gpxpy
|
||||
psycopg2
|
Loading…
x
Reference in New Issue
Block a user