semvec/pypi-packages huggingface dataset:
Parse-AIA-PolarsBear 0.2.41
A package for reading .aia files from App Inventor
Requires Python: >=3.6

# Parse .AIA
This is a simple python library for extracting code, UI data, images and assets from .AIA files ([App Inventor](https://appinventor.mit.edu/) Projects).

# Basic Explanation
The library works by extracting all of the data from an app inventor project. The one class you'll need is `parseaia.Project`, it represents one app inventor project.

## Quick Example:
```py
from parseaia import Project

myproj = Project("ExampleApp.aia") # Initiate a Project with the filepath to the .aia

print(myproj.Screen1.UI.Properties.Components) # Printing out all the UI elements
```
This example prints out all the UI elements in the screen "Screen1" (The default screen name when you create an app in app inventor, most apps will have it)

# TODO

- Add a better method for extracting non-image assets

- Optimize some code

# Documentation
You can find the documentation [HERE](https://parseaia.readthedocs.io/en/latest/)
python-leanplum 0.6.0
Python 3 API wrapper for LeanPlum
Requires Python: >=3.6


# python-leanplum

A small python wrapper around Leanplum API (https://docs.leanplum.com/reference#api-introduction)

## Version Compatability
 - 0.5.x - Python 3
 - 0.4.x - Python 2
## Usage

```
from leanplum.client import Client

client = Client(app_id="your_app_id", client_key="your_client_key")

# track events
client.users.track(1234, "custom event")
# advance state
client.users.advance(1234, "Registered")
# set user attributes
client.users.set_user_attributes(1234, {"custom_param": "value"})
# increment attribute
client.users.increment_user_attribute(1234, "Page Views", incr=1)

# delete user
client.admin.delete_user(1234)
```

This wrapper uses the [python-requests](https://github.com/requests/requests) library.  Currently, we don't have a need
to support other network clients, but if we do they will be added as a new ClientImpl(HttpClient). (see leanplum.http_client)

The return object right now is a requests.Response.body, which is a String.
If your request has errors or warnings, some common ones are raised after the response, and you can see some of them
at leanplum.errors

By default, POST requests that handle user behaviors are marked with `createDisposition=CreateNever`.  This may be
modified or made configurable in a later version


TODO:
- requestor better handling of the request (multiple/batch responses?  Right now hard coded to get response[0])
- Response objects for Message, User, State, Event (current return object is a dict)
- More precise Errors to match with Leanplum's wrapped responses
- Add support for croKey and cwoKey, maybe dev/prod mode?
oneNeuron-perceptron-pypi-guptabhishek8 0.0.4
its a implementation of Perceptron
Requires Python: >=3.7

# oneNeuron_perceptron_pypi

oneNeuron_perceptron_pypi

## How to Use this-

```python
from oneNeuron.perceptron import Perceptron

## get X and y and then use below commands
model = Perceptron(eta=eta, epoch=epoch)
model.fit(X,y)
```

# Reference -

[Official python docs](https://packaging.python.org/tutorials/packaging-projects/)

[Github docs for github action](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries)
simplesockets 0.4.0
Allows the use of python sockets more easily
Requires Python: >=3.6

# Introduction  
This library allows to easily create TCP Servers and Clients using Python sockets

If you want a secure connection, use the secure variant `securesockets`. It uses the 
[pycryptodome](https://pypi.org/project/pycryptodome/) library. It should be clear, that you need to install said library to use 
the secure variant.  
If you have encountered a bug or have an idea, share it on [github](https://github.com/MrPoisen/simplesockets). For more help look 
up the [docs](https://mrpoisen.github.io/simplesockets/)
(Note: They may be incomplete)

# Installation
use `pip install simplesockets` to install this library.

# Examples
This package also contains an example, an echo Server and Client:

echoclient.py
```` python

if __name__ == "__main__":
    from simplesockets import TCPClient

    Client = TCPClient()
    Client.setup(target_ip="localhost", target_port=25567)  # prepares the Client
    Client.connect()  # connects the Client to the Server

    Client.autorecv()  # enables autorecv: automatically saves all incoming data in Client.recved_data,
    # return them with Client.return_recved_data()

    Client.send_data(b'Test')  # sends the text to the Server
    while True:
        if Client.event.new_data:  # checks if any data received
            data: list = Client.return_recved_data()  # returns the received data as a list
            for element in data:
                print(element.response)  # should print b'Test'
            break  # ends the while loop
````

echoserver.py
```` python

if __name__ == "__main__":
    from simplesockets import TCPServer

    Server = TCPServer()
    Server.setup(ip='127.0.0.1', port=25567)  # prepares the server
    Server.start()  # starts the server

    while True:
        if Server.event.new_data:  # checks if any data received
            data: list = Server.return_recved_data()  # returns the received data as a list
            for element in data:
                response: bytes = element.response  # element is a Socket_Response object,
                client = element.from_  # sets client to a Server_Client object
                Server.send_data(response, client)
````