semvec/pypi-packages huggingface dataset:
kotlin_kernel 0.0.2
A Kotlin kernel for Jupyter

# Kotlin Kernel

This is a small Jupyter kernel wrapping the Kotlin language.

The only reason for it's existence is, that I could not get [ligee's Kotlin kernel](https://github.com/ligee/kotlin-jupyter) (is it the official Kotlin kernel) to work. That could be build and installed but was always crashing as soon as I created a new notebook.



## Installation

To install the `kotlin_kernel` from PyPi:

```bash
pip install kotlin_kernel
python -m kotlin_kernel.install
```

To work on this code directly, you may want to:

```bash
git clone git@github.com:HelgeCPH/kotlin_kernel.git
cd kotlin_kernel
pip install .
python -m kotlin_kernel.install
```

## Dependencies

This kernel requires that you have the Kotlin CLI tools installed on your computer. Currently, I only tested this kernel on MacOS, where I installed Kotlin and `kotlinc-jvm` via [homebrew](https://brew.sh).

Anyway's, this kernel should work on any system on which `kotlinc-jvm` is installed and added to the PATH.

The reason for this dependency is that this kernel is a really slim wrapper around the Kotlin REPL via `peexpect`.

## Using the Kotlin Kernel

**Notebook**: The *New* menu in the notebook should show an option for an `Kotlin` notebook.

**Console frontends**: To use it with the console frontends, add `--kernel kotlin` to their command line arguments.

That should be it...




## TODO:

  * I am planning to add support for a configuration file, so that a `classpath` for the `kotlinc-jvm` session can be set.
  * I started investigating integration of the [Kotlin language server protocol implementation](https://github.com/fwcd/KotlinLanguageServer) for code completion.
  * Support streaming results. Currently, results of stuff like `generateSequence(0) { it + 1 }.forEach { println(it) }` cannot be displayed (neither stopped, support that too :))
django-freeipa-auth-json 0.1.2.dev1
FreeIPA authentication for Django using FreeIPA JSON API
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4
Keywords: django freeipa authentication

django-freeipa-auth
====================

`django-freeipa-auth` provides a Django backend authentication app for FreeIPA authentication. The app uses FreeIPA JSON API for its operation. 

Quick start
------------

1. Install using `pip`

```
pip install django-freeipa-auth-json
```

2. Add `freeipa` to `INSTALLED_APPS` in the settings file.

```python
INSTALLED_APPS = [
    ...
    'freeipa',
]
```

3. Add `freeipa.auth.backends.AuthenticationBackend` to `AUTHENTICATION_BACKENDS` in the settings file.

```python
AUTHENTICATION_BACKENDS = [
    ...
    'freeipa.auth.backends.AuthenticationBackend',
]
```

4. Add following settings to the setting files

```python
# REQUIRED: 
IPA_AUTH_SERVER = 'ipa.demo1.freeipa.org'

# OPTIONAL:
IPA_AUTH_SERVER_SSL_VERIFY = True
IPA_AUTH_SERVER_API_VERSION = '2.230'
# Automatically update user information when logged in
IPA_AUTH_AUTO_UPDATE_USER_INFO = True  
# Automatically create and update user groups.
IPA_AUTH_UPDATE_USER_GROUPS = True 

# Dictionary mapping FreeIPA field to Django user attributes
IPA_AUTH_FIELDS_MAP = { 'givenname': 'first_name',
                        'sn'       : 'last_name',
                        'mail'     : 'email',
                      }
```

Command Line
--------------

`django-freeipa-auth` provide `syncipa` command to import and update users stored in Django database with FreeIPA server.

```
usage: manage.py syncipa [-h] [-u USER] [-p PASSWD] 

Synchronizing data with FreeIPA server

optional arguments:
  -h, --help                  show this help message and exit

login arguments: require a user with permission to query all users (e.g. administrator.)
  -u USER, --user USER
  -p PASSWD, --passwd PASSWD  
```
bmstu-schedule-diff 1.2.1
Display BMSTU schedule diff
Requires Python: >=3.6

# bmstu-schedule-diff
Display BMSTU schedule diff.

## Installation
`pip3 install bmstu-schedule-diff`

## Usage
```
bmstu-schedule-diff [GROUP1] [GROUP2]
```
```
$ bmstu-schedule-diff ИУ7-45 ЮР-24
Downloading ИУ7-45 schedule...
Downloading ЮР-24 schedule...
Looking for close lessons...

                               ИУ7-45                                         ЮР-24              
Thursday:
 ЗН   12:00-13:35 Политология 218л                                 13:50-15:25 Уголовное право 114л 
Friday:
 ЧС   13:50-15:25 Объектно-ориентированное программирование 228л   13:50-15:25 Математика 255л      


```

## LICENSE
```
bmstu-schedule-diff
Copyright (C) 2019 Nikola Trubitsyn

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
```

This program uses code from [bmstu-schedule-parser](https://github.com/BMSTU-Schedule/bmstu-schedule-parser) that is licensed under the terms of the GNU Affero General Public License (version 3 or later).

```
bmstu-schedule-parser
Copyright (C) 2018 BMSTU Schedule (George Gabolaev)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
```
awsip 0.2.1
A simple package to check if ip address / range belongs to AWS.

# awsip

A simple python library to check if an ip, a list of ips or a list of ip ranges
exist inside Amazon (AWS) infrastructure.
```
pip install awsip
```
After installation, you can make use of `awsip` utility to check for ips.
```
awsip 1.1.1.1 2.2.2.2 5.4.3.0/28
```
You can provide a white-spaced list of ip addresses / ranges. You can also provide a filename containing ip address / range on each line. For example, you have a file `myips.txt` with following format.
```
192.0.0.1
7.7.7.0/28
9.9.9.0/30
```
You can pass the ips to utility while providing extra ips on the go like this:
```
awsip myips.txt 1.1.1.1 2.2.2.0/24
```
You can also make use of it in your custom code like this:
```
from awsip import AWSIPChecker
checker = AWSIPChecker()
checker.get_aws_range(['18.208.0.0', '18.208.0.0/16'])
```
You can provide a list of ip address, ip ranges or a mixture of both and program will check if they belong to AWS and return appropriate data if they do belong.