semvec/pypi-packages huggingface dataset:
COMSTABPY 0.1.2
COMSTABPY is an python package that contains basic functions to apply the unified framework for partitioning the drivers of stability of ecological communities
License: MIT
Keywords: stability, ecology, biodiversity

COMSTABPY is an python package that contains basic functions to apply the unified framework for partitioning the drivers of stability of ecological communities developed in (Segrestin et al. 2024 Global Ecology and Biogeography, 10.1111/geb.13828). Additionally it provides some plotting function. The code is partially based on the original R package comstab, url: https://cran.r-project.org/web/packages/comstab/index.html 

## INSTALLING
COMSTABPY can be installed via the command line using

`pip install COMSTABPY`

If you are using conda you can install the enivronment *environmentl.yaml*, which contains also other packages usefull for data analysis.
```
conda env create -f environment.yml`
conda activate stab-py
```
## USAGE
Basic examples of package uses are shows in the jupytern notebook [docs/example.ipynb](https://github.com/gocchipintive/COMSTABPY/blob/main/docs/example.ipynb)

> ** IMPORTANT ** If arrays or lists have to be provided to package functions please use numpy arrays

## AKNOWLDEGEMENTS
This work was partly supported by the National Recovery and Resilience Plan (NRRP), Mission 4 Component 2 Investment 1.4 - Call for tender No. 3138 of 16 December 2021, rectified by Decree n.3175 of 18 December 2021 of Italian Ministry of University and Research funded by the European Union – NextGenerationEU.


##Change Log
** 0.0.1 (Sep 03, 2024) **
- First Release

** 0.0.2 (Sep 04, 2024) **
Added more documentation

** 0.0.3 (Sep 09, 2024) **
Added ny parameter to partition function
Changed order of corners in the ternary plot function
Added funding

** 0.0.4 (Sep 19, 2024) **
Added the possibility to chose yticks and ylims in plotCV function

** 0.05 (Sep 19, 2024) **
Code cleaning

** 0.06 (Sep 30, 2024) **
Added eveness function (normalized Shannon Entropy)

** 0.07 (Sep 30, 2024) **
Code cleaning

** 0.08 (Sep 30, 2024) **
Code cleaning

** 0.09 (Sep 30, 2024) **
Fixed bug in eveness function

** 0.10 (Sep 30, 2024) **
Fixed bug in eveness function

** 0.11 (Sep 30, 2024) **
Increased the dimensionality fo the output of eveness function

** 0.12 (Nov 26, 2024) **
Added the possibility to compute asynchrony and averaging if the Taylor law is not significant'
card-data-parsers 0.17.0
Parsing bank feed data files
License: MIT
Keywords: fyle, api, python, sdk, cards, parsers, amex, visa, cdf, vcf, s3df, happay, mastercard, diners club

# fyle-bank-feed-parser-sdk-py

[![test](https://github.com/fylein/fyle-bank-feed-parser-sdk-py/actions/workflows/test.yml/badge.svg)](https://github.com/fylein/fyle-bank-feed-parser-sdk-py/actions/workflows/test.yml) [![pythonpublish](https://github.com/fylein/fyle-bank-feed-parser-sdk-py/actions/workflows/pythonpublish.yml/badge.svg)](https://github.com/fylein/fyle-bank-feed-parser-sdk-py/actions/workflows/pythonpublish.yml)

Bank feeds parsers collection.


## Usage

To use the VCF parser, use the VCFParser class:

```
from card_data_parsers import VCFParser, ParserError

try:
  with open(dir + '/input.vcf') as input_file:
    result = VCFParser.parse(
      file_obj=input_file,
      account_number_mask_begin=4,
      account_number_mask_end=4
    )
  print(result)
except ParserError as e:
  print(f'Omg! error {e}')
```

Similarly, you can use AmexParser, CDFParser, S3DFParser and HappayParser for the right file types.


## Development

```
pip install -r requirements.txt
```
Check implemented parsers for examples.


### Run tests

```
chmod +x test.sh

./test.sh
```


## Releasing a new version

To release new version to Pypi:
- Create a new release [here](https://github.com/fylein/fyle-bank-feed-parser-sdk-py/releases/new).
  <center>OR</center>
- Create a git tag and push that tag(after merge) with version number like: 
  ```
  git tag v0.1.0
  git push origin v0.1.0
  ```



## Versioning semantics

The parse method is supposed to return a list of transactions. This is a list of python dict objects that looks like this:

```
[{"bank_name": "Test BANK", "vendor": "Test", "sync_type": "BANK FEED - VCF", "transaction_type": "debit", "currency": "EUR", "amount": "124.74", "transaction_date": "2018-11-30T10:00:00.000000Z", "account_number": "4142********6333", "transaction_dt": "2018-11-30T10:00:00.000000Z", "external_id": "b2a242d1d9814394b594044b77f36f2f"}]
```

If there is any non-backward compatible change to this structure e.g. a key is deleted, then bump up major number. Otherwise, bump up minor number.