Skip to main content

A small library package containing various tools and utilities

Project description

ssb-altinn3-util

A library of handy modules and utilities that can be used and built on when integrating with Altinn 3 and SSB's Altinn 3 data collection solutions

Quality Gate Status

To build package locally during development run (from root directory of project):

python setup.py install

Testing from other Python apps

  • Push the changes to a branch of ssb-altinn3-util
  • Uninstall previous ssb-altinn3-util in the app: pip uninstall ssb-altinn3-util
  • Add the following in your requirements.txt in the app `git+ssh://git@github.com/statisticsnorway/ssb-altinn3-util@<your_branch_name>

After the testing is finished, remember to revert the requirements.txt before pushing the changes!

Releasing to Artifact Registry

  • Update version in pyproject.toml
  • Create a GitHub release and the pipeline will push the package to Google Artifact Registry

Running tests locally

In order to run the unittests locally things must be set up properly:

  • In the project root directory run:

     pip install -e .
     pip install -r ./test/requirements-test.txt 
    
  • This will install the package locally as editable (changes in code will immediately be reflected in the package) as well as the required dependencies.

  • You should now be able to run the tests by running pytest from project root.

Testing locally from another module

In order to test a new version from another module locally you first have to uninstall the package:

  • pip uninstall ssb-altinn3-util
    Then the package must be installed from local path
  • pip install

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

ssb_altinn3_util-0.0.87.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssb_altinn3_util-0.0.87-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file ssb_altinn3_util-0.0.87.tar.gz.

File metadata

  • Download URL: ssb_altinn3_util-0.0.87.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ssb_altinn3_util-0.0.87.tar.gz
Algorithm Hash digest
SHA256 bd3bc228ee1d92b276455f94e7628ac05e2076e76be54dc651437b38bd9e164b
MD5 12321aa3170f8a98ed2d52ce4ccb3e39
BLAKE2b-256 dd8185a351133dffb4016a3fedefc3131ac5c3cf11a5db77bfe1b04a0ef5a76d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssb_altinn3_util-0.0.87.tar.gz:

Publisher: pypi-release.yaml on statisticsnorway/ssb-altinn3-util

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ssb_altinn3_util-0.0.87-py3-none-any.whl.

File metadata

File hashes

Hashes for ssb_altinn3_util-0.0.87-py3-none-any.whl
Algorithm Hash digest
SHA256 c78ee1d5cbb1c4d9f1f9037e0c415113b4bbc561a6d8a988f96fd420ed129228
MD5 9f1e7b22c695aa44537217f59bcb7f99
BLAKE2b-256 2c0b53223ae4a55ea3374bc6ddf8cadf205d71b708bed608d08a4e3b8fd5625f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssb_altinn3_util-0.0.87-py3-none-any.whl:

Publisher: pypi-release.yaml on statisticsnorway/ssb-altinn3-util

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page