Add a bunch of files I don't recognize

I'm cleaning up my machine, these were here, I'm not sure which ones
matter
This commit is contained in:
Eli Ribble 2024-09-15 14:20:25 -07:00
parent d2c56d8a98
commit 79b2bf0f1f
22 changed files with 5379 additions and 0 deletions

4
bin/backend Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env python3
import vanth.celery
vanth.celery.run()

8
bin/test-celery Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env python3
import vanth.celery
def main():
vanth.celery.my_print.delay()
if __name__ == '__main__':
main()

7
bin/test-login Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env python3
import requests
import sys
payload = {'username': 'eliribble', 'password': sys.argv[1]}
response = requests.post('http://www.vanth.com/login/', data=payload)
print(response.status_code, response.text)

11
bin/test-update Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env python3
import vanth.main
import vanth.download
def main():
config = vanth.main.get_config()
vanth.main.create_db_connection(config)
print(vanth.download.do_all())
if __name__ == '__main__':
main()