semvec/pypi-packages huggingface dataset:
bayne 0.2.2
Bayesian Neural Networks in Pytorch
Requires Python: >=3.6

# Bayne - Bayesian Neural Networks
Pytorch/Pyro-based Bayesian Neural Networks library

Features:
- Markov Chain Monte Carlo (MCMC)
  - Fully connected neural network with ReLU, Sigmoid, or Tanh activation
  - Configurable prior & likelihood
  - Hamiltonian Monte Carlo or NUTS sampler

Authors:
- Frederik Baymler Mathiesen, PhD student @ TU Delft, Netherlands
pyARB 1.2.0
A localization library for python utilizing Google's ARB format for Flutter
Requires Python: >=3.8

# pyARB

[![PyPI](https://img.shields.io/pypi/v/pyARB)](https://pypi.org/project/pyARB/)
![PyPI - License](https://img.shields.io/pypi/l/pyARB)

A localization library for python utilizing the ARB format for Flutter.

[Changelog](./CHANGELOG.md)

## Usage

pyARB takes a primary .arb file and generates a python code equivalent.

```txt
pyarb l10ns [-h] [-e USE_EXISTING] arb_location [target_directory]

positional arguments:
  arb_location          The directory containing the arb files.
  target_directory      Location of the generated py file. Defaults to the directory above arb_location.

optional arguments:
  -h, --help            show this help message and exit
  -e USE_EXISTING, --use-existing USE_EXISTING
                        Use existing arb files as locale list. You must specify the primary arb here
```

`pyarb l10ns path/to/directory` will prompt the user for a list of locales. The first in the list will be considered the primary locale and it will also be set as the fallback in case there is a problem with another locale. The primary `.arb` file must be present. If other locales are missing it will create the missing `.arb` file with the contents of the primary file. If a locale is already present then it will be left as it is to preserve translations already present in that file.

`pyarb l10ns path/to/directory -e en_US` will use the existing arb files as the list of allowed locales. It will use the specified locale as the primary locale, in this case: 'en_US'.

## Example

Both of the above examples will create the `generated_components.py` file at `path/to` which you can then use in your code.

```python
from path.to.generated_components import Translator, Lang

t = Translator(Lang.en_US)
print(t.followers_count(999950))
print(t.many_items("Bob", 10))

# Also supports static references
print(Translator.followers_count_static(Lang.es_ES, 6851651))
print(Translator.many_items_static(Lang.es_ES, "Juan", 3))
```

Docstrings are also provided to show what variables are needed for the translation key so your IDE can show you exactly what each localization is, what it needs, and what it will do.

## A word on arb files

If you are not sure on how arb files are formatted read through the documentation found on [localizely](https://localizely.com/flutter-arb/)

## Does not yet support

- DateTime and Object types in the .arb specification.
- The `compactLong` format for number types.
simplewiki 1.0.5
a package to simplify the wikipedia api
Requires Python: >=3.10.0

# simple wiki WIP

a simple warper for the wikipedia api 

## how to use

### install

```pip install simplewiki```

### quick start

start by setting up 
```
import simplewiki

wiki = simplewiki.wikipedia()
```
then you can get some search results
```
wiki.search("cats",5)
```
this will return a list of results and page ids:
```
[('Bengal cat', '63064'), ('Cat', '6678'), ('Cats, Cats, Cats!', '68799268'), ('Cats (musical)', '215013'), ('Tabby cat', '6412655')]
```
you can take one of the page ids a summarize it
```
wiki.summary(6678)
```
this will return a tuple with the title and summary 
```
('Cat', 'The cat (Felis catus) is a domestic species of small carnivorous mammal. It is the only domesticated species in the-')
```
but what if we just want to get the page?
```
wiki.html(6678)
```
this will return the raw html as a string:
```
...link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1038841319"/><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r10...
```
congrats you now have the wikipedia api at you fingertips

## commands

* wiki.search(keyword:str,limit:int) > results:list[tuple]
* wiki.summarize(page_id:int) > summary:str
* wiki.html(page_id:int) > html:str
* wiki.get_url(page_id:int) > url:str
dknorway 0.1.5
dknorway - Models to hold Fylke, Kommune and PostSted + import script of file from Bring (Posten).



dknorway - Models to hold Fylke, Kommune and PostSted + import script of file from Bring (Posten).
==================================================================================================

Various basic packages pulled from our source tree.

.. image:: https://travis-ci.org/datakortet/dknorway.svg
   :target: https://travis-ci.org/datakortet/dknorway

.. image:: https://readthedocs.org/projects/dknorway/badge/?version=latest
   :target: https://readthedocs.org/projects/dknorway/?badge=latest
   :alt: Documentation Status

.. image:: https://coveralls.io/repos/datakortet/dknorway/badge.png?branch=master
   :target: https://coveralls.io/r/datakortet/dknorway?branch=master
   :alt: Test Coverage

.. image:: https://gitlab.com/norsktest/dknorway/badges/master/pipeline.svg
   :target: https://gitlab.com/norsktest/dknorway/commits/master
   :alt: pipeline status

.. image:: https://img.shields.io/badge/docs-darkgreen.svg
   :target: https://norsktest.gitlab.io/dknorway
   :alt: documentation

.. image:: https://codecov.io/gl/norsktest/dknorway/branch/master/graph/badge.svg?token=JJ8CWR14SV
  :target: https://codecov.io/gl/norsktest/dknorway


Documentation
-------------

The documentation lives at http://dknorway.readthedocs.org/

Running the tests
-------------------

I use py.test to run the tests, so there might be some dependencies that
unittest.py by itself can't handle.