Stub files for the beancount package
Project description
beancount-stubs
A package containing stub files for the beancount package.
Usage
Install the package:
$> pip install beancount-stubs
Run mypy:
$> mypy .
The mypy binary will automatically detect the stubs included in the installed
package and use them when asserting against the beancount package. Note that
many of the subpackages in the beancount package do not have stubs and mypy
will complain about the missing stubs. To disable this error on an unsupported
package, use the following syntax:
from beancount.ops import validation # type: ignore
Support
The following subpackages/modules are currently supported:
beancount.loaderbeancount.core.*beancount.query.numberifybeancount.query.querybeancount.query.query_compilebeancount.query.query_execute
Contributing
Check out the issues for items needing attention or submit your own and then:
- Fork the repo
- Create your feature branch (git checkout -b feature/fooBar)
- Commit your changes (git commit -am 'Add some fooBar')
- Push to the branch (git push origin feature/fooBar)
- Create a new Pull Request
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file beancount_stubs-0.1.5.tar.gz.
File metadata
- Download URL: beancount_stubs-0.1.5.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e9e2c216726bb9a69b652f9919734d4670a8e521537737339009470259a37e4
|
|
| MD5 |
aedfb108a6068003bfa202c812db79d8
|
|
| BLAKE2b-256 |
5888b2672f60c43d13d667f70da9ff656932db0ba4bbc18229d8d81e6f2b93d7
|
File details
Details for the file beancount_stubs-0.1.5-py3-none-any.whl.
File metadata
- Download URL: beancount_stubs-0.1.5-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40bff4190457b5a0edbe03c6f0d385311d21c1c982e3d4e982becf735eec2efc
|
|
| MD5 |
204c5c611ec72262fcdd001b236d99f1
|
|
| BLAKE2b-256 |
3ca79761928cae67433ae2ddb0529df0dd150400675afd3d422554c48f50ac5f
|