Python C Extention Easy Core functions
Overview
There is an exciting application that uses d3.js sankey-circular.js. However, the way to create json data is very complicated.
Goal
- The goal is to automatically generate a sankey diagram from a csv or spreadsheet.
- and also to create a sankey diagram by copying a spreadsheet table to the clipboard and running this program.
Implementation
It uses a library created in C++ and imported as a library from python. The reason for this is that file and string manipulation is much easier in python.
Install
$ pip install csankey
UnInstall
$ pip uninstall csankey
Requirement
- python3.3 later.
run command Environment
- Windows
- Linux
- Mac OSX
Supported Browsers of OutputHTML file
| Checked Browser | Result |
|---|---|
| Chrome(95.0.4638.69) | OK |
| Edge(95.0.1020.40) | OK |
| Firefox | ?Unknown |
| IE | ?Unknown |
| Opera | ?Unknown |
| Safari | ?Unknown |
Usage
TODO
Example
TODO
Perfomance
TODO
Libraries used
- https://d3js.org/d3.v4.min.js
- https://bl.ocks.org/tomshanley/raw/6f3fcf68c0dbc401548733dd0c64e3c3/d3-sankey-circular.js
- https://www.npmjs.com/package/@riversun/sortable-table sortable-table.js copyright riversun
- https://github.com/kirin123kirin/csv-parser/parser.hpp copyright kirin123kirin
References used
Release files for csankey 0.6.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| csankey-0.6.7.tar.gz | 307.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| csankey-0.6.7-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| csankey-0.6.7-cp39-cp39-manylinux2010_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.12+ x86-64 | Details |
| csankey-0.6.7-cp39-cp39-macosx_10_16_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.16+ x86-64 | Details |
| csankey-0.6.7-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| csankey-0.6.7-cp38-cp38-manylinux2010_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.12+ x86-64 | Details |
| csankey-0.6.7-cp38-cp38-macosx_10_16_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.16+ x86-64 | Details |
| csankey-0.6.7-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| csankey-0.6.7-cp37-cp37m-manylinux2010_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| csankey-0.6.7-cp37-cp37m-macosx_10_16_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.16+ x86-64 | Details |
| csankey-0.6.7-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| csankey-0.6.7-cp36-cp36m-manylinux2010_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| csankey-0.6.7-cp36-cp36m-macosx_10_16_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.16+ x86-64 | Details |
Total release size: 5.0 MB
Release files / csankey-0.6.7.tar.gz
| Download URL | csankey-0.6.7.tar.gz |
|---|---|
| Size | 307.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ac25add7436442fb6733f0ba4f72974ac5adbec61c4999fa805366f3beaec69
|
|
BLAKE2b-256 checksum How to use checksums |
e4b73feee1e8779c2e0e088fd6a4a40e452463d4df294fa8af2c2a0350485c31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp39-cp39-win_amd64.whl
| Download URL | csankey-0.6.7-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 345.9 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7bee2550bc879a1d5a93dc17fd1f8e61c8a18aed0defa486e5fe032e22323e36
|
|
BLAKE2b-256 checksum How to use checksums |
517ddc1eb21c6ea5e2b4985d57b600f50b784f6d9d17540648af62f8011a38b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp39-cp39-manylinux2010_x86_64.whl
| Download URL | csankey-0.6.7-cp39-cp39-manylinux2010_x86_64.whl |
|---|---|
| Size | 430.4 kB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
42c8d3e95cb145619fa3d2bc6825d69351c37cbb0960c72971c9aedfed986b1b
|
|
BLAKE2b-256 checksum How to use checksums |
c9aabb57af4efdb6d8aeee840b3081e70b4cf0a2a1b3faf0ada88039cd317fcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp39-cp39-macosx_10_16_x86_64.whl
| Download URL | csankey-0.6.7-cp39-cp39-macosx_10_16_x86_64.whl |
|---|---|
| Size | 406.0 kB |
| Tags | CPython 3.9 macOS 10.16+ x86-64 |
|
SHA-256 checksum How to use checksums |
e71c26a797031fa939ab19624cd449398e96e10efc7b075db4623257b487fd57
|
|
BLAKE2b-256 checksum How to use checksums |
29cbd4490a6ac8b3152d814ae554cae990e5120ee6c3c2e35ceffbb84354a77f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp38-cp38-win_amd64.whl
| Download URL | csankey-0.6.7-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 345.9 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4f19cbe40046c08d3a43513915dbb529a93ada6baba4e984334d8df86821133c
|
|
BLAKE2b-256 checksum How to use checksums |
5f897bd44113c4f87f4da08f63c1411e3a044bf96d544f68dd1e5925e78514fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp38-cp38-manylinux2010_x86_64.whl
| Download URL | csankey-0.6.7-cp38-cp38-manylinux2010_x86_64.whl |
|---|---|
| Size | 430.4 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
9e20b2f36f2185e4dd99c87bc9cb0715b1551e63afdee37039594442e6bb183b
|
|
BLAKE2b-256 checksum How to use checksums |
2c45ad67f4c798aae1c4897f8f9b71d3c5f850f7eeca052792e3bf36376278bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp38-cp38-macosx_10_16_x86_64.whl
| Download URL | csankey-0.6.7-cp38-cp38-macosx_10_16_x86_64.whl |
|---|---|
| Size | 406.0 kB |
| Tags | CPython 3.8 macOS 10.16+ x86-64 |
|
SHA-256 checksum How to use checksums |
60d1536e60a0093693c199c82f19eec855ac4fc6688fa1cf2fa95c40643e63b9
|
|
BLAKE2b-256 checksum How to use checksums |
43e9f00cc7595527b1bc6351387d488d50c79e60d0d6b11237558fdf8f3a542b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp37-cp37m-win_amd64.whl
| Download URL | csankey-0.6.7-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 345.9 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
543afd6e4073d28e4342fced7b29fb7874cfa05c9546f38a3af8ca654f155a6f
|
|
BLAKE2b-256 checksum How to use checksums |
5b2cb1938967cc069d2112ac010f9e1034a1f6a4806554d878e4290a4c4bc838
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | csankey-0.6.7-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 430.2 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
52c04a194a2db45ad66d5a6425ea047fd0392cf39cba645dd9e1098d5075e4cc
|
|
BLAKE2b-256 checksum How to use checksums |
d36e6256cf8b61bc77d2b657935891c5a7e1189546ef32984c05dffaaa107c3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp37-cp37m-macosx_10_16_x86_64.whl
| Download URL | csankey-0.6.7-cp37-cp37m-macosx_10_16_x86_64.whl |
|---|---|
| Size | 406.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.16+ x86-64 |
|
SHA-256 checksum How to use checksums |
5e6e46809106cdadb92c5a6ed543aa52671688922b0f8079d8a847978b67423a
|
|
BLAKE2b-256 checksum How to use checksums |
571e63715b7ae1370170d61eafb98e8bf552582b17a0c3688885043fd8fc61fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp36-cp36m-win_amd64.whl
| Download URL | csankey-0.6.7-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 345.9 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
787f1b925891fb0abe8e36e409a45e554f9d6709c275f72ae3c25a6597212bdf
|
|
BLAKE2b-256 checksum How to use checksums |
565c19df527f10818c702fb1ca7de4045bdcb46983579e6c2a0fea20c46be5ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp36-cp36m-manylinux2010_x86_64.whl
| Download URL | csankey-0.6.7-cp36-cp36m-manylinux2010_x86_64.whl |
|---|---|
| Size | 430.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
0d759793bf2de6ea30b31e99869d6300295e1f6b32dde5b209904768ed46bc5d
|
|
BLAKE2b-256 checksum How to use checksums |
89e19e66811d8de84dd5ed72da73e75b37a0c8b0844065406c37d1ea13b12776
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / csankey-0.6.7-cp36-cp36m-macosx_10_16_x86_64.whl
| Download URL | csankey-0.6.7-cp36-cp36m-macosx_10_16_x86_64.whl |
|---|---|
| Size | 406.0 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.16+ x86-64 |
|
SHA-256 checksum How to use checksums |
6589e491adfcf1772877ef3d026ec6de6c953acb8824d43c1521e51224cf8324
|
|
BLAKE2b-256 checksum How to use checksums |
32cf7abe621c13e9cc7344eb8710c92ca684577e34db6f0f9211dc65841c9420
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|