Skip to main content

No project description provided

Project description

LingQ

GitHub image image

Command line utilities and scripts for interacting with LingQ's API.

You will need a LingQ API key. You can get it from here.

Installation

pip install lingq

Then run:

lingq setup yourLingqApiKey

Usage

# Upload a YouTube playlist to a Greek course
lingq postyt el 129129 "https://www.youtube.com/@awesomeyoutuber"

# Bulk upload a book split by chapters
lingq post el 129139 -t "example/texts" -a "example/audios" --pairing-strategy zip

# Add timestamps to a German course
lingq timestamp de 129129

The full set of commands can be found with lingq --help. Per command information uses again the help flag: lingq timestamp --help.

See the documentation for more information.

Etc.

Mainly undocumented scripts to scrape, process text and audio, and to manually use whisper.

If you want to use some of it:

git clone https://github.com/daxida/lingq
cd lingq
pip install .[etc]
# And for example
python3 etc/scrape/japanese/sc_itazura.py

Links

  • A repo for LingQ-compatible forced alignment.
  • Legacy (v1.0 and v2.0) LingQ's API documentation.
  • A repo to upload content to LingQ (may be outdated).
  • A repo to upload YouTube playlists to LingQ with Whisper subtitles.
  • A repo to split downloaded audio from YouTube.
  • A repo for an API wrapper in ruby.

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

lingq-1.1.0.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lingq-1.1.0-py3-none-any.whl (50.4 kB view details)

Uploaded Python 3

File details

Details for the file lingq-1.1.0.tar.gz.

File metadata

  • Download URL: lingq-1.1.0.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lingq-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a6309b2a7816138edfda0399fbb8d5c4ca00068061c075531484c3639bed7a94
MD5 f80fd1f889f0089f9862f230900ee778
BLAKE2b-256 b064e8326e4ecf3d67ecd5cdf2c267a9392d4b711995b8359b910dbfd68b67c0

See more details on using hashes here.

File details

Details for the file lingq-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: lingq-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 50.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lingq-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bad116172ab2af1691b7d83bdc6efd8cda1fa381d4a5246df1cc540758b5236b
MD5 58209fd98ff9398e14232ec798c93fe3
BLAKE2b-256 32309415093078a98119c25f36fc474c458d26edf9be7b36595a004c2e3e22b7

See more details on using hashes here.

Supported by

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