sortapp/src/sortapp.egg-info/PKG-INFO

39 lines
1.5 KiB
Plaintext

Metadata-Version: 2.1
Name: sortapp
Version: 1.0.0
Summary: A application for sort un text file
Home-page: https://code-repo.d4science.org/gCubeSystem/sortapp
Author: Giancarlo Panichi
Author-email: giancarlo.panichi@isti.cnr.it
License: #Mit License
Description: #SortAPP
SortApp is simple example that sort a file in input.
Starting from this example, you can first create an installable package via pip3 and then a docker image in which it is installed the created package.
The package declares the sortapp command as entrypoint.
So once the package is installed you can use this command at command line to run the example:
- sortapp <token> <file-item-id> <temp-dir-item-id>
The image created in this way can be executed in a container with the following command:
- docker run -i -t --rm --name sortapp-cont sortapp-img sortapp <token> <file-item-id> <temp-dir-item-id>
##Useful Commands
###Create Distribution Package
python3 setup.py sdist --formats=gztar
###Create Docker Image
docker build -t sortapp-img .
###Save Docker Image in file
docker save sortapp-img | gzip > sortapp-img.tar.gz
Platform: Linux
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown