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.1.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file django_sourcerer-1.1.tar.gz
.
File metadata
- Download URL: django_sourcerer-1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ada5a7f8b69cb57d53423b76dd15ed8f83fdb5c3f42a512227cf3538190159 |
|
MD5 | a1c7a4974dfd6a7cf8cceb4369105b31 |
|
BLAKE2b-256 | db6cea1c4ded09eea2329d8b5c60df545e179d362c0da81f5a73a6788bccb601 |
File details
Details for the file django_sourcerer-1.1-py3-none-any.whl
.
File metadata
- Download URL: django_sourcerer-1.1-py3-none-any.whl
- Upload date:
- Size: 9.6 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/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9be61f73517b6f096ef5c494c79595e28f39a7b0d47faa668b331aa6a244a181 |
|
MD5 | ca15b6041ec5c273c8d735771c50d708 |
|
BLAKE2b-256 | f001234ce044d5b5ad9325ff9137394867b6270450a838c04d5ad371448058b2 |