Civis

Latest version: v1.16.1

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

Scan your dependencies

Page 2 of 6

1.14.0

Added
- Added `.outputs` method to retrieve outputs from `CivisFuture`
objects. (381)
- Added `table_columns` parameter to `civis.io.civis_file_to_table`, `civis.io.dataframe_to_civis`, and `civis.io.csv_to_civis` (379)

Fixed
- Fixed/relaxed version specifications for click, jsonref, and jsonschema. (377)

Removed

- Removed support for Python 2.7 and 3.4. (378)

Changed
- No longer require ServiceClient to be instantiated to parse a
service api spec. (382)

1.13.1

Added
- Suppressed FutureWarning from sklearn.externals.joblib. (375)

1.13.0

Added
- Add `civis jobs follow-log` and `civis jobs follow-run-log` CLI commands. (359)
- Add documentation for follow-log CLI Commands to main docs. (367)

Fixed
- Fixed a bug related to duplicating parent job parameters when using `civis.parallel.infer_backend_factory`. (363)
- Fixed crashing on NULL fields in `civis sql` CLI command. (366)
- Fixed `hidden` parameter not getting used in `civis.io.civis_file_to_table`. (364)
- Fixed `effective_n_jobs` to account for `n_jobs=None`, which is a default for the LogisticsRegression in `sklearn=0.22.x`. (365)
- Fixed crashing on NULL fields in `civis sql` CLI command (366)
- Fixed a bug related to creating a ModelPipeline from a registered model. (369)
- Fixed readme and setup.py to appease twine. (373)

Changed
- Made repeated invocations of `civis.tests.create_client_mock` faster by caching the real APIClient that the mock spec is based on (371)

1.12.1

Fixed
- Fixed issue where client did not generate functions for deprecated API endpoints. (353)
Changed
- Changed `ServiceClient` to raise `CivisAPIError`. (355)
- Updated documentation language for CivisML version. (358)

1.12.0

Added
- Added method `get_storage_host_id` to the APIClient. (328)
- Added debug logging to some `civis.io` functions. (325)
- Added `ServiceClient` and `ServiceEndpoint` class. (343)
- Added new arguments to `civis.io.civis_to_multifile_csv` to expose max_file_size parameter. (342)

Fixed
- Removed incorrect "optional" marker for the `sql` argument in I/O
functions. (338)
- Raise a more informative exception when calling `file_to_dataframe`
on an expired file. (337)
- `ModelPipeline.register_pretrained_model` should persist the user-supplied
estimator object indefinitely. (331)
- Fixed requirements.txt listing for `cloudpickle` -- `>=0.2`, not `<=0.2`. (323)
- Fixed issue in `civis.io.read_civis_sql` when returning data that contains
double quotes. (328)
- Fixed issue with pyyaml version for Python 3.4 by requiring pyyaml version <=5.2

Changed
- Updated cloudpickle and joblib dependencies. (349)
- CivisML uses platform aliases instead of hard-coded template IDs. (341, 347)
- CivisML versions and pre-installed packages are documented on Zendesk instead. (341)
- Issue a `FutureWarning` on import for Python 2 and 3.4 users. (333,
340)
- Pass `headers` and `delimiter` to Civis API endpoint for cleaning files in `civis.io.civis_file_to_table`. (334)
- Issue a `FutureWarning` on import for Python 2 users. (333)
- Update the Civis logo in the Sphinx documentation. (330)
- Allow the `name` arg to be optional in `civis.io.file_to_civis`. (324)
- Refactor `civis.io.civis_file_to_table` to use a new set of Civis API endpoints for cleaning and importing CSV files. (328)
- Added new arguments to `civis.io.civis_file_to_table` to expose additional functionality from new Civis API endpoints. (328)
- Added new arguments from `civis.io.civis_file_to_table` to `dataframe_to_civis` and `csv_to_civis` methods. (328)

1.11.0

Added
- Add CLI command "sql" for command line SQL query execution. (319)
- Add helper function (run_template) to run a template given its id and return
either the JSON output or the associated file ids. (318)
- Add helper function to list CivisML models. (314)
- Added helper functions to share CivisML models with users or groups,
patterned after the existing API sharing endpoints. (315)
- Allow the base URL of the CLI to be configured through the
`CIVIS_API_ENDPOINT` environment variable, like the civis Python module. (312)
- Allow the CLI log level to be configured with the `CIVIS_LOG_LEVEL`
environment variable with the standard `logging` module levels.
For example: `CIVIS_LOG_LEVEL=DEBUG civis users list-me` (312)
- Allow users to access `civis.utils.run_job` after an `import civis`. (305)
- `civis.io.dataframe_to_file` and `civis.io.json_to_file` convenience functions.
(262, 304)
- Add the user's Python version to the User-Agent string. (255, 301)
- Added a `last_response` parameter to the `APIClient` object. (153, 302)
- The deprecate_param decorator can take multiple parameter names, to allow
Python 2.7 compatibility for multiple deprecations. (311)

Fixed
- Added missing docs for `json_to_file` and `dataframe_to_file` (320).
- Fix unintentional dependency on scikit-learn for `parallel` module tests. (245, 303)
- Deprecate the `headers` parameter of `dataframe_to_civis` and always tell Civis
whether the import has headers or not, rather than autodetecting. (263, 307)
- Set `cloudpickle` requirements to <1.2 on Python v3.4. (309)
- Fixed an issue in the CLI which prevented users from accessing GET /aliases/{id}
and simultaneously generated a warning message. (298, 316)

Changed
- Loosened version requirements of `pyyaml` to include `pyyaml<=5.99`. (293)
- Loosened version requirement of `jsonref` to include `0.2` to fix a
DeprecationWarning under Python 3.7. (295)
- Changed pubnub version requirement in requirements.txt to match setup.py
(295)
- Loosened version requirements of `click` to include v7 and `jsonschema`
to include v3. (286, 300)
- Surfaced `civis.io.split_schema_tablename` in the Sphinx docs. (294)
- Loosen `joblib` version requirement to include v0.13 and add code to
the Civis joblib backend which newer versions of `joblib` can take
advantage of. Also loosened version requirement on `cloudpickle` to
include v1. (296, 299)
- Run all tests in Ubuntu Xenial. (310)

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.