Parsons

Latest version: v3.2.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

3.2.0

What's Changed
This release includes enhancements to existing connectors, including our Action Network, NGPVAN, and Google Sheets connectors, bug fixes, a few updates, and a change in our base image to Python 3.8!

Also, a special shout-out to anzelpwj, jdw25, strangeways, and jeffjrodriguez for contributing their first parsons PR!

Enhancements and New Features
* Adding a data paste function to Google Sheets by anzelpwj in https://github.com/move-coop/parsons/pull/1045
* Allow passing google auth Credentials directly to BQ connector by austinweisgrau in https://github.com/move-coop/parsons/pull/1042
* EveryAction: Add email endpoint methods to retrieve email stats from TargetedEmail by matthewkrausse in https://github.com/move-coop/parsons/pull/1003
* Update GET helper function, add custom columns to create profile by cmdelrio in https://github.com/move-coop/parsons/pull/1055
* added encoding to s3_copy function in redshift class by sharinetmc in https://github.com/move-coop/parsons/pull/827
* New Feature: DBSync can upsert or append updated rows by austinweisgrau in https://github.com/move-coop/parsons/pull/1029
* [Enhancement] - Adding Create Ticket Function To Freshdesk by NirTatcher in https://github.com/move-coop/parsons/pull/1057
* Add option to disaggregate A/B test emails by anzelpwj in https://github.com/move-coop/parsons/pull/1065
* Add methods to update phone, order user detail, and import action by technicalex in https://github.com/move-coop/parsons/pull/1074
* Add ActionKit methods to add a phone number, create and update event fields, and search events in a campaign by strangeways in https://github.com/move-coop/parsons/pull/1076
* BigQuery extract table method by austinweisgrau in https://github.com/move-coop/parsons/pull/1041
* Features - ActionNetwork API - Unique ID Lists routes support + SQL Mirror support by NirTatcher in https://github.com/move-coop/parsons/pull/1025
* adding unique id lists support in ActionNetwork module by NirTatcher in https://github.com/move-coop/parsons/pull/1101
* ActionNetwork SQL Mirror querying support + general SSH util to query any db through ssh by NirTatcher in https://github.com/move-coop/parsons/pull/1102
* VAN Bulk Import Additions by codygordon in https://github.com/move-coop/parsons/pull/1078
* Add campaignId parameter to apply_responses method in People class by matthewkrausse in https://github.com/move-coop/parsons/pull/1089

Bug Fixes
* Remove self.project reference from GoogleBigQuery.get_columns() query by coastlines in https://github.com/move-coop/parsons/pull/1008
* add list data type to mapping by KasiaHinkson in https://github.com/move-coop/parsons/pull/1026
* Revert "add list data type to mapping" by KasiaHinkson in https://github.com/move-coop/parsons/pull/1027
* Map 'Decimal' type from incomping Table in BQ by Jason94 in https://github.com/move-coop/parsons/pull/1010
* Move flake8, black, and pytest configs to pyproject.toml by bmos in https://github.com/move-coop/parsons/pull/1013
* Bugfixes by bmos in https://github.com/move-coop/parsons/pull/1012
* Return PATCH response when updating AK user by crayolakat in https://github.com/move-coop/parsons/pull/1024
* Bump black from 22.12.0 to 24.3.0 by dependabot in https://github.com/move-coop/parsons/pull/1022
* Bump setuptools from 68.0.0 to 70.0.0 by dependabot in https://github.com/move-coop/parsons/pull/1094
* Change Import to Absolute by IanRFerguson in https://github.com/move-coop/parsons/pull/1096
* Revert "Features - ActionNetwork API - Unique ID Lists routes support… by austinweisgrau in https://github.com/move-coop/parsons/pull/1100
* Revert "New Feature: DBSync can upsert or append updated rows" by shaunagm in https://github.com/move-coop/parsons/pull/1064
* Hot fix for MobileCommons.create_profile() method by cmdelrio in https://github.com/move-coop/parsons/pull/1067
* If petl is loaded from a CSV, use the source file, don't re-write by austinweisgrau in https://github.com/move-coop/parsons/pull/1062
* Fix VAN create_event location_ids list bug by codygordon in https://github.com/move-coop/parsons/pull/1073
* Fix misspecified tests using MagicMock().called_with() by austinweisgrau in https://github.com/move-coop/parsons/pull/1072
Documentation
* Add cautionary note about performance in get_row_count method by matthewkrausse in https://github.com/move-coop/parsons/pull/998
* Move variable definition outside try/except block by austinweisgrau in https://github.com/move-coop/parsons/pull/1030
* Skip empty tables in GSheets append & overwrite methods by codygordon in https://github.com/move-coop/parsons/pull/1080
* Support for python3.12: Take 2 by jdw25 in https://github.com/move-coop/parsons/pull/1087
* Pass credentials directly to GCP connectors rather than through environment variable by austinweisgrau in https://github.com/move-coop/parsons/pull/1040
* Fix typo in environment variable by austinweisgrau in https://github.com/move-coop/parsons/pull/1093
* Remove unnecessary dependency by austinweisgrau in https://github.com/move-coop/parsons/pull/1088
* Change dict to json by KasiaHinkson in https://github.com/move-coop/parsons/pull/1028

