Skip to main content

Language Crawler

Project description

langcrawler

PyPI Travis Coverage License

langcrawler is a language crawler written in Python.

Requirement

  • PostgreSQL >= 12.4
  • Python >= 3.8
  • Redis >= 6.0

Installation

Ubuntu

apt update
apt install -y python3-dev python3-pip python3-setuptools
pip install langcrawler

Windows

# Install Python, Microsoft Visual C++ and Windows SDK
pip install langcrawler

Updating

pip install langcrawler --upgrade

Running

langcrawler \
  --pg-address 127.0.0.1:5432 \
  --pg-login postgres/postgres \
  --redis-address 127.0.0.1:6379 \
  --redis-pass redis \
  --repo-count 10 \
  --repo-hosts gerrit,github,gitlab \
  --repo-langs go,javascript,php,python,rust,typescript

Usage

usage: crawler.py [-h] [--pg-address PG_ADDRESS] [--pg-login PG_LOGIN]
                  [--redis-address REDIS_ADDRESS] [--redis-pass REDIS_PASS]
                  [--repo-count REPO_COUNT] [--repo-hosts REPO_HOSTS]
                  [--repo-langs REPO_LANGS] [-v]

Language Crawler

optional arguments:
  -h, --help            show this help message and exit
  --pg-address PG_ADDRESS
                        postgres address (host:port)
  --pg-login PG_LOGIN   postgres login (user/pass)
  --redis-address REDIS_ADDRESS
                        redis address (host:port)
  --redis-pass REDIS_PASS
                        redis pass
  --repo-count REPO_COUNT
                        repository count
  --repo-hosts REPO_HOSTS
                        repository hosts
  --repo-langs REPO_LANGS
                        repository languages
  -v, --version         show program's version number and exit

License

Project License can be found here.

Reference

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

langcrawler-0.0.2.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

langcrawler-0.0.2-py2.py3-none-any.whl (16.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file langcrawler-0.0.2.tar.gz.

File metadata

  • Download URL: langcrawler-0.0.2.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for langcrawler-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fe68151c8adc3c56bb42364b66d581779e8342cdca8cdd45a26baeae4e320960
MD5 c0da96786e34025e3d2e16b349ab33ef
BLAKE2b-256 e89cb806c89a900b7843795786b5fa056e9fa713e046ddaaac84825c8bb48021

See more details on using hashes here.

File details

Details for the file langcrawler-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: langcrawler-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for langcrawler-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7941407226a247c77b3b75a60e245efdf9caf89ecf0366abec3dca33c1858951
MD5 89431e05cbdd5da48a522c0e46ad743b
BLAKE2b-256 2b7645dc4822bb5343e34d4fd3dcd7410a1539a5b4dbd725dc8e540a2bd12daf

See more details on using hashes here.

Supported by

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