Pycap

Latest version: v2.6.0

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

Scan your dependencies

Page 1 of 5

2.2.0

API Support :robot:

- Add support for `delete_roles`

Package Improvements :muscle:

- Add check for missing token and url

Documentation :memo:

- Modify instructions for installing `pandas` (optional package dependency)

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)

2.0.0

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)

1.1.3

API Support :robot:

- Add support for `import_metadata` endpoint (145 JuliaSprenger)

Documentation :memo:

- Update `contributing.rst` with new installation instructions (135 njvack)

1.1.2

API Support :robot:

- Add support for `exportFieldNames` call (125 chgreer)
- Add `dateRangeBegin` and `dateRangeEnd` parameters to `Project.export_records` (124 chgreer)

Package Improvements :muscle:

- 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 :memo:

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

1.1.1

Bug Fixes :bug:

- Fix package version parsing for UNIX (122 fissell)

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.