pyTuft


NamepyTuft JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/OmneDAO/pyTuft
SummaryA Truffle-like tool for Python smart contracts
upload_time2024-08-08 21:13:14
maintainerNone
docs_urlNone
authorYour Name
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyTuft

A Truffle-like tool for managing Python smart contracts on Omne.

## Installation

### Prerequisites

Make sure you have the following installed:
- Python 3.6+

## Installing pyTuft

```sh
pip install pyTuft
```

## Configuration

Create a `pyTuft_user_config.py` file in your project directory with the following content:

```python
BLOCKCHAIN_URL = 'http://localhost:5000'
DEPLOYER_ADDRESS = '0xYourAddress'
```

## Usage

### Compile a Contract

```sh
pyTuft compile <contract>
```

## Deploy a Contract

```sh
pyTuft deploy <contract>
```
## Execute a Contract

```sh
pyTuft execute --contract_id <contract_id> --function_name <function_name> --args <arg1> <arg2>
```

## Byte-compiled / optimized / DLL files

## Running Tests

```sh
pyTuft test
```

## License

This project is licensed under the MIT License.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OmneDAO/pyTuft",
    "name": "pyTuft",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "your.email@example.com",
    "download_url": "https://files.pythonhosted.org/packages/7e/6d/1af333f3893836d3db552795d3de0d235a58650840fd900b1518e415ec1c/pyTuft-1.0.0.tar.gz",
    "platform": null,
    "description": "# pyTuft\n\nA Truffle-like tool for managing Python smart contracts on Omne.\n\n## Installation\n\n### Prerequisites\n\nMake sure you have the following installed:\n- Python 3.6+\n\n## Installing pyTuft\n\n```sh\npip install pyTuft\n```\n\n## Configuration\n\nCreate a `pyTuft_user_config.py` file in your project directory with the following content:\n\n```python\nBLOCKCHAIN_URL = 'http://localhost:5000'\nDEPLOYER_ADDRESS = '0xYourAddress'\n```\n\n## Usage\n\n### Compile a Contract\n\n```sh\npyTuft compile <contract>\n```\n\n## Deploy a Contract\n\n```sh\npyTuft deploy <contract>\n```\n## Execute a Contract\n\n```sh\npyTuft execute --contract_id <contract_id> --function_name <function_name> --args <arg1> <arg2>\n```\n\n## Byte-compiled / optimized / DLL files\n\n## Running Tests\n\n```sh\npyTuft test\n```\n\n## License\n\nThis project is licensed under the MIT License.\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Truffle-like tool for Python smart contracts",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/OmneDAO/pyTuft"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c137bad9ebd3b15f4192fd2852fe51a3755e9c1980eea11ae7528db38e026b5",
                "md5": "ce0acc1f24228b9923dbf6b64893cab6",
                "sha256": "6e4f8b806d1e559876a6192a20e7281bb370fa9c5463b1f4b1d147b81685a92d"
            },
            "downloads": -1,
            "filename": "pyTuft-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ce0acc1f24228b9923dbf6b64893cab6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4556,
            "upload_time": "2024-08-08T21:13:13",
            "upload_time_iso_8601": "2024-08-08T21:13:13.239149Z",
            "url": "https://files.pythonhosted.org/packages/0c/13/7bad9ebd3b15f4192fd2852fe51a3755e9c1980eea11ae7528db38e026b5/pyTuft-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7e6d1af333f3893836d3db552795d3de0d235a58650840fd900b1518e415ec1c",
                "md5": "2a9033779d75e857543ac069b3ab1b50",
                "sha256": "4deceda809aacd31e0b2b73b5f71e3bd09d4382caed7ae0dd6d69daf7883a857"
            },
            "downloads": -1,
            "filename": "pyTuft-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2a9033779d75e857543ac069b3ab1b50",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3915,
            "upload_time": "2024-08-08T21:13:14",
            "upload_time_iso_8601": "2024-08-08T21:13:14.550579Z",
            "url": "https://files.pythonhosted.org/packages/7e/6d/1af333f3893836d3db552795d3de0d235a58650840fd900b1518e415ec1c/pyTuft-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-08 21:13:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OmneDAO",
    "github_project": "pyTuft",
    "github_not_found": true,
    "lcname": "pytuft"
}
        
Elapsed time: 0.30828s