smcode
Installaion (설치)
cmd창을 열어서 하단의 코드를 입력 후 실행.
pip install smcode
Example (사용예시)
from smcode.selenium import * # smcode의 selenium 모듈의 모든 것을 임포트
driver = load_driver()
or
from smcode.selenium import load_driver # smcode의 selenium 모듈의 load_driver만 임포트
driver = load_driver()
or
import smcode.selenium # smcode의 selenium 모듈을 임포트, 이 경우에는 하단처럼 전체 경로를 입력해야 함
driver = smcode.selenium.load_driver()
or
import smcode # 이 경우에는 하단처럼 전체 경로를 입력해야 함
driver = smcode.selenium.load_driver()
시크릿모드
from smcode.selenium import *
driver = load_driver(mode='secret') # 다른 import 방법들도 가능
fast모드
from smcode.selenium import *
driver = load_driver(mode='fast') # 이미지 등을 로딩하지 않아 빠른 속도 지원
병행사용
from smcode.selenium import *
driver = load_driver(mode='secret' and 'fast')
옵션 부여
from smcode.selenium import *
options = Options()
options.add_argument(f'--headless')
driver = load_driver(chrome_options=options) # mode와 병행 사용 가능
Release files for smcode 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smcode-0.0.6.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smcode-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:14.1 kB
Release files / smcode-0.0.6.tar.gz
| Download URL | smcode-0.0.6.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f082e6f650af4aeb32aa1fe28209ed1ce349c394fb075e4e94cd925711db022
|
|
BLAKE2b-256 checksum How to use checksums |
452cd4935e02118a2866fbfde9eb3fd11d0ec4ee0857f34090dffb9539e5a9ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.1
|
Release files / smcode-0.0.6-py3-none-any.whl
| Download URL | smcode-0.0.6-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
106e707af034bfee3587f6ae26bdbc5d0bd3a366fdb643cb00d03cc8cc07646a
|
|
BLAKE2b-256 checksum How to use checksums |
d8268aa266f82d9c4a7ceb8eaa9c0ec6cc0df8d8ea98893af03a198633b1c35c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.1
|