man-group / arctic

High performance datastore for time series and tick data
https://arctic.readthedocs.io/en/latest/
GNU Lesser General Public License v2.1
3.06k stars 583 forks source link

Arctic doesn't have library_exists method #660

Closed dimosped closed 6 years ago

dimosped commented 6 years ago

Arctic Version

1.72.0

Arctic Store

# VersionStore, TickStore, or ChunkStore

Description of problem and/or code sample that reproduces the issue

There is no "library_exists('my_library_name')" method, which forces users to use the expensive: 'my_library_name' in a.list_libraries()

Instead use a lightweight "library_exists()" method (no regex support, just exact lib name match), which wraps get_library().

bmoscon commented 6 years ago

fixed