semvec/pypi-packages huggingface dataset:
nixpkgs 0.2.4
Abuses Nix philosophy, allowing me to do `from nixpkgs import scipy` anytime
License: MIT
Keywords: nix,nixos,nixpkgs,importlib

# nixpkgs-python-importer

## What

An importlib hack that allows `from nixpkgs.pythonpackagename import modulename`.

Examples:

    from nixpkgs.scipy import scipy
    import nixpkgs.scipy.scipy
    from nixpkgs.matplotlib.matplotlib import pyplot as plt
    import nixpkgs.matplotlib.matplotlib.pyplot as plt
    from nixpkgs.pillow.PIL import Image


## Why

I used to be a researcher who used `python` and `xonsh` interactively a lot.
While I appreciate the purity of Nix, sometimes I really want to violate it
and pull in some dependency into my shell *right now*,
without tearing my session down, editing and rebuilding an environment,
and then recreating my session from history.

A convenient way of spawning a `xonsh` instance with an extra dependency
soothes the nerves a bit, but doesn't really free me from the recreation part.

I started writing a `xonsh` macro that ended up being a generic Python solution
with a pleasingly nice syntax. I mean, `from nixpkgs.scipy import scipy`.
Ain't that nice?


## How

`importlib` magic


## Try

The quickest way to try it would be (on a recent NixOS):

```
nix run -f '(import <nixpkgs> {}).python3.withPackages(ps:[ps.nixpkgs])' -c python
```
then try `from nixpkgs.pbr import pbr` (or any other package).


If that doesn't work, you may also try your luck with unstable nixpkgs:

```
nix run -f channel:nixos-unstable '(import <nixpkgs> {}).python3.withPackages(ps:[ps.nixpkgs])' -c python
```
kodijsonrpc 1.1
Kodi JSON-RPC client
License: MIT

kodijsonrpc
==================

This provides a Kodi JSON-RPC client. All Kodi JSON methods can be
called as methods to the KodiJSONClient instance.

Usage
-------
This is an example given a kodi server at 192.168.0.1, using port 8000 (username='user1', password='pwd'):

.. code:: python

  server = KodiJSONClient('192.168.0.1', '8000', 'user1', 'pwd')
  server.JSONRPC.Ping()

All other Kodi JSON methods can be called in a similar way, with parameters provides as appropriate.

e.g. This would provide movie details:

.. code:: python

  params = {'properties':['title',
                          'lastplayed',
                          'thumbnail',
                          'plot',
                          'playcount',
                          'resume',
                          'file']}
  movies = server.VideoLibrary.GetMovies(params)

Requirements
---------------
This is a python package and requires the following:

- Python 3.4+
- Python jsonrpcclient package
- Python requests package

And of course to have a purpose a Kodi instance is required:

- Kodi v13 or later

Installation
---------------
Install using pip:

.. code-block:: bash

    $ pip install kodijsonrpc

Requests, Issues, Bugs or Suggestions
---------------------------------------------
Add any feature requests, issues, bugs or suggestions here: https://github.com/davgeo/kodijsonrpc/issues

Please give as much detail as possible.
sv-converter 0.1.0
Easily convert values of different units of measurement.
License: MIT

# SV Converter

A collection of functions for converting values of different units of measurement.

## Installing

    pip install sv-converter

## Relevant links:

* Official page on PyPI: https://pypi.org/project/sv-converter/
* Issue tracker: https://github.com/ihavenonickname/sv-converter/issues