Other Changes
* Removes bluelink connector because platform retired March 2024 by elyse-weiss in https://github.com/move-coop/parsons/pull/1034
* Update mac runner to macos-12 instead of mac-latest by shaunagm in https://github.com/move-coop/parsons/pull/1049
* Psycopg2 version bump by anzelpwj in https://github.com/move-coop/parsons/pull/1051
* Sqlalchemy Update to >= 1.4.22 by matthewkrausse in https://github.com/move-coop/parsons/pull/1050
* Update version on precommit hook to match requirements-dev, and make … by shaunagm in https://github.com/move-coop/parsons/pull/1053
* Bump azure-storage-blob from 12.3.2 to 12.13.0 by dependabot in https://github.com/move-coop/parsons/pull/1061
* bump braintree to 4.17.1 by jdw25 in https://github.com/move-coop/parsons/pull/1054
* Run upgraded black formatter on all files by austinweisgrau in https://github.com/move-coop/parsons/pull/1035
* add script by sharinetmc in https://github.com/move-coop/parsons/pull/1063
* Bump urllib3 from 1.26.18 to 1.26.19 by dependabot in https://github.com/move-coop/parsons/pull/1079
* Update census_geocoder.py by jeffjrodriguez in https://github.com/move-coop/parsons/pull/1085
* Airtable Updates by codygordon in https://github.com/move-coop/parsons/pull/1082
* Python3.8 Base Image by IanRFerguson in https://github.com/move-coop/parsons/pull/1090
* new release by sharinetmc in https://github.com/move-coop/parsons/pull/1107

New Contributors
* anzelpwj made their first contribution in https://github.com/move-coop/parsons/pull/1051
* jdw25 made their first contribution in https://github.com/move-coop/parsons/pull/1054
* strangeways made their first contribution in https://github.com/move-coop/parsons/pull/1076
* jeffjrodriguez made their first contribution in https://github.com/move-coop/parsons/pull/1085

**Full Changelog**: https://github.com/move-coop/parsons/compare/v3.1.0...v3.2.0

3.1.0

<!-- Release notes generated using configuration in .github/release.yml at v3.1.0 -->

What's Changed

New Connectors

* Census connector by Charlie-Kramer in https://github.com/move-coop/parsons/pull/978
* Formstack connector by Jason94 in https://github.com/move-coop/parsons/pull/991

New Features
* implement new hustle api call (create_group_membership) by nmannes in https://github.com/move-coop/parsons/pull/903
* Added get_representatives_by_address method to Google Civic Connector by mkrausse-ggtx in https://github.com/move-coop/parsons/pull/926
* Add utility method to format phone numbers by mkrausse-ggtx in https://github.com/move-coop/parsons/pull/928
* Feature/more auth0 functions by talevy42 in https://github.com/move-coop/parsons/pull/874
* Add actionnetwork methods by NirTatcher in https://github.com/move-coop/parsons/pull/940
* Action Builder Deactivate & Reactivate Connections by ydamit in https://github.com/move-coop/parsons/pull/965
* Create new feature for running and logging dbt commands by austinweisgrau in https://github.com/move-coop/parsons/pull/841
* Add head and tail methods to Parsons Table by matthewkrausse in https://github.com/move-coop/parsons/pull/1001

Bugfixes and other Changes

* Kasiahinkson/extend list blobs by KasiaHinkson in https://github.com/move-coop/parsons/pull/953
* Fix bug in NGPVAN apply_canvass_result method by mkrausse-ggtx in https://github.com/move-coop/parsons/pull/927
* Fix incorrect documentation on ActionNetwork upsert_person argument by austinweisgrau in https://github.com/move-coop/parsons/pull/915
* Explicitly name vars by sharinetmc in https://github.com/move-coop/parsons/pull/964
* Bump Multiple Docs Deps Around Sphinx by SorenSpicknall in https://github.com/move-coop/parsons/pull/975
* add client_options with default scopes to client by graemelorimer in https://github.com/move-coop/parsons/pull/969
* Update get_columns_list() to accept tables with spaces in the name by coastlines in https://github.com/move-coop/parsons/pull/973
* Fix ActionKit collect_upload_errors() Bug by technicalex in https://github.com/move-coop/parsons/pull/979
* BigQuery returns empty Table on query with no rows returned by austinweisgrau in https://github.com/move-coop/parsons/pull/972
* Miscellaneous fixes to BigQuery connector by austinweisgrau in https://github.com/move-coop/parsons/pull/959
* Remove doubled up imports to fix linting by austinweisgrau in https://github.com/move-coop/parsons/pull/982
* Bump python-dateutil from v2.8.1 to v2.8.2 by bmos in https://github.com/move-coop/parsons/pull/966
* Bump paramiko from 2.11.0 to 3.4.0 by dependabot in https://github.com/move-coop/parsons/pull/962
* Log progress when putting file through SFTP by austinweisgrau in https://github.com/move-coop/parsons/pull/985
* BigQuery - Call .result() regardless of compression by IanRFerguson in https://github.com/move-coop/parsons/pull/974
* Generalize the oauth_api_connector to accept authorization kwargs by austinweisgrau in https://github.com/move-coop/parsons/pull/918
* Enable email dict to be passed to VAN.upsert_person() by austinweisgrau in https://github.com/move-coop/parsons/pull/963
* Bump grpcio from 1.53.0 to 1.53.2 by dependabot in https://github.com/move-coop/parsons/pull/990
* BigQuery connector handles queries without return values (create table, create view) by austinweisgrau in https://github.com/move-coop/parsons/pull/1000
* Add config to setup.py so README appears on PyPI by shaunagm in https://github.com/move-coop/parsons/pull/996
* 992 bug parsons bigquery upsert is broken by willyraedy in https://github.com/move-coop/parsons/pull/994
* Simpler use of pip cache in actions by bmos in https://github.com/move-coop/parsons/pull/986
* Raise Error for Big Query .copy() when no GCS_TEMP_BUCKET environment variable or tmp_gcs_bucket parameter by tracy-u in https://github.com/move-coop/parsons/pull/997
* Refactor Table initialization to avoid iterating over every row by austinweisgrau in https://github.com/move-coop/parsons/pull/983
* Bump version number for minor release by shaunagm in https://github.com/move-coop/parsons/pull/1006

New Contributors
* nmannes made their first contribution in https://github.com/move-coop/parsons/pull/903
* graemelorimer made their first contribution in https://github.com/move-coop/parsons/pull/969
* coastlines made their first contribution in https://github.com/move-coop/parsons/pull/973
* bmos made their first contribution in https://github.com/move-coop/parsons/pull/966
* Charlie-Kramer made their first contribution in https://github.com/move-coop/parsons/pull/978
* tracy-u made their first contribution in https://github.com/move-coop/parsons/pull/997

**Full Changelog**: https://github.com/move-coop/parsons/compare/v3.0.0...v3.1.0

3.0.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed

Breaking Changes

