hello-world-pycalrissian


Namehello-world-pycalrissian JSON
Version 0.0.9 PyPI version JSON
download
home_pageNone
SummaryA very simple Hello world app to submit a job using pycalrissian
upload_time2024-08-29 10:43:35
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseMIT
keywords pycalrissian kubernetes
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # simple-app-with-pycalrissian
Create a simple python app to submit a job using `pycalrissian`. The app will only print a very basic hello world.



To create mamba environment please execute this command:
```
mamba create -n hello_world_pycalrissian -c conda-forge python=3.8 twine
mamba activate hello_world_pycalrissian
```

## How to install the module:
To create a module using pyproject.toml with `PIP` dependencies please execute the code below:
```
pip install .    # this will create build folder
```

> Note: To create a module using pyproject.toml with `conda` dependencies in a particular channel please execute the code below:
>```
>unidep install .    # this will create build folder
>```





## How to create PYPI package(Optional):
You need to install some packages to create `dist/*` directory including `.whl` and `.tar.gz` files:

- Check the python and pip version by environment
```
## 
which python
which pip
```
- Update pip and install `dist` folder using the python specific version and `build` library:
EX:
```
/home/t2/micromamba/envs/hello_world_pycalrissian/bin/python -m pip install --upgrade pip
/home/t2/micromamba/envs/hello_world_pycalrissian/bin/pip install twine build
```
- Create API token on PYPI account and configure it under `$HOME/.pypirc` file as below:
```
[pypi]
  username = __token__
  password = pypi-...

``` 

- Create `dist` folder:
```
/home/t2/micromamba/envs/hello_world_pycalrissian/bin/python -m build
```

Now you need to publish your application packages on `PYPI`:
```
twine upload dist/*
```


## How to use the package in an isolated environment:
```
pip install hello-world-pycalrissian
hello-world-pycalrissian
```

<!-- ## How to use pycalrissian to submit a job:
sudo snap install microk8s --classic
sudo usermod -a -G microk8s t2
sudo chown -R t2 ~/.kube
newgrp microk8s
microk8s status --wait-ready


microk8s enable dashboard
microk8s enable dns
microk8s enable registry
microk8s enable istio -->

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "hello-world-pycalrissian",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "pycalrissian, kubernetes",
    "author": null,
    "author_email": "Parham Membari <parham.membari@terradue.com>",
    "download_url": "https://files.pythonhosted.org/packages/c1/84/70a88653218f047b8b9375ce5ba74b9ce7d2edd2501cef76284cefc60799/hello_world_pycalrissian-0.0.9.tar.gz",
    "platform": null,
    "description": "# simple-app-with-pycalrissian\nCreate a simple python app to submit a job using `pycalrissian`. The app will only print a very basic hello world.\n\n\n\nTo create mamba environment please execute this command:\n```\nmamba create -n hello_world_pycalrissian -c conda-forge python=3.8 twine\nmamba activate hello_world_pycalrissian\n```\n\n## How to install the module:\nTo create a module using pyproject.toml with `PIP` dependencies please execute the code below:\n```\npip install .    # this will create build folder\n```\n\n> Note: To create a module using pyproject.toml with `conda` dependencies in a particular channel please execute the code below:\n>```\n>unidep install .    # this will create build folder\n>```\n\n\n\n\n\n## How to create PYPI package(Optional):\nYou need to install some packages to create `dist/*` directory including `.whl` and `.tar.gz` files:\n\n- Check the python and pip version by environment\n```\n## \nwhich python\nwhich pip\n```\n- Update pip and install `dist` folder using the python specific version and `build` library:\nEX:\n```\n/home/t2/micromamba/envs/hello_world_pycalrissian/bin/python -m pip install --upgrade pip\n/home/t2/micromamba/envs/hello_world_pycalrissian/bin/pip install twine build\n```\n- Create API token on PYPI account and configure it under `$HOME/.pypirc` file as below:\n```\n[pypi]\n  username = __token__\n  password = pypi-...\n\n``` \n\n- Create `dist` folder:\n```\n/home/t2/micromamba/envs/hello_world_pycalrissian/bin/python -m build\n```\n\nNow you need to publish your application packages on `PYPI`:\n```\ntwine upload dist/*\n```\n\n\n## How to use the package in an isolated environment:\n```\npip install hello-world-pycalrissian\nhello-world-pycalrissian\n```\n\n<!-- ## How to use pycalrissian to submit a job:\nsudo snap install microk8s --classic\nsudo usermod -a -G microk8s t2\nsudo chown -R t2 ~/.kube\nnewgrp microk8s\nmicrok8s status --wait-ready\n\n\nmicrok8s enable dashboard\nmicrok8s enable dns\nmicrok8s enable registry\nmicrok8s enable istio -->\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A very simple Hello world app to submit a job using pycalrissian",
    "version": "0.0.9",
    "project_urls": {
        "Homepage": "https://gitlab.com/pmembari/simple-app-with-pycalrissian"
    },
    "split_keywords": [
        "pycalrissian",
        " kubernetes"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "107f746ef926a776f2358d16fa6056595ef247d2470b1e1d6da23faad7b02090",
                "md5": "8e55d10a3094d53d6852cb7c9549be7f",
                "sha256": "ea75c2ef755889ccfba4198edfa7088afd57d9a63e4f666bd7d8261058e4bfee"
            },
            "downloads": -1,
            "filename": "hello_world_pycalrissian-0.0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8e55d10a3094d53d6852cb7c9549be7f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5922,
            "upload_time": "2024-08-29T10:43:34",
            "upload_time_iso_8601": "2024-08-29T10:43:34.330145Z",
            "url": "https://files.pythonhosted.org/packages/10/7f/746ef926a776f2358d16fa6056595ef247d2470b1e1d6da23faad7b02090/hello_world_pycalrissian-0.0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c18470a88653218f047b8b9375ce5ba74b9ce7d2edd2501cef76284cefc60799",
                "md5": "9209c7a6d18a4cd6fd0f048183d9d7df",
                "sha256": "596611e2c2304082914c0492641d5aab32316223300cf4077111604de492edab"
            },
            "downloads": -1,
            "filename": "hello_world_pycalrissian-0.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "9209c7a6d18a4cd6fd0f048183d9d7df",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 26458,
            "upload_time": "2024-08-29T10:43:35",
            "upload_time_iso_8601": "2024-08-29T10:43:35.657397Z",
            "url": "https://files.pythonhosted.org/packages/c1/84/70a88653218f047b8b9375ce5ba74b9ce7d2edd2501cef76284cefc60799/hello_world_pycalrissian-0.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-29 10:43:35",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "pmembari",
    "gitlab_project": "simple-app-with-pycalrissian",
    "lcname": "hello-world-pycalrissian"
}
        
Elapsed time: 0.75052s