Skip to main content

Installation

pip install git+https://github.com/ArtificialHumanoid/Humanoid#subdirectory=build

.

Issues, Pull Requests, and Commits

Issues and, of course, pull requests, are tracked via GitHub.
Accordingly, all commit messages should be prefixed with “#” (followed by an issue or pull request numbered reference).

googlesearch

googlesearch is a Python library for searching Google, easily. googlesearch uses requests and BeautifulSoup4 to scrape Google.

Usage

To get results for a search term, simply use the search function in googlesearch. For example, to get results for "Google" in Google, just run the following program:

googlesearch.search("Google")

Additional options

By default, googlesearch returns 10 results. To get a 100 results on Google, for example:

googlesearch.search("Google", num_results=100)

In addition, you can change the language Google searches in. For example, to get results in French run the following program:

googlesearch.search("Google", lang="fr")

To extract more information, such as the description or the result URL, use an advanced search:

googlesearch.search("Google", advanced=True)

which returns List[SearchResult] with each result having the properties

  • title
  • url
  • description.

If requesting more than 100 results, googlesearch will send multiple requests to go through the pages. To increase the time between these requests, use sleep_interval:

googlesearch.search("Google", sleep_interval=5, num_results=200)

captcha_solver

Run-Time Status Lint Status Documentation Status

Univeral API to work with captcha solving services.

Twocaptcha Backend Example

Service website is https://2captcha.com

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('twocaptcha', api_key='2captcha.com API HERE')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Rucaptcha Backend Example

Service website is https://rucaptcha.com

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('rucaptcha', api_key='RUCAPTCHA_KEY')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Browser Backend Example

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('browser')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Antigate Backend Example

Service website is http://getcaptchasolution.com

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('antigate', api_key='ANTIGATE_KEY')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Release files for Humanoid 0.0.1

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

Source distribution (sdist)

Source distribution for Humanoid 0.0.1
File Size Uploaded
Humanoid-0.0.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Humanoid 0.0.1
File Interpreter ABI Platform
Humanoid-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / Humanoid-0.0.1.tar.gz

Download URL Humanoid-0.0.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
795bfd739730d06c0644d30b36c76a8e9a81342f63a7c1ddda3fb5bd2f8b82fe
BLAKE2b-256 checksum
How to use checksums
b9d4d86feb02c387540d47d84154edd12e288150e4184b63b85c40b10d807082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / Humanoid-0.0.1-py3-none-any.whl

Download URL Humanoid-0.0.1-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d72544888ee2fa79e6dee65e36a20a65909b4acc33dd063da1e96f0a0adf8afe
BLAKE2b-256 checksum
How to use checksums
e27f53fea2223fdbcd5aff73e877b8175c82b99fae54dbe1ab81a9cfb3f911ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

0.0.0

2 release files

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