Skip to main content

DataSika 🦌

Have you gotten stuck in data muds and needed to write pile of codes to handle just a tiny data type problems? Or have you bumped into some situations that you have to check out your spaghetti codes 🍝 for a long time to see what's wrong when cleaning your data? Don't worry! 😌 Here comes DataSika 🦌 for you! DataSika is a simple python package that allows you to produce your own data pipeline locally by writing some basic standard yaml syntaxs. You can do webscrapping, api-requesting based on our useful functions. Also, we provide some filter availabilities for you if you want to filter out some content by xpath (for html responses), jsonpath (for json responses) and sql (for manipulating dataframes). Can't wait to try? Just install it as soon as possible and test it with examples we provided! 😆 ✨

Compatibility of python

  • python version > 3.7

PyPI Package

Environment SetUp

Clone this project (If you wanna run some examples!)

  • Using command: git clone git@github.com:rainyjonne/DataSika.git
  • Manually download: clicking Download ZIP file from the green code button

Install Python

Upgrade your pip if its version not new enough

  • Install pip
    • macOS: python -m ensurepip --upgrade
    • WSL, Linux: python -m ensurepip --upgrade

Install our pacakge

  • Just execute this command: pip install DataSika, then you can happily use this command with your yaml files! 🎉 🎊
  • Sika Command usage:
usage: sika [-h] [--input INPUT] [--output OUTPUT] [--rerun]

Build a simple pipeline by a yaml file

optional arguments:
  -h, --help       show this help message and exit
  --input INPUT    put in an input yaml file path
  --output OUTPUT  put a path for your output db
  --rerun          rerun the whole pipeline again, delete all data tables in your db file

Running examples

  • Making this package's command line tool works: python setup.py install
  • Running our four examples:
    • Using command line tools:
      1. (ETL) Getting Ruby Gem Details Example: sika --input examples/repominer.yaml
      2. (ETL) Airbnb UK Hostings + UK Crime Data Example: sika --input examples/airbnb-uk-crime.yaml
      3. (EL) Getting Ruby Gem Lists Example: sika --input examples/repominer-el.yaml
      4. (EL) Airbnb Japan Hostings Example: sika --input examples/airbnb-tokyo.yaml
    • Using python scripts:
      1. (ETL) Getting Ruby Gem Details Example: python sika/main.py --input examples/repominer.yaml
      2. (ETL) Airbnb UK Hostings + UK Crime Data Example: python sika/main.py --input examples/airbnb-uk-crime.yaml
      3. (EL) Getting Ruby Gem Lists Example: python sika/main.py --input examples/repominer-el.yaml
      4. (EL) Airbnb Japan Hostings Example: python sika/main.py --input examples/airbnb-tokyo.yaml

Metadata

Release files for DataSika 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DataSika 1.0.3
File Size Uploaded
DataSika-1.0.3.tar.gz 20.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for DataSika 1.0.3
File
DataSika-1.0.3-py3.9.egg Legacy Egg format - - Details
DataSika-1.0.3-py3.8.egg Legacy Egg format - - Details
DataSika-1.0.3-py3.7.egg Legacy Egg format - - Details
DataSika-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 251.8 kB

Release files / DataSika-1.0.3.tar.gz

Download URL DataSika-1.0.3.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
432b5d7df4196c74baa3aa47452dd3891520ba561e2b20e90081e02743437a83
BLAKE2b-256 checksum
How to use checksums
e045a0ba4cbc8bb0ba3680d2e0e3c9558b110542e5a1fab620d590c1294c1368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.11

Release files / DataSika-1.0.3-py3.9.egg

Download URL DataSika-1.0.3-py3.9.egg
Size 66.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
aaee81da904ae10be4a018fd283650a5a074f175903c0f30e46d64c87803ecae
BLAKE2b-256 checksum
How to use checksums
b2a1e4303829aa319b35659afabddf67253cd00b30df78b91f31283a7240d598
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.11

Release files / DataSika-1.0.3-py3.8.egg

Download URL DataSika-1.0.3-py3.8.egg
Size 66.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
c038f17387c366c6f04d8c99c8b5ac37aeceaf6b1f7f2491de16c1c442a22e85
BLAKE2b-256 checksum
How to use checksums
f84976dc832d349826117b28f1318d508606a6299aa5b66d6b681858430b8e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.11

Release files / DataSika-1.0.3-py3.7.egg

Download URL DataSika-1.0.3-py3.7.egg
Size 66.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
38928b3419ee24fc44f68e4952268be51f434e1cb2902fc5dadf726d7e973d98
BLAKE2b-256 checksum
How to use checksums
29c21aa68bdbabb611a7b6debfce731d2f072e31b1b863a3d816247ce5ef5fb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.11

Release files / DataSika-1.0.3-py3-none-any.whl

Download URL DataSika-1.0.3-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60e18e0332ad6a592563a3a05c68893d2fd7e422f783a99b1770bf4f19928195
BLAKE2b-256 checksum
How to use checksums
8bf68197ec43f1224540616a820f4f8521a022100a73deb26e4122877ea7a6c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.11

Release history Release notifications | RSS feed

This release

1.0.3 This release

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page