changedotorgscraper 0.0.2__tar.gz → 0.0.3__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.2
3
+ Version: 0.0.3
4
4
  Summary: Scrapes petitions and corresponding information from change.org
5
5
  Author: Charles Alba
6
6
  Author-email: alba@wustl.edu
@@ -23,7 +23,7 @@ Requires-Dist: ast
23
23
 
24
24
  Scrapes petitions from [change.org](https://www.change.org/).
25
25
 
26
26
 
27
27
 
28
- [![pypi package](https://img.shields.io/badge/pypi_package-v0.0.2-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
-
28
+ [![pypi package](https://img.shields.io/badge/pypi_package-v0.0.3-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
+
30
30
 
31
31
 
32
32
  ## Quick Start
33
33
 
34
34
  Here we provide a quick example on how you can use `ChangeDotOrgScraper` to scrape petitions right from [change.org](https://www.change.org/).
35
35
 
@@ -33,12 +33,10 @@ from ChangeDotOrgScraper import scrape_petitions
33
33
 
34
34
 
35
35
  # Specify the url of your scrape.org searches
36
36
 
37
37
  ## for instance, we shall scrape petitions from the search "supplemental nutrition assistance program"
38
38
 
39
-
40
-
41
39
  url='https://www.change.org/search?q=Supplemental%20Nutrition%20Assistance%20Program&offset=0'
42
40
 
43
41
 
44
42
 
45
43
  # scrape the petition data from change.org
46
44
 
47
45
  SNAP_petitions_df=scrape_petitions(url)
48
46
 
49
-
50
-
51
47
  print(SNAP_petitions_df)
52
48
 
53
49
  ```
54
50
 
55
51
  It returns a dataframe with all the petitions related to SNAP as well as corresponding details (eg description, date created, target audience signature count, location created, victory status, etc).
56
52
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ChangeDotOrgScraper
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Scrapes petitions and corresponding information from change.org
5
5
  Author: Charles Alba
6
6
  Author-email: alba@wustl.edu
@@ -23,7 +23,7 @@ Requires-Dist: ast
23
23
 
24
24
  Scrapes petitions from [change.org](https://www.change.org/).
25
25
 
26
26
 
27
27
 
28
- [![pypi package](https://img.shields.io/badge/pypi_package-v0.0.2-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
-
28
+ [![pypi package](https://img.shields.io/badge/pypi_package-v0.0.3-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
+
30
30
 
31
31
 
32
32
  ## Quick Start
33
33
 
34
34
  Here we provide a quick example on how you can use `ChangeDotOrgScraper` to scrape petitions right from [change.org](https://www.change.org/).
35
35
 
@@ -33,12 +33,10 @@ from ChangeDotOrgScraper import scrape_petitions
33
33
 
34
34
 
35
35
  # Specify the url of your scrape.org searches
36
36
 
37
37
  ## for instance, we shall scrape petitions from the search "supplemental nutrition assistance program"
38
38
 
39
-
40
-
41
39
  url='https://www.change.org/search?q=Supplemental%20Nutrition%20Assistance%20Program&offset=0'
42
40
 
43
41
 
44
42
 
45
43
  # scrape the petition data from change.org
46
44
 
47
45
  SNAP_petitions_df=scrape_petitions(url)
48
46
 
49
-
50
-
51
47
  print(SNAP_petitions_df)
52
48
 
53
49
  ```
54
50
 
55
51
  It returns a dataframe with all the petitions related to SNAP as well as corresponding details (eg description, date created, target audience signature count, location created, victory status, etc).
56
52
 
@@ -6,7 +6,7 @@ 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.2'
9
+ VERSION = '0.0.3'
10
10
  DESCRIPTION = 'Scrapes petitions and corresponding information from change.org'
11
11
  LONG_DESCRIPTION = 'A package scrapes all petition information, including the title, Description, target audience, signature count, creator name, date created, location created, and victory status, upon providing the url of the change.org search.'
12
12