-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
44 additions
and
24 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
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 |
---|---|---|
@@ -1,25 +1,39 @@ | ||
This package provides standard functions for interacting with the | ||
Clowder open source data management system. Clowder is designed | ||
to allow researchers to build customized catalogs in the clouds | ||
to help you manage research data. | ||
This package provides standard functions for interacting with the Clowder | ||
open source data management system. Clowder is designed to allow researchers | ||
to build customized catalogs in the clouds to help you manage research data. | ||
|
||
One of the most interesting aspects of Clowder is the ability to extract | ||
metadata from any file. This ability is created using extractors. To make it | ||
easy to create these extractors in python we have created a module called | ||
clowder. Besides wrapping often used api calls in convenient python calls, we | ||
have also added some code to make it easy to create new extractors. | ||
|
||
Installation | ||
------------ | ||
|
||
The easiest way install pyclowder is using pip and pulling from PyPI. | ||
Use the following command to install:: | ||
Install using pip (for most recent versions see: https://pypi.org/project/pyclowder/): | ||
|
||
``` | ||
pip install pyclowder==2.5.1 | ||
``` | ||
|
||
pip install pyclowder | ||
Install pyClowder on your system by cloning this repo: | ||
|
||
Because this system is still under rapid development, you may want to | ||
install by cloning the repo using the following commands:: | ||
``` | ||
git clone https://github.com/clowder-framework/pyclowder.git | ||
cd pyclowder | ||
pip install -r requirements.txt | ||
python setup.py install | ||
``` | ||
|
||
git clone https://opensource.ncsa.illinois.edu/bitbucket/scm/cats/pyclowder.git | ||
cd pyclowder | ||
pip install -r requirements.txt | ||
python setup.py install | ||
or directly from GitHub: | ||
|
||
Or you can install directly from NCSA's Bitbucket:: | ||
``` | ||
pip install -r https://raw.githubusercontent.com/clowder-framework/pyclowder/master/requirements.txt git+https://github.com/clowder-framework/pyclowder.git | ||
``` | ||
|
||
pip install -r https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/pyclowder/raw/requirements.txt git+https://opensource.ncsa.illinois.edu/bitbucket/scm/cats/pyclowder.git | ||
Quickstart example | ||
------------------ | ||
|
||
See the [README](https://github.com/clowder-framework/pyclowder/tree/master/sample-extractors/wordcount#readme) | ||
in `sample-extractors/wordcount`. Using Docker, no install is required. |
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 |
---|---|---|
@@ -1 +1 @@ | ||
pyclowder==2.5.0 | ||
pyclowder==2.5.1 |
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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
#!/bin/bash | ||
|
||
VERSION=${1:-2.5.0} | ||
VERSION=${1:-2.5.1} | ||
|
||
MAJOR=${VERSION%.*} | ||
|
||
sed -i~ "s/## unreleased.*/## ${VERSION} - $(date +'%Y-%m-%d')/i" CHANGELOG.md | ||
sed -i~ "s/pyclowder==.*/pyclowder==${VERSION}/" README.md | ||
sed -i~ "s/pyclowder==.*/pyclowder==${VERSION}/" description.rst | ||
sed -i~ "s/pyclowder==.*/pyclowder==${VERSION}/" sample-extractors/wordcount/requirements.txt | ||
sed -i~ -e "s/release = u'.*'/release = u'${VERSION}'/" -e "s/version = u'.*'/version = u'${MAJOR}'/" docs/source/conf.py | ||
sed -i~ "s/version='.*'/version='${VERSION}'/" setup.py |