A very simple Hello world app to submit a job using pycalrissian
Project description
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 andbuild
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hello_world_pycalrissian-0.0.7.tar.gz
.
File metadata
- Download URL: hello_world_pycalrissian-0.0.7.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8e83f812e49226b0846744669cf130c792e10b05ec069962552bdfe3722d63c |
|
MD5 | e8df6669bff67df9fe18df0e94d58488 |
|
BLAKE2b-256 | 091a678cf6e24fb27fdf1c81d3dd8f7d42f309ffd5a8c20d959728c307ae6bfd |
File details
Details for the file hello_world_pycalrissian-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: hello_world_pycalrissian-0.0.7-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d7c7c985f9f9a54870a0fd5de3f497fb6eed506dbb189e6a6682503a525c9d6 |
|
MD5 | 956658aa4b8aa0b21f4a0ac090df0f97 |
|
BLAKE2b-256 | 85c3ccbd43371828396767abca8dcf8699592d0e1cb3ca542db7d7592204e677 |