-
Notifications
You must be signed in to change notification settings - Fork 38
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
147 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Baleen is a tool for ingesting formal natural language data from the discourse of professional and amateur writers: e.g. bloggers and news outlets. Rather than performing web scraping, Baleen focuses on data ingestion through the use of RSS feeds. It performs as much raw data collection as it can, saving data into a Mongo document store. | ||
|
||
For more, please see the full documentation at: http://baleen-ingest.readthedocs.org/en/latest/ |
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,7 @@ | ||
include *.md | ||
include *.txt | ||
include *.yml | ||
include Makefile | ||
recursive-include docs *.md | ||
recursive-include docs *.jpg | ||
recursive-include tests *.py |
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,40 @@ | ||
# baleen.version | ||
# Stores version information such that it can be read by setuptools. | ||
# | ||
# Author: Benjamin Bengfort <benjamin@bengfort.com> | ||
# Created: Thu Feb 18 20:14:16 2016 -0500 | ||
# | ||
# Copyright (C) 2016 Bengfort.com | ||
# For license information, see LICENSE.txt | ||
# | ||
# ID: version.py [] benjamin@bengfort.com $ | ||
|
||
""" | ||
Stores version information such that it can be read by setuptools. | ||
""" | ||
|
||
########################################################################## | ||
## Imports | ||
########################################################################## | ||
|
||
__version_info__ = { | ||
'major': 0, | ||
'minor': 1, | ||
'micro': 0, | ||
'releaselevel': 'final', | ||
'serial': 0, | ||
} | ||
|
||
|
||
def get_version(short=False): | ||
""" | ||
Computes a string representation of the version from __version_info__. | ||
""" | ||
assert __version_info__['releaselevel'] in ('alpha', 'beta', 'final') | ||
vers = ["%(major)i.%(minor)i" % __version_info__, ] | ||
if __version_info__['micro']: | ||
vers.append(".%(micro)i" % __version_info__) | ||
if __version_info__['releaselevel'] != 'final' and not short: | ||
vers.append('%s%i' % (__version_info__['releaselevel'][0], | ||
__version_info__['serial'])) | ||
return ''.join(vers) |
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,2 @@ | ||
[metadata] | ||
description-file = README.md |
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