A small example package
Project description
quantum_lab
Requirements
Python Package
- setuptools: Python 라이브러리 및 확장을 배포하는데 일반적으로 사용되는 익스텐션 라이브러리입니다.
- wheel: wheel은 파이썬의 build package로 일반적인 source distribution보다 더 빠른 설치가 가능하여서 공식적으로 권장되는 포맷이다.
- twine: pypi에 업로드하기 위한 패키지입니다.
How To Use
- File and config info : https://sdt.atlassian.net/wiki/spaces/SVC/pages/2322661469/python+QCC+python+Package
- Upload package
- 패키지 빌드
$ cd notebook-job-py-package
$ python3 setup.py sdist bdist_wheel
- 패키지 업로드 - 업로드 시 pypi 계정 정보를 입력해야 합니다.
$ python3 -m twine upload dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: sujunelee
Enter your password: ************
- Run
- Download package.
$ pip3 install quantum_lab
- Run code
from quantum_lab import resources
from quantum_lab import jobs
import json
## Resource 조회
result = resources.getResource()
## Job 객체 생성
q_job = jobs.quantum_lab("minkyu.kim@sdt.inc", 1, "june-w", "hardware qcc")
## Job 생성
q_job.create("pythoncode", 2, "/home/jovyan/june/june-w/test.py")
## Job 전체 조회
result = q_job.getList()
## Job 조회
result = q_job.getJob(279)
## Job 삭제
result = q_job.delete(278)
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
quantum_lab-0.1.39.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantum_lab-0.1.39.tar.gz.
File metadata
- Download URL: quantum_lab-0.1.39.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebadd1a092b5dee61e2b5e0f6969fb1bb68a32c88b2d2b6b666d08fbbb3f08ba
|
|
| MD5 |
cc53d7077767f138c8d85c5dbb37ccb5
|
|
| BLAKE2b-256 |
0f05c03c22b81c4bc443c4642b69e19ba75f5f2ac4c82e27fa06398ec8225763
|
File details
Details for the file quantum_lab-0.1.39-py3-none-any.whl.
File metadata
- Download URL: quantum_lab-0.1.39-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8b548947d6dd2d4618f46a4f2e9f30010cd184ca8bbef3501ebe543bba786ef
|
|
| MD5 |
714d6b0a18412c1af871c0f023075815
|
|
| BLAKE2b-256 |
f065de421392080cf83280760cffdc1ad417d977e93ca1604696f69312acfb5b
|