Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9d4d4e0

Browse files
banknote api first commit
0 parents commit 9d4d4e0

10 files changed

+1657
-0
lines changed

‎.dockerignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.git/
2+
3+
build
4+
dist
5+
*.egg-info
6+
*.egg/
7+
*.pyc
8+
*.swp
9+
10+
.tox
11+
.coverage
12+
html/*
13+
__pycache__
14+
15+
# Compiled Documentation
16+
docs/_build
17+
18+
.gitignore
19+
.vscode
20+
app/__pycache__
21+
app/data/__pycache__
22+
app/data/data_banknote_authentication.txt

‎.gitignore

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
.DS_Store
2+
.huskyrc.json
3+
out
4+
log.log
5+
**/node_modules
6+
*.pyc
7+
*.vsix
8+
**/.vscode/.ropeproject/**
9+
**/testFiles/**/.cache/**
10+
*.noseids
11+
.nyc_output
12+
.vscode-test
13+
__pycache__
14+
npm-debug.log
15+
**/.mypy_cache/**
16+
!yarn.lock
17+
coverage/
18+
cucumber-report.json
19+
**/.vscode-test/**
20+
**/.vscode test/**
21+
**/.vscode-smoke/**
22+
**/.venv*/
23+
port.txt
24+
precommit.hook
25+
pythonFiles/experimental/ptvsd/**
26+
pythonFiles/lib/**
27+
debug_coverage*/**
28+
languageServer/**
29+
languageServer.*/**
30+
!uitests/features/languageServer/**
31+
!uitests/src/languageServer/**
32+
!uitests/code/**/languageServer/**
33+
bin/**
34+
obj/**
35+
.pytest_cache
36+
tmp/**
37+
.python-version
38+
.vs/
39+
test-results.xml
40+
uitests/out/**
41+
!build/
42+
# Byte-compiled / optimized / DLL files
43+
__pycache__/
44+
*.py[cod]
45+
*$py.class
46+
47+
# C extensions
48+
*.so
49+
50+
# Distribution / packaging
51+
.Python
52+
build/
53+
develop-eggs/
54+
dist/
55+
downloads/
56+
eggs/
57+
.eggs/
58+
lib/
59+
lib64/
60+
parts/
61+
sdist/
62+
var/
63+
wheels/
64+
pip-wheel-metadata/
65+
share/python-wheels/
66+
*.egg-info/
67+
.installed.cfg
68+
*.egg
69+
MANIFEST
70+
71+
# PyInstaller
72+
# Usually these files are written by a python script from a template
73+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
74+
*.manifest
75+
*.spec
76+
77+
# Installer logs
78+
pip-log.txt
79+
pip-delete-this-directory.txt
80+
81+
# Unit test / coverage reports
82+
htmlcov/
83+
.tox/
84+
.nox/
85+
.coverage
86+
.coverage.*
87+
.cache
88+
nosetests.xml
89+
coverage.xml
90+
*.cover
91+
*.py,cover
92+
.hypothesis/
93+
.pytest_cache/
94+
95+
# Translations
96+
*.mo
97+
*.pot
98+
99+
# Django stuff:
100+
*.log
101+
local_settings.py
102+
db.sqlite3
103+
db.sqlite3-journal
104+
105+
# Flask stuff:
106+
instance/
107+
.webassets-cache
108+
109+
# Scrapy stuff:
110+
.scrapy
111+
112+
# Sphinx documentation
113+
docs/_build/
114+
115+
# PyBuilder
116+
target/
117+
118+
# Jupyter Notebook
119+
.ipynb_checkpoints
120+
121+
# IPython
122+
profile_default/
123+
ipython_config.py
124+
125+
# pyenv
126+
.python-version
127+
128+
# pipenv
129+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
130+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
131+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
132+
# install all needed dependencies.
133+
#Pipfile.lock
134+
135+
# celery beat schedule file
136+
celerybeat-schedule
137+
138+
# SageMath parsed files
139+
*.sage.py
140+
141+
# Environments
142+
.env
143+
.venv
144+
env/
145+
venv/
146+
ENV/
147+
env.bak/
148+
venv.bak/
149+
150+
# Spyder project settings
151+
.spyderproject
152+
.spyproject
153+
154+
# Rope project settings
155+
.ropeproject
156+
157+
# mkdocs documentation
158+
/site
159+
160+
# mypy
161+
.mypy_cache/
162+
.dmypy.json
163+
dmypy.json
164+
165+
# Pyre type checker
166+
.pyre/
167+
168+
.vscode/*
169+
.vscode/

‎Dockerfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Tensforlow 2 official image with Python 3.6 as base
2+
FROM tensorflow/tensorflow:2.0.0-py3
3+
4+
# Maintainer info
5+
LABEL maintainer="blahbah@something.com"
6+
7+
# Make working directories
8+
RUN mkdir -p /home/project-api
9+
WORKDIR /home/project-api/
10+
11+
# Upgrade pip with no cache
12+
RUN pip install --no-cache-dir -U pip
13+
14+
# Copy application requirements file to the created working directory
15+
COPY requirements.txt .
16+
17+
# Install application dependencies from the requirements file
18+
RUN pip install -r requirements.txt
19+
20+
# Copy every file in the source folder to the created working directory
21+
COPY . .
22+
23+
# Run the python application
24+
CMD ["python", "app/main.py"]

‎app/data/__init__.py

Whitespace-only changes.
51.4 KB
Binary file not shown.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /