Skip to content

Commit 95bcb0f

Browse files
committed
dev: 0.0.1
1 parent 4946699 commit 95bcb0f

24 files changed

+125
-35
lines changed

.github/5578703.png

29.3 KB
Loading

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
- name: Tests
2424
run: PYTHONPATH=. pytest --cov=data_flow --cov-report term
2525
- name: Lint
26-
run: pflake8 data_flow/
26+
run: pflake8 mysiar_data_flow/ tests/

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,5 +162,5 @@ cython_debug/
162162

163163

164164
# data_flow
165-
!data_flow/lib
165+
!mysiar_data_flow/lib
166166
tests/data/*.csv

Makefile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,20 @@ pip::
88
venv/bin/pip install -r requirements.dev.txt
99

1010
tests::
11-
PYTHONPATH=. venv/bin/pytest --cov=data_flow --cov-report html --cov-report term -rP tests/ -vvv
11+
PYTHONPATH=. venv/bin/pytest --cov=mysiar_data_flow --cov-report html --cov-report term -rP tests/ -vvv
1212

1313
lint::
14-
venv/bin/pflake8 data_flow/
14+
venv/bin/pflake8 mysiar_data_flow/ tests/
15+
16+
build::
17+
rm -rf dist
18+
venv/bin/poetry build
19+
20+
21+
upload-test::
22+
$(MAKE) build
23+
venv/bin/python -m twine upload -u $${PYPI_USER} -p $${PYPI_PASS_TEST} --verbose --repository testpypi dist/*
24+
25+
upload::
26+
$(MAKE) build
27+
. venv/bin/activate && python -m twine upload -u $${PYPI_USER} -p $${PYPI_PASS} --verbose dist/*

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,17 @@
88

99
library to manipulate data
1010

11+
## Installation instructions
12+
13+
```sh
14+
pip install mysiar-data-flow
15+
```
16+
1117
## DataFlow.DataFrame
12-
work in progress
18+
19+
### Usage
20+
For now check [mysiar_data_flow/data_flow.py](mysiar_data_flow/data_flow.py) file for interface
21+
22+
23+
24+
![work in progress](.github/5578703.png)
File renamed without changes.

data_flow/data_flow.py renamed to mysiar_data_flow/data_flow.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,31 @@
77
import polars as pl
88
from pyarrow import feather
99

10-
from data_flow.lib import FileType, Operator
11-
from data_flow.lib.data_columns import (
10+
from mysiar_data_flow.lib import FileType, Operator
11+
from mysiar_data_flow.lib.data_columns import (
1212
data_get_columns,
1313
data_delete_columns,
1414
data_rename_columns,
1515
data_select_columns,
1616
data_filter_on_column,
1717
)
18-
from data_flow.lib.data_from import (
18+
from mysiar_data_flow.lib.data_from import (
1919
from_csv_2_file,
2020
from_feather_2_file,
2121
from_parquet_2_file,
2222
from_json_2_file,
2323
from_hdf_2_file,
2424
)
25-
from data_flow.lib.data_to import (
25+
from mysiar_data_flow.lib.data_to import (
2626
to_csv_from_file,
2727
to_feather_from_file,
2828
to_parquet_from_file,
2929
to_json_from_file,
3030
to_hdf_from_file,
3131
)
32-
from data_flow.lib.fireducks import from_fireducks_2_file, to_fireducks_from_file
33-
from data_flow.lib.pandas import from_pandas_2_file
34-
from data_flow.lib.tools import generate_temporary_filename, delete_file
32+
from mysiar_data_flow.lib.fireducks import from_fireducks_2_file, to_fireducks_from_file
33+
from mysiar_data_flow.lib.pandas import from_pandas_2_file
34+
from mysiar_data_flow.lib.tools import generate_temporary_filename, delete_file
3535

3636

3737
class DataFlow:
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)