Skip to main content

Automate taking notes

Project description

autonote

Description

Automate creating daily, weekly, monthly, and quarterly manual repetitive documents:

  1. Daily: daily journal, habit tracker
  2. Weekly: weekly report
  3. Monthly: monthly report
  4. Quarterly: quarterly review

Prerequisite

  1. Confluence API Token

Steps

  1. Set environment variables:

    export CONFLUENCE_URL=https://xxx.atlassian.net
    export CONFLUENCE_USERNAME=<yourname>@domain.com
    export CONFLUENCE_PASSWORD=<TOKEN>
    
  2. Install autonote

    pip install autonote
    
  3. Run

    from autonote.confluence import ConfluenceClient, ConfluenceMock
    from autonote.html import generate
    
    content = generate()
    ConfluenceClient().create_page(
        <confluence_parent_page_id>,
        title="title",
        body=content,
    )
    

    Generated Page:

Credits

autonote was created with cookiecutter and the py-pkgs-cookiecutter template.

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

autonote was created by Masato Naka. It is licensed under the terms of the MIT license.

References

  1. How to package a Python
  2. py-pkgs-cookiecutter
  3. package

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

autonote-0.1.6.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

autonote-0.1.6-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

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