Introduction
This is a toolkit for automatically creating a Hugging Face repository for a Språkbanken resource.
Usage
sb2hf is a command-line tool which creates a Hugging Face repository from a Språkbanken resource url (found at https://spraakbanken.gu.se/resurser). For example, if an authenticated user of the sbx organization of the user runs this:
python sbx2hf.py https://spraakbanken.gu.se/resurser/forarbeten1734 --push-to-hub
This dataset with the same resource name will be automatically uploaded: https://huggingface.co/datasets/sbx/forarbeten1734.
To use this outside the Språkbanken Text organization, simply specify your own organization or user under the --hf-namespace argument.
Metadata
Release files for sbx2hf 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sbx2hf-0.1.1.tar.gz | 4.5 MB | Without provenance | Details for sbx2hf-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sbx2hf-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for sbx2hf-0.1.1-py3-none-any.whl |
Total release size: 4.5 MB
Release files / sbx2hf-0.1.1.tar.gz
| Download URL | sbx2hf-0.1.1.tar.gz |
|---|---|
| Size | 4.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1a1c6b6838a08e96ab5bd26b679a04b40543a78447a62c59995fcb9252e12f9
|
|
BLAKE2b-256 checksum How to use checksums |
4b3cd7c38bd79b1ac96b1fcb127e09b686544c0468fcf3da865fd52ede421b1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.5
|
Release files / sbx2hf-0.1.1-py3-none-any.whl
| Download URL | sbx2hf-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7dd708aa8fe05170486137e1525c104c474a937af42dfe0f0af4b0fa7a07f371
|
|
BLAKE2b-256 checksum How to use checksums |
3ceb4ae2efd2e39b374ceef8b47bb479fa04453ef159e20aec38d42b63f6e48e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.5
|
Security for sbx2hf 0.1.1
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.