Skip to main content
# frigg-settings [![Build status](https://ci.frigg.io/badges/frigg/frigg-settings/)](https://ci.frigg.io/frigg/frigg-settings/last/) [![Coverage status](https://ci.frigg.io/badges/coverage/frigg/frigg-settings/)](https://ci.frigg.io/frigg/frigg-settings/last/)
A python module for parsing and discovery of frigg settings file

## Installation
```
pip install frigg-settings
```

## Usage
The same content as t.py, thus run `python t.py` to se the output.

```python
from frigg_settings.helpers import FileSystemWrapper
from frigg_settings import build_tasks, load_settings_file, build_settings

path = os.getcwd()
runner = FileSystemWrapper()

print('Tasks: {}'.format(build_tasks(path, runner)))
print('Settings-file: {}'.format(load_settings_file('{}/.frigg.yml'.format(path), runner)))
print('Build-settings: {}'.format(build_settings(path, runner)))
```

The script prints the following:

```text
Tasks: ['tox', 'flake8']
Settings-file: {'tasks': ['tox -e py34', 'tox -e flake8', 'tox -e isort', 'coverage report -m && coverage xml'], 'coverage': {'parser': 'python', 'path': 'coverage.xml'}}
Build-settings: {'webhooks': [], 'services': [], 'tasks': ['tox -e py34', 'tox -e flake8', 'tox -e isort', 'coverage report -m && coverage xml'], 'coverage': {'parser': 'python', 'path': 'coverage.xml'}}
```

--------------

MIT © frigg.io

Metadata

Release files for frigg-settings 3.1.2

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

Source distribution (sdist)

Source distribution for frigg-settings 3.1.2
File Size Uploaded
frigg-settings-3.1.2.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for frigg-settings 3.1.2
File Interpreter ABI Platform
frigg_settings-3.1.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 11.5 kB

Release files / frigg-settings-3.1.2.tar.gz

Download URL frigg-settings-3.1.2.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a0c13593fcf4a5cc7d9ed3b37fc4cfd96a7a9f5761bf64e05616a81b7d888805
BLAKE2b-256 checksum
How to use checksums
ce89717f31d40fdeafadc8afe444505f21ff83190663aa16aa9b5ea5d7989e46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / frigg_settings-3.1.2-py2.py3-none-any.whl

Download URL frigg_settings-3.1.2-py2.py3-none-any.whl
Size 6.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6e4615282720d2644a662fb04fef2871fb843fbc8edeae47c971c088a5929702
BLAKE2b-256 checksum
How to use checksums
ee01b9f7c8a063e2f5eb3ae6990c42bd5a9deb805f9e907e1560d3617c6d7159
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

3.1.2 This release

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.1.1

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

2 release files

0.1.0

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