Swiss army knife for functional data-science projects.
Project description
swak
Swiss army knife for functional data-science projects.
Introduction
This package is a collection of small, modular, and composable building blocks implementing frequently occurring operations in typical data-science applications. In abstracting away boiler-plate code, it thus saves time and effort.
- Consolidate all ways to configure your project (command-line arguments,
environment variables, and config files) with the
cliandtextpackages, respectively. - Wrap the project config into a versatile
jsonobject. - Focus on writing small, configurable, modular, reusable, and testable
building blocks. Then use the flow controls in
funcflowto compose them into arbitrarily complex workflows, that are still easy to maintain and to expand. - Quickly set up projects on Google BigQuery and Google Cloud as well as AWS object Storage, and
efficiently download lots of data in parallel with the
cloudsub-package. - Build powerful neural-network architectures from the elements in
ptand train your deep-learning models with early stopping and checkpointing. From feature embedding, over feature importance, to repeated residual blocks, a broad variety of options is available. - And much more ...
Installation
- Create a new virtual environment running at least
python 3.12. - The easiest way of installing
swakis from the python package index PyPI, where it is hosted. Simply typepip install swak
or treat it like any other python package in your dependency management. - If you need support for interacting with the Google Cloud Project,
in particular Google BigQuery and Google Cloud Storage, install
extra dependencies with:
pip install swak[cloud]
- In order to use the subpackage
swak.pt, you need to have PyTorch installed. Because there is no way of knowing whether you want to run it on CPU only or also on GPU and, if so, which version of CUDA (or ROC) you have installed on your machine and how, it is not an explicit dependency ofswak. You will have to install it yourself, e.g., following these instructions. If you are usingpipenvfor dependency management, you can also have a look at the Pipfile in the root of theswakrepository and taylor it to your needs. Personally, I gopipenv sync --categories=cpu
for a CPU-only installation of PyTorch andpipenv sync --categories=cuda
if I want GPU support.
Usage
Try making a new repository using the swak-template as a, well, template.
Documentation
The API documentation to swak is hosted on GitHub Pages.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swak-0.5.6.tar.gz.
File metadata
- Download URL: swak-0.5.6.tar.gz
- Upload date:
- Size: 119.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15a42b674456a7bad2290d75f6b5bf17046d8b7e23e3405cf97f03dd603f5631
|
|
| MD5 |
3e4699361e5683ed42ec5bb1f730d8a9
|
|
| BLAKE2b-256 |
f25b8c352325b0aabcc073aa766ee45145fa395006c0759256f4217d1c749248
|
Provenance
The following attestation bundles were made for swak-0.5.6.tar.gz:
Publisher:
publish-package.yml on yedivanseven/swak
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swak-0.5.6.tar.gz -
Subject digest:
15a42b674456a7bad2290d75f6b5bf17046d8b7e23e3405cf97f03dd603f5631 - Sigstore transparency entry: 474211388
- Sigstore integration time:
-
Permalink:
yedivanseven/swak@e5a145d631134b39bf4058d0d7b94e10e477ee2e -
Branch / Tag:
refs/tags/v0.5.6 - Owner: https://github.com/yedivanseven
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@e5a145d631134b39bf4058d0d7b94e10e477ee2e -
Trigger Event:
release
-
Statement type:
File details
Details for the file swak-0.5.6-py3-none-any.whl.
File metadata
- Download URL: swak-0.5.6-py3-none-any.whl
- Upload date:
- Size: 186.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f413e984cd18275784613146533a2b597779819cf56100fc8ebfea3337148feb
|
|
| MD5 |
a55a7beeb021a62808e8cd52f6cb94b1
|
|
| BLAKE2b-256 |
2a05e588e82f6864e2f49a14fed5c7dd66545cb87d0281efea2ef4fb422335f6
|
Provenance
The following attestation bundles were made for swak-0.5.6-py3-none-any.whl:
Publisher:
publish-package.yml on yedivanseven/swak
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swak-0.5.6-py3-none-any.whl -
Subject digest:
f413e984cd18275784613146533a2b597779819cf56100fc8ebfea3337148feb - Sigstore transparency entry: 474211409
- Sigstore integration time:
-
Permalink:
yedivanseven/swak@e5a145d631134b39bf4058d0d7b94e10e477ee2e -
Branch / Tag:
refs/tags/v0.5.6 - Owner: https://github.com/yedivanseven
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@e5a145d631134b39bf4058d0d7b94e10e477ee2e -
Trigger Event:
release
-
Statement type: