semvec/pypi-packages huggingface dataset:
namespace 0.1.4
Simple namespaces
License: MIT
Requires Python: >=3.8,<4.0
Keywords: python,namespace

# namespace
Simple namespaces

## Usage
```python
>>> import namespace
>>>
>>> functions = namespace()
>>>
>>> @functions
>>> def foo(): pass
>>>
>>> functions
Namespace(foo=<function foo at 0x7fd5d249d1f0>)
>>>
>>> functions.foo
<function foo at 0x7fd5d249d1f0>
```
modcall 0.1.0
Create callable modules
License: MIT
Requires Python: >=3.8,<4.0
Keywords: python,modcall,module,callable

# modcall
Create callable modules

## Usage
**lib.py**
```python
import modcall

def hello(name: str) -> None:
    print(f'Hello, {name}!')

modcall(__name__, hello)
```

**app.py**
```python
import lib

lib('World')
```
drf-pdf-renderer 0.1.2
A simplistic/very extendable pdf renderer.
License: MIT
Requires Python: >=3.3

DRF PDF Renderer
=
A simplistic/very extendable pdf renderer.

If you use or like the project, click `Star` and `Watch` to generate metrics and i evaluate project continuity.

OBS
= 
This project is a `Beta` version, however is used in production in a big project (with custom pdf template, and manually fields instead of automatic).  
however, due to my low availability, updates may take some time.
but i will keep an eye on the PR.

# Install:
    pip install drf-pdf-renderer

# Usage:
1. Add to your `INSTALLED_APPS`, in `settings.py`:
    ```
    INSTALLED_APPS = [  
        ...
        'drf_pdf_renderer',
        ...
    ]
    ```

1. In your file:
    ```
    from rest_framework.settings import api_settings
    from drf_pdf_renderer.renderer import PDFRendererPaginated

    class YourView(...)
        renderer_classes = (*api_settings.DEFAULT_RENDERER_CLASSES, PDFRendererPaginated)
        pdf_display_fields = (['id', 'Label for ID'], )  # used only in automatic field (caution: refactor planned in futures versions)
        pdf_display_fields = ''  # contains two built-in templates ['pdf/list_landscape.html', 'pdf/list_portrait.html']
        ...
    ...

1. Mixin for paginated results
    - if you have a pagination on DRF, but require a PDF with all registries, you can use this Mixin

    ```
    from rest_framework.settings import api_settings
    from drf_pdf_renderer.mixin import PdfAllResultsMixin

    class YourView(PdfAllResultsMixin, ...)
        pdf_display_fields = (['id', 'Label for ID'], )  # used only in automatic field (caution: refactor planned in futures versions)
        pdf_display_fields = ''  # contains two built-in templates ['pdf/list_landscape.html', 'pdf/list_portrait.html']
        ...
    ...

