GithubHelp home page GithubHelp logo

gov-cjwaszczuk / notifications-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alphagov/notifications-utils

0.0 0.0 0.0 1.27 MB

Shared code between notfications python flask applications

License: MIT License

Makefile 0.57% Python 98.93% Shell 0.50%

notifications-utils's Introduction

GOV.UK Notify - notifications-utils [BETA]

Shared python code for GOV.UK Notify

Provides logging utils etc.

Installing

This is a python application.

Python version

This is a python 3 application. It has not been run against any version of python 2.x

brew install python3

Dependency management

This is done through pip and virtualenv. In practise we have used VirtualEnvWrapper for our virtual environemnts.

Setting up a virtualenvwrapper for python3

mkvirtualenv -p /usr/local/bin/python3 notifications-python-client

The boostrap script will set the application up. Ensure you have activated the virtual environment first.

./scripts/bootstrap.sh

This will

  • Use pip to install dependencies.

Tests

The ./scripts/run_tests.sh script will run all the tests. py.test is used for testing.

Running tests will also apply syntax checking, using pycodestyle.

Additionally code coverage is checked via pytest-cov:

notifications-utils's People

Contributors

quis avatar leohemsted avatar pyup-bot avatar sakisv avatar kentsanggds avatar minglis avatar mannickutd avatar richardc0 avatar servingupaces avatar bandesz avatar gov-cjwaszczuk avatar ashimali avatar allait avatar klssmith avatar pcraig3 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.