Skip to main content

FLuiddb IMPorter - automates importing data into FluidDB

Project description

This package provides a script that will attempt to automate the importing of data into FluidDB if the original data is in the json, csv and yaml formats.

It assumes the following:

  • You are providing a list of items to import into FluidDB

  • The “shape” of each item is the same (conforms to the same schema)

In the case of json and yaml it simply attempts to parse the raw file into a list of python dict objects before the import takes place.

In the case of a csv file it will assume the first line is a list of headers and that each record is the same length as the headers. This will result in a list of python dict objects that will form the basis of the import.

Once the list of items has been abstracted into a list of Python dicts the script will use the first item as a “template” and will create the appropriate namespaces and tags to correspond to the keys in the dictionary.

Once this step is complete the script simply iterates over the items and creates an object for each and tags it with the corresponding tag-values.

Example usage:

flimp -f file.json

This will result in an interactive prompt where you supply the requested details (such as your username and password etc…)

You’ll find a log of your session in the file flimp.log. If you encounter any problems you should look in here first.

The source code is hosted here:

http://github.com/fluidinfo/flimp

You can find out more about FluidDB here:

http://fluidinfo.com/

Feedback welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

flimp-0.2.zip (9.1 kB view details)

Uploaded Source

flimp-0.2.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file flimp-0.2.zip.

File metadata

  • Download URL: flimp-0.2.zip
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flimp-0.2.zip
Algorithm Hash digest
SHA256 a2b0007aaf416d1c50a027a8946ef5880370d392469cba130e8918d45db6999c
MD5 5f71822b9ac4823fc98698c0bb676fae
BLAKE2b-256 838d92abd2baafed0a88fcd2b2c3b28edc86b8d0cc44bfdbc8f8ff6415223fff

See more details on using hashes here.

File details

Details for the file flimp-0.2.tar.gz.

File metadata

  • Download URL: flimp-0.2.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flimp-0.2.tar.gz
Algorithm Hash digest
SHA256 4145008a848ec80530d004f555d6410148f7c88a7fb855ab8fcf54e8ad508783
MD5 2087ae52cbb0639c0d53b355f8ae98c3
BLAKE2b-256 65d5ecd9ceef53e8aec8cb97d0f3294353b2cc1ad914c352a38f2fe5004aed7f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page