Skip to main content

autonote

codecov

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

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

    export NOTION_INTEGRATION_TOKEN=xxx
    

    Please do not forget to share the target database/page with your integration

Installation

pip install autonote

Usage Example (Notion: Create a page from a template.)

  1. Create a template page.

  2. Prepare Python script.

    from autonote.notion import NotionClient
    
    client = NotionClient()
    
    kwargs = {
        "Date": {"start": "2023-02-04", "end": "2023-02-10"},
        "replace_rules": [
            {
                "block_types": ["heading_1"],  # target blocks to apply replacement
                "replace_str": "YYYY/MM/DD",  # replacement string match
                "replace_type": "datetime",  # currently only support "datetime"
                "date_format": "%Y/%m/%d",  # used to parse `start_date` and generate string from datetime when interpolating
                "start_date": "2023/02/04",  # start date
                "increment": True,  # if true, increment 1 day every time replacement is executed
            },
        ],
    }
    client.create_page_from_template(
        template_id="a7cc4f73460c4b9fa82be8d4ed74d8ca",
        title="weekly note",
        override=True,
        **kwargs
    )
    
  3. Run the script.

    pip install autonote
    python main.py
    

    Generated page:

For more examples, please check examples.

Credits

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

License

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

References

  1. Atlassian Python API Confluence module
  2. notion-client
  3. Notion API

Metadata

Release files for autonote 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autonote 0.5.5
File Size Uploaded
autonote-0.5.5.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autonote 0.5.5
File Interpreter ABI Platform
autonote-0.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 kB

Release files / autonote-0.5.5.tar.gz

Download URL autonote-0.5.5.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d98f7e0a86555e7aa9dc5a5ae5cf3a4493ec8613c129742d3e7c6947cfb5c362
BLAKE2b-256 checksum
How to use checksums
9c81b6a27e99cac37da64ef317e644b01f45dc8ed9cb8ca6bedcb2462592acc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / autonote-0.5.5-py3-none-any.whl

Download URL autonote-0.5.5-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c22bdc9328d03c69f628d04163ca00b8e149fbda450d2faf3dc40fba71e5c64e
BLAKE2b-256 checksum
How to use checksums
2e31a28afbc83407b4bab0a2f4d2a37870daf529f8ce0fb12cf545e2f59bda26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

0.5.6

2 release files

This release

0.5.5 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page