fact.credentials package

fact.credentials.get_credentials[source]

Get a SafeConfigParser instance with FACT credentials On the first call, you will be prompted for the FACT password

The folling credentials are stored:

  • telegram
    • token
  • database
    • user
    • password
    • host
    • database
  • twilio
    • sid
    • auth_token
    • number

use get_credentials().get(group, element) to retrieve elements

fact.credentials.create_factdb_engine(database=None)[source]

returns a sqlalchemy.Engine pointing to the factdata database

The different hostname on isdc machines is handled correctly.