Skip to main content

pymozrepl는 Firefox MozREPL Add-on에 접근하기 위한 Python Interface를 제공합니다.

Latest Version Supported Python versions Development Status License

특징

  • firefox mozrepl에 연결하기 위한 과정을 단축 할 수 있습니다.

  • firefox mozrepl에 값을 전달하고 반환받은 결과에서 불필요한 텍스트를 자동으로 제거해줍니다.

  • firefox mozrepl에 값을 전달하고 반환받은 결과를 Python의 기본 타입에 맞게 변환해줍니다.

  • javascript object에 접근 하기 위한 인터페이스를 제공해줍니다.

  • 기타 등등…

사용 예

먼저, mozrepl Firefox Add-on을 addons.mozilla.org 로 부터 설치한뒤, 서버를 시작합니다.

>>> import mozrepl
>>> repl = mozrepl.Mozrepl()
>>> repl.execute('window')
[object ChromeWindow] - {0: {...}, 1: {...}, 2: {...}, 3: {...}, 4: {...}, close: function() {...}, stop: function() {...}, ...}
>>> list(repl.execute(u'["a", 1, 2, 3, 4]'))
[u'a', 1, 2, 3, 4]
>>> repl.execute('content').document.title
u'pymozrepl \\u2014 mozrepl 0.1a8 documentation'
>>> import mozrepl.util
>>> for cookie in mozrepl.util.getCookiesFromHost(repl, '.cpan.org'):
...     break
...
>>> cookie
Cookie(version=0, name=u'css', value ...

도움말

다음 문서를 참조 하십시오: http://pymozrepl.readthedocs.org/index.html.

수정사항

changelog.rst 문서를 참조하세요.

라이센스

GPL v3

개발자

별님 <w7dn1ng75r@gmail.com>

파이썬 환경

오직 2.7 버전대에서만 사용 할 수 있습니다.

설치 방법

설치 문서를 참조하십시오.

소스 코드

소스 코드는 다음 사이트에 올려져 있습니다: https://github.com/Thestars3/pymozrepl.

Metadata

Release files for mozrepl 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mozrepl 1.2.4
File Size Uploaded
mozrepl-1.2.4.tar.gz 27.7 kB Details

Release files / mozrepl-1.2.4.tar.gz

Download URL mozrepl-1.2.4.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
461b40ce010659b4a4c001a5862fdcba3316264de03137432e16c62817c4004b
BLAKE2b-256 checksum
How to use checksums
5ac9f0ff7c81f174ee716738c43f6f977e384c69e4eaf3f0300021b25cb6cf52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page