Skip to main content

A small example package

Project description

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 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: ************
  1. 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


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.37.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantum_lab-0.1.37-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file quantum_lab-0.1.37.tar.gz.

File metadata

  • Download URL: quantum_lab-0.1.37.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for quantum_lab-0.1.37.tar.gz
Algorithm Hash digest
SHA256 4ad180988116ca230874d3de100a262bea6a4b84a5f795b461ce023d93119aa0
MD5 668141a09fe72a1855dcd41413640fc3
BLAKE2b-256 8c2d20844a18345883a54fe845675e2788ad356e90e36dd6c76ab9d904130cef

See more details on using hashes here.

File details

Details for the file quantum_lab-0.1.37-py3-none-any.whl.

File metadata

  • Download URL: quantum_lab-0.1.37-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

Hashes for quantum_lab-0.1.37-py3-none-any.whl
Algorithm Hash digest
SHA256 5f7187a2893b46e9ea44f02e85c3e9198663dca0a448ac96df26f5bc46c0b9a4
MD5 5feedd4e54c855d1764a8744d66153e0
BLAKE2b-256 1ff684c0d91384e6691efeaeec4f30f9a1d47613ced7011a1da889fee37e3746

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page