3.0.0 is a major release, which means there are some breaking changes. You can see a full list of all PRs included in this release which have implications for breaking changes [here](https://github.com/move-coop/parsons/pulls?q=base%3Amajor-release+is%3Amerged+updated%3A%3E2023-08-31+).

1) We now parse boolean types by default instead of coercing them into strings by default. We detect boolean column types when copying a parsons Table to a database and create a boolean column in the database. If you want to maintain the old behavior, to convert the boolean columns in the table to strings before uploading it to the database, like this: `table = table.convert(['bool', 'columns', 'here', ...], str)` More: https://github.com/move-coop/parsons/pull/943

2) We've made some major updates to the BigQuery and GoogleCloudStorage connecters:

GoogleBigQuery
The `GoogleBigQuery` connector was written with compatibility in mind, and utilizes many of the same functions as the Amazon `Redshift` connector in order to minimize the user experience between the two cloud service providers. `GoogleBigQuery` is authenticated with a service account JSON file, which can be generated in the GCP user interface and stored locally.

There are several subtle differences between `GoogleBigQuery` and `Redshift`, most notably in the `.query()` function, which runs asynchronously in Google. We recommend using the `.delete_table()` function rather than sending a `DELETE TABLE` SQL query through the `.query()` function for this reason, as the connector will raise an exception when the asynchronous task completes and the table no longer exists; alternatively, the user can pass in `.query(sql=sql, return_values=False)` to prevent this exception from raising.

In addition to the familiar `.copy()` function, the `GoogleBigQuery` connector includes a `.copy_large_compressed_file_from_gcs()` function to handle large files in cloud storage, such as the voter file. BigQuery streams large uncompressed files in batches, but cannot do so when a file in compressed. This function decompresses the file in question using the correct compression type parameter (`gzip` is default but `zip` is also accepted), copies the file to BigQuery, then deletes the decompressed file from cloud storage.

GoogleCloudStorage
Similarly, the `GoogleCloudStorage` connector provides an API to view and manipulate blobs in cloud storage with compatibility to Amazon's `S3` connector. Users can create new storage buckets, load blobs into buckets, list their contents, acquire blob metadata, and download blobs from cloud storage to their local environments. This connector handles the decompression steps outlined above in the `. copy_large_compressed_file_from_gcs()` function outlined above, and also includes helpful utilities to aid in moving data to and from Google Cloud Storage.

New Connectors

