Datasource

../../../../_images/datasource.svg

Create Datasource with path to a data source.

Ref. nodes:Datasources

Ports:

Outputs:

port1:

datasource

Datasource with path to file

Configuration:

filename
A filename including path if needed
db_sqlalchemy_engine_url
SQLAlchemy engine URL for connecting to the database
db_method
Select which Database connection method that you want to use.
db_driver
Database driver to use.
db_servername
A valid name to a database server.
db_databasename
The name of the database.
db_user
A valid database user.
db_password
A valid password for the selected user.
db_connection_string
A connection string that will override other settings.
datasource_type
Type of datasource.

In Sympathy for Data, the action of pointing out where data is located and actual import of data are separated into two different categories of nodes. The internal data type Datasource is used to carry the information about the location of the data to the import nodes.

There exist two nodes for establishing paths to locations with data, either you are interested in a single source of data, Datasource, or several sources, Datasources. The single source can either be a data file or a location in a data base. While for multiple sources only several data files are handled.

class node_file_datasource.FileDatasource[source]