معرفی شرکت ها


SuperfacilityConnector-0.2.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Connector API NERSC Superfacility
ویژگی مقدار
سیستم عامل OS Independent
نام فایل SuperfacilityConnector-0.2.0
نام SuperfacilityConnector
نسخه کتابخانه 0.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Nick Tyler
ایمیل نویسنده tylern@lbl.gov
آدرس صفحه اصلی https://github.com/tylern4/superfacilityConnector
آدرس اینترنتی https://pypi.org/project/SuperfacilityConnector/
مجوز -
## Docs ### Superfacility Connector Connector to the SuperfaclityAPI in python with a command line program. Install with `pip install SuperfacilityConnector`. ### Functions without keys ``` $ sfapi status cori | jq [ { "full_name": "Cori", "description": "System is active", "status": "active", "updated_at": "2022-04-14T23:03:00-07:00" } ] ``` To get the status of all systems use. ``` $ sfapi status all ``` ### Functions with read-only keys The `sfapi` command line looks for keys in `$HOME/.superfacility` in the format of `.pem`. Save the private key as `clientid.pem` where clienid is the client id given from iris (i.e. `mqyqtld6l6roq.pem`). You can also specify a different clientid and location of a pem file with the `--clientid` and `--private` options to `sfapi`. List the roles associated with the clientid. ``` sfapi roles ``` List the projects associated with the clientid, including NERSC hours. ``` sfapi projects ``` Execute the `ls` command on the remote site. ``` sfapi ls SITE --path /path/at/nersc ``` ### Functions with read-write keys Submit a job to a site, either with a file already on the system or with a file on your own system. Returns the jobid associated with the newly created job. ``` sfapi sbatch SITE --path /path/at/nersc/slurm.sh sfapi sbatch SITE --local slurm.sh ``` View the queue, can view the full queue for a system or by specifc user or job. ``` sfapi squeue SITE sfapi squeue SITE --jobid JOBID sfapi squeue SITE --user NERSC_USERNAME ``` Used to cancel a job based on the jobid. ``` sfapi scancel SITE --jobid JOBID ```


نیازمندی

مقدار نام
- authlib
- requests
- click


زبان مورد نیاز

مقدار نام
>=3.5 Python


نحوه نصب


نصب پکیج whl SuperfacilityConnector-0.2.0:

    pip install SuperfacilityConnector-0.2.0.whl


نصب پکیج tar.gz SuperfacilityConnector-0.2.0:

    pip install SuperfacilityConnector-0.2.0.tar.gz