pyravelry
This is python wrapper for the Ravelry API (a database of knitting / crocheting patterns).
- Github repository: https://github.com/theuerc/pyravelry/
- Documentation https://theuerc.github.io/pyravelry/
- Official Ravelry API Documentation https://www.ravelry.com/api
Use of this API wrapper requires a Ravelry Account and a username and apikey as specified in the HTTP Basic Auth section of the Ravelry API Documentation. Be sure to get read/write permissions if you want full access to all of the endpoints.
Quick Start:
$ pip install pyravelry
$ python -i
>>> from pyravelry import Client, Settings
>>> settings = Settings(RAVELRY_USERNAME=..., RAVELRY_API_KEY=...)
>>> client = Client(settings=settings)
>>> results = client.search.query(query="merino", limit=10, types=["Yarn"])
>>> results.results[0].title
'MerinoSeide'
>>> results.to_pandas().loc[:, ["title"]].head()
title
0 MerinoSeide
1 Merinosukka
2 MERINO100
3 Merino-Tussah
4 Merinosilke
>>> results.to_polars()["title"].head()
shape: (10,)
Series: 'title' [str]
[
"MerinoSeide"
"Merinosukka"
"MERINO100"
"Merino-Tussah"
"Merinosilke"
"Merinowol"
"Merinosweet"
"Merino-Soft"
"MerinoSilk"
"MerinoCottonSilk"
]
More information about this API wrapper can be found in the pyravelry documentation.
Metadata
Release files for pyravelry 0.0.11
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 |
|---|---|---|---|---|
| pyravelry-0.0.11.tar.gz | 218.8 kB | Without provenance | Details for pyravelry-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyravelry-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for pyravelry-0.0.11-py3-none-any.whl |
Total release size: 258.4 kB
Release files / pyravelry-0.0.11.tar.gz
| Download URL | pyravelry-0.0.11.tar.gz |
|---|---|
| Size | 218.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
136c01ac062712fd021a56faf4743f2e7ee666a007bac6071b54f3d0f3223a84
|
|
BLAKE2b-256 checksum How to use checksums |
3d344beb23711573c8e474ef39fc7a5e91f018813a76b4d5849b45d2e6fd7c94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","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 / pyravelry-0.0.11-py3-none-any.whl
| Download URL | pyravelry-0.0.11-py3-none-any.whl |
|---|---|
| Size | 39.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b532091e5c905495a2f0c3b92ced133c6e941a67ce439d5f80c34f9d87dec854
|
|
BLAKE2b-256 checksum How to use checksums |
ccf0d096b34798b23528d887c57977e7312277d58bd707cb7f7121364896d586
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","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 pyravelry 0.0.11
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.