Intern

Latest version: v1.4.1

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

Scan your dependencies

Page 2 of 4

1.2.0

> Updates to the cloudvolume adapters, and parallelism fixes.

- **Convenience API**
- Adds support for uint16 image channel creation with the convenience API (71)
- Now, the `array` class reports voxel size as a `float[3]` and `voxel_units` as a string (e.g. "nanometers") to match the input arguments to the `array` constructor (83)
- **Parallelism**
- Fixes parallelism defaulting to n=1 (70)
- **CloudVolume**
- Removes cloudvolume core dependency, and makes it an optional extra-install (68)
- **Fixes and Improvements**
- Adds support for the new "queued" downsample channel status (78)
- Adds support for z-index slicing in the convenience array API (77)

1.1.1

> Pip-installability fix (67).

1.1.0

> Updates to the convenience API.

- **Convenience API**
- New arguments to specify the source channel for annotation channels
- Specify BossDB config inline without special imports with `array(..., boss_config: dict)` argument
- Specify descriptions for newly created resources when calling `array(..., create_new=True)`.

1.0.0

> This version introduces the convenience API which uses numpy-like indexing.

This build switches `intern` CI to GitHub actions, and now tests both 3.6 as well as 3.7. Python 2.7 testing is no longer supported.

Features

- **Convenience API** (48)
- This adds support for the simple `intern.array` interface which mocks the numpy array API for getters and setters.
- Add support for DVID and cloud-volume hosted data with `DVIDRemote` and `CloudVolumeRemote`. (46)
- Add parallelism to `BossRemoteget_cutout` calls by passing `parallel=True` or `parallel=<int of jobs>` as an argument. (52)
- Addition of a `MeshService` for local meshing of 3D segmentation data.

0.10.0

> v0.10.0 is the _last_ version of `intern` that support Python 2.x. If you need Python 2 support, you must run `pip install intern==0.10.0`. The development team does not anticipate further development for Python 2, and support for Python 2 environments will be discontinued. In future versions of `intern`, it will be assumed that the user is on Python 3 (3.6 or above).

- Allow the "~" character in config-file path pointers when creating a new `BossRemote`
- `BossRemoteget_channel` now supports a single string argument of the form `bossdb://[collection]/[experiment]/[channel]`. Likewise, you can pass this string directly to, e.g., `BossRemoteget_cutout` as the first argument.
- Chunked downloads and uploads enable arbitrarily large cutouts from `BossRemote`.

0.9.12

intern incorporates the access_mode parameter when grabbing cutouts of small AND large sizes.
Backwards compatibility with previous versions that make use of the no_cache boolean parameter.
Whenever a user makes use of the no_cache param intern will return a deprecation warning. The translation occurs in intern/remote/boss/remote.py and should be removed in future major version upgrades.
intern now uses an enum class to limit the possibility of cache modes.

- access_mode = CacheMode.cache - Utilizes the cache and checks for dirty keys
- access_mode = CacheMode.no_cache - Does not check the cache but does check for dirty keys
- access_mode = CacheMode.raw - Does not check the cache and DOES NOT check for dirty keys

This is for functions:

- intern.remote.boss.remote.py: `BossRemote.get_cutout()`
- intern.serivce.boss.baseversion.py: `BaseVersion.get_cutout_request()`

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.