semvec/pypi-packages huggingface dataset:
jamaddr 0.5
IP Subnet package
License: MIT

# Jamaddr Python Package

This package Created by Jamison Emilio and packaged by Todd Albiston

## Installation Python3.6 and above
```markdown
pip3 install jamaddr 
```
for python 2.7.12 and above see jamaddr27 https://github.com/talbiston/jamaddr27

## Description:
Python Package adds functions to convert IP address or subnet masks to bits and bits back to IP address.


```python
from jamaddr import JamAddr
ipbits = JamAddr.ip_to_bits("192.168.0.23")
ipbits

returns = '11000000101010000000000000010111'
```

```python
from jamaddr import JamAddr
bitsip = JamAddr.bits_to_ip("11000000101010000000000000010111")
bitsip

returns = '192.168.0.23'
```

Of course you could also enter a subnet mask to convert to bits then do the same with its corresponding IP, then
work out what the network ID or Broadcast IPs would be or use your imagination on what other use cases could be.

```python
from jamaddr import JamAddr

def network_id(ip_cidr):

    ip, cidr = ip_cidr.split('/')
    ip_bits = JamAddr.ip_to_bits(ip)[:int(cidr)] + '0' * (32 - int(cidr))
    return '{}/{}'.format(JamAddr.bits_to_ip(ip_bits), cidr)

networkID = network_id("192.168.0.23/28")
print(networkID)

returns = 192.168.0.16/28
```

This example above is already included as a function in this package so you could just do the following, but you get the point. 

```python
from jamaddr import JamAddr

networkID = JamAddr.network_id("192.168.0.23/28")
print(networkID)

returns = 192.168.0.16/28
```
jamaddr27 0.5
IP Subnet package
License: MIT

# Jamaddr27 Python Package

This package Created by Jamison Emilio and packaged by Todd Albiston

## Installation Python2.7.12 and above
```markdown
pip install jamaddr27 
```
for python3.6 see jamaddr https://github.com/talbiston/jamaddr

## Description:
Python Package adds functions to convert IP address or subnet masks to bits and bits back to IP address.

```python
from jamaddr27 import JamAddr
ipbits = JamAddr.ip_to_bits("192.168.0.23")
ipbits

returns = '11000000101010000000000000010111'
```

```python
from jamaddr27 import JamAddr
bitsip = JamAddr.bits_to_ip("11000000101010000000000000010111")
bitsip

returns = '192.168.0.23'
```

Of course you could also enter a subnet mask to convert to bits then do the same with its corresponding IP, then
work out what the network ID or Broadcast IPs would be or use your imagination on what other use cases could be.

```python
from jamaddr27 import JamAddr

def network_id(ip_cidr):

    ip, cidr = ip_cidr.split('/')
    ip_bits = JamAddr.ip_to_bits(ip)[:int(cidr)] + '0' * (32 - int(cidr))
    return '{}/{}'.format(JamAddr.bits_to_ip(ip_bits), cidr)

networkID = network_id("192.168.0.23/28")
print(networkID)

returns = 192.168.0.16/28
```

This example above is already included as a function in this package so you could just do the following, but you get the point. 

```python
from jamaddr27 import JamAddr

networkID = JamAddr.network_id("192.168.0.23/28")
print(networkID)

returns = 192.168.0.16/28
```
chistes-gallegos 1.0
los mejores chistes gallegos
License: MIT
Requires Python: ~=3.6

# chistes-gallegos

A package containing a function that returns randome jokes about Gallegos.

Usage
=====

### Install

```bash
pip install chistes-gallegos 
```
### Programming

```python
from chistes_gallegos import get_joke

joke_string = get_joke()
```

Quickstart
==========

* Review/edit the generated files
* Add your code, documentation, etc.
* Create distribution tarball::

       python setup.py bdist_wheel                                                                                                                           
* Upload to PyPI::

       twine upload dist/*
hakuna-matata 0.0.3
A logic-based agent that plays Hunt the Wumpus
License: MIT

# Hakuna Matata

A playing agent for "Hunt the Wumpus".

## Dependencies

To install the required Python packages, run

```sh
  $ pip3 install -r src/requirements.txt
```
  
## Usage Options

  + `-size` allows to set the size of the generated world, as a positive integer number.
  + `-seed` allows to set the seed for the world generator, as a hexadecimal number.
  + `-world` allows to set the world specification (size, location of pits/wumpus/gold), given as an input file.
  + `-agent` allows to specify a playing agent for the current game. Possible values are: `proxy`, `perfect`, `asp`.
  + `-generate` allows to generate a world together with the score obtained by the perfect agent over it, given a base.
  + `-benchmark` allows to test an agent against a given benchmark suite.