semvec/pypi-packages huggingface dataset:
pynotepad 1.3.5.1
A featured open-source text editor using tkinter.一款功能齐全的tkinter文本编辑器程序。
Keywords: text, editor, notepad, tkinter, pynotepad, 文本编辑器

简介 Introduction:

An open-source text editor written in Python.

It supports editing text files,binary files with various encodings

which can be automatically detected.

When you edit a binary file, the contents of the file are displayed as escape sequences.

You can find and replace words.You're also able to choose themes you prefer.

In addition, code highlighting is supported when editing Python code files,like IDLE.

What's more, dragging and dropping files into the editor window is now supported.

一款使用tkinter开发的开源文本编辑器, 支持编辑文本文件、二进制文件、自由选择主题。

支持ansi、gbk、utf-8等编码, 以及调用chardet库自动检测编码。

编辑二进制文件时, 文件内容以转义序列形式显示。

支持查找、替换; 且支持撤销、重做; 支持将文件拖放入窗口。

可自由选择主题和字体, 改变字体大小。

编辑python代码文件时, 支持代码高亮显示, 类似IDLE。

作者: ekcbw

版本:1.3.5 (改进: 修复了对Linux等操作系统的兼容性。)

效果图:

.. image:: https://i-blog.csdnimg.cn/direct/10bb03a0acb04856bfe73e2ff29c9846.png
    :alt: 编辑二进制文件图片
tsfile 2.2.0
TsFile Python
Requires Python: >=3.9

<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->

# TsFile Python Document

<pre>
___________    ___________.__.__          
\__    ___/____\_   _____/|__|  |   ____  
  |    | /  ___/|    __)  |  |  | _/ __ \ 
  |    | \___ \ |     \   |  |  |_\  ___/ 
  |____|/____  >\___  /   |__|____/\___  >  version 2.1.0
             \/     \/                 \/  
</pre>


## Introduction

This directory contains the Python implementation of TsFile. The Python version is built on the CPP version and uses the Cython package to integrate TsFile's read and write capabilities into the Python environment. Users can read and write TsFile as easily as they use read_csv and write_csv in Pandas.

The source code can be found in the `./tsfile` directory. Files ending with `.pyx` and `.pyd` are wrapper code written in Cython. The `tsfile/tsfile.py` defines some user interfaces. You can find some examples of reading and writing in the `.examples/examples.py`.


## How to make contributions

Using pylint to check Python code is recommended. However, there is no suitable style checking tool for Cython code, and this part of the code should be consistent with the Python style required by pylint.

**Feature List**
- [ ] In pywrapper, invoke the batch reading interface implemented in CPP version of TsFile.
- [ ] Supports writing multiple DataFrames into one single TsFile.



## Build

Before constructing Python version of TsFile, it is necessary to build [CPP version of TsFile](../cpp/README.md) first, because Python version of TsFile relies on the shared library files provided by CPP version of TsFile.

Build by mvn in root directory:

```sh
mvn -P with-cpp,with-python clean verify
```

Build by python command:

```sh
python setup.py build_ext --inplace
```