Metadata-Version: 2.1
Name: timescale-doctor
Version: 0.1.1
Summary: Analyze a database and provide recommendations
Author: Mats Kindahl
Author-email: mats@timescale.com
License: Apache 2
Project-URL: Documentation, https://pip.pypa.io
Project-URL: Source, https://github.com/timescale/doctor
Project-URL: Changelog, https://pip.pypa.io/en/stable/news/
Keywords: postgresql timescale
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
License-File: LICENSE
Requires-Dist: psycopg2

Timescale Database Doctor
=========================

Rule-based recommendations about your timeseries database.

Installation
------------

You can install ``timescale-doctor`` using ``pip``::

  pip install timescale-doctor

Running the tool
----------------

Just call it in a similar manner to how ``psql`` is called::

  timescale-doctor my_database

It understands the usual environment variables `PGUSER`, `PGHOST`,
`PGDATABASE`, etc. Note that it do *not* understand PostgreSQL URLs
yet. See `Support PostgreSQL URLs for connection
<https://github.com/timescale/doctor/issues/5>`_.

Writing new rules
-----------------

Instructions for writing new rules are available in the `README in the
rules package <src/doctor/rules/README.rst>`_.

License
-------

Copyright 2023 Timescale, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License.  You may
obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.  See the License for the specific language governing
permissions and limitations under the License.
