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

Python 3.13 or 3.14 is required.

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.6.0

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.6.0
File Size Uploaded
autonote-0.6.0.tar.gz 7.0 kB Details

Built distribution (wheel)

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

Total release size: 15.5 kB

Release files / autonote-0.6.0.tar.gz

Download URL autonote-0.6.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dc81bf2f8cfd9417299be95eeb564fef7aca3c4a5e3f3c3d4dd709c0423095bd
BLAKE2b-256 checksum
How to use checksums
f8c58449b7f45bf87ea21e6d28737a5a91b5ad844599ee21c1ff22a27e32875a
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.6.0-py3-none-any.whl

Download URL autonote-0.6.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ce3eb41d3cd19b16c51ebf91e0a44fdd78430bc399731518599bf6ae5543069
BLAKE2b-256 checksum
How to use checksums
3a83d4002bfbb74fc8180b8dbe24358fb50908e0b1a3fd6003097111219c27ea
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

This release

0.6.0 This release

2 release files

0.5.6

2 release files

0.5.5

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