astro.constants

Module Contents

Classes

FileLocation

Generic enumeration.

FileType

Generic enumeration.

Database

Generic enumeration.

Attributes

DEFAULT_SCHEMA

DEFAULT_CHUNK_SIZE

PYPI_PROJECT_NAME

SUPPORTED_FILE_LOCATIONS

SUPPORTED_FILE_TYPES

SUPPORTED_DATABASES

LoadExistStrategy

ExportExistsStrategy

MergeConflictStrategy

ColumnCapitalization

astro.constants.DEFAULT_SCHEMA = tmp_astro
astro.constants.DEFAULT_CHUNK_SIZE = 1000000
astro.constants.PYPI_PROJECT_NAME = astro-sdk-python
class astro.constants.FileLocation

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

LOCAL = local
HTTP = http
HTTPS = https
GS = gs
GOOGLE_DRIVE = gdrive
S3 = s3
class astro.constants.FileType

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

CSV = csv
JSON = json
NDJSON = ndjson
PARQUET = parquet
class astro.constants.Database

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

POSTGRES = postgres
POSTGRESQL = postgres
SQLITE = sqlite
BIGQUERY = bigquery
SNOWFLAKE = snowflake
REDSHIFT = redshift
astro.constants.SUPPORTED_FILE_LOCATIONS
astro.constants.SUPPORTED_FILE_TYPES
astro.constants.SUPPORTED_DATABASES
astro.constants.LoadExistStrategy
astro.constants.ExportExistsStrategy
astro.constants.MergeConflictStrategy
astro.constants.ColumnCapitalization