quantum_lab
## Requirements
### Python Package
- setuptools: Python 라이브러리 및 확장을 배포하는데 일반적으로 사용되는 익스텐션 라이브러리입니다.
- wheel: wheel은 파이썬의 build package로 일반적인 source distribution보다 더 빠른 설치가 가능하여서 공식적으로 권장되는 포맷이다.
- twine: pypi에 업로드하기 위한 패키지입니다.
## How To Use
1. File and config info : https://sdt.atlassian.net/wiki/spaces/SVC/pages/2322661469/python+QCC+python+Package
2. Upload package
- 패키지 빌드
```
$ cd quantum_lab
$ 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: ************
```
3. 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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/pypa/sampleproject",
"name": "quantum-lab",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "sujune",
"author_email": "author@example.com",
"download_url": "https://files.pythonhosted.org/packages/17/70/1a33384cdb969c8843f7180e38e25a8bb4116efc0dcda851394463e51693/quantum_lab-0.1.25.tar.gz",
"platform": null,
"description": "quantum_lab\n\n## Requirements\n### Python Package\n- setuptools: Python \ub77c\uc774\ube0c\ub7ec\ub9ac \ubc0f \ud655\uc7a5\uc744 \ubc30\ud3ec\ud558\ub294\ub370 \uc77c\ubc18\uc801\uc73c\ub85c \uc0ac\uc6a9\ub418\ub294 \uc775\uc2a4\ud150\uc158 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4.\n- wheel: wheel\uc740 \ud30c\uc774\uc36c\uc758 build package\ub85c \uc77c\ubc18\uc801\uc778 source distribution\ubcf4\ub2e4 \ub354 \ube60\ub978 \uc124\uce58\uac00 \uac00\ub2a5\ud558\uc5ec\uc11c \uacf5\uc2dd\uc801\uc73c\ub85c \uad8c\uc7a5\ub418\ub294 \ud3ec\ub9f7\uc774\ub2e4. \n- twine: pypi\uc5d0 \uc5c5\ub85c\ub4dc\ud558\uae30 \uc704\ud55c \ud328\ud0a4\uc9c0\uc785\ub2c8\ub2e4.\n\n## How To Use\n1. File and config info : https://sdt.atlassian.net/wiki/spaces/SVC/pages/2322661469/python+QCC+python+Package\n2. Upload package\n- \ud328\ud0a4\uc9c0 \ube4c\ub4dc\n```\n$ cd quantum_lab\n$ python3 setup.py sdist bdist_wheel\n```\n- \ud328\ud0a4\uc9c0 \uc5c5\ub85c\ub4dc - \uc5c5\ub85c\ub4dc \uc2dc pypi \uacc4\uc815 \uc815\ubcf4\ub97c \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.\n```\n$ python3 -m twine upload dist/*\nUploading distributions to https://upload.pypi.org/legacy/\nEnter your username: sujunelee \nEnter your password: ************\n```\n3. Run\n- Download package.\n```\n$ pip3 install quantum_lab\n```\n- Run code\n```\nfrom quantum_lab import resources\nfrom quantum_lab import jobs\nimport json\n\n## Resource \uc870\ud68c\nresult = resources.getResource()\n\n## Job \uac1d\uccb4 \uc0dd\uc131\nq_job = jobs.quantum_lab(\"minkyu.kim@sdt.inc\", 1, \"june-w\", \"hardware qcc\")\n\n## Job \uc0dd\uc131\nq_job.create(\"pythoncode\", 2, \"/home/jovyan/june/june-w/test.py\")\n\n## Job \uc804\uccb4 \uc870\ud68c\nresult = q_job.getList()\n\n## Job \uc870\ud68c\nresult = q_job.getJob(279)\n\n## Job \uc0ad\uc81c\nresult = q_job.delete(278)\n```\n\n",
"bugtrack_url": null,
"license": "",
"summary": "A small example package",
"version": "0.1.25",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5991ac14e3313c5f63859dcccae66401145eb2a91e644ea6a6645c86dd869861",
"md5": "64733027ff26e830da0efaee6957827d",
"sha256": "41167c1c738a2b344665fe5681b21f82b6543f3c3ccada282f760047f848586a"
},
"downloads": -1,
"filename": "quantum_lab-0.1.25-py3-none-any.whl",
"has_sig": false,
"md5_digest": "64733027ff26e830da0efaee6957827d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4225,
"upload_time": "2023-02-03T01:44:57",
"upload_time_iso_8601": "2023-02-03T01:44:57.353340Z",
"url": "https://files.pythonhosted.org/packages/59/91/ac14e3313c5f63859dcccae66401145eb2a91e644ea6a6645c86dd869861/quantum_lab-0.1.25-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "17701a33384cdb969c8843f7180e38e25a8bb4116efc0dcda851394463e51693",
"md5": "b6126c5104bd1bb937ad9202f7b4ce92",
"sha256": "8f86382b1fc51ec2d3be0e3541e77edc22a2712bc03380b2b97ad411f3ee808f"
},
"downloads": -1,
"filename": "quantum_lab-0.1.25.tar.gz",
"has_sig": false,
"md5_digest": "b6126c5104bd1bb937ad9202f7b4ce92",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3729,
"upload_time": "2023-02-03T01:44:58",
"upload_time_iso_8601": "2023-02-03T01:44:58.975791Z",
"url": "https://files.pythonhosted.org/packages/17/70/1a33384cdb969c8843f7180e38e25a8bb4116efc0dcda851394463e51693/quantum_lab-0.1.25.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-03 01:44:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "pypa",
"github_project": "sampleproject",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "quantum-lab"
}