Package: plaid2qif
Plaid2QIFDescriptionPlaid2QIF downloads transactions from various financial institutions in JSON format and converts to formats usable by financial software.Output Formats supported:QIFCSVJSONExtensible to othersNotesTested extensively withGnuCash.  Supported by any financial software that supports import fromQIF.Supports any institution supported byPlaid.Summary# Download transactions in various formats (default QIF) from Plaid
  plaid2qif download \
    --account=<account-name> \
    --account-type=<type> \
    --account-id=<acct-id> \
    --from=<from-date> \
    --to=<to-date> \
    [--output-format=<format>] \
    [--output-dir=<path>] \
    [--ignore-pending] \
    [--verbose]UsageInstall theplaid2qifcommand usingpip$ pip install plaid2qifAuthenticate and link with your financial institution (first time only).  To do this, follow the steps for using the associatedAccount Linkertool.Configure your environment with required values. See "Authentication Configuration" below.Once configured, you're ready to download transactions and save them as QIF files:plaid2qif download \
     --from=<yyyy-mm-dd> \
     --to=<yyyy-mm-dd> \
     --account-type=<type> \
     --account=<account-name> \
     --account-id=<plaid-account-id> \
     --credentials=<file>accountis the path to an account in the ledger in GnuCash that you ultimately want to import the transactions to.  This is added to the!Accountheader in the QIF file.  e.g.:Assets: Checking Accounts:Personal Checking Account.  If the name has spaces be sure to quote this param.account-typeis a GnuCash account identifier type asdocumented here.account-idis Plaid's account ID for the account you want to download, as obtained vialist-accountsabove.By default, output will go to stdout to be redirected.  If you want it to be written to a location use theoutput-dirparameter.Authentication ConfigurationYou will need the following information configured in your environment in order to use this tool.The suggested way to populate your environment would be to use a file named.envin your current working directory.  Alternatively you could put the values in your~/.profileor however you normally initialize your environment.Configuration ParameterEnvironment Variable NameDescriptionNotesClient IDPLAID_CLIENT_IDPlaid's unique indentifier for your Plaid account.Obtain from your dashboardRequired.Client SecretPLAID_SECRETPlaid's authentication token for your Plaid account.Obtain from your dashboardRequired.Plaid EnvironmentPLAID_ENVOperating environment.Optional. Should be one of:sandbox,development, orproduction.  Defaults todevelopment.Plaid API VersionPLAID_API_VERSIONVersion of the API that theplaid-pythonlibrary supports.Optional.  Defaults to2020-09-14Access Token locationACCESS_TOKEN_FILELocation of the token that grants access to a particular financial institution for downloading records from.Required.Notes on Authentication ConfigurationThe access token and Plaid credentials are sensitive material as they grant access to data within your financial accounts.  They should be handled carefully and not shared.These are the most important values that need configuration in order to authenticate with your institution and then download records.  Other values can be found in thesample.env.If you're downloading from different institutions that result in multiple access token files, you can override the location of the file at the command line; see below for an example.This approach is open to suggestions for improvement if this doesn't work well for others. See Issue #27.$ ACCESS_TOKEN_FILE=./cfg/chase.txt plaid2qif ...
  $ ACCESS_TOKEN_FILE=./cfg/citi.txt plaid2qif ...Distribution# increment version in `plaid2qif/__init__.py`
# commit everything & push
$ git tag -s vX.Y.Z
$ git push --tags
$ python3 setup.py sdist bdist_wheel
$ twine upload dist/*