semvec/pypi-packages huggingface dataset:
simprad 1.0.7
Simplify radicals.
Requires Python: >=3.6

# simprad
_Simplify radicals._

Simplifies a radical into a multiple of the square root of a prime number.
Based on the popular SIMPRAD for TI-BASIC of unknown author.
Supports negative numbers and arbitrary roots.

When the input is a nonnegative number, the output will be a Tuple of two
real numbers&#2014;the coefficient and the radicand.  
When the input is a negative number, the output will be a Tuple of a complex
coefficient and a real radicand.

Use simprad as a module:
```py
from simprad import simprad

print(simprad(50))    # (5, 2)
print(simprad(36))    # (6, 1)
print(simprad(-50))   # (5j, 2)
print(simprad(8, 3))  # (2, 1)
```

Use simprad as a command line utility:
<!-- Unicode characters don't work in ```code blocks```, so I'm using <pre> instead as a workaround -->
<pre>
$ python -m simprad
Radical to simplify: &#x221A;50
Root [2]: 2
5 &#x00D7; &#x221A;2
</pre>
graphlog 1.1.0rc1
API to interface with the GraphLog Dataset
Requires Python: >=3.6

[![CircleCI](https://circleci.com/gh/facebookresearch/GraphLog.svg?style=svg&circle-token=3de77dcba6da65107d3946878697d810251e00d9)](https://circleci.com/gh/facebookresearch/GraphLog)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/graphlog)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

# GraphLog
API to interface with the GraphLog Dataset. GraphLog is a multi-purpose, multi-relational graph dataset built using rules grounded in first-order logic.

[Homepage](https://www.cs.mcgill.ca/~ksinha4/graphlog/) | [Paper](https://arxiv.org/abs/2003.06560) | [API Docs](https://graphlog.readthedocs.io/en/latest/)

<img src="docs/images/graphlog_rule.png" width="400">

### Installation

* Supported Python Version: 3.6+
* Install PyTorch from https://pytorch.org/get-started/locally/
* Install pytorch-geometric (and other dependencies) from https://github.com/rusty1s/pytorch_geometric#installation. Make sure that cpu/cuda versions for pytorch and pytorch-geometric etc matches.
* `pip install graphlog`

### QuickStart

Check out the notebooks on [Basic Usage](examples/Basic%20Usage.ipynb) and [Advanced Usage](examples/Advanced%20Usage.ipynb) to quickly start playing with GraphLog.

### Dev Setup

* `pip install -e ".[dev]"`
* Install pre-commit hooks `pre-commit install`
* The code is linted using:
    * `black`
    * `flake8`
    * `mypy`
* All the tests can be run locally using `nox`

### Experiments

Code for experiments used in our paper are available in `experiments/` folder.

### Questions

- If you have questions, open an Issue
- Or, [join our Slack channel](https://join.slack.com/t/logicalml/shared_invite/zt-e7osm7j7-vfIRgJAbEHxYN5D70njvyw) and post your questions / comments!
- To contribute, open a Pull Request (PR)

### Contributing

Please open a Pull Request (PR).

### Citation

If our work is useful for your research, consider citing it using the following bibtex:

```
@article{sinha2020graphlog,
  Author = {Koustuv Sinha and Shagun Sodhani and Joelle Pineau and William L. Hamilton},
  Title = {Evaluating Logical Generalization in Graph Neural Networks},
  Year = {2020},
  arxiv = {https://arxiv.org/abs/2003.06560}
}
```

### License

CC-BY-NC 4.0 (Attr Non-Commercial Inter.)

### Terms of Use

https://opensource.facebook.com/legal/terms

### Privacy Policy

https://opensource.facebook.com/legal/privacy
imgflippy 0.0.3
An open source Python wrapper for the imgflip RESTful API (https://api.imgflip.com).
Requires Python: >=2.7
Keywords: imgflip meme API

# imgflippy
An open source Python interface for the [imgflip RESTful API](https://api.imgflip.com) `imgflippy` has been developed
to remain true to the original API while offering the conveniences that Python allows.

### Quickstart
`imgflippy` has been written with the intention of allowing for meme generation from either a command line
interface *or* an interpreted environment.

#### Command Line

##### get_memes
Print a table of the popular memes that may be captioned with this API:

From the imgflip API documentation:
> The size of this array and the order of memes may change at any time. When this description was written, it returned
> 100 memes ordered by how many times they were captioned in the last 30 days. Additional properties other than those
> listed below may be added in the future without warning, so do not assume the JSON structure of each meme will never
> have new properties.

```
$ python -m imgflippy get_memes
Template ID |                      Name                      |               URL
------------+------------------------------------------------+---------------------------------
112126428   | Distracted Boyfriend                           | https://i.imgflip.com/1ur9b0.jpg
181913649   | Drake Hotline Bling                            | https://i.imgflip.com/30b1gx.jpg
87743020    | Two Buttons                                    | https://i.imgflip.com/1g8my4.jpg
...
```

##### add_caption

From the imgflip API documentation:
> Add a caption to an Imgflip meme template. Images created with this API will be publicly accessible by anyone through
> the url in the response - there is no "private" option. This does not mean these memes will be posted publicly though,
> one still needs to know the exact URL to find the image. If the image hangs around on Imgflip servers for a while and
> gets very few views (direct image views and image page views both count), it will be auto-deleted to save space.
keygen-yocto 2.0.0
A simple tool to generate and verify license keys for your app.
Requires Python: >=3.8
Keywords: license key generator

# Key Generator

A simple tool to generate and verify license keys for your app.

This app uses RSA signature verification to sign the email address of a user
with a private key, then verify the signature with an associated public key.

![The main window.](keygen/data/images/main.png)

## Installation

From the [Python Package Index](https://pypi.org/project/keygen-yocto/):

```bash
pip install keygen-yocto
```

or from the source:

```bash
./setup.py install
```

### Requirements

*   [Python](https://www.python.org/)

## Usage

```bash
keygen
```

1.  Generate a new pair of RSA keys.

    ![The New RSA Keys dialog.](keygen/data/images/new_rsa.png)

    **Note:** You will only have to do this once.

2.  When a user purchases a license, generate a license key and send it to the
    user.

    ![The License Key dialog.](keygen/data/images/license_key.png)

    **Note:** Sales and Customer Service teams will only have to do this step.
    You will have to ship the private RSA key with this app to them.

3.  In your app, verify that the license key is valid.

    ```python
    from keygen import keys

    if keys.valid('email', 'license_key', 'public_key'):
        pass    # The license key is valid.
    else:
        pass    # The license key is invalid.
    ```

    **Note:** You will have to ship the public RSA key with your app.

## Support

Email [info@yoctosoft.co.za](mailto:info@yoctosoft.co.za) for help.

## Roadmap

1.  Verify license keys in the GUI.
2.  Show a list of license keys that was generated.

## Contributing

Pull requests are welcome.  For major changes, please open an issue first to
discuss what you would like to change.

Please make sure to update tests as appropriate.

## Acknowledgements

*   Based on
    [this article](https://build-system.fman.io/generating-license-keys).

*   [Python-RSA](https://stuvel.eu/software/rsa/) for generating and verifying
    the keys.

*   [Qt for Python](https://wiki.qt.io/Qt_for_Python) for the GUI.

## License

Copyright (c) 2020  Yoctosoft (PTY) Ltd.
[info@yoctosoft.co.za](mailto:info@yoctosoft.co.za)

This program comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions. See the
[GNU General Public License](https://www.gnu.org/licenses/) for more details.