Skip to content

Commit

Permalink
Add missing file header information
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Feb 20, 2020
1 parent e273247 commit 201139f
Show file tree
Hide file tree
Showing 11 changed files with 141 additions and 1 deletion.
16 changes: 16 additions & 0 deletions handprint/credentials/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
'''
Handprint module for handling credentials.
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

from .base import Credentials
from .amazon_auth import AmazonCredentials
from .google_auth import GoogleCredentials
Expand Down
12 changes: 12 additions & 0 deletions handprint/credentials/amazon_auth.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
'''
amazon_auth.py: subclass of handprint.credentials.base
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

import json
Expand Down
12 changes: 12 additions & 0 deletions handprint/credentials/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
'''
base.py: credentials base class
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

from appdirs import user_config_dir
Expand Down
12 changes: 12 additions & 0 deletions handprint/credentials/credentials_files.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
'''
credentials_files.py: mapping of services to credentials files
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

CREDENTIALS_FILES = {
Expand Down
12 changes: 12 additions & 0 deletions handprint/credentials/google_auth.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
'''
google_auth.py: subclass of handprint.credentials.base
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

import json
Expand Down
12 changes: 12 additions & 0 deletions handprint/credentials/microsoft_auth.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
'''
microsoft_auth.py: subclass of handprint.credentials.base
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

import json
Expand Down
16 changes: 16 additions & 0 deletions handprint/services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
'''
Handprint module for interfacing to text recognition cloud services.
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

from .amazon import AmazonRekognitionTR, AmazonTextractTR
from .google import GoogleTR
from .microsoft import MicrosoftTR
Expand Down
12 changes: 12 additions & 0 deletions handprint/services/amazon.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
'''
amazon.py: interface to Amazon network services Rekognition and Textract
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

import boto3
Expand Down
14 changes: 13 additions & 1 deletion handprint/services/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
'''
tr/base.py: base class definition for text recognition systems.
base.py: base class definition for text recognition systems.
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

from collections import namedtuple
Expand Down
12 changes: 12 additions & 0 deletions handprint/services/google.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
'''
google.py: interface to Google text recognition network service
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

import io
Expand Down
12 changes: 12 additions & 0 deletions handprint/services/microsoft.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
This code was originally based on the sample provided by Microsoft at
https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/quickstarts/python-hand-text
Authors
-------
Michael Hucka <[email protected]> -- Caltech Library
Copyright
---------
Copyright (c) 2018-2020 by the California Institute of Technology. This code
is open-source software released under a 3-clause BSD license. Please see the
file "LICENSE" for more information.
'''

import os
Expand Down

0 comments on commit 201139f

Please sign in to comment.