Skip to main content

langcrawler

Actions Status PyPI License

langcrawler is a language crawler written in Python.

See Lang Fetcher as a language fetcher from langcrawler.

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 1 \
  --repo-host gerrit,github,gitlab \
  --repo-lang 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-host REPO_HOST]
                  [--repo-lang REPO_LANG] [-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-host REPO_HOST
                        repository host
  --repo-lang REPO_LANG
                        repository language
  -v, --version         show program's version number and exit

Design

design

License

Project License can be found here.

Reference

Release files for langcrawler 0.0.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 langcrawler 0.0.4
File Size Uploaded
langcrawler-0.0.4.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langcrawler 0.0.4
File Interpreter ABI Platform
langcrawler-0.0.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 28.5 kB

Release files / langcrawler-0.0.4.tar.gz

Download URL langcrawler-0.0.4.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c70476d723f84739b84fd8bec2c3fadad0077c2889dbbeb870961e657409bdab
BLAKE2b-256 checksum
How to use checksums
cc4c34cd72717d5a066ffcfbdc8f05970d861d1596ecc3279608dd447746c608
Upload date
Uploaded using Trusted Publishing?
What is 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.50.0 CPython/3.6.9

Release files / langcrawler-0.0.4-py2.py3-none-any.whl

Download URL langcrawler-0.0.4-py2.py3-none-any.whl
Size 16.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0fb4547acb835f42b3c6fe5eb0573e1e03901b02ba715750616c030aec8e2fca
BLAKE2b-256 checksum
How to use checksums
f87eb3dd26d76d51dc70b8abf31741b6b6af9bc79e62da6a5d8d1a7d3882ddce
Upload date
Uploaded using Trusted Publishing?
What is 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.50.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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