-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
108 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: build | ||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]*' | ||
|
||
jobs: | ||
wheels: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: python -m pip install build twine | ||
- run: python -m build | ||
- run: python -m twine upload dist/* | ||
env: | ||
TWINE_REPOSITORY: testpypi | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
beangulp: Importers Framework for Beancount | ||
------------------------------------------- | ||
|
||
``beangulp`` provides a framework for importing transactions into a | ||
Beancoount ledger from account statements and other documents and for | ||
managing documents. | ||
|
||
``beangulp`` is compatible with both Beancount 2.3 and the unreleased | ||
Beancount 3.0. ``beangup`` is the evolution of ``beancount.ingest`` in | ||
Beancount 2.3 and replaces it in the upcoming Beancount 3.0 release. | ||
|
||
Documentation is available in form of code docstrings and | ||
`examples`__. The `documentation`__ for ``beancount.ingest`` provided | ||
a good introduction and is still partially relevant to ``beangulp``. | ||
The rest of the Beancount deocumentation can be found `here`__. | ||
|
||
__ https://github.com/beancount/beangulp/tree/master/examples/ | ||
__ https://beancount.github.io/docs/importing_external_data.html | ||
__ https://beancount.github.io/docs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
[build-system] | ||
requires = ['setuptools >= 60.0'] | ||
build-backend = 'setuptools.build_meta' | ||
|
||
[project] | ||
name = 'beangulp' | ||
version = '0.1.1' | ||
license = { file = 'LICENSE' } | ||
description = 'Importers Framework for Beancount' | ||
readme = 'README.rst' | ||
authors = [ | ||
{ name = 'Martin Blais', email = '[email protected]' }, | ||
{ name = 'Daniele Nicolodi', email = '[email protected]' }, | ||
] | ||
maintainers = [ | ||
{ name = 'Daniele Nicolodi', email = '[email protected]' }, | ||
] | ||
keywords = ['accounting', 'ledger', 'beancount', 'importer', 'import', 'converter', 'conversion'] | ||
classifiers = [ | ||
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', | ||
'Programming Language :: Python :: 3 :: Only', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: 3.12', | ||
'Topic :: Office/Business :: Financial :: Accounting', | ||
'Topic :: Text Processing :: General', | ||
] | ||
dependencies = [ | ||
'beancount >=2.3.5', | ||
'beautifulsoup4', | ||
'chardet', | ||
'click >8.0', | ||
'lxml', | ||
'python-magic >=0.4.12; sys_platform != "win32"', | ||
] | ||
|
||
[project.urls] | ||
homepage = 'https://github.com/beancount/beangulp' | ||
issues = 'https://github.com/beancount/beangulp/issues' | ||
|
||
[tool.setuptools.packages] | ||
find = {} | ||
|
||
[tool.ruff] | ||
line-length = 128 | ||
target-version = 'py37' | ||
lint.select = ['E', 'F', 'W', 'UP', 'B', 'C4', 'PL', 'RUF'] | ||
lint.ignore = [ | ||
'B007', | ||
'B020', | ||
'E731', | ||
'PLR0911', | ||
'PLR0912', | ||
'PLR0913', | ||
'PLR0915', | ||
'PLR2004', | ||
'PLW2901', | ||
'RUF012', | ||
'UP015', | ||
'UP032', | ||
] | ||
|
||
[tool.pytest.ini_options] | ||
minversion = '6.0' | ||
addopts = ['--doctest-glob=*.rst'] | ||
doctest_optionflags = ['ELLIPSIS', 'NORMALIZE_WHITESPACE'] | ||
testpaths = ['beangulp'] |
This file was deleted.
Oops, something went wrong.