semvec/pypi-packages huggingface dataset:
cheapodb 0.0.11
Opinionated implementation of AWS Glue
License: MIT
Keywords: data,aws

# cheapodb
[![CircleCI](https://circleci.com/gh/mineralzen/cheapodb.svg?style=svg)](https://circleci.com/gh/mineralzen/cheapodb)
[![PyPI version](https://badge.fury.io/py/cheapodb.svg)](https://badge.fury.io/py/cheapodb) 

A very opinionated, very basic implementation of AWS Glue targeting Athena and S3.  

This is probably only useful to us. We wanted a dirt cheap way to persist scraped, raw data with
querying ability.
thonny-pi 1.5
Raspberry Pi customizations for Thonny IDE
License: MIT
Requires Python: >=3.5
Keywords: IDE education programming  Thonny Raspberry Pi

Thonny plug-in which adds Raspberry Pi theme.
More info about Thonny: https://thonny.org.

NB! This plug-in is only relevant for Thonny 3.0 and 3.1. In later versions this functionality is included in main package.
py-tps 0.1.7
This is a simple library for reading and writing .tps files as created and used by the tpsDig landmarking tool created by F. James Rohlf.  https://life.bio.sunysb.edu/morph/
License: MIT
Requires Python: >=3.6,<4.0

This is a simple library for reading and writing .tps files as created and used by the tpsDig landmarking tool
created by F. James Rohlf.  https://life.bio.sunysb.edu/morph/

Installation
============
The primary way to install is from pip::

    pip install py_tps

Installation from source is managed via poetry. https://pypi.org/project/poetry/
Source can be obtained from https://gitlab.com/ryan-feather/py_tps

To install, first install poetry.

*Note for conda users*

In order to use a conda environment with poetry, you must first configure poetry to use your conda environment and
not create a new virtualenv environment. Example::

    poetry config settings.virtualenvs.path $CONDA_ENV_PATH
    poetry config settings.virtualenvs.create 0

Then run::

  poetry install
  poetry build
  cd dist
  pip install *.whl

Usage
=====
::

    from py_tps import TPSFile, TPSImage, TPSCurve, TPSPoints
    import numpy as np

    # construct and write
    # numpy is used for numeric data
    points = TPSPoints(np.asarray([[33,44],
                                   [44,45]]))
    curve = TPSCurve(points)
    image = TPSImage('T1.JPG', curves=[curve], id_number=0, comment="This is a test", scale=0.0045)
    tps_file = TPSFile([image]) # can have many images, but here we do just one
    tps_file.write_to_file('TestFile.TPS')

Creates a file with the contents::

    LM=0
    CURVES=1
    POINTS=2
    33 44
    44 45
    IMAGE=T1.JPG
    ID=0
    COMMENT=This is a test
    SCALE=0.0045


Now to read::

    tps_file_in =TPSFile.read_file('TestFile.TPS')
    # now can access images list, and so on.  Attributes have the same names as they do in the objects above.
    print(tps_file.images[0].image) # T1.JPG
    print(tps_file.images[0].curves[0].tps_points.points) # [[33,44],[44,45]]

Landmarks can be set instead of or with curves. If we instead do::

        image = TPSImage('T1.JPG', landmarks=points, id_number=0, comment="This is a test", scale=0.0045)

It creates the file with contents::

    LM=2
    33 44
    44 45
    IMAGE=T1.JPG
    ID=0
    COMMENT=This is a test
    SCALE=0.0045
py-hacker-news 1.0.4
Command Line tool for browsing HackerNews articles
License: MIT

# **Py Hacker News**

#### A Simple command line tool written in python to browse Hacker news.

## **Introduction**
>Hacker News is a social news website focusing on computer science and entrepreneurship.  

py_hacker_news is a command line tool which fetches and displays results from Hackernews website.
You can browse latest, top and past articles from the command line itself. 

## **Installation**
py_hacker_news is written in python and can be installed with pip.  
**This program only supports python3**  
`pip3 install py_hacker_news --user`  
You need to make sure that `~/.local/bin` is in your PATH variable.  
To add this to the PATH try `export PATH=$PATH:~/.local/bin`  

You can also download source and try  
`pip install -r requirements.txt`  
`python3 -m hnews`

## **Usage**
The tool can be run from the terminal using the `hnews` command.  
You can pass in various arguments to browse different parts of the Hackernews website.  
The tool supports the following arguments:  
* type - Type of news to fetch. Options are news, latest, past. Default is news
* number - number of pages to fetch. Each pages contains 30 articles. Default is 1
* age - age of the pages to fetch. It only works is 'past' flat is passed. 
* proxy - network proxy if you are using a proxy server. 


## **Example**
`hnews` - displays 30 popular articles from hackernews  
`hnews -n 5` - displays 150 (30 * 5) popular articles from hackernews  
`hnews -t latest` - displays 30 newest articles from hackernews  
`hnews -t past -a 20 -n 2` - displays  60 (30 * 2) articles that were on front page 20 days ago from hackernews
`hnews -p https://proxy_address:port` - uses this proxy to connect to fetch articles

## **Proxy**
The tool automatically used proxy from environment variables if no proxy is provided in args. If   
a proxy flag is passed, that value is used instead. To set proxy environment variable:  
**On Linux**  
`export http_proxy=http://user:password@proxy.domain.com:port`  
`export https_proxy=http://user:password@proxy.domain.com:port`  
`export ftp_proxy=http://user:password@proxy.domain.com:port`  
**On Windows**  
`set http_proxy=http://user:password@proxy.domain.com:port`  
`set https_proxy=http://user:password@proxy.domain.com:port`  

## **Help**
In case of any trouble or if you think that the code could be improved, please open an issue of github.  
You can also contact me at hosvarshith@gmail.com
cidr-trie 3.1.2
Store/search CIDR prefixes in a trie structure.
License: MIT
Keywords: cidr ip ipv4 ipv6 trie

cidr-trie
=========

Store CIDR IP addresses (both v4 and v6) in a trie for easy lookup.

Read the documentation `here
<https://cidr-trie.readthedocs.io/en/latest/>`_.

Installation
------------

- Using pip:

.. code-block:: bash

    $ pip install cidr-trie

- From source (Git):

.. code-block:: bash

    $ git clone https://github.com/Figglewatts/cidr-trie.git
    $ cd cidr-trie
    $ python setup.py install

- From source (PyPI):

.. code-block:: bash

    $ wget https://files.pythonhosted.org/packages/6b/53/118c09dc2c294f41b12007634d53ed33219d15366ea8a1903fb98eb47c25/cidr_trie-1.0.tar.gz
    $ tar xvf cidr_trie-1.0.tar.gz
    $ cd cidr_trie-1.0
    $ python setup.py install

Usage
-----
cidr-trie can be used to build a trie of IP networks, storing data
on each node. The stored data can be of any type.
Shown here is an example of building both IPv4 and IPv6 tries with data,
and then retrieving data from both tries.

.. code-block:: python

    from cidr_trie import PatriciaTrie

    # --- supports IPv4 ---
    trie = PatriciaTrie()
    trie.insert("0.0.0.0/0", "Internet")
    trie.insert("32.0.0.0/9", "RIR-A")
    trie.insert("32.128.0.0/9", "RIR-B")
    trie.insert("32.32.0.0/16", "another")
    trie.insert("32.32.32.0/24", "third")
    trie.insert("32.32.32.32/32", "you")
    trie.insert("192.168.0.1/32", "totally different")
    trie.insert("33.0.0.0/8", "RIR3")
    trie.insert("64.0.0.0/8", "RIR2")

    # nodes: ['Internet', 'RIR-A', 'another', 'third', 'you']
    nodes_for_prefix = trie.find_all("32.32.32.32")

    # prints "Internet, RIR-A, another, third, you"
    print(', '.join(n.value for n in nodes_for_prefix))

    # nodes: ['Internet', 'totally different']
    trie.find_all("192.168.0.1/32")

    # nodes: ['Internet', 'RIR-B']
    trie.find_all("32.192.0.0/10")

    # --- supports IPv6 ---
    trie = PatriciaTrie()
    trie.insert("::/0", "Internet")
    trie.insert("1234::/16", "Test")
    trie.insert("1234:1001::/32", "Another one")
    trie.insert("1234:1001:1920::/48", "A third")
    trie.insert("1234:1001:1920:2000:2020::/96", "A fourth")
    trie.insert("1234:1001:1920::ffff", "A different one")

    # nodes: ['Internet', 'Test', 'Another one', 'A third', 'A fourth']
    trie.find_all("1234:1001:1920:2000:2020::/128")

    # nodes: ['Internet', 'Test', 'Another one', 'A third', 'A different one']
    trie.find_all("1234:1001:1920::ffff")