OSCAR Corpus Downloader
Simple tool to download the OSCAR corpus.
1. Installation
Installation can be done using pypi:
$ pip install oscar-corpus-downloader
2. Usage
Submit an OSCAR access request following the procedure described on the project page.
Once you have received your credentials, you can use the command line interface to download an OSCAR corpus part.
$ export OSCAR_USERNAME=username
$ export OSCAR_PASSWORD=password
$ oscar download --help
Usage: oscar download [OPTIONS]
Options:
-u, --url TEXT OSCAR corpus url [required]
-o, --output-dir TEXT Output directory [required]
--resume Resume download
--help Show this message and exit.
$ oscar download \
--url https://oscar-prive.huma-num.fr/2301/fr_meta \
-o ./oscar-fr
Metadata
Release files for oscar-corpus-downloader 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oscar_corpus_downloader-0.1.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oscar_corpus_downloader-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / oscar_corpus_downloader-0.1.0.tar.gz
| Download URL | oscar_corpus_downloader-0.1.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34beddcbd4b43cd52a31aab28ef02b1afea39e2c4bbd63436d15f3997851049e
|
|
BLAKE2b-256 checksum How to use checksums |
84843908f271ab6a6fc949ac79a1b6f52fa8ded9160f36a237d11c562740e95b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.4 Linux/6.2.0-35-generic
|
Release files / oscar_corpus_downloader-0.1.0-py3-none-any.whl
| Download URL | oscar_corpus_downloader-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e5b4169839cbd09b84cc7a57568957a338be3856714701c6ca35cd6263a8e75
|
|
BLAKE2b-256 checksum How to use checksums |
590166fc217f3fba3fbf343264e7fdb64bb80ec4bcd806549306a247dfca4ffa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.4 Linux/6.2.0-35-generic
|