Civis

Latest version: v1.16.1

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

Scan your dependencies

Page 3 of 6

1.10.0

Added
- `CivisFuture` has the `job_id` and `run_id` property attributes. (290)

Fixed
- Polling will treat `None` responses generated by spotty internet connections
like responses with a non-DONE state. (289)

1.9.4

Fixed
- `get_table_id` will correctly handle quoted schema.tablename. (285)
- Fix parsing of empty responses from run cancellation endpoints. (287)

1.9.3

Fixed
- Correct prediction template id for CivisML 1.0 (278)
- `civis.ml.ModelFuture.table` checks for primary key before reading in
data. (276)

Added
- Test for Python 3.7 compatibility (277)

Changed
- Updated mock API specs (281)

1.9.2

Fixed
- `civis.io.civis_to_file` will now retry on S3 connection errors (273)
- Buffers will be reset appropriately on connection failures during
`civis.io.file_to_civis` (273)

1.9.1

Fixed
- `_stash_dataframe_as_csv` in `civis/ml/_model.py` now uses a `StringIO`
object which has the `getvalue` method (required by `pandas` v0.23.1
if a file-like object is passed into `df.to_csv`). (259)
- `civis_to_multifile_csv` fully respects the `client` keyword argument

Added
- Added instructions in the README for adding an API key to a Windows 10
environment
- Configured Windows CI using AppVeyor. (258)

Changed
- Coalesced `README.rst` and `index.rst`. (254)
- joblib documentation has moved to readthedocs. (267)

1.9.0

Fixed
- Added more robust parsing for tablename parsing in io. You may now
pass in tables like schema."tablename.with.periods".
- Adding in missing documentation for civis_file_to_table
- Include JSON files with pip distributions (244)
- Added flush to `civis_to_file` when passed a user-created buffer,
ensuring the buffer contains the entire file when subsequently read.
- Fix several tests in the `test_io` module (248)
- Travis tests for Python 3.4 are now restricted to pandas<=0.20, the
last version which supported Python 3.4 (249)

Added
- Added a utility function which can robustly split a Redshift schema name
and table name which are presented as a single string joined by a "." (225)
- Added docstrings for `civis.find` and `civis.find_one`. (224)
- Executors in ``futures`` (and the joblib backend, which uses them) will now
add "CIVIS_PARENT_JOB_ID" and "CIVIS_PARENT_RUN_ID" environment variables
to the child jobs they create (236)
- Update default CivisML version to v2.2. This includes a new function
``ModelPipeline.register_pretrained_model`` which allows users to train
a model outside of Civis Platform and use CivisML to score it at scale (242, 247).
- Added a new parameter ``dvs_to_predict`` to ``civis.ml.ModelPipeline.predict``.
This allows users to select a subset of a model's outputs for scoring (241).
- Added `civis.io.export_to_civis_file` to store results of a SQL query
to a Civis file
- Surfaced `civis.find` and `civis.find_one` in the Sphinx docs. (250)

Changed
- Moved "Optional Dependencies" doc section to top of ML docs, and
added clarifications for pre-defined models with non-sklearn
estimators (238)
- Switched to pip install-ing dependencies for building the documentation (230)
- Added a merge rule for the changelog to .gitattributes (229)
- Default to "all" API resources rather than "base".
- Updated documentation on algorithm hyperparameters to reflect changes with
CivisML v2.2 release (240)

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.