Skip to content

orcalib.orcadb_url#

is_url #

is_url(url)

Check if a string is a URL.

parse_orcadb_url #

1
2
3
4
5
6
7
8
parse_orcadb_url(
    url=None,
    *,
    api_key=None,
    secret_key=None,
    database=None,
    table=None
)

Parse an OrcaDB URL

Parameters:

  • url (str | None, default: None ) –

    The URL to parse. If not provided, the ORCADB_URL environment variable is used.

  • api_key (str | None, default: None ) –

    API key to use (will override the api key in the URL)

  • secret_key (str | None, default: None ) –

    Secret key to use (will override the secret key in the URL)

  • database (str | None, default: None ) –

    The database to use.

  • table (str | None, default: None ) –

    The table to use.