Woob
Woob (Web Outside of Browsers) is a library which provides a Python standardized API and data models to access websites.
Overview
There are three main concepts:
Capabilities: This is a standardized interface to access a specific kind of website. It provides an unified API and standard datamodels;
Modules: A module is dedicated to a specific website. It can implements several capabilities (for example paypal module may implement CapBank to get bank informations, CapTransfer to initiate a transfer, CapProfile to get information about the customer, and CapDocument to get documents);
Backends: You can load a module several times, with different configurations. For example, if you have two PayPal accounts, you can create two backends of the same module with different credentials.
The main Woob class let configure new backends and do aggregated calls to every backends loaded with a specific capability.
For example, once backends are loaded, you can call iter_accounts() and you’ll get accounts in the same Account data model for all backends implementing CapBank:
>>> from woob.core import Woob
>>> from woob.capabilities.bank import CapBank
>>> w = Woob()
>>> w.load_backends(CapBank)
{'societegenerale': <Backend 'societegenerale'>,
'creditmutuel': <Backend 'creditmutuel'>}
>>> accounts = list(w.iter_accounts())
>>> print(accounts)
[<Account id='7418529638527412' label=u'Compte de ch\xe8ques'>,
<Account id='9876543216549871' label=u'Livret A'>,
<Account id='123456789123456789123EUR' label=u'C/C Eurocompte Confort M Roger Philibert'>]
>>> accounts[0].balance
Decimal('87.32')
Applications
If you are looking for applications using the woob library, visit woob.tech.
Installation
Read this documentation.
Documentation
More information about how to use woob at woob.dev.
Contributing
If you want to contribute to woob (patch of the core, creating new modules, etc.), read this.
Chat with us
Metadata
Release files for woob 3.7
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 |
|---|---|---|---|---|
| woob-3.7.tar.gz | 357.4 kB | Without provenance | Details for woob-3.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| woob-3.7-py3-none-any.whl | Python 3 | none | any | Details for woob-3.7-py3-none-any.whl |
Total release size: 871.7 kB
Release files / woob-3.7.tar.gz
| Download URL | woob-3.7.tar.gz |
|---|---|
| Size | 357.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1d7113ba87a9b947c13a1e3b4bb4fa616ba3037092b54912fc3fee2647d1b2f
|
|
BLAKE2b-256 checksum How to use checksums |
85f3a2dc1bb679de004aa1e48c8b77b5d5b9bca3007b2f25e0c39f850a009186
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / woob-3.7-py3-none-any.whl
| Download URL | woob-3.7-py3-none-any.whl |
|---|---|
| Size | 514.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcfb035d2cf5791d256aa0f344de3b4474f383255694a139cbfdb81bf31976f5
|
|
BLAKE2b-256 checksum How to use checksums |
e06f0a2f6d5eb3aacb930d42eb7ed18aa79f82fe9d567cefb57d077352306364
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for woob 3.7
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.