Big thanks to cmdelrio for adding the new MobileCommons connector (https://github.com/move-coop/parsons/pull/896) and to austinweisgrau for the new Catalist Match API connector (https://github.com/move-coop/parsons/pull/912)!

Other Changes

* Zoom Polls by IanRFerguson in https://github.com/move-coop/parsons/pull/886
* Check for empty tables in zoom poll results by Jason94 in https://github.com/move-coop/parsons/pull/897
* 741 : Deprecate Slack chat.postMessage `as_user` argument and allow for new authorship arguments by angloyna in https://github.com/move-coop/parsons/pull/891
* 816 Airtable.get_records() fields argument can be either str or list by angloyna in https://github.com/move-coop/parsons/pull/892
* Nir's actionnetwork changes by NirTatcher in https://github.com/move-coop/parsons/pull/900
* Fix airtable.insert_records table arg by codygordon in https://github.com/move-coop/parsons/pull/907
* Add canales s3 functions by sharinetmc in https://github.com/move-coop/parsons/pull/885
* Enhancement: Action Network Connector: Added unpack_statistics param in get_messages method by matthewkrausse in https://github.com/move-coop/parsons/pull/917
* Adding rename_columns method to Parsons Table by mkrausse-ggtx in https://github.com/move-coop/parsons/pull/923
* Add http response to update_mailer by sjwmoveon in https://github.com/move-coop/parsons/pull/924
* Enable passing arbitrary additional fields to NGPVAN people match API by austinweisgrau in https://github.com/move-coop/parsons/pull/916
* Install dependencies for tests based on package install by austinweisgrau in https://github.com/move-coop/parsons/pull/951

New Contributors

Cheers to our newest contributors! 🎉 Thanks so much for your help.

* NirTatcher made their first contribution in https://github.com/move-coop/parsons/pull/900
* matthewkrausse made their first contribution in https://github.com/move-coop/parsons/pull/917
* dexchan made their first contribution in https://github.com/move-coop/parsons/pull/920

**Full Changelog**: https://github.com/move-coop/parsons/compare/v2.1.0...v3.0.0

2.1.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Documentation
* Update example VAN apply_response JSON to reflect accurate keys by ydamit in https://github.com/move-coop/parsons/pull/884
Other Changes
* Action Builder Entity Record Insert Name Key Hotfix by ydamit in https://github.com/move-coop/parsons/pull/887
* Add json as allowable file type to copy_s3 by KasiaHinkson in https://github.com/move-coop/parsons/pull/844
* Enable use of "extension" argument to Redshift unload by austinweisgrau in https://github.com/move-coop/parsons/pull/871
* Update docs to point to website by shaunagm in https://github.com/move-coop/parsons/pull/851
* update zoom docs by sharinetmc in https://github.com/move-coop/parsons/pull/888
* Add more ActionKit methods by crayolakat in https://github.com/move-coop/parsons/pull/870
* fix: handle 429 error code by talevy42 in https://github.com/move-coop/parsons/pull/877
* chore(actionnetwork): Edge case and cleaning up type checking by talevy42 in https://github.com/move-coop/parsons/pull/889
* Action Builder Remove Tag Method by ydamit in https://github.com/move-coop/parsons/pull/890
* Revert "Enable passing `identifiers` to ActionNetwork `upsert_person()` by austinweisgrau in https://github.com/move-coop/parsons/pull/876
* Update release by KasiaHinkson in https://github.com/move-coop/parsons/pull/894

New Contributors
* KasiaHinkson made their first contribution in https://github.com/move-coop/parsons/pull/844

**Full Changelog**: https://github.com/move-coop/parsons/compare/v2.0.0...v2.1.0

2.0.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
This release addresses a breaking change to the `Zoom` connector. Starting on September 1st, 2023 JWT authentication will no longer be accepted when querying Zoom's REST API; this release moves the `Zoom` connector a server-to-server OAuth based authentication.

To query the Zoom API moving forward, users will need to:
* Setup an OAuth application in Zoom's app marketplace, including defining relevant endpoint scopes (meetings, users, etc.)
* Use the client ID, account ID, and account secret values to validate API access

Other Changes
* add release notes yml by sharinetmc in https://github.com/move-coop/parsons/pull/878
* Prepping for Major Release by IanRFerguson in https://github.com/move-coop/parsons/pull/881
* v2.0.0 by IanRFerguson in https://github.com/move-coop/parsons/pull/882


**Full Changelog**: https://github.com/move-coop/parsons/compare/v1.2.0...v2.0.0

1.2.0

New Features
* Add upsert_user function by talevy42 in 828
* add exists_ok param to add_column by talevy42 in 839
* Add support for deleting person from NGPVAN by sjwmoveon in 834
* feat: add Nation Builder Connector by gcollazo in 837
* Implement delete actionfield for ActionKit by crayolakat in 846
* Add nation builder connector by gcollazo in 848
* Implement, test, and document Parsons Table deduplicate method by jafayer in 842
* Action Builder connector by ydamit in 826
* Feature/background processing by talevy42 in 853
* NewMode - Add bulk `targets` endpoint by IanRFerguson in 857
* Get and Update ActionKit orderrecurring by technicalex in 859
* Enable passing `identifiers` to ActionNetwork `upsert_person()` by austinweisgrau in 861
* Add Events Helpers to PDI Connector by IanRFerguson in 865

Automated Testing
* Add multiple python versions to CI tests by shaunagm in 858
* Add pre-commit hook config to run flake8 and black on commit by austinweisgrau in 864

Dependencies
* Update Twilio Package Version by ydamit in 821
* Bump grpcio from 1.51.1 to 1.53.0 by dependabot in 852

Others
* Bump requests from 2.25.1 to 2.31.0 by dependabot in 824

New Contributors
* gcollazo, jafayer, technicalex

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.