Skip to main content

Data analyzer.

Project description

dan

In what follows

  • python is an alias for python3.5 or any later version (python3.6 and so on),
  • pypy is an alias for pypy3.5 or any later version (pypy3.6 and so on).

Installation

Install the latest pip & setuptools packages versions:

  • with CPython
    python -m pip install --upgrade pip setuptools
    
  • with PyPy
    pypy -m pip install --upgrade pip setuptools
    

User

Download and install the latest stable version from PyPI repository:

  • with CPython
    python -m pip install --upgrade dan
    
  • with PyPy
    pypy -m pip install --upgrade dan
    

Developer

Download the latest version from GitHub repository

git clone https://github.com/lycantropos/dan.git
cd dan

Install:

  • with CPython
    python setup.py install
    
  • with PyPy
    pypy setup.py install
    

Development

Bumping version

Preparation

Install bump2version.

Pre-release

Choose which version number category to bump following semver specification.

Test bumping version

bump2version --dry-run --verbose $CATEGORY

where $CATEGORY is the target version number category name, possible values are patch/minor/major.

Bump version

bump2version --verbose $CATEGORY

This will set version to major.minor.patch-alpha.

Release

Test bumping version

bump2version --dry-run --verbose release

Bump version

bump2version --verbose release

This will set version to major.minor.patch.

Notes

To avoid inconsistency between branches and pull requests, bumping version should be merged into master branch as separate pull request.

Running tests

Plain:

  • with CPython
    python setup.py test
    
  • with PyPy
    pypy setup.py test
    

Inside Docker container:

  • with CPython
    docker-compose --file docker-compose.cpython.yml up
    
  • with PyPy
    docker-compose --file docker-compose.pypy.yml up
    

Bash script (e.g. can be used in Git hooks):

  • with CPython

    ./run-tests.sh
    

    or

    ./run-tests.sh cpython
    
  • with PyPy

    ./run-tests.sh pypy
    

PowerShell script (e.g. can be used in Git hooks):

  • with CPython
    .\run-tests.ps1
    
    or
    .\run-tests.ps1 cpython
    
  • with PyPy
    .\run-tests.ps1 pypy
    

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

dan-0.0.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

dan-0.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file dan-0.0.0.tar.gz.

File metadata

  • Download URL: dan-0.0.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.4

File hashes

Hashes for dan-0.0.0.tar.gz
Algorithm Hash digest
SHA256 03718bf833cccd065bbd84513097797196f6796831d2e43b18cb0a1a8dc2b03e
MD5 6a9be483244fd9b83f20c816e2d5bd8c
BLAKE2b-256 cd2fe0f74c44643777930316a3bc373e498fb22925e2d2e5b15a5f8f164856d2

See more details on using hashes here.

File details

Details for the file dan-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: dan-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.4

File hashes

Hashes for dan-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce40293292621e1213497d59ad2d4ee8f384399d99b5eccc26e92e28cb18f40c
MD5 aa0e0166f5d8edb92914a5badfedafbf
BLAKE2b-256 bb878cbfda106e01c110efa0ca7f2ed4b1b43f1b2933c98d7a538aaeeb750ee5

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