# Advanced
1. Custom PDF Template
    - this project use [xhtml2pdf](https://github.com/xhtml2pdf/xhtml2pdf), check documentation of html constructor [here](https://xhtml2pdf.readthedocs.io/en/latest/format_html.html).
    
1. Changing PDF title
    ```
    # First way
    class YourView(...)
        pdf_title = 'My Title'
    
    # Second way
    class YourView(...)
        def pdf_get_title(self, data, context)
            return ''
    ```

1. Changing PDF download name
    ```
    # First way
    class YourView(...)
        pdf_filename = 'My Title'
    
    # Second way
    class YourView(...)
        def pdf_get_filename(self, pdf, data)
            return ''
    ```

1. Custom data to render context
    ```
    - By default `data`, `request`, `title` and `fields` will always be present (but can be rewrited)
    # Second way
    class YourView(...)
        def pdf_mount_context(data)
            return {'adm': True}
    ```
snapboost 0.1.2
Heterogeneous Newton Boosting Machine
License: MIT
Requires Python: >=3.6
Keywords: boosting gradient-boosting snapboost

# snapboost

## Hetergeneous Newton Boosting Machine
- Instead of using only decision trees as learners like XGBoost and LightGBM, HNBM uses a combination of decision trees and ridge regressors to learn more complicated patterns in data.

## Usage Instructions
* This project is published on [PyPI](https://pypi.org/project/snapboost/). To install package, run:

  ```
  pip install snapboost
  ```
nicrypt 0.0.3
A package for encrypting simple texts
License: MIT
Requires Python: >=3.7

# Nicrypt basic encryption algorithm

This is a simple package used to encrypt and decrypt both brief and long texts. The texts can be some secrets, e.g.  
api keys and secrets, cryptocurrency wallet keys, wallet recovery phrases etc. All you have to remember is it uses the same keys in decryption for for what was used for encryption and therefore you have to record and keep them in a safer place.  
  

# Usage

## In scripts
In your python script simply import the module and use as follows  
`from nicrypt.encrypt import ficha`

`encrypted_text = ficha('text to encrypt', 'enc')`. This will encrypt the suplied text.  

You can reverse the process by decrypting the text by keying in the following  

`decrypted_ext = ficha(f'{encrypted_text}', 'dec')` # notice the usage of f-strings and thus python3.7+ is needed.

NOTE: The above methods uses a specific set of encryption key and salt that you must provide. These are required to be saved as environment variables and stored as 'env_vars' dictionary like so:  

```
env_vars = {
	'key': os.environ.get('ENC_KEY'),
	'salt': os.environ.get('ENC_SALT')
}
```
NB: ficha means 'hide' in Kiswahili
cipher-xh2503 0.2.0
A package for doing great things!
License: MIT
Requires Python: >=3.9.0,<4.0.0

# cipher_xh2503

A package for doing great things!

## Installation

```bash
$ pip install cipher_xh2503
```

## Usage

- TODO

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`cipher_xh2503` was created by Xaingyu Han. It is licensed under the terms of the MIT license.

## Credits

`cipher_xh2503` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
doxygen-junit 2.3.0
Converts doxygen errors and warnings to JUnit XML format.
License: MIT
Requires Python: >=3.7
Keywords: doxygen C C++ JUnit

doxygen JUnit Converter
=======================

.. image:: https://github.com/johnthagen/doxygen-junit/workflows/python/badge.svg
    :target: https://github.com/johnthagen/doxygen-junit/actions

.. image:: https://codeclimate.com/github/johnthagen/doxygen-junit/badges/issue_count.svg
   :target: https://codeclimate.com/github/johnthagen/doxygen-junit

.. image:: https://codecov.io/github/johnthagen/doxygen-junit/coverage.svg
    :target: https://codecov.io/github/johnthagen/doxygen-junit

.. image:: https://img.shields.io/pypi/v/doxygen-junit.svg
    :target: https://pypi.python.org/pypi/doxygen-junit

.. image:: https://img.shields.io/pypi/status/doxygen-junit.svg
    :target: https://pypi.python.org/pypi/doxygen-junit

.. image:: https://img.shields.io/pypi/pyversions/doxygen-junit.svg
    :target: https://pypi.python.org/pypi/doxygen-junit/

Tool that converts `Doxygen <http://www.doxygen.org/>`_ XML output to JUnit XML
format. Use on your CI servers to get more helpful feedback.

Installation
------------

You can install, upgrade, and uninstall ``doxygen-junit`` with these commands:

.. code:: shell-session

    $ pip install doxygen-junit
    $ pip install --upgrade doxygen-junit
    $ pip uninstall doxygen-junit

Usage
-----

Redirect ``doxygen`` ``stderr`` to a file:

.. code:: shell-session

    $ doxygen 2> doxygen-stderr.txt

Convert it to JUnit XML format:

.. code:: shell-session

    $ doxygen_junit --input doxygen-stderr.txt --output doxygen-junit.xml

Contributors
------------

Credit to `@theandrewdavis <https://github.com/theandrewdavis>`_ for the initial development of
the conversion tool.

Releases
--------

2.3.0 2021-11-06
^^^^^^^^^^^^^^^^

- Add Python 3.10 support, drop 3.6.

2.2.1 2020-12-30
^^^^^^^^^^^^^^^^

- Add Python 3.9 support.
- Switch to GitHub Actions for CI.

2.2.0 2020-04-21
^^^^^^^^^^^^^^^^

- Drop support for Python 3.5.

2.1.0 2020-04-18
^^^^^^^^^^^^^^^^

- Add ``--version`` CLI argument.

2.0.0 2020-03-29
^^^^^^^^^^^^^^^^

- Drop Python 2.7.

1.4.0 2019-12-14
^^^^^^^^^^^^^^^^

- Drop Python 3.4 and support Python 3.8.
- Include license file.

1.3.0 - 2018-07-09
^^^^^^^^^^^^^^^^^^

Support Python 3.7.

1.2.0 - 2018-04-03
^^^^^^^^^^^^^^^^^^

- Properly support JUnit XSD.
- Drop Python 3.3 support.

1.1.0 - 2016-12-31
^^^^^^^^^^^^^^^^^^

Support Python 3.6.

1.0.1 - 2016-10-06
^^^^^^^^^^^^^^^^^^

Handle warning labels without a space before the preceding colon.

1.0.0 - 2016-09-13
^^^^^^^^^^^^^^^^^^

First release.
amino.fix-async 2.0.1
Amino 2.0.3 fix lib. Discord - https://discord.gg/Bf3dpBRJHj
License: MIT
Requires Python: >=3.6
Keywords: aminoapps,amino.fix-async,amino,amino-bot,narvii,api,python,python3,python3.x,minori

### Discord
`https://discord.gg/Bf3dpBRJHj`
### About lib
`Fix Amino.py 2.0.3`
### How to install?
`pip install amino.fix-async`
pgrest 0.7.0
A Python client library for PostgREST APIs. 
License: MIT
Requires Python: >=3.7,<4.0

# pgrest

PostgREST client for Python. This library provides an ORM interface to PostgREST.

Fork of the supabase community Postgrest Client library for Python.

[Documentation](https://anand2312.github.io/pgrest)

## TODOS:

[] upsert methods
[x] AND/OR filtering (v0.6.0)
[] allow users to pass response models?
[] add configuration parameter to text-search functions