rustpy


Namerustpy JSON
Version 0.0.0 PyPI version JSON
download
home_pagehttps://github.com/lycantropos/rustpy/
SummaryPort of Rust programming language primitives.
upload_time2023-02-03 14:16:29
maintainer
docs_urlNone
authorAzat Ibrakov
requires_python>=3.7
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            rustpy
======

[![](https://github.com/lycantropos/rustpy/workflows/CI/badge.svg)](https://github.com/lycantropos/rustpy/actions/workflows/ci.yml "Github Actions")
[![](https://codecov.io/gh/lycantropos/rustpy/branch/master/graph/badge.svg)](https://codecov.io/gh/lycantropos/rustpy "Codecov")
[![](https://img.shields.io/github/license/lycantropos/rustpy.svg)](https://github.com/lycantropos/rustpy/blob/master/LICENSE "License")
[![](https://badge.fury.io/py/rustpy.svg)](https://badge.fury.io/py/rustpy "PyPI")
[![](https://img.shields.io/crates/v/rustpy.svg)](https://crates.io/crates/rustpy "crates.io")

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

Installation
------------

Install the latest `pip` & `setuptools` packages versions
```bash
python -m pip install --upgrade pip setuptools
```

### User

Download and install the latest stable version from `PyPI` repository
```bash
python -m pip install --upgrade rustpy
```

### Developer

Download the latest version from `GitHub` repository
```bash
git clone https://github.com/lycantropos/rustpy.git
cd rustpy
```

Install
```bash
python setup.py install
```

Development
-----------

### Bumping version

#### Preparation

Install
[bump2version](https://github.com/c4urself/bump2version#installation).

#### Pre-release

Choose which version number category to bump following [semver
specification](http://semver.org/).

Test bumping version
```bash
bump2version --dry-run --verbose $CATEGORY
```

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

Bump version
```bash
bump2version --verbose $CATEGORY
```

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

#### Release

Test bumping version
```bash
bump2version --dry-run --verbose release
```

Bump version
```bash
bump2version --verbose release
```

This will set version to `major.minor.patch`.

### Running tests

Install dependencies
```bash
python -m pip install -r requirements-tests.txt
```

Plain
```bash
pytest
```

Inside `Docker` container:
- with `CPython`
  ```bash
  docker-compose --file docker-compose.cpython.yml up
  ```
- with `PyPy`
  ```bash
  docker-compose --file docker-compose.pypy.yml up
  ```

`Bash` script:
- with `CPython`
  ```bash
  ./run-tests.sh
  ```
  or
  ```bash
  ./run-tests.sh cpython
  ```

- with `PyPy`
  ```bash
  ./run-tests.sh pypy
  ```

`PowerShell` script:
- with `CPython`
  ```powershell
  .\run-tests.ps1
  ```
  or
  ```powershell
  .\run-tests.ps1 cpython
  ```
- with `PyPy`
  ```powershell
  .\run-tests.ps1 pypy
  ```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lycantropos/rustpy/",
    "name": "rustpy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Azat Ibrakov",
    "author_email": "azatibrakov@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b2/4e/fa82297c88acb46c5cf1a72d98a47716e79005a0d6b21cc2795c317d48bd/rustpy-0.0.0.tar.gz",
    "platform": null,
    "description": "rustpy\n======\n\n[![](https://github.com/lycantropos/rustpy/workflows/CI/badge.svg)](https://github.com/lycantropos/rustpy/actions/workflows/ci.yml \"Github Actions\")\n[![](https://codecov.io/gh/lycantropos/rustpy/branch/master/graph/badge.svg)](https://codecov.io/gh/lycantropos/rustpy \"Codecov\")\n[![](https://img.shields.io/github/license/lycantropos/rustpy.svg)](https://github.com/lycantropos/rustpy/blob/master/LICENSE \"License\")\n[![](https://badge.fury.io/py/rustpy.svg)](https://badge.fury.io/py/rustpy \"PyPI\")\n[![](https://img.shields.io/crates/v/rustpy.svg)](https://crates.io/crates/rustpy \"crates.io\")\n\nIn what follows `python` is an alias for `python3.7` or `pypy3.7`\nor any later version (`python3.8`, `pypy3.8` and so on).\n\nInstallation\n------------\n\nInstall the latest `pip` & `setuptools` packages versions\n```bash\npython -m pip install --upgrade pip setuptools\n```\n\n### User\n\nDownload and install the latest stable version from `PyPI` repository\n```bash\npython -m pip install --upgrade rustpy\n```\n\n### Developer\n\nDownload the latest version from `GitHub` repository\n```bash\ngit clone https://github.com/lycantropos/rustpy.git\ncd rustpy\n```\n\nInstall\n```bash\npython setup.py install\n```\n\nDevelopment\n-----------\n\n### Bumping version\n\n#### Preparation\n\nInstall\n[bump2version](https://github.com/c4urself/bump2version#installation).\n\n#### Pre-release\n\nChoose which version number category to bump following [semver\nspecification](http://semver.org/).\n\nTest bumping version\n```bash\nbump2version --dry-run --verbose $CATEGORY\n```\n\nwhere `$CATEGORY` is the target version number category name, possible\nvalues are `patch`/`minor`/`major`.\n\nBump version\n```bash\nbump2version --verbose $CATEGORY\n```\n\nThis will set version to `major.minor.patch-alpha`. \n\n#### Release\n\nTest bumping version\n```bash\nbump2version --dry-run --verbose release\n```\n\nBump version\n```bash\nbump2version --verbose release\n```\n\nThis will set version to `major.minor.patch`.\n\n### Running tests\n\nInstall dependencies\n```bash\npython -m pip install -r requirements-tests.txt\n```\n\nPlain\n```bash\npytest\n```\n\nInside `Docker` container:\n- with `CPython`\n  ```bash\n  docker-compose --file docker-compose.cpython.yml up\n  ```\n- with `PyPy`\n  ```bash\n  docker-compose --file docker-compose.pypy.yml up\n  ```\n\n`Bash` script:\n- with `CPython`\n  ```bash\n  ./run-tests.sh\n  ```\n  or\n  ```bash\n  ./run-tests.sh cpython\n  ```\n\n- with `PyPy`\n  ```bash\n  ./run-tests.sh pypy\n  ```\n\n`PowerShell` script:\n- with `CPython`\n  ```powershell\n  .\\run-tests.ps1\n  ```\n  or\n  ```powershell\n  .\\run-tests.ps1 cpython\n  ```\n- with `PyPy`\n  ```powershell\n  .\\run-tests.ps1 pypy\n  ```\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Port of Rust programming language primitives.",
    "version": "0.0.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "896ee9a8bb10b115a06f7f20066c0e11bbeda6a7e57c9017ded73ad14bed5263",
                "md5": "47246142203ebc6f260d7adc916f7536",
                "sha256": "d121dc6902a044d3d2781b3fb2309b8d48f54c8c33aa38b4faad053ba427176f"
            },
            "downloads": -1,
            "filename": "rustpy-0.0.0-cp37-cp37m-macosx_13_0_x86_64.whl",
            "has_sig": false,
            "md5_digest": "47246142203ebc6f260d7adc916f7536",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 200200,
            "upload_time": "2023-02-03T14:16:26",
            "upload_time_iso_8601": "2023-02-03T14:16:26.842693Z",
            "url": "https://files.pythonhosted.org/packages/89/6e/e9a8bb10b115a06f7f20066c0e11bbeda6a7e57c9017ded73ad14bed5263/rustpy-0.0.0-cp37-cp37m-macosx_13_0_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b24efa82297c88acb46c5cf1a72d98a47716e79005a0d6b21cc2795c317d48bd",
                "md5": "ddfa351950a6e6acd28f14f0c20a8dcc",
                "sha256": "72aad8a020ce12ab3f7b62890ebbf429f1ebb41a36c2f33647026688fa2a9300"
            },
            "downloads": -1,
            "filename": "rustpy-0.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ddfa351950a6e6acd28f14f0c20a8dcc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 2918,
            "upload_time": "2023-02-03T14:16:29",
            "upload_time_iso_8601": "2023-02-03T14:16:29.195399Z",
            "url": "https://files.pythonhosted.org/packages/b2/4e/fa82297c88acb46c5cf1a72d98a47716e79005a0d6b21cc2795c317d48bd/rustpy-0.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-03 14:16:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "lycantropos",
    "github_project": "rustpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "rustpy"
}
        
Elapsed time: 0.03583s