A collection of data processing Spark functions for the use in Statistics Norway.
Project description
SSB Spark Tools
The SSB Spark Tools Library is a colection of Data processing functions for the use in Data processing in Statistics Norway
[!WARNING] This project is deprecated and no longer maintained.
Installation
pip install ssb-spark-tools
Development setup
This repo uses poetry for dependency management and publishing to PyPi.
Install poetry as described on the poetry install page.
poetry install Install required tools for build/dev
poetry run pytest Run tests
poetry build Build dist
poetry publish Publish to PyPi
Testing
Run tests for all python distributions using GitHub Actions, see https://github.com/statisticsnorway/SSB_Spark_tools/actions
Releasing
Prerequisites: You will need to register accounts on PyPI and TestPyPI.
Before releasing:
- Make sure you're working on a "new" version number.
- Make sure to update release notes.
- Make sure the GitHub repo has a secret with the name
PYPI_API_TOKENand contains the PyPi access token.
To release and publish a new version to PyPI:
- Create a new release in the GitHub repo.
- The
Upload Python PackageGitHub Action will start and publish the new version to PyPi.
Manually:
poetry publish
For a dress rehearsal, you can do a test release to the TestPyPI index. TestPyPI is very useful, as you can try all the steps of publishing a package without any consequences if you mess up. Read more about TestPyPI here.
You should see the new release appearing here (it might take a couple of minutes for the index to update).
Release History
- 0.0.1
- Initial version with functions as in use on initiaition
Meta
Statistics Norway – https://github.com/statisticsnorway
Distributed under the MIT license. See LICENSE for more information.
https://github.com/statisticsnorway/SSB_Spark_tools
Contributing
- Fork it (https://github.com/statisticsnorway/SSB_Spark_tools/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
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 ssb_spark_tools-0.1.14.tar.gz.
File metadata
- Download URL: ssb_spark_tools-0.1.14.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10ddff066a0b284a7c0f7382159dbd80d6adaa14a98373be9eb60cde55b813a7
|
|
| MD5 |
3b3175700c04e2547816d1bfaeccdbb3
|
|
| BLAKE2b-256 |
951ea279e55cbf8dae02c953020be088efbf1630d7b1d2037a6a76a52c5f8b99
|
Provenance
The following attestation bundles were made for ssb_spark_tools-0.1.14.tar.gz:
Publisher:
python-publish.yml on statisticsnorway/ssb-spark-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ssb_spark_tools-0.1.14.tar.gz -
Subject digest:
10ddff066a0b284a7c0f7382159dbd80d6adaa14a98373be9eb60cde55b813a7 - Sigstore transparency entry: 1328269170
- Sigstore integration time:
-
Permalink:
statisticsnorway/ssb-spark-tools@545e11cb3b0ddd3ac06d781510dd761da6c29934 -
Branch / Tag:
refs/tags/0.1.14 - Owner: https://github.com/statisticsnorway
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@545e11cb3b0ddd3ac06d781510dd761da6c29934 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ssb_spark_tools-0.1.14-py3-none-any.whl.
File metadata
- Download URL: ssb_spark_tools-0.1.14-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60a0b8980b5dd1084602b13581a9ec6d5890ca819cf6cc6c68d471029099d0c0
|
|
| MD5 |
33a82cd2fe6821584b16ecf65eee12f9
|
|
| BLAKE2b-256 |
a6049ff16a1b38ff251a718f375a561ca19c321b36143c2ad5da55ebc89e6fdf
|
Provenance
The following attestation bundles were made for ssb_spark_tools-0.1.14-py3-none-any.whl:
Publisher:
python-publish.yml on statisticsnorway/ssb-spark-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ssb_spark_tools-0.1.14-py3-none-any.whl -
Subject digest:
60a0b8980b5dd1084602b13581a9ec6d5890ca819cf6cc6c68d471029099d0c0 - Sigstore transparency entry: 1328269190
- Sigstore integration time:
-
Permalink:
statisticsnorway/ssb-spark-tools@545e11cb3b0ddd3ac06d781510dd761da6c29934 -
Branch / Tag:
refs/tags/0.1.14 - Owner: https://github.com/statisticsnorway
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@545e11cb3b0ddd3ac06d781510dd761da6c29934 -
Trigger Event:
release
-
Statement type: