semvec/pypi-packages huggingface dataset:
pagex-stocks-data 0.0.70
Data access layer for webby, pagex-stocks-api and stockwiz.
Requires Python: >=3.6

# pagex-stocks-data
The data access layer module

# local python upgrade

1. brew install python@3.10
2. add python_version = "3.10.0" to pipfile
3. pipenv --rm
4. pipenv --python /usr/local/opt/python@3.10/bin/python3.10
5. pipenv update --python 3.10
6. pipenv install

add interpreter setting to pycharm

# build wheel
maintain setup.py
python -m pip install -U wheel setuptools
python setup.py bdist_wheel --universal

# pip - https://pip.pypa.io/en/latest/cli/
pip install --upgrade pagex-stocks-data # upgrade module version
pip check
python -m pip freeze # list dependencies from pip
python -m pip freeze > requirements.txt # list dependencies from pip and export it to requirements.txt
treestructure 1.1.0
Tree Structure is a module that implements some common trees in data structure.
Requires Python: >=3
Keywords: tree structure,data structure,binary search tree,binary heap

# Tree Structure

![Pypi link](https://img.shields.io/pypi/v/treestructure.svg?style=flat-square)

Tree Structure is a module that implements some common trees in data structure.

## Quick Start

There are two basic components in each type of tree structure: **Node** and **Tree**.  
Each node has two basic attributes: **order** and **value**.  
Order is the key to construct the tree structure. Default order is current timestamp.  
Value can be anything you want to store. Default value is None.

``` python
>>> import treestructure
>>> node = treestructure.BinaryNode(35, 'Stevie Wonder') # Create node
>>> node.order
35
>>> node.value
'Stevie Wonder'
```

Insert node into tree to build the tree structure.  
Use package() to check the tree structure.
It's better using package() with [pprint](https://docs.python.org/3/library/pprint.html) module.

``` python
>>> import pprint
>>> tree = treestructure.BinarySearchTree(node) # Create tree
>>> tree.insertNode(treestructure.BinaryNode(45, 'Ray Charles')) # Insert node
>>> tree.insertNode(treestructure.BinaryNode(25, 'Lionel Richie')) # Insert node
>>> pprint.pprint(tree.package(), sort_dicts=False) # Display tree
{'order': 35,
 'value': 'Stevie Wonder',
 'leftChildNode': {'order': 25,
                   'value': 'Lionel Richie',
                   'leftChildNode': None,
                   'rightChildNode': None},
 'rightChildNode': {'order': 45,
                    'value': 'Ray Charles',
                    'leftChildNode': None,
                    'rightChildNode': None}}
```

Delete node by specific order.

``` python
>>> delNode = tree.deleteNode(35) # Delete node
>>> pprint.pprint(delNode.package(), sort_dicts=False) # Display node
{'order': 35,
 'value': 'Stevie Wonder',
 'leftChildNode': {},
 'rightChildNode': {},
 'parentNode': {}}
>>> pprint.pprint(tree.package(), sort_dicts=False) # Display tree
{'order': 25,
 'value': 'Lionel Richie',
 'leftChildNode': None,
 'rightChildNode': {'order': 45,
                    'value': 'Ray Charles',
                    'leftChildNode': None,
                    'rightChildNode': None}}
```

## Contents

- [Binary Node](https://github.com/Musicmathstudio/treeStructure/blob/main/doc/binaryNode.md)
- [Binary Search Tree](https://github.com/Musicmathstudio/treeStructure/blob/main/doc/bst.md)
- [Binary Heap](https://github.com/Musicmathstudio/treeStructure/blob/main/doc/heap.md)
stactools-datacube 0.1.0
stactools package for datacube data formats
Keywords: stactools,pystac,catalog,STAC

# stactools-datacube

[![PyPI](https://img.shields.io/pypi/v/stactools-datacube)](https://pypi.org/project/stactools-datacube/)

- Name: datacube
- Package: `stactools.datacube`
- [stactools-datacube on PyPI](https://pypi.org/project/stactools-datacube/)
- Owner: @constantinius
- STAC extensions used:
  - [datacube](https://github.com/stac-extensions/datacube/)
- [Browse the example in human-readable form](https://radiantearth.github.io/stac-browser/#/external/raw.githubusercontent.com/stactools-packages/datacube/main/examples/item/item.json)

This stactools extension package allows to create or extend STAC Items
dealing with multi-dimensional data formats and to extract `datacube` related
metadata from these assets.

This extension relies on the GDAL multi-dimensional raster capabilities via
the official Python API.

## STAC Examples

- [Item](examples/item/item.json)

## Installation

```shell
pip install "pygdal==$(gdal-config --version).*"
pip install stactools-datacube
```

## Command-line Usage

This command creates a new STAC Item from a multi-dimensional file like a
netCDF:

```shell
stac datacube create-item source destination
```

The following command extends an existing STAC Item, optionally by
specifying an explicit asset:

```shell
stac datacube extend-item source --asset asset-name
```

Use `stac datacube --help` to see all subcommands and options.

## Contributing

We use [pre-commit](https://pre-commit.com/) to check any changes.
To set up your development environment:

```shell
pip install -e .
pip install -r requirements-dev.txt
pre-commit install
```

To check all files:

```shell
pre-commit run --all-files
```

To run the tests:

```shell
pytest -vv
```