Skip to content

Commit

Permalink
Merge pull request #5 from JordanWelsman/develop
Browse files Browse the repository at this point in the history
WIP: Implement more frameworks and file types
  • Loading branch information
JordanWelsman authored Jan 12, 2023
2 parents a6e3ac8 + 0e70512 commit c2fc85a
Show file tree
Hide file tree
Showing 7 changed files with 510 additions and 9 deletions.
20 changes: 16 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
.DS_Store
.pytest_cache
.vscode
test/__pycache__
weights_and_biases.txt
.pytest_cache/
.vscode/
__pycache__/
build/
dist/
test/__pycache__/
nexport/__pycache__/
nexport/nexport.egg-info/
*.pyc
model.csv
model.json
model.txt
weights_and_biases.csv
weights_and_biases.json
weights_and_biases.txt
weights_and_biases.xml
7 changes: 7 additions & 0 deletions nexport/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Import utils.py so module functions are
# usable at 'import nexport' level.
from .utils import *

# Only show functions specified in
# utils.__all__ to the outside world.
__all__ = utils.__all__
23 changes: 23 additions & 0 deletions nexport/colors.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
class Color:
DEFAULT = '\033[39m'
BLACK = '\033[30m'
RED = '\033[31m'
GREEN = '\033[32m'
YELLOW = '\033[33m'
BLUE = '\033[34m'
MAGENTA = '\033[35m'
CYAN = '\033[36m'
LIGHTGRAY = '\033[37m'
DARKGRAY = '\033[90m'
LIGHTRED = '\033[91m'
LIGHTGREEN = '\033[92m'
LIGHTYELLOW = '\033[93m'
LIGHTBLUE = '\033[94m'
LIGHTMAGENTA = '\033[95m'
LIGHTCYAN = '\033[96m'
WHITE = '\033[97m'

def test():
print(f"{Color.DEFAULT}{Color.BLACK}{Color.DARKGRAY}{Color.LIGHTGRAY}{Color.WHITE}█")
print(f"{Color.RED}{Color.GREEN}{Color.YELLOW}{Color.BLUE}{Color.MAGENTA}{Color.CYAN}█")
print(f"{Color.LIGHTRED}{Color.LIGHTGREEN}{Color.LIGHTYELLOW}{Color.LIGHTBLUE}{Color.LIGHTMAGENTA}{Color.LIGHTCYAN}{Color.DEFAULT}")
Loading

0 comments on commit c2fc85a

Please sign in to comment.