Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploaded all custom packages to PyPi and now I'm importing them instead #13

Merged
merged 1 commit into from
Jan 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Starter/TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# TODO
See the [issues](https://github.com/drkostas/starter/issues) too.
- [X] Create Tests
- [X] Create Readme
- [ ] Stop Global Warming
- [X] Initialize template repository
6 changes: 3 additions & 3 deletions Starter/confs/template_conf.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
tag: template
cloudstore:
cloud-filemanager:
- config:
api_key: yourapikey
type: dropbox
datastore:
high-sql:
- config:
hostname: hostname
username: username
password: pass
db_name: mydb
port: 3306
type: mysql
emailer:
pyemail-sender:
- config:
email_address: foo@gmail.com
api_key: 123
Expand Down
6 changes: 3 additions & 3 deletions Starter/confs/template_conf_with_env_variables.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
tag: template
cloudstore:
cloud-filemanager:
- config:
api_key: !ENV ${DROPBOX_API_KEY}
type: dropbox
datastore:
high-sql:
- config:
hostname: !ENV ${MYSQL_HOST}
username: !ENV ${MYSQL_USERNAME}
password: !ENV ${MYSQL_PASSWORD}
db_name: !ENV ${MYSQL_DB_NAME}
port: 3306
type: mysql
emailer:
pyemail-sender:
- config:
email_address: !ENV ${EMAIL_ADDRESS}
api_key: !ENV ${GMAIL_API_KEY}
Expand Down
13 changes: 6 additions & 7 deletions Starter/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
dropbox~=11.10.0
gmail~=0.6.3
jsonschema~=3.2.0
mysql-connector-python~=8.0.19
mysql-connector~=2.2.9
PyYAML~=5.4.1
setuptools~=52.0.0
termcolor~=1.1.0
typer~=0.3.2
yaml-config-wrapper>=1.0.4
termcolor-logger>=1.0.3
pyemail-sender>=1.0.1
high-sql>=1.0.2
cloud-filemanager>=1.0.1
bench-utils>=1.0.3
4 changes: 3 additions & 1 deletion Starter/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def run(self):
'starter_main = starter.main:main'
]

data_files = ['starter/configuration/yml_schema.json']
data_files = [
# 'starter/a-file'
]

setup(
author="drkostas",
Expand Down
13 changes: 6 additions & 7 deletions Starter/starter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
"""Top-level package for Starter."""

from starter.fancy_logger import ColorizedLogger
from starter.timing_tools import timeit
from starter.profiling_funcs import profileit
from starter.configuration import Configuration, validate_json_schema
from starter.cloudstore import DropboxCloudstore
from starter.datastore import MySqlDatastore
from starter.emailer import GmailEmailer
from termcolor_logger import ColorLogger
from bench_utils import timeit, profileit
from yaml_config_wrapper import Configuration, validate_json_schema
from cloud_filemanager import DropboxCloudManager
from high_sql import HighMySQL
from pyemail_sender import GmailPyEmailSender

__author__ = "drkostas"
__email__ = "georgiou.kostas94@gmail.com"
Expand Down
7 changes: 0 additions & 7 deletions Starter/starter/cloudstore/__init__.py

This file was deleted.

72 changes: 0 additions & 72 deletions Starter/starter/cloudstore/abstract_cloudstore.py

This file was deleted.

106 changes: 0 additions & 106 deletions Starter/starter/cloudstore/dropbox_cloudstore.py

This file was deleted.

7 changes: 0 additions & 7 deletions Starter/starter/configuration/__init__.py

This file was deleted.

Loading