Django app that import and correlating data from external sources.
Project description
innovativeproject-django-sourcerer
Links
- Pypi https://pypi.org/project/django-sourcerer/
- Source code https://github.com/nokia-wroclaw/innovativeproject-django-sourcerer
Install
pip install django-sourcerer
Then add django_sourcerer
to your project.
Usage
from django_sourcerer.domain.import_datas.intermediate_layer import Adapter
Then Adapter("yaml_file").get_data_type_columns()
It works with 'csv' datas now. It will be updated for json&xls formats.
Example .yaml File
name: <name of data source>
source: <endpoint of data source>
format: csv
columns:
- external_name: <column name>
type: <column type e.g : int>
- external_name: <column name>
type: <column type e.g : str>
Requires
- Python 3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_sourcerer-1.2.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file django_sourcerer-1.2.tar.gz
.
File metadata
- Download URL: django_sourcerer-1.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab5e2ea83dfbb5d87082a765980cd9290582d6c9e22042389b3d360865c18316 |
|
MD5 | 27d4fbe4364887fd1b59d1272a90de22 |
|
BLAKE2b-256 | 3351b0be44dc0335d47333fe9539976eb40f80305d13586e5794e5bdc2f6f8e5 |
File details
Details for the file django_sourcerer-1.2-py3-none-any.whl
.
File metadata
- Download URL: django_sourcerer-1.2-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2143103c595f86d70e72f9c92a2a3d9d9ae9ec4f40c3da32d821de79a854c48a |
|
MD5 | 32932a1035a709f4ce3a6097bcc4f75d |
|
BLAKE2b-256 | 479885b30d0374d40c5c136bd88693bbd407bd7170fe041285b2b93537407df7 |