Quibraries
Quibraries is a Python wrapper for the libraries.io API which is based on Pybraries. Currently the package fully supports the searching functionality, meaning that the full range of available commands from libraries.io is supported.
The full documentation is hosted at Read the Docs.
Differences with Pybraries
The main reason of existence of this package is that Pybraries is not thread-safe. Further, the API key can be provided only as an environment variable, which makes it difficult to change during execution. Additionally, is when a query returns multiple pages, in Pybraries the iteration has to happen manually and by the user. This is because the returned object is not Iterable, thus convenient “pythonic” constructs cannot be used. The aforementioned reasons (and their associated pain points) sparked the creation of this project which aims to offer what Pybraries does, but also adding these - to us - important features.
Key Terms
Below a list of the key terms if provided which is synonymous with the libraries.io concepts.
- host
A repository host platform. e.g. GitHub
- owner
A repository owner. e.g. pandas-dev
- repo
A repository. e.g. pandas
- user
A repository user e.g. a GitHub username. e.g. discdiver
- platform
A package manager platform. e.g. PyPI
- project
A package or library distributed by a package manager platform. e.g. pandas
It is important to note that many repositories and projects share the same name. Additionally, many owners and repos also share the same name. Further, many owners are also users.
Since this library is a wrapper around functionality that is already provided by libraries.io the items returned are dependent on the API response. In normal circumstances, the answer type is defined by the number of returned items. In the case of a single element returned, then it is a dictionary. If the result contains more than one item, then the result is a list of dictionaries.
Docs
Check out the full quibraries documentation.
Getting Help
Check out the quibraries documentation.
Check out the libraries.io docs.
Open an issue on GitHub or tag a question on Stack Overflow with “quibraries”.
Contributing
Contributions are welcome and appreciated! See Contributing.
License
This software package is governed by the terms and conditions of the MIT license
Metadata
Release files for quibraries 1.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 | Provenance | Actions |
|---|---|---|---|---|
| quibraries-1.1.0.tar.gz | 21.6 kB | Without provenance | Details for quibraries-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quibraries-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for quibraries-1.1.0-py3-none-any.whl |
Total release size: 48.3 kB
Release files / quibraries-1.1.0.tar.gz
| Download URL | quibraries-1.1.0.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f662f8d01300d698228e6fe70b22338213b94bca9246fbbe88b03ab95ab787b8
|
|
BLAKE2b-256 checksum How to use checksums |
d18fddfcc29b0b4af29fcf0fbe76bc24f6b33fc552d457b5834d56140e835575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / quibraries-1.1.0-py3-none-any.whl
| Download URL | quibraries-1.1.0-py3-none-any.whl |
|---|---|
| Size | 26.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d1748bb6e1edb6fc4f2062db6e9113070623db734dda1e300a3fec2a261cb26
|
|
BLAKE2b-256 checksum How to use checksums |
a95d5ccc6cc13ccb271d3ea7e86f80116b995695d1197c68bf86813952f0e1c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Security for quibraries 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.