Skip to main content

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.

Metadata

Release files for lingq 1.1.0

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

Source distribution (sdist)

Source distribution for lingq 1.1.0
File Size Uploaded Provenance Actions
lingq-1.1.0.tar.gz 43.2 kB Without provenance Details for lingq-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 93.6 kB

Release files / lingq-1.1.0.tar.gz

Download URL lingq-1.1.0.tar.gz
Size 43.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a6309b2a7816138edfda0399fbb8d5c4ca00068061c075531484c3639bed7a94
BLAKE2b-256 checksum
How to use checksums
b064e8326e4ecf3d67ecd5cdf2c267a9392d4b711995b8359b910dbfd68b67c0
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / lingq-1.1.0-py3-none-any.whl

Download URL lingq-1.1.0-py3-none-any.whl
Size 50.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bad116172ab2af1691b7d83bdc6efd8cda1fa381d4a5246df1cc540758b5236b
BLAKE2b-256 checksum
How to use checksums
32309415093078a98119c25f36fc474c458d26edf9be7b36595a004c2e3e22b7
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for lingq 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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