semvec/pypi-packages huggingface dataset:
oneNeuron-pypi-amit04 0.0.3
its a implementation of perceptron
Requires Python: >=3.7

# oneNeuron_pypi

## How to use this 

'''python

from oneNeuron.perceptron import Perceptron
## get X and y and then use below commands
model = Perceptron(eta=eta, epochs=epochs)
model.fit(X, y)


'''
# Reference:
[official python docs](https://packaging.python.org/tutorials/packaging-projects/)

[github docs for github actions](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries)
pygithubapi 1.0.3
python3 module to call github apis in command line or inside a module.
Requires Python: >=3.6, <4
Keywords: pygithubapi

# pygithubapi

python3 module to call github apis in command line or inside a module and export result into mysql and later Grafana.

[The source for this project is available here][src].

---

It's a python module that you can include in your python module or can be used in command line.

    python3 pygithubapi.py --help
    usage: pygithubapi.py [-h] [-V] [-U USER] [-t TOKEN] [-u URL] [-a API] [-m METHOD]
                        [-J JSONFILE]

    pygithubapi is a python3 program that call github apis in command line or imported as
    a module

    optional arguments:
    -h, --help            show this help message and exit
    -V, --version         Display the version of pygithubapi
    -U USER, --user USER  github user
    -t TOKEN, --token TOKEN
                            github token
    -u URL, --url URL     github url
    -a API, --api API     github api should start by a slash
    -m METHOD, --method METHOD
                            should contain one of the method to use : ['DELETE', 'GET',
                            'POST', 'PUT']
    -J JSONFILE, --jsonfile JSONFILE
                            json file needed for POST method

---

[packaging guide]: https://packaging.python.org
[distribution tutorial]: https://packaging.python.org/tutorials/packaging-projects/
[src]: https://github.com/stormalf/pygithubapi
[rst]: http://docutils.sourceforge.net/rst.html
[md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant"
[md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional

# release notes

1.0.0 initial version

1.0.1 fixing issue with wrong json dependency

1.0.2 fixing issue with UnboundLocalError: local variable 'response' referenced before assignment

1.0.3 fixing issue with response.json()
calculatorpackage 1.0.0
Simple calculator API hosted on APIMATIC

# Getting Started with APIMATIC Calculator

## Introduction

Simple calculator API hosted on APIMATIC

## Install the Package

The package is compatible with Python versions `2 >=2.7.9` and `3 >=3.4`.
Install the package from PyPi using the following pip command:

```python
pip install calculatorpackage==1.0.0
```

You can also view the package at:
https://pypi.python.org/pypi/calculatorpackage

## Test the SDK

You can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `nose` is used as the test runner. You can run the tests as follows:

Navigate to the root directory of the SDK and run the following commands

```
pip install -r test-requirements.txt
nosetests
```

## Initialize the API Client

**_Note:_** Documentation for the client can be found [here.](/doc/client.md)

The following parameters are configurable for the API Client:

| Parameter | Type | Description |
|  --- | --- | --- |
| `environment` | Environment | The API environment. <br> **Default: `Environment.PRODUCTION`** |
| `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |
| `override_http_client_configuration` | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
| `timeout` | `float` | The value to use for connection timeout. <br> **Default: 60** |
| `max_retries` | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
| `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
| `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
| `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |

The API client can be initialized as follows:

```python
from apimaticcalculator.apimaticcalculator_client import ApimaticcalculatorClient
from apimaticcalculator.configuration import Environment

client = ApimaticcalculatorClient(
    environment=Environment.PRODUCTION,)
```

## List of APIs

* [Simple Calculator](/doc/controllers/simple-calculator.md)

## Classes Documentation

* [Utility Classes](/doc/utility-classes.md)
* [HttpResponse](/doc/http-response.md)
* [HttpRequest](/doc/http-request.md)
django-textblocks 0.8.3
Simple app for managing small blocks of text/html.

==========
Textblocks
==========

.. image:: https://travis-ci.org/fabiangermann/django-textblocks.svg?branch=master
    :target: https://travis-ci.org/fabiangermann/django-textblocks


Installation
============

1. Add ``textblocks`` and optionally ``modeltranslation`` to
   ``INSTALLED_APPS``
2. Add an entry for ``textblocks`` to your ``MIGRATION_MODULES``
   (textblocks cannot ship its own migrations because the exact schema
   depends on your ``LANGUAGES`` setting) and create an empty Python
   module (folder with an empty ``__init__.py`` file).
3. Run ``./manage.py makemigrations textblocks`` and ``./manage.py migrate``


Usage
=====

1. Load templatetags ``{% load textblock_tags %}``
2. Add ``textblock`` tags with unique identifiers::

      {% textblock "introduction" %}

Text blocks with identifiers that do not exist in the database yet will
automatically be created.

You can optionally provide the following keyword arguments:

============== ============================================================================================= =================================== ================
   Argument                                             Description                                                  Possible Values                 Default
============== ============================================================================================= =================================== ================
 ``type``       Sets the content type.                                                                        ``text/plain``, ``text/html``       ``text/plain``
 ``show_key``   If set to true, the template will render the textblock key for textblocks without a value.    ``False``, ``0``, ``True``, ``1``   ``False``
============== ============================================================================================= =================================== ================

The default value for the ``show_key``-option can be overriden with the
``TEXTBLOCKS_SHOWKEY = True``-setting.
yulang 0.0.2
yulang programming language embedded in Python
Requires Python: >=3.8

# Yu Language - yulang

A toy project for creating a simple programming language using Bison and Flex in C++.
This is the wrapper to Python.

## interactive console
```python
$ python
>>> import yulang
>>> yulang.console()
Yu Language 0.0.1 (unstable, Oct 23 2021, 21:31:19)
interactive:
y> var a = 3;
y> print(a);
print: 3
y> square a: {return a ^ 2;}
y> print(square(a : 10));
print: 100
y> 
```

## parsing Python string
```python
$ python
>>> import yulang
>>> yulang.parse("var a = 10; print(a);")
print: 10
```

## examples
### arithmetic

source codes:
```bash
print(10 + 30);
print(10 - 30);
print(10. / 30.);
print(10 * 30);
print(30 % 9);
print((5. + 5.) / 3.);
```

output:
```python
$ python
>>> import yulang
>>> yulang.read("path/to/arithmetics.yu") 
print: 40
print: -20
print: 0.333333
print: 300
print: 3
print: 3.33333
```

### string

source codes:
```bash
var a = "hello world";
print(a);
```

```python
$ python
>>> import yulang
>>> yulang.read("path/to/strings.yu")  
print: hello world
```

### functions

source codes: (`//` is used for comments)
```bash
// create a square function
square p, l:
{
    var L = p * l;
    return L;
}

// using the square function in a volume function
volume t:
{
    var V = square(p : 5, l : 6) * t;
    return V;
}

// assigning volume return in myVol variable
var myVol = volume(4);
print(myVol);
```

output:
```python
$ python
>>> import yulang
>>> yulang.read("path/to/functions.yu")  
print: 120
```

### variables

source codes: (`var` is used for generating variables)
```bash
// defining variables
var a, b, c, d;
a = 10; // integer
b = .5; // float
c = 3.; // float
d = 3.14; // float

print(a);
print(b);
print(c);
print(d);
```

output:
```python
$ python
>>> import yulang
>>> yulang.read("path/to/variables.yu") 
print: 10
print: 0.5
print: 3
print: 3.14
```

### import files

source codes in `includes.yu`
```bash
multiply a, b:
{
    return a * b;
}
```

source codes in `multi_files.yu`
```bash
// relative to current directory of terminal (or shell)
// you can import multiple relative paths and they do not create errors

import: "tests/stable/multi_files/includes.yu"
import: "stable/multi_files/includes.yu"
import: "multi_files/includes.yu"

var c = multiply(a : 10, b : 20);
print(c);
```

output:
```python
$ python
>>> import yulang
>>> yulang.read("path/to/multi_files.yu")
print: 200
```