Skip to main content

Symbolic computations.

Project description

symba

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

Installation

Install the latest pip & setuptools packages versions

python -m pip install --upgrade pip setuptools

User

Download and install the latest stable version from PyPI repository:

python -m pip install --upgrade symba

Developer

Download the latest version from GitHub repository

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

Install dependencies

python -m pip install -r requirements.txt

Install

python 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.

Running tests

Install dependencies

python -m pip install -r requirements-tests.txt

Plain

pytest

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

symba-0.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

symba-0.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: symba-0.0.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.0

File hashes

Hashes for symba-0.0.0.tar.gz
Algorithm Hash digest
SHA256 47e11bfa1922dfcb791b06f7eca434159879b177701dbe53897597efecc2e965
MD5 96f074ccd5cb3cb7996ae8b398cd8bd2
BLAKE2b-256 011984d75d00b380e24407b961ed11161b8c0635cb309adac7efff61912a01f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: symba-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.0

File hashes

Hashes for symba-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7427439e6e866b19bc593167b1479cebeb71ed5abf3d50d069d740007af90cf
MD5 5944e9f379558e32d25191521f3324b5
BLAKE2b-256 c9db30c82a1c64f342347e3d0fab78dbef1b2f8b8f757e99ae0da328e8ae8ce9

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