semvec/pypi-packages huggingface dataset:
pysoplot 0.0.3b1
a Python geochronology library
License: MIT

# Pysoplot

[![license](https://img.shields.io/github/license/timpol/pysoplot.svg)](https://github.com/timpol/pysoplot/blob/master/LICENSE.txt)

[//]: # ([![DOI]&#40;https://zenodo.org/badge/DOI/....svg&#41;]&#40;https://doi.org/...&#41;)

**Pysoplot** is a Python library that provides basic functions and routines for geochronology. It implements some of the core functionality of the popular (and now defunct) Isoplot/Ex. software, but also includes new algorithms and routines. Pysoplot is intended to be used to build custom geochronology scripts and data processing routines in order to meet individual requirements.

Pysoplot includes functions for:
* performing linear regression on 2-D data using the model 1, 2 and 3 algorithms popularised by Isoplot/Ex.
* performing linear regression on 2-D data using the robust spine algorithm of Powell et al. (2020) and a new "robust model 2" algorithm
* computing weighted averages using algorithms based on classical and robust statistics
* computing classical isochron and U-Pb concordia-intercept ages
* plotting isochron diagrams
* computing disequilibrium U-Pb ages
* plotting equilibrium and disequilibriam concordia curves, age ellipses, and uncertainty envelopes

* computing age uncertainties using Monte Carlo methods

For more info, see the online [documentation](https://timpol.github.io/pysoplot/).

## Installation

Run the following to install:

```python
pip install pysoplot
```

## Example usage
```python
import pysoplot as pp

# get Tera-Wasserburg test dataset 
dp = pp.data.LA0708
# transform data point errors from 2 sigma to 1 sigma absolute
dp = pp.transform.dp_errors(dp, 'abs2s')

# regress data
fit = pp.regression.robust_fit(*dp, plot=True, diagram='tw')
pp.misc.print_result(fit, 'Regression results')
fit['fig'].show()

# compute Tera-Wasserburg concordia-intercept age
result = pp.upb.concint_age(fit, method='Powell')
print(f"age: {result['age']:.2f} +/- {result['age_95pm']:.2f}")
```

## Acknowledgements

Acknowledgement of all third-party algorithms implemented in Pysoplot with links to publications will be added here soon... 

## License

Pysoplot is distributed under the MIT license.

## Contact

[Timothy Pollard](mailto:pollard@student.unimelb.edu.au)
OrangePi.PidiPlugins 1.1.1
Pidi plugins for display output using SPI LCDs on the OrangePi.
License: MIT
Requires Python: >=2.7

# pidi plugins

`pidi` is a daemon that downloads album art for songs playing in `mpd`/`mopidy` and displays them in a little window.

These plugins add additional display output and client type support to `pidi`, allowing album art display on things like the ST7789 or ILI9341 SPI LCD.

0.1.2
-----

* Issue commands to turn off/on display on stop/start
* Support kwargs for PiDi

0.1.1
-----

* Handle "stop" and turn off backlight/display

0.1.0
-----

* Only update display if image buffer has changed

0.0.2
-----

* Fix readme
* Fix minimum Python version
* Require pidi-display-pil==0.0.2

0.0.1
-----

* Initial Release
wandbbq 0.0.2
Wandb Backup and Quit - Unleash the power of wandb without fear of losing your data
License: MIT
Keywords: wandb,bbq,offline,python,utility

# WandBBQ Wandb Backup and Quit
Better APIs for good ole WandB

## Usage
+ Just import `wandbbq` and use `wandbbq.init` instead of `wandb.init`.  
+ If executing an offline run, upon program terination a `wandb sync` job will be launched to sync your run automatically.
+ If the env var `WANDBBQ_RELAY` is defined as `user@ip`, `wandb sync` will be executed over ssh on the provided relay (useful for computing clusters with no internet connection on compute nodes).

## Known Limits
+ The optional relay node must be capable of accessing the same wandb run folder at the same address.
+ No fallback if the sync node has no internet.
+ No upload of intermediate products (will implement sometimes later).
django-jlog 1.1.3
Log your request and response data
License: MIT

Jlog
~~~~~~~~~~~

* A simple logging package that helps you save logs by days.

* Package is intended to write logs if you work with requests and responses during integration with third party APIs

* Date and time, log type (request/response) are added to every line

Installation
::

 pip install django-jlog

Set folder name in settings.py (by default it is `logs`)
::

 LOG_FOLDER_NAME='daily_logs'

Usage
::

 from jlog.file import Log


 Log.request('write here your request data', ['for', 'example'])

 Log.response('write here your response text message', {"testName": "Javid"})
sent-pattern 0.1.2
project that interpret English sentences to improve your ability to read English sentences correctly.
License: MIT
Requires Python: >=3.8

## Sent Pattern
This package categorizes English sentences into one of five basic sentence patterns and identifies the subject, verb, object, and other components. The five basic sentence patterns are based on C. T. Onions's Advanced English Syntax and are frequently used when teaching English in Japan.<br>
[Influence of His Grammar on English Language Education in Japan ](https://www.intcul.tohoku.ac.jp/ronshu/vol17/12.pdf)
#### [Universe Project](https://spacy.io/universe/project/sent-pattern)

## Quick Start
### [fastapi docker Example Code](./examples/docker_poetry_fastapi/)

## How To Use

### Installation
```bash
pip install sent-pattern
```

### Usage

```py
import spacy

nlp = spacy.load("en_core_web_lg")

nlp.add_pipe("span_noun")
nlp.add_pipe("sent_pattern")
text = "he gives me something"

doc = nlp(text)

pattern = doc._.sentpattern
print(pattern) 
# FourthSentencePattern (class)
print(pattern.subject.root)
# he (Token)
print(pattern.verb.root)
# give (Token)
```



## Cases without pipeline
If you want to know the sentence pattern without using components, we recommend using method of tags module.
The following three methods must be followed in order.
 `create_dep_list`, `create_elements`, `create_sent_pattern`.
execute in order to generate the sentpattern class.<br>
**merit**: can get sentpattern type


```py
import spacy
from sent_pattern import tags
nlp = spacy.load("en_core_web_lg")
doc = nlp("he gives me something")
dep_list = tags.create_dep_list(doc)
elements  = tags.create_elements(dep_list=dep_list)
p  = tags.create_sent_pattern(elements=elements)
pattern = p.pattern_type
# FourthSentencePattern(class)
print(pattern.subject.root.text)
# he (string)
print(pattern.verb.root)
# gives(spacy.Token)
print(dep_list)
# {'ROOT': [gives], 'dative': [me], 'dobj': [something], 'nsubj': [he]}
print(pattern.abbreviation)
# SVO (str)

```

how to get prep phrase
```py
nlp = spacy.load("en_core_web_lg")

text = "The Eureka client handles all aspects of service instance registration and deregistration"
doc =  nlp(text)
dep_list = tags.create_dep_list(doc)
custom = ElementsFactory.make_custom_elements(dep_list, doc=doc, option="prep")
phrase = custom.option

print(phrase.prep_groups)
# [of service instance registration and deregistration]
```


### License
Distributed under the terms of the MIT license, "sent-pattern" is free and open source software
geopayment 0.6.3
Python SDK for Georgian Payment Providers
License: MIT
Requires Python: >=3.7

# About
GeoPayment - Python SDK for Georgian Payment Providers

# Prerequisites
------

`Python >= 3.7.x`   
`cryptography >= 3.3.2`     
`pyOpenSSL >= 21.0.0`   
`requests >= 2.26.0`


### Quick Start

Install **geopayment** package

```bash
$ pip install geopayment

```    

## Integrate your apps

### Modules

   1. [For TBCPay](https://github.com/Lh4cKg/geopayment/blob/main/docs/tbc.md)
   
   2. [For TBC Installment](https://github.com/Lh4cKg/geopayment/blob/main/docs/tbc_installment.md)

   3. [For iPay (BOG)](https://github.com/Lh4cKg/geopayment/blob/main/docs/bog.md)

   4. [For BOG Installment](https://github.com/Lh4cKg/geopayment/blob/main/docs/bog_installment.md)

   5. [For Credo Installment](https://github.com/Lh4cKg/geopayment/blob/main/docs/credo_installment.md)


##### License

Copyright &copy; 2017 Lasha Gogua.

MIT licensed.
pymultipleis 0.2.5
A library for fitting a sequence of electrochemical impedance spectra (JAX version).
License: MIT
Requires Python: >=3.8,<3.11
Keywords: electrochemical impedance spectroscopy, batch fitting, multiple, jax


# pymultipleis

[**Installation**](#installation)
| [**Examples**](https://github.com/richinex/pymultipleis/tree/main/docs/source/examples)
| [**Documentation**](https://pymultipleis.readthedocs.io/en/latest/index.html)
| [**Citing this work**](#citation)


A library for fitting a sequence of electrochemical impedance spectra.

- Implements algorithms for simultaneous and sequential fitting.

- Written in python and based on the [JAX library](https://github.com/google/jax).

- Leverages JAX's in-built automatic differentiation ([autodiff](https://jax.readthedocs.io/en/latest/notebooks/autodiff_cookbook.html)) of Python functions.

- Takes advantage of JAX's just-in-time compilation (JIT) of Python code to [XLA](https://www.tensorflow.org/xla) which runs on GPU or TPU hardware.


## Installation<a id="installation"></a>

pymultipleis requires the following:

-   Python (>=3.9)
-   [JAX](https://jax.readthedocs.io/en/latest/) (>=0.3.17)

Installing JAX on Linux is natively supported by the JAX team and instructions to do so can be found [here](https://github.com/google/jax#installation).

For Windows systems, the officially supported method is building directly from the source code (see [Building JAX from source](https://jax.readthedocs.io/en/latest/developer.html#building-from-source)).
However, it might be easier to use pre-built JAX wheels which can be found in this [Github repo](https://github.com/cloudhan/jax-windows-builder). Further details
on Windows installation is also provided in this [repo](https://github.com/Dipolar-Quantum-Gases/jaxfit/blob/main/README.md).


After installing JAX, you can now install pymultipleis via the following pip command

```bash
pip install pymultipleis
```

[Getting started with pymultipleis](https://pymultipleis.readthedocs.io/en/latest/quick-start-guide.html#) contains a quick start guide to
fitting your data with ``pymultipleis``.


## Examples

Jupyter notebooks which cover several aspects of ``pymultipleis`` can be found in [Examples](https://github.com/richinex/pymultipleis/tree/main/docs/source/examples).

## Documentation

Details about the ``pymultipleis`` API, can be found in the [reference documentation](https://pymultipleis.readthedocs.io/en/latest/index.html).


## Citing this work<a id="citation"></a>

If you use pymultipleis for academic research, you may cite the library as follows:

```
@misc{Chukwu2022,
  author = {Chukwu, Richard},
  title = {pymultipleis: a library for fitting a sequence of electrochemical impedance spectra},
  publisher = {GitHub},
  year = {2022},
  url = {https://github.com/richinex/pymultipleis},
}
```
yearfrac 0.4.8
Daycount methods to compute date differences in year units
License: MIT
Requires Python: >=3.6

[![PyPI version](https://badge.fury.io/py/yearfrac.svg)](https://badge.fury.io/py/yearfrac)
[![yearfrac](https://snyk.io/advisor/python/yearfrac/badge.svg)](https://snyk.io/advisor/python/yearfrac)


# yearfrac

## Installation
The `yearfrac` [git repo](http://github.com/kmedian/yearfrac) is available as [PyPi package](https://pypi.org/project/yearfrac)

```
pip install yearfrac
```


## Usage
Check the [examples](https://github.com/kmedian/yearfrac/tree/master/examples) folder for notebooks.

Functions

* `isaleapyear` -- Check if a year is leap year
* `eastersunday` -- Determine day and month of an Easter Sunday for a given year
* `jd_to_date` and `date_to_jd` -- Julian Day number conversion
* `act_afb` -- Actual/Actual AFB
* `act_isda` -- Actual/Actual ISDA
* `d30360e` -- 30E/360 ISDA daycount method
* `d30365` -- 30/365 daycount method
* `yearfrac` -- Wrapper for all daycount methods


## Appendix

### Install a virtual environment

```
python3.7 -m venv .venv
source .venv/bin/activate
pip3 install --upgrade pip
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
pip3 install -r requirements-demo.txt
```

(If your git repo is stored in a folder with whitespaces, then don't use the subfolder `.venv`. Use an absolute path without whitespaces.)

### Python Commands
* Check syntax: `flake8 --ignore=F401 --exclude=$(grep -v '^#' .gitignore | xargs | sed -e 's/ /,/g')`
* Run Unit Tests: `python -W ignore -m unittest discover`
* Remove `.pyc` files: `find . -type f -name "*.pyc" | xargs rm`
* Remove `__pycache__` folders: `find . -type d -name "__pycache__" | xargs rm -rf`

Publish

```sh
# pandoc README.md --from markdown --to rst -s -o README.rst  # RST file is too much trouble
python setup.py sdist 
twine upload -r pypi dist/*
```

### Support
Please [open an issue](https://github.com/kmedian/yearfrac/issues/new) for support.


### Contributors
* Adam Groszer [@agroszer](https://github.com/agroszer)
* Emilio Basualdo [@emiliobasualdo](https://github.com/emiliobasualdo)
* Ivan Nesic [@fatkaratekid](https://github.com/fatkaratekid)
* Vinay Gupta [@vinschess](https://github.com/vinschess)
* Ulf Hamster [@ulf1](https://github.com/ulf1)

Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/kmedian/yearfrac/compare/).