semvec/pypi-packages huggingface dataset:
notion2vuepress 1.0.1
notion2vuepress

## notion2vuepress

notion2vuepress is a Python package that seamlessly converts Notion notes (including text, images, and formatting) into VuePress-compatible Markdown files. Effortlessly migrate concept-based documents or blogs to a VuePress powered website while preserving structure and style. Simplify your workflow and enhance publishing capabilities.

## 提示

目前只是初步的实现，尽情期待后面的封装以及自动化的过程

### 大致架构图

![](./img/4.png)

## 获取token_v2

1. F12进入开发者模式
2. ![](./img/1.png)

## 获取图片的token

如果图片保存在notion上用到

得到一直图片连接访问即可

![](./img/2.png)

## 获取文章的id(page_id)

![](./img/3.png)

https://www.notion.so/youyizhang/git-9cad24555c3648b1a902333128bf1a0d?pvs=4

id = 9cad24555c3648b1a902333128bf1a0d



## 运行的时候报错需要重新装包 notion-cobertos-fork

```
1. pip uninstall notion-cobertos-fork
2. pip install notion-cobertos-fork
```
transnet-generator 0.1
TransNet Generator is a Python library for generating transport network from GTFS data.
Requires Python: >=3.8

# TransNet Generator
TransNet Generator is a Python library for generating transport networks from GTFS data. 
The library provides a convenient and efficient way to generate transport network graphs 
from one or multiple GTFS directories to a graph in Pajek or GML format, which can be used
for network analysis and visualization.

## Installation
To install TransNet Generator, you can use pip:

```python
pip install transnet-generator
```

## Usage
To use TransNet Generator, you can import the ``transnet_generator`` module and use the ``generate_graph`` function:

```python
from transnet_generator import generate_graph

input_GTFS = ["path/to/gtfs/directory1", "path/to/gtfs/directory2"]
output_path = "path/to/output/graph"

generate_graph(input_GTFS, output_path)
```

The ``generate_graph`` function takes two required arguments:

``input_GTFS`` - A list containing the paths to the directories containing the GTFS files.  
``output_path`` - The path to the output graph file.

## Supported Output Formats
TransNet Generator supports the following output formats:

Pajek (.net)  
GML (.gml)  

To specify the output format, simply pass the desired format as a string to the ``output_format`` parameter 
of the ``generate_graph`` function.

## Examples

Here's an example of how to generate a graph file in Pajek format from one GTFS directory:

```python
from transnet_generator import generate_graph

input_GTFS = ["path/to/gtfs/directory"]
output_path = "path/to/output/graph.net"

generate_graph(input_GTFS, output_path, format="pajek")
```

Here's an example of how to generate a graph file in GML format from three GTFS directories:

```python
from transnet_generator import generate_graph

input_GTFS = ["path/to/gtfs/directory1", "path/to/gtfs/directory2", "path/to/gtfs/directory3"]
output_path = "path/to/output/graph.gml"

generate_graph(input_GTFS, output_path, format="gml")
```

## License
TransNet Generator is released under the MIT License. See the [LICENCE](LICENCE) file for details.