changedotorgscraper 0.0.4__tar.gz → 0.0.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ChangeDotOrgScraper
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: Scrapes online petition data from change.org
5
5
  Author: Charles Alba
6
6
  Author-email: alba@wustl.edu
@@ -19,11 +19,10 @@ Requires-Dist: requests
19
19
  Requires-Dist: bs4
20
20
  Requires-Dist: tqdm
21
21
  Requires-Dist: pandas
22
- Requires-Dist: ast
23
22
 
24
23
  Scrapes online petition data from [change.org](https://www.change.org/).
25
24
 
26
25
 
27
26
 
28
- [![pypi package](https://img.shields.io/badge/pypi_package-v0.0.4-brightgreen)](https://pypi.org/project/ChangeDotOrgScraper/) [![GitHub Source Code](https://img.shields.io/badge/github_source_code-source_code?logo=github&color=green)](https://github.com/cja5553/change_org_scraper)
29
-
27
+ [![pypi package](https://img.shields.io/badge/pypi_package-v0.0.5-brightgreen)](https://pypi.org/project/ChangeDotOrgScraper/) [![GitHub Source Code](https://img.shields.io/badge/github_source_code-source_code?logo=github&color=green)](https://github.com/cja5553/change_org_scraper)
28
+
30
29
 
31
30
 
32
31
  ## Quick Start
33
32
 
34
33
  Here we provide a quick example on how you can use `ChangeDotOrgScraper` to scrape petition data right from [change.org](https://www.change.org/).
35
34
 
@@ -39,7 +38,7 @@ url='https://www.change.org/search?q=Supplemental%20Nutrition%20Assistance%20Pro
39
38
  SNAP_petitions_df=scrape_petitions(url)
40
39
 
41
40
  print(SNAP_petitions_df)
42
41
 
43
42
  ```
44
43
 
45
- It returns a dataframe with all the petitions data with details such as the petition(s) description, date created, target audience signature count, location created, victory status, etc.
46
-
44
+ It returns a dataframe with all the petitions data, which contains details such as the petition(s) title, description, date created, target audience signature count, location created, victory status, etc.
45
+
47
46
 
48
47
 
49
48
 
50
49
 
51
50
 
52
51
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ChangeDotOrgScraper
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: Scrapes online petition data from change.org
5
5
  Author: Charles Alba
6
6
  Author-email: alba@wustl.edu
@@ -19,11 +19,10 @@ Requires-Dist: requests
19
19
  Requires-Dist: bs4
20
20
  Requires-Dist: tqdm
21
21
  Requires-Dist: pandas
22
- Requires-Dist: ast
23
22
 
24
23
  Scrapes online petition data from [change.org](https://www.change.org/).
25
24
 
26
25
 
27
26
 
28
- [![pypi package](https://img.shields.io/badge/pypi_package-v0.0.4-brightgreen)](https://pypi.org/project/ChangeDotOrgScraper/) [![GitHub Source Code](https://img.shields.io/badge/github_source_code-source_code?logo=github&color=green)](https://github.com/cja5553/change_org_scraper)
29
-
27
+ [![pypi package](https://img.shields.io/badge/pypi_package-v0.0.5-brightgreen)](https://pypi.org/project/ChangeDotOrgScraper/) [![GitHub Source Code](https://img.shields.io/badge/github_source_code-source_code?logo=github&color=green)](https://github.com/cja5553/change_org_scraper)
28
+
30
29
 
31
30
 
32
31
  ## Quick Start
33
32
 
34
33
  Here we provide a quick example on how you can use `ChangeDotOrgScraper` to scrape petition data right from [change.org](https://www.change.org/).
35
34
 
@@ -39,7 +38,7 @@ url='https://www.change.org/search?q=Supplemental%20Nutrition%20Assistance%20Pro
39
38
  SNAP_petitions_df=scrape_petitions(url)
40
39
 
41
40
  print(SNAP_petitions_df)
42
41
 
43
42
  ```
44
43
 
45
- It returns a dataframe with all the petitions data with details such as the petition(s) description, date created, target audience signature count, location created, victory status, etc.
46
-
44
+ It returns a dataframe with all the petitions data, which contains details such as the petition(s) title, description, date created, target audience signature count, location created, victory status, etc.
45
+
47
46
 
48
47
 
49
48
 
50
49
 
51
50
 
52
51
 
@@ -6,7 +6,8 @@ here = os.path.abspath(os.path.dirname(__file__))
6
6
  readme_path = os.path.join(here, "README.md")
7
7
  with codecs.open(readme_path, encoding="utf-8") as fh:
8
8
  long_description = fh.read()
9
- VERSION = '0.0.4'
9
+
10
+ VERSION = '0.0.5'
10
11
  DESCRIPTION = 'Scrapes online petition data from change.org'
11
12
  LONG_DESCRIPTION = 'A package that scrapes online petition data from change.org, including the title, description, target audience, signature count, creator name, date created, location created, and victory status. Works by simply providing the url of the change.org petition search.'
12
13
 
@@ -20,9 +21,9 @@ setup(
20
21
  long_description_content_type="text/markdown",
21
22
  long_description=long_description,
22
23
  packages=find_packages(),
23
- install_requires=['requests','bs4', 'tqdm', 'pandas','ast'],
24
+ install_requires=['requests', 'bs4', 'tqdm', 'pandas'],
24
25
  license='MIT',
25
- keywords=['change.org','petitions','web scraping'],
26
+ keywords=['change.org', 'petitions', 'web scraping'],
26
27
  classifiers=[
27
28
  "Development Status :: 1 - Planning",
28
29
  "Intended Audience :: Education",
@@ -32,4 +33,4 @@ setup(
32
33
  "Operating System :: MacOS :: MacOS X",
33
34
  "Operating System :: Microsoft :: Windows",
34
35
  ]
35
- )
36
+ )