Recent Releases of pycap

pycap - 2.7.0

What's Changed

  • :arrow_up: Test on newer python versions by @pwildenhain in https://github.com/redcap-tools/PyCap/pull/291
  • Add file repo api by @pwildenhain in https://github.com/redcap-tools/PyCap/pull/297
  • Implement "exportsurveylink" in module Surveys by @eingemaischt in https://github.com/redcap-tools/PyCap/pull/296
  • Add remaining Survey API methods by @pwildenhain in https://github.com/redcap-tools/PyCap/pull/298
  • Add args to delete records by @pwildenhain in https://github.com/redcap-tools/PyCap/pull/300

New Contributors

  • @eingemaischt made their first contribution in https://github.com/redcap-tools/PyCap/pull/296

Full Changelog: https://github.com/redcap-tools/PyCap/compare/2.6.0...2.7.0

- Python
Published by pwildenhain 10 months ago

pycap - 2.6.0

What's Changed

  • Add instrument methods by @patking02 in https://github.com/redcap-tools/PyCap/pull/282

Full Changelog: https://github.com/redcap-tools/PyCap/compare/2.5.0...2.6.0

- Python
Published by pwildenhain over 2 years ago

pycap - 2.5.0

What's Changed

  • coerce field and form arguments in export_records() by @ugGit in https://github.com/redcap-tools/PyCap/pull/269
  • Keep default values in dfkwargs when calling loaddata() by @ugGit in https://github.com/redcap-tools/PyCap/pull/270
  • Add Arm and Event API by @patking02 in https://github.com/redcap-tools/PyCap/pull/278

New Contributors

  • @patking02 made their first contribution in https://github.com/redcap-tools/PyCap/pull/278 🙇🏻‍♂️

Full Changelog: https://github.com/redcap-tools/PyCap/compare/2.4.0...2.5.0

- Python
Published by pwildenhain over 2 years ago

pycap - 2.4.0

What's Changed

  • Capitalization by @wibeasley in https://github.com/redcap-tools/PyCap/pull/256
  • Add request_kwargs to be passed during API requests by @ugGit in https://github.com/redcap-tools/PyCap/pull/251
  • Add mypy by @pwildenhain in https://github.com/redcap-tools/PyCap/pull/258

New Contributors

  • @wibeasley made their first contribution in https://github.com/redcap-tools/PyCap/pull/256
  • @ugGit made their first contribution in https://github.com/redcap-tools/PyCap/pull/251

Full Changelog: https://github.com/redcap-tools/PyCap/compare/2.3.0...2.4.0

- Python
Published by pwildenhain almost 3 years ago

pycap - 2.3.0

What's Changed

  • Backfill fields for all records export requests by @pwildenhain in https://github.com/redcap-tools/PyCap/pull/247
  • :arrow_up: Bump certifi by @pwildenhain in https://github.com/redcap-tools/PyCap/pull/250
  • Only return complete fields for requested forms by @pwildenhain in https://github.com/redcap-tools/PyCap/pull/253

Full Changelog: https://github.com/redcap-tools/PyCap/compare/2.2.0...2.3.0

- Python
Published by pwildenhain about 3 years ago

pycap - 2.2.0

