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


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.60.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

ssb_altinn3_util-0.0.60-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ssb_altinn3_util-0.0.60.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for ssb_altinn3_util-0.0.60.tar.gz
Algorithm Hash digest
SHA256 4277aa79da8397657b9be820df47bc7397e912894ad262f418e9849020df2cd1
MD5 839dee90687b7a2165403eb868c5b815
BLAKE2b-256 e6f59130307685dd5c989d4a5617d72f7decb3145d050c1420ec289f9e2d84ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ssb_altinn3_util-0.0.60-py3-none-any.whl
Algorithm Hash digest
SHA256 9792412932257a3e59a6773909832b2c5f6b5413898f33469c19970314a88d90
MD5 d6deda8a09e79415b786f7cbdef94895
BLAKE2b-256 3ff5f6c1083f95c46c601582130518175e044810b9e5159719c7ac041d2d299a

See more details on using hashes here.

Supported by

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