Skip to main content

Tools to manage 'Tesouro Direto' information.

Project description

pypi Build Status license

Set of tools to allow automated information recovery from your “Tesouro Direto” account.

Installation

To install the tool the easiest way is to use pip:

pip install tesouro-direto

Configuration

Here is a sample configuration file:

# The credentials to access the tesourodireto.bmfbovespa.com.br website.
# This is necessary to the tool to get your information and send it to you.
bmfbovespa:
    cpf: "00000000000"
    password: "secret"

# SMTP settings for email sending. If port is not specified, the default
# value is 25. Provide the username and password if necessary.
smtp:
    server: "mail.mydomain.com"
    port: 587
    username: "user"
    password: "secret"

    from: "me@mydomain.com"
    to: "you@yourdomain.com"

Available tools

The main goal of this module is to generate an email that keeps you updated regarding your titles. It also aims to provide some numbers that you can use to have a better idea of how your money is working for you.

Email Report

The email report allows you to have very in depth view of your titles. It lists them based on the brokerage and them on the titles you have.

Besides that it will provide the following information:

  • Summaries of all your titles;

  • Calculations about your title current situation.

Here is a sample email screenshot: (todo)

Configuring Crontab

You can configure crontab to call the program above. This way you can have a automated email at the time and periodicity that you like.

Work Days Calculation

There is a simple module that can calculate the amount of work days between two dates based on Brazilian national holidays. You can use it in your program if you like by importing the module.

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

tesouro-direto-0.1.0.tar.gz (12.2 kB view details)

Uploaded Source

File details

Details for the file tesouro-direto-0.1.0.tar.gz.

File metadata

File hashes

Hashes for tesouro-direto-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2864d971e0819d29907f3b7328d57320d6a328dcb9b3d325184ac82856a481a2
MD5 987d60f282d05b93142ab0084d4e9f4f
BLAKE2b-256 0d9a15a04f1c774466a582b0e1782128dae2ce9b0474fe931429ba363bc505c3

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