Skip to main content

Lots of helper functions and useful widgets.

Project description

Overview:

This package contains various useful helper functions.

Installation:

  • Add a requirement to your requirements.txt:

    ai-django-core

  • Add module to INSTALLED_APPS:

    ai

  • Run migrations

Contribute

  • Clone the project locally

  • Create a new branch for your feature

  • Change the dependency in your requirements.txt to a local (editable) one that points to your local file system:

    -e /Users/felix/Documents/workspace/ai-django-core
    
  • Ensure the code passes the tests

  • Run:

    python setup.py develop

  • Create a pull request

Publish to PyPi

  • Update Changelog in Readme.md

  • Create pull request / merge to master

  • Run:

    • Make sure you have all the required packages installed
      pip install twine wheel
    • Create a file in your home directory: ~/.pypirc
    [distutils]
    index-servers=
        pypi
        testpypi
    
    [pypi]
    repository: https://upload.pypi.org/legacy/
    username: ambient-innovation
    
    [testpypi]
    repository: https://test.pypi.org/legacy/
    username: ambient-innovation
    
    • Create distribution
      python setup.py sdist bdist_wheel
    • Upload to Test-PyPi
      twine upload --repository testpypi dist/*
    • Check at Test-PyPi if it looks nice
    • Upload to real PyPi
      twine upload dist/*

Tests

  • Check coverage

    pytest --cov=ai-django-core

  • Run tests

    pytest

Changelog

Changelog

  • 1.2.2 (2019-04-05)

    • Updated deployment documentation
    • Added markdown support to Readme file
  • 1.2.1 (2019-03-25)

    • Fixed bug causing CommonInfo middleware to not set lastmodified_by on object creation
  • 1.2.0 (2019-03-19)

    • Added CommonInfo middleware

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ai_django_core-1.2.2-py3-none-any.whl (28.5 kB) Copy SHA256 hash SHA256 Wheel py3
ai-django-core-1.2.2.tar.gz (18.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page