Skip to main content

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.loader
  • beancount.core.*
  • beancount.query.numberify
  • beancount.query.query
  • beancount.query.query_compile
  • beancount.query.query_execute

Contributing

Check out the issues for items needing attention or submit your own and then:

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. 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

beancount_stubs-0.1.4.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

beancount_stubs-0.1.4-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file beancount_stubs-0.1.4.tar.gz.

File metadata

  • Download URL: beancount_stubs-0.1.4.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

Hashes for beancount_stubs-0.1.4.tar.gz
Algorithm Hash digest
SHA256 452d079846450124b0b94b3285fb3acca23ccb7c55bf301da69a779f679d4ffd
MD5 5744924c7109fd290380dc702e7bb08d
BLAKE2b-256 0049ccea42ebf235a827634fa36a40aaed05b335d1c96ae6188c9e1cd171d9a3

See more details on using hashes here.

File details

Details for the file beancount_stubs-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for beancount_stubs-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8c5b184c302dedc632076a1911cc6620f2d9a635c262fd3b3f0a9963dfaae86e
MD5 1b0dd40a9539e98992def94b7fc93afe
BLAKE2b-256 b764d4001a45ce7a781c0837c7cc56fdbbde8553e9cba1beecb44e37e4c01a1e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page