semvec/pypi-packages huggingface dataset:
TExtractor 0.1.2
Extract text content from many filetypes.
License: MIT
Keywords: text extract pdf docx

TExtractor
==========

Extract text content from many filetypes in pure Python. This package extracts
pure text from many office filetypes. Only three external (pure Python)
libraries are needed to work. After extracting you get a list of words with
the most common stop words stripped out (only en, de).

Install with: `pip install TExtractor`

Usage::

    >>> from textractor import TExtractor
    >>> extractor = TExtractor()
    >>> extractor.index('test.docx', lang='en')
    ['workflow_history', 'portal_workflow', 'review_history',
     'implementation', 'organizations', 'Illustrations', ...]
    >>> extractor.index('test.pdf', lang='en')
    ['workflow_history', 'portal_workflow', 'review_history',
     'implementation', 'organizations', 'Illustrations', ...]
    >>>
jenkins-external 0.2
Runs a command, and sends its output to a Jenkins external job.
License: MIT
Keywords: jenkins command report

# `jenkins-external`

`jenkins-external` is a Python script that spawns a command, records
its output and exit code, and then logs this information to Jenkins
in an external job.

Currently, SSH is the only supported method to send output to Jenkins.
Therefore, you must go to *Configure Global Security* → SSH Server, and
enable the SSH server on a fixed port.

## Installation

```
pip install jenkins-external
```

## Usage

```
usage: jenkins-external [-h] [-d DISPLAY_NAME] [-s SSH_COMMAND]
                        [-x EXECUTABLE] [-q]
                        host port job command [args [args ...]]

Runs a command, and passes its output to Jenkins as an external job.

positional arguments:
  host                  Jenkins hostname (for Jenkins SSH server)
  port                  Jenkins SSH server port
  job                   Jenkins job name
  command               command to be run under this script
  args                  arguments to pass to the command

optional arguments:
  -h, --help            show this help message and exit
  -u USER, --user USER  Jenkins user to login as (using public key
                        authentication, default: your username)
  -d DISPLAY_NAME, --display-name DISPLAY_NAME
                        display name of the build
  -s SSH_COMMAND, --ssh-command SSH_COMMAND
                        ssh command
  -x EXECUTABLE, --executable EXECUTABLE
                        the executable to actually use
  -q, --no-job-id       do not print the job ID in the end
```

### Example

```
# Sends 'Hello, World!' to a job called `my-job` on a Jenkins instance
# running on `jenkins.example.com`, whose SSH port is 12345.
jenkins-external jenkins.example.com 12345 my-job echo 'Hello, World!'
```
betaincder 0.1.1
compute the incomplete Beta function and its derivatives
License: MIT

## Welcome

This tiny library contains some C/Cython code for calculating
- the (normalized) incomplete Beta function - `betainc`
- the first derivatives (w.r.t. shape parameters) of the incomplete Beta function
  via the INBEDER algorithm
- the digamma (Psi) function, the beta function and its logarithm (`betaln`)

## API

- **`beta(p, q)`**: Calculate the Beta function, where `B(p,q) = Gamma(p)*Gamma(q)/Gamma(p+q)`
- **`betaln(p, q)`**: Calculate the logarithm of the Beta function, where `betaln(p,q) = ln B(p,q) = ln Gamma(p) + ln Gamma(q) - ln Gamma(p+q)`
- **`betainc(x, p, q)`**: Calculate the regularized incomplete Beta function, where `betainc(x, p, q) = I_x(p, q)`. See http://mathworld.wolfram.com/IncompleteBetaFunction.html
- **`betaincderp(x, p, q)`**: Compute the first derivative of the regularized incomplete Beta function with respect to the first shape parameter ``p``.
- **`betaincderq(x, p, q)`**: First derivative of the regularized incomplete Beta function with respect to the second shape parameter ``q``.
- **`digamma(x)`**: The digamma function. See http://mathworld.wolfram.com/DigammaFunction.html.

## Installation

```bash
$ pip install betaincder
```

## Usage

The functions can be invoked from python, or `cimport`ed from Cython.

```python
from betaincder import betainc, betaincderp, betaincderq
print betaincderq(.5, 10, 10)
```

or

```python
%%cython 
from betaincder.c.betaincder cimport digamma, betaln, betainc, betaincderq
print betaincderq(.5, 10, 10)
```

## References
- Robinson-Cox, J. F., & Boik, R. J. (1998). Derivatives of the Incomplete Beta Function. Journal of Statistical Software, 3(01).
- Bernardo, Jose M. "Algorithm AS 103: Psi (digamma) function." Journal of the Royal Statistical Society. Series C (Applied Statistics) 25.3 (1976): 315-317.