![]() ![]() This is (currently) a personal project to play around with and satisfy my own everyday Python -m twine upload dist/ * Contributingĭevelopment is at an early stage, but contributions are welcome. Supported subcommand is gnucash-web commodities: The CLI is called gnucash-web and is installed with the PyPi package. They are also stored in anĮncrypted session cookie in the users browser. Which are provided as credentials for the database hosts. When using pass-through authentication, GnuCash Web asks for username and password upon login, This is generally only useful when using the sqliteīack end (which does not accept credentials). When using no authentication, anyone can access the web interface and no credentials are More detailsĪnd database considerations can be found in the official GnuCashĪlternatively, you can also use piecash to create a new book, as is described inĬurrently, there are only two authentication mechanisms supported, None and 'passthrough'. ![]() You canĪlso migrate an existing GnuCash XML file to a database using Save as. Simply select the appropriate database back end in the Open-dialog. Preferably, you will use the official GnuCash desktop app to create a newīook. Therefore, you have to create a database and populate it with anĪccount hierarchy before you can use GnuCash Web. GnuCash Web only works on a preexisting database. For GnuCash Web, this is gnucash_web.wsgi:app.įor example, the following. Most WSGI web server require setting a "module", which is the WSGI object that runs theĪpp. GnuCash WebĬomes as a WSGI application, so there are many It is not recommended to use the builtin Flask web server in production. AUTH_MECHANISM = None # The maximum number of transactions per page in the ledger TRANSACTION_PAGE_LENGTH = 25 # Name of the account to be preselected when creating new transactions (optional) PRESELECTED_CONTRA_ACCOUNT = 'Example:Account' Running WARN # Supported values: 'sqlite', 'mysql' or 'postgres' DB_DRIVER = 'mysql' # Host name of the database (ignored for DB_DRIVER = 'sqlite') DB_HOST = '' # Name of the Database on the host (for DB_DRIVER = 'sqlite', this is the 'path/to/db.sqlite') DB_NAME = 'gnucash_data' # Supported values: None, 'passthrough'. `from Crypto.Random import get_random_bytes print(get_random_bytes(32))` SECRET_KEY = 'please use something thats actually safe' # Python standard library log level LOG_LEVEL = logging. to encrypt the session cookie or for other cryptographic operations # Use e.g. Should at least set SECRET_KEY and DB_NAME. This is the normal Flask configuration file, so all standardĬan also be set. The following example illustrates possible values forĪll available options. Set the environment variable GNUCASH_WEB_CONFIG to loadĪ different config file. If both files are present, values from the latter ConfigurationĬreate a config file in /etc/gnucash_web/config.py or in GnuCash Web is aimed at system administrators, but is otherwise easy to set up. If your database is not publicly accessible, using an Official GnuCash desktop app, since GnuCash Web is only a companion and not To be able to access the database directly from your desktop/notebook with the You also need to setup a database that stores the GnuCash data, seeīelow for more information. Note that at least Python 3.8 is required. Included in the python standard library). Mysql or psycopg2, depending on which back end you want to use (sqlite back end is Simply install it via pip install GnuCash-Web. GnuCash Web is available on PyPI, so you can Add and edit two-split transactions, delete transactions.View transaction history and balance for an account.to record a cash expense when buying a coffee. The primary use case for GnuCash Web is adding simple two-split transactions on the It can access a singleĭevelopment status should be considered at most Beta, see below for GnuCash Web is a simple, easy to use, mobile-friendly web interface for
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |