Skip to content

Commit

Permalink
install jobscraper
Browse files Browse the repository at this point in the history
  • Loading branch information
sijanonly committed Jan 13, 2016
1 parent 53b3252 commit 5898310
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
jobscraper
--------
>>> pip install jobscraper

To use (with caution), simply do::

To use, simply do::

>>> from jobscraper import scrape
>>> jobs = scrape('python')
Expand Down
Empty file added jobscraper/tests/__init__.py
Empty file.
9 changes: 9 additions & 0 deletions jobscraper/tests/test_scrape.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from unittest import TestCase

from jobscraper.scraper import scrape


class TestScrape(TestCase):
def test_is_dict(self):
s = scrape('python')
self.assertTrue(isinstance(s, dict))
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.rst
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def readme():
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Jobs :: Freelancing',
'Topic :: Text Processing :: Markup :: HTML',
],
zip_safe=False
test_suite='nose.collector',
tests_require=['nose'],
)

0 comments on commit 5898310

Please sign in to comment.