-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is one step toward resolving #2. The package can be installed with pip like: `pip install delphi-epidata` Note: the file `delphi_epidata.py` is missing from the package dir. This is simply to avoid (1) duplicating code within the repo while (2) not messing up the code structure since other projects expect to find `delphi_epidata.py` in a particular location. To build a new release of the package, first copy `delphi_epidata.py` into the package, then follow the instructions at https://packaging.python.org/tutorials/packaging-projects/
- Loading branch information
Showing
5 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2018 The Delphi Group at Carnegie Mellon University | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Delphi Epidata API Client | ||
|
||
This package provides a programmatic interface to | ||
[Delphi](https://delphi.midas.cs.cmu.edu/)'s epidemiological data ("epidata") | ||
API. Source code and usage information can be found at | ||
[https://github.com/cmu-delphi/delphi-epidata](https://github.com/cmu-delphi/delphi-epidata). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .delphi_epidata import Epidata | ||
|
||
name = 'delphi_epidata' | ||
__version__ = '0.0.4' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import setuptools | ||
|
||
with open('README.md', 'r') as f: | ||
long_description = f.read() | ||
|
||
setuptools.setup( | ||
name='delphi_epidata', | ||
version='0.0.4', | ||
author='David Farrow', | ||
author_email='[email protected]', | ||
description='A programmatic interface to Delphi\'s Epidata API.', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/cmu-delphi/delphi-epidata', | ||
packages=setuptools.find_packages(), | ||
install_requires=[ | ||
'requests>=2.7.0', | ||
], | ||
classifiers=[ | ||
'Programming Language :: Python', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Intended Audience :: Science/Research', | ||
'Natural Language :: English', | ||
'Topic :: Scientific/Engineering :: Bio-Informatics', | ||
], | ||
) |