What's Changed

  • Add check for missing token and url (https://github.com/redcap-tools/PyCap/pull/238)
  • Update docs for pandas optional dependency (https://github.com/redcap-tools/PyCap/pull/239)
  • Add delete roles method (https://github.com/redcap-tools/PyCap/pull/243)

Full Changelog: https://github.com/redcap-tools/PyCap/compare/2.1.0...2.2.0

- Python
Published by pwildenhain over 3 years ago

pycap - 2.1.0

API Support :robot:

  • Add logging methods (#222)
  • Add user methods (#225)
  • Add DAG methods (#226)
  • Add user role methods (#228)
  • Add new args for export records (#223)

Package Improvements :muscle:

  • Add docs tests for return format type (#224)

- Python
Published by pwildenhain almost 4 years ago

pycap - 2.0.0

2.0.0 (2022-03-29)

API Support :robot:

  • Add support for export_repeating_instruments_events and import_repeating_instruments_events (#210 @JuliaSprenger)

Package Improvements :muscle:

  • Project class loads lazily by default
  • All Project.export_* methods that return JSON now can return DataFrame's as well
  • Project class was broken up into smaller utility classes, see the redcap.methods module or the API reference on the new docs site
  • Robust testing infrastructure (pytest, doctest-plus) with both unit and integration tests, maintained at 100% test coverage, with automated styling and linting checks in CI (black, pylint)
  • Gradual typing added, but not yet enforced in CI
  • Add _complete fields to payload when requesting survey fields (#149 @forsakendaemon)

Breaking changes :boom:

  • Dropped support for Python 2, requires python 3.8 or above
  • Many extraneous Project attributes were removed. See the API reference for remaining attributes
  • RedcapError is raised for all endpoints when API errors are encountered. Errors are never returned in the response
  • generate_next_record_name now returns a str instead of an int. This fixes a bug that occurs when a project uses DAGs
  • export_fem renamed to export_instrument_event_mapping to be more consistent with other endpoints
  • Common parameter name changes including: format --> format_type, return_format --> return_format_type, type --> record_type. Most of the reason for this change was to avoid the use of reserved keywords such as format and type

Documentation :memo:

  • Revamp documentation to mkdocs-material style on GitHub pages
  • Add comprehensive docstrings and doctests to all methods
  • Update delete_records documentation (#173 @andyjessen)

- Python
Published by pwildenhain almost 4 years ago

pycap - Version 1.1.3

API Support

  • Add support for import_metadata endpoint (#145 @JuliaSprenger)

Documentation

  • Update contributing.rst with new installation instructions (#135 @njvack)

- Python
Published by pwildenhain over 4 years ago

pycap - Version 1.1.2

API Support

  • Add support for exportFieldNames call (#125 @chgreer)
  • Add dateRangeBegin and dateRangeEnd parameters to Project.export_records (#124 @chgreer)

Package Improvements

  • Use pytest for full test suite (#132)
  • Enforce black and pylint style and formatting on project (#132)
  • Deprecate support for Python 2 (#132)
  • Add pandas as an extra_requires (#132)

Documentation

  • Update README with new community support model and how to contribute (#132)

- Python
Published by pwildenhain over 5 years ago

pycap - Version 1.1.1

1.1.1 (2020-08-18)

Bug Fixes

  • Fix package version parsing for UNIX (#122 @fissell)

- Python
Published by pwildenhain over 5 years ago

pycap - Version 1.1.0

This is the first minor release in a couple of years, so we've got a lot of updates 🙌 🎉

API Support 🤖

  • Add rec_type support in import_records() (#40 @dckc)
  • Add export_checkbox_labels keyword arg to export_records() (#48 Tyler Rivera)
  • Properly backfill requested fields for >6.X servers (#55)
  • Add Export Survey Participant List method (#71)
  • Add filter_logic to export_records (#85 @erikh360)
  • Add forceAutoNumber parameter to import_records() (#86 @CarlosBorroto)
  • Add Export Project Information (#106 @martinburchell)
  • Add Generate Next Record Name (#107 @martinburchell)
  • Add repeat_instance parameter to imp_file request (#104 @martinburchell)
  • Add Delete Record (#77 @damonms)
  • Add Export Reports (#91 @mcarmack)

Package Improvements 📈

  • Add redcap_version attribute to Project (#44 Tyler Rivera)
  • Support lazy loading of Projects (#53 Tyler Rivera)
  • Add Python 3 support (#67, #92 @jmillxyz, @fonnesbeck)
  • Remove obsolete Project.filter() (#105 @martinburchell)
  • Change API parameters from comma-separated to arrays (#110 @martinburchell)
  • Use single requests.Session() for connections (#120 @KarthikMasi)

Bug Fixes 🐛

  • Allow later versions of semantic-version (#108 @martinburchell)
  • Fix package version when installing from GitHub (#113)
  • Handle EmptyData error from pandas read_csv (#118 @martinburchell)

Documentation 📝

  • Added REDCap API changelog from 6.0.0 - 6.12.1 (#64 @SlightlyUnorthodox)
  • Python 3 updates (#115 @sujaypatil96)

- Python
Published by pwildenhain over 5 years ago

pycap - Version 1.0

PyCap is a python module for interacting with the REDCap API. It allows to programmatically modify REDCap projects, including exporting and importing data. Full documentation is available here.

This is the first stable release of PyCap. Until the next major version, the API will be completely backwards compatible. That is to say, no new features will break code written against the 1.0 version.

- Python
Published by sburns almost 12 years ago