Skip to main content

mfreport

Project description

mfreport

test License PyPI version Python Versions codecov

mfreport retrieves a list of assets from moneyforward.com, formats and outputs it. Please use this tool for personal purposes only.

Usage

$ pip install mfreport
$ mfreport -h
usage: main.py [-h] [-u USER] [-p PASSWORD] [-o OTP] [-e]

options:
  -h, --help            show this help message and exit
  -u USER, --user USER  username
  -p PASSWORD, --password PASSWORD
                        password
  -o OTP, --otp OTP     one time password
  -e, --example         Use sample data instead of data downloaded from moneyforward

Example

$ mfreport -e
2022-09-05 18:54:23,097 mfreport started.
2022-09-05 18:54:23,097 Using example data.
2022-09-05 18:54:23,097 Done.
2022-09-05 18:54:23,098 Downloading from yfinance started. Please wait.
2022-09-05 18:54:23,099 Done.
──────────────────────────────────────────────────────────────────────────────────────────────────
        units    price  profit                        shortName  divTotal  divJan  divFeb  \
IBM        30  1080000  222222  International Business Machines     26707       0    6571
7203.T     50   100000   11111                     TOYOTA MOTOR      2550       0       0

        divMar  divApr  divMay  divJun  divJul  divAug  divSep  divOct  divNov  divDec
IBM          0       0    6611       0       0    6611       0       0    6915       0
7203.T    1350       0       0       0       0       0    1200       0       0       0
──────────────────────────────────────────────────────────────────────────────────────────────────
Total unrealized capital gain is 233,333 JPY.
──────────────────────────────────────────────────────────────────────────────────────────────────
            Monthly dividends (total annual dividend is 29,257 JPY)
   ┌──────────────────────────────────────────────────────────────────────┐
Jan┤                                                                      │
Feb┤███████████████████████████████████████████████████████████████████   │
Mar┤██████████████                                                        │
Apr┤                                                                      │
May┤███████████████████████████████████████████████████████████████████   │
Jun┤                                                                      │
Jul┤                                                                      │
Aug┤███████████████████████████████████████████████████████████████████   │
Sep┤█████████████                                                         │
Oct┤                                                                      │
Nov┤██████████████████████████████████████████████████████████████████████│
Dec┤                                                                         └┬────────────────┬─────────────────┬────────────────┬────────────────┬┘
    0.0           1728.5            3457.0           5185.5         6914.0
──────────────────────────────────────────────────────────────────────────────────────────────────
2022-09-05 18:54:23,104 mfreport finished.

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

mfreport-0.2.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mfreport-0.2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file mfreport-0.2.0.tar.gz.

File metadata

  • Download URL: mfreport-0.2.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for mfreport-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0192ebf5d8edaf52ec13ae81e5a352fd4b6687fd1e093ae75b3f006d7a0d4552
MD5 174cb341caea8b6a673b7eaf9770a24a
BLAKE2b-256 2fa49fe35502259a56a11f48fe0162c133e5ef9c65d4bdcaf6d6287f17068451

See more details on using hashes here.

File details

Details for the file mfreport-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mfreport-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for mfreport-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9a0f1e54ac86018d9ca5be2849797771e3d228b242d62985c91e138874351bb
MD5 f66c18b460eb4be5e6472dfb4f267a01
BLAKE2b-256 1bcfb41347767518d774ffee5fbb4b0637dc04bc167f140976870c66c173039f

See more details on using hashes here.

Supported by

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