publishtutorial


Namepublishtutorial JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/matteobollettino/publish_tutorial
SummaryHello!
upload_time2023-08-08 16:10:50
maintainer
docs_urlNone
authorMatteo Bollettino
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Publish package tutorial

## Installation
Create a virtualenv and then install the library
```bash
pip3 install publishtutorial
```

## Usage
```python
from myfunc import say_hello, average
from second_script import second_function

# Generate "Hello, World!"
say_hello()

# Generate "Hello, Everybody!"
say_hello("Everybody")

# Compute average between two numbers (default values are 1 and 2 -> 1.5)
average()

# Compute average between two numbers (2.5)
average(2,3)

# Sum to input value the average between the input and 2 (default value is 1 -> 1 + average(1,2) = 2.5)
second_function()

# Sum to input value the average between the input and 2 (5.5)
second_function(3)
```

## Developing
To install publishtutorial,
 along with the tools you need to develop and run tests,
 run the following in your virtualenv:
```bash
$ pip3 install -e .[dev]
```


Credits to: [Coding Tech](https://www.youtube.com/watch?v=GIF3LaRqgXo&t=3s)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/matteobollettino/publish_tutorial",
    "name": "publishtutorial",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Matteo Bollettino",
    "author_email": "matteo.bollettino@moxoff.com",
    "download_url": "https://files.pythonhosted.org/packages/5d/8d/7c89481cd3790fa3797de2f3bdd42a14de4b6e5b66cc172c7e3a605fff58/publishtutorial-0.0.4.tar.gz",
    "platform": null,
    "description": "# Publish package tutorial\n\n## Installation\nCreate a virtualenv and then install the library\n```bash\npip3 install publishtutorial\n```\n\n## Usage\n```python\nfrom myfunc import say_hello, average\nfrom second_script import second_function\n\n# Generate \"Hello, World!\"\nsay_hello()\n\n# Generate \"Hello, Everybody!\"\nsay_hello(\"Everybody\")\n\n# Compute average between two numbers (default values are 1 and 2 -> 1.5)\naverage()\n\n# Compute average between two numbers (2.5)\naverage(2,3)\n\n# Sum to input value the average between the input and 2 (default value is 1 -> 1 + average(1,2) = 2.5)\nsecond_function()\n\n# Sum to input value the average between the input and 2 (5.5)\nsecond_function(3)\n```\n\n## Developing\nTo install publishtutorial,\n along with the tools you need to develop and run tests,\n run the following in your virtualenv:\n```bash\n$ pip3 install -e .[dev]\n```\n\n\nCredits to: [Coding Tech](https://www.youtube.com/watch?v=GIF3LaRqgXo&t=3s)\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Hello!",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/matteobollettino/publish_tutorial"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1becb97bc4342719ebf35c9c8023e0ee8742a2a01d8c12dac0945d2cf8d504be",
                "md5": "fa98de5c00d3b70fe1b211b6afc57890",
                "sha256": "82f151e1ca4b5c2b165f1262cbf097f418f623f853e679cc9b91cca29bd22661"
            },
            "downloads": -1,
            "filename": "publishtutorial-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fa98de5c00d3b70fe1b211b6afc57890",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2107,
            "upload_time": "2023-08-08T16:10:49",
            "upload_time_iso_8601": "2023-08-08T16:10:49.020594Z",
            "url": "https://files.pythonhosted.org/packages/1b/ec/b97bc4342719ebf35c9c8023e0ee8742a2a01d8c12dac0945d2cf8d504be/publishtutorial-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5d8d7c89481cd3790fa3797de2f3bdd42a14de4b6e5b66cc172c7e3a605fff58",
                "md5": "3f1483e1d7dcade1739eca4998d3192c",
                "sha256": "db11decb859d693b6eff1047edc0754633113887d06e8a91974cfdd1e109cc6d"
            },
            "downloads": -1,
            "filename": "publishtutorial-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "3f1483e1d7dcade1739eca4998d3192c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3082,
            "upload_time": "2023-08-08T16:10:50",
            "upload_time_iso_8601": "2023-08-08T16:10:50.832279Z",
            "url": "https://files.pythonhosted.org/packages/5d/8d/7c89481cd3790fa3797de2f3bdd42a14de4b6e5b66cc172c7e3a605fff58/publishtutorial-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-08 16:10:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "matteobollettino",
    "github_project": "publish_tutorial",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "publishtutorial"
}
        
Elapsed time: 0.12210s