Skip to main content

Utility code to perform QAG and SV analysis

Project description

Utility code to be used in the WEAVE-QAG/SV environment

This package is called wl-utilities on PyPI and can be installed with pip install wl-utilities and then imported with import wl_utilities This package is a collaborative effort and will comprise the scientific code that allows the QAG tests and SV to run. wl_utilities will be a dependency of those projects. wl_utilities should not use weaveio or qag packages.

Please see setup for setting up github

Workflow

There will be 2 branches in use on this repository:

  • main - where the production-ready version exists and which is uploaded automatically to PyPI for use by everyone.
  • develop - where changes and merges all take place before merging into the main branch

You will likely have 2 versions of this code:

  1. from PyPI (with pip install). This will be the version you should use when running science tests in production
  2. from your own development repo. This will be your test and development version which must be separate from everything else

setup

To setup git to deal with collaboration here

  1. On github click Fork. This creates a copy of wl_utilities for you to work on
  2. cd somewhere for development on wl_utiltities
  3. git clone <your-fork-ssh-address>
  4. cd wl_utilities
  5. git remote add upstream git@github.com:WEAVE-LOFAR/utilities.git
  6. git fetch --all

To add/modify this repository with your own changes and improvements please

  1. Pull the latest updates git fetch --all && git checkout main && git pull && git merge upstream/master
  2. Create a new branch from the git checkout -b my-very-clever-edit
  3. Make your changes on this branch
  4. Update requirements.txt and manifest.IN with your python requirements and ancillary files that you used
  5. Commit your changes git add <file1> <file2> ... and git commit -m "description of changes"
  6. git push
  7. Open a pull request on this github page referencing my-very-clever-edit -> develop

All changes therefore end up in the develop branch of this repo.

All pull requests will be review before merging so we can limit mistakes

Structure

The structure of this package will be:

wl_utilities/
  misc/  # for random short but useful snippets
  spectrum/  # for anything that processes spectra
    example_modulea/  # these will be added as necessary
    example_moduleb/
  stats/  # for anything that looks like a statistical test

We will not use separate folders for individual's code since the object is to put them together and not repeat.

Rules:

  • This repo will be autoformatted according to black
  • No change is merged with the main branch until approved by "enough" people
  • Keep the code as modular as possible

machine-readable-change-log ########################### 2022.0.0: initial

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

wl_utilities-2022.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

wl_utilities-2022.0.0-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file wl_utilities-2022.0.0.tar.gz.

File metadata

  • Download URL: wl_utilities-2022.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for wl_utilities-2022.0.0.tar.gz
Algorithm Hash digest
SHA256 e2a15183802356793beb101436db29e3462bac02f7337b0810369cd90e5f0fc4
MD5 8f9e8284f46beaa8d850903712accedd
BLAKE2b-256 af9ae96ae785ce3a53b454217988897dce942ae914aad6807b1717c28b169870

See more details on using hashes here.

File details

Details for the file wl_utilities-2022.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: wl_utilities-2022.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for wl_utilities-2022.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a49fdc95192e348bc1339667cc04b65087368ef10b979fa6a7b55fb53718394c
MD5 35bdb3bf528436543cb9a278556316fe
BLAKE2b-256 bf32ebcbfb1913504f83e94eadc15a7b143bef6970d72bdc46f371d13b4d907e

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