semvec/pypi-packages huggingface dataset:
neurostats-API 1.2.0.dev1
The service of NeuroStats website
Requires Python: >=3.6

# neurostats_API

- [檔案架構](#檔案架構)
- [下載](#下載)
- [使用方法](#使用方法)

## 檔案架構

```
./neurostats_API
├── async_mode
│   ├── db
│   ├── db_extractors
│   │   ├── daily
│   │   ├── month_revenue
│   │   └── seasonal
│   ├── factory
│   └── fetchers
├── config
│   ├── company_list
│   ├── tej_db
│   └── twse
├── fetchers
├── transformers
│   ├── balance_sheet
│   ├── cash_flow
│   ├── daily_chip
│   │   └── utils
│   ├── daily_tech
│   │   └── utils
│   ├── finance_overview
│   ├── month_revenue
│   ├── profit_lose
│   ├── tej
│   └── value
└── utils
```
- `neurostats_API`: 主要的package運行內容
   - `async_mode`: \[新版新增\]以非同步方式進行DB資料的取得以及回傳資料
      - `/db`: 連接到伺服器下的特定db
      - `/db_extractor`: 決定取得db下的哪個collection的檔案，以及取得檔案內容
      ` `/factory`: 使extractor的初始化變得通用
      - `/fetchers`:  開發者將此套件用於其他專案的接口
   - `fetchers`: (舊版)回傳service內容的fetcher檔案夾
   - `transformers`: \[新版新增\] 處理從DB取出的資料，以dictionary的方式回傳需要的資料
   - `config`: 【新舊通用】存放各種設定檔的dictionary，例如公司名單、各項指標對應的計算欄位、每個項目屬於哪份財報等設定
   - `utils`: 【新舊通用】class之間通用的函式，例如讀取檔案、計算成長率函式、轉換格式與進位等

## 下載
```
pip install neurostats-API
```
### 確認下載成功
```Python 
>>> import neurostats_API
>>> print(neurostats_API.__version__)
1.0.3rc1
```

### 下載舊版
```
pip install neurostats-API==0.0.25
```

## 使用方式 (以Balance_Sheet為例)
### Async Mode
```
from neurostats_API.async_mode.fetchers import AsyncBalanceSheetFetcher
from pymongo import AsyncMongoClient

db_client = AsyncMongoClient("<伺服器的MONGO_URI>")
ticker = "2330"

fetcher = AsyncBalanceSheetFetcher(ticker, db_client)

data = await fetcher.query_data()

print(data)
```
詳細各個fetcher的使用法請到[async_mode的fetchers資料夾下觀看](./neurostats_API/async_mode/fetchers/README.md)

### Sync Mode
(#TODO)

> 舊版使用方法請到[fetchers資料夾下觀看](./neurostats_API/fetchers/README.md)
nicerpdb 0.4.0
A TUI frontend for pdb
Requires Python: >=3.9

# NicerPDB

A terminal frontend for Python's `pdb` debugger, powered by `rich`.

## Install

```
pip install git+https://github.com/Hedwyn/nicerpdb.git
```

## Features

- Syntax-highlighted code display
- Improved variable inspection
- Enhanced stack traces
- Pretty-printed expressions

## Usage

### As an entrypoint

Simply substitute `pdb` by `nicerpdb`:

```
python -m nicerpdb <script_path>
```

### Invoke automatically on breakpoint

If you want `nicerpdb` to be invoked on a `breakpoint()` without using it explicitly as entyrypoint, you can set the `PYTHONBREAKPOINT` environment variable which allows customizing the debugger called on breakpoint:

- Set it persistently in your current session with:

```
export PYTHONBREAKPOINT=nicerpdb.set_trace
```

- Or for a single command using the usual environement variable syntax:

```
PYTHONBREAKPOINT=nicerpdb.set_trace python <script_path>
```

### Invoke automatically on test failure with pytest

`pytest` provides the `--pdb` option to invoke automatically `pdb` in post-mortem mode on test failure. `nicerpdb` provides a pytest plugin to provide the same functionality; replace `--pdb` by the following flags `-p nicerpdb -s` (`-p` loads a pytest plugin, `-s` disables output capturing so that the debugger can interact with the terminal).

## Extensions to PDB

### Additional commands

- `l` / `list`: support passing an integer defining the number of lines to show.
- `sh` / `shell`: runs a shell command and display the output within the debugger session. There are a few variants:
  - `psh`/ `prettyshell`: uses syntax highlighting on the output.
  - `fsh` / `fshell`: allows expanding variables from current Python frame's locals or globals into the shell command. The syntax is `%variable_name`. Please mind that `$` syntax (e.g. `$variable_name`) is already used for PDB's builtin convenience variables.
  - `pfsh` / `fpsh` / `fprettyshell`: enables all of the above.
deepsearcheath 3.0.5
Heath taylored DeepSearch api.
Requires Python: >=3.9

# deepsearcheath
deepsearch.com

python setup.py bdist_wheel

twine upload dist/

.env




If you're using Windows and trying to paste your token in the Command Prompt or PowerShell, 
    note that Ctrl-V and Shift+Insert won't work. 
Instead, you can use "Edit > Paste" from the window menu, 
    or enable "Use Ctrl+Shift+C/V as Copy/Paste" in "Properties". 
This is a known issue with Python's getpass module.

# How can I use API tokens to authenticate with PyPI?
API tokens are used to authenticate when uploading packages to PyPI.

You can create a token for an entire PyPI account, in which case, the token will work for all projects associated with that account. Alternatively, you can limit a token's scope to a specific project.

When using an API token from a CI provider, we recommend scoping the token down to the minimum necessary projects.

If you are publishing to PyPI from a CI provider that supports Trusted Publishing, we strongly recommend using Trusted Publishing instead.

To make an API token:

Verify your email address (check your account settings)
In your account settings, go to the API tokens section and select "Add API token"
To use an API token:

Set your username to __token__
Set your password to the token value, including the pypi- prefix