rofi-notion


Namerofi-notion JSON
Version 2.0.4 PyPI version JSON
download
home_page
SummaryQuickly create new Notion pages for your databases with rofi as GUI
upload_time2023-09-18 11:01:53
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT License Copyright (c) 2022 Arnaud Gissinger Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords notion.so notion rofi dmenu x11 i3
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Rofi-Notion

[![wakatime](https://wakatime.com/badge/github/mathix420/rofi-notion.svg)](https://wakatime.com/badge/github/mathix420/rofi-notion) [![Maintainability](https://api.codeclimate.com/v1/badges/5c9f6aa7ba7bf5d8d8bc/maintainability)](https://codeclimate.com/github/mathix420/rofi-notion/maintainability) [![PyPi version](https://badgen.net/pypi/v/rofi-notion/)](https://pypi.org/project/rofi-notion)

> This script allows you to quickly create new Notion pages for your databases.

*Example:* I use a Notion database as a task tracker for my business. With Rofi-Notion and some key bindings, I can quickly create a new entry in my Notion database without the hassle of waiting and navigating the slow Notion interface.


https://user-images.githubusercontent.com/37625778/172062053-0332ab05-2782-482b-97ee-98d33854e58d.mp4

## Requirements

- Python >= 3.7
- A Notion integration with read and write access to the desired databases.

## Installation

### For archlinux users

```bash
yay -S rofi-notion-bin
```

### For everyone else

```bash
pip install rofi-notion
```

## Setup

Check if the installation was successful
```bash
rofi-notion -h
```

### 1. Add your Bot Notion secret

Get your `API_SECRET` by [creating a new Notion integration](https://www.notion.so/my-integrations).

```bash
rofi-notion set-creds
# Then paste your creds
```

### 2. Link your first database

```bash
rofi-notion link
# Follow instructions
```

### 3. Run `rofi-notion`

```bash
rofi-notion run $YOUR_DB_NAME
```

## Add i3 bindings

Simply add a similar line to your i3 config file.
```config
bindsym $mod+Insert exec rofi-notion run $YOUR_DB_NAME
```

## Config

Default config destination is `$XDG_CONFIG_HOME/rofi-notion` or `$HOME/.config/rofi-notion` if `$XDG_CONFIG_HOME` is not set.

## Deployment

Do not forget to bump versions in `setup.py` and `PKGBUILD`.

### PyPi

~~Run `make` to publish a new version.~~

Git tag the new version and push it.
Then publish the automatically created Draft release.

```
git tag vX.X.X
git push --tags
```

### AUR

First publish new release on GitHub, then run `make aur`.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "rofi-notion",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "notion.so,notion,rofi,dmenu,x11,i3",
    "author": "",
    "author_email": "Arnaud Gissinger <agissing@student.42.fr>",
    "download_url": "https://files.pythonhosted.org/packages/27/f9/0b621a628b628566ab5aba7db69fde3de5634e42f9c4b2a47cc91a5da9fa/rofi-notion-2.0.4.tar.gz",
    "platform": null,
    "description": "# Rofi-Notion\n\n[![wakatime](https://wakatime.com/badge/github/mathix420/rofi-notion.svg)](https://wakatime.com/badge/github/mathix420/rofi-notion) [![Maintainability](https://api.codeclimate.com/v1/badges/5c9f6aa7ba7bf5d8d8bc/maintainability)](https://codeclimate.com/github/mathix420/rofi-notion/maintainability) [![PyPi version](https://badgen.net/pypi/v/rofi-notion/)](https://pypi.org/project/rofi-notion)\n\n> This script allows you to quickly create new Notion pages for your databases.\n\n*Example:* I use a Notion database as a task tracker for my business. With Rofi-Notion and some key bindings, I can quickly create a new entry in my Notion database without the hassle of waiting and navigating the slow Notion interface.\n\n\nhttps://user-images.githubusercontent.com/37625778/172062053-0332ab05-2782-482b-97ee-98d33854e58d.mp4\n\n## Requirements\n\n- Python >= 3.7\n- A Notion integration with read and write access to the desired databases.\n\n## Installation\n\n### For archlinux users\n\n```bash\nyay -S rofi-notion-bin\n```\n\n### For everyone else\n\n```bash\npip install rofi-notion\n```\n\n## Setup\n\nCheck if the installation was successful\n```bash\nrofi-notion -h\n```\n\n### 1. Add your Bot Notion secret\n\nGet your `API_SECRET` by [creating a new Notion integration](https://www.notion.so/my-integrations).\n\n```bash\nrofi-notion set-creds\n# Then paste your creds\n```\n\n### 2. Link your first database\n\n```bash\nrofi-notion link\n# Follow instructions\n```\n\n### 3. Run `rofi-notion`\n\n```bash\nrofi-notion run $YOUR_DB_NAME\n```\n\n## Add i3 bindings\n\nSimply add a similar line to your i3 config file.\n```config\nbindsym $mod+Insert exec rofi-notion run $YOUR_DB_NAME\n```\n\n## Config\n\nDefault config destination is `$XDG_CONFIG_HOME/rofi-notion` or `$HOME/.config/rofi-notion` if `$XDG_CONFIG_HOME` is not set.\n\n## Deployment\n\nDo not forget to bump versions in `setup.py` and `PKGBUILD`.\n\n### PyPi\n\n~~Run `make` to publish a new version.~~\n\nGit tag the new version and push it.\nThen publish the automatically created Draft release.\n\n```\ngit tag vX.X.X\ngit push --tags\n```\n\n### AUR\n\nFirst publish new release on GitHub, then run `make aur`.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022 Arnaud Gissinger  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Quickly create new Notion pages for your databases with rofi as GUI",
    "version": "2.0.4",
    "project_urls": null,
    "split_keywords": [
        "notion.so",
        "notion",
        "rofi",
        "dmenu",
        "x11",
        "i3"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "42461f90521937f89ee499632de634d6b253455a966ee5b4536f9ee1bc442da0",
                "md5": "7ecade15758044f4721817667e102224",
                "sha256": "344193f4e94289e2543850c1bf619e2ca6e52306f403baefea5707a34a2d359e"
            },
            "downloads": -1,
            "filename": "rofi_notion-2.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7ecade15758044f4721817667e102224",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 8979,
            "upload_time": "2023-09-18T11:01:51",
            "upload_time_iso_8601": "2023-09-18T11:01:51.826998Z",
            "url": "https://files.pythonhosted.org/packages/42/46/1f90521937f89ee499632de634d6b253455a966ee5b4536f9ee1bc442da0/rofi_notion-2.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "27f90b621a628b628566ab5aba7db69fde3de5634e42f9c4b2a47cc91a5da9fa",
                "md5": "09d8a888a1473edf99565bea995a9829",
                "sha256": "a63e7a056fb4a2cd4f3120f67f657895ba9b920c1c3c66e736b44abc9b541ccc"
            },
            "downloads": -1,
            "filename": "rofi-notion-2.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "09d8a888a1473edf99565bea995a9829",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 8743,
            "upload_time": "2023-09-18T11:01:53",
            "upload_time_iso_8601": "2023-09-18T11:01:53.323731Z",
            "url": "https://files.pythonhosted.org/packages/27/f9/0b621a628b628566ab5aba7db69fde3de5634e42f9c4b2a47cc91a5da9fa/rofi-notion-2.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-18 11:01:53",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "rofi-notion"
}
        
Elapsed time: 0.12714s