semvec/pypi-packages huggingface dataset:
netx-fdl-compiler 0.1.3
Flash device label compiler for Hilscher netX90
Requires Python: >=3.7

# FDL Compiler

This Python module helps compile and decomplie flash device label (FDL) blobs used to configure the 
[Hilscher netX90](https://www.hilscher.com/products/product-groups/network-controller/asics/netx-90/). 
This allows the configuration to be edited in a convienent text format (YAML) and then compiled into 
a blob that can be flashed to the netX.

This project includes the fdl_compiler module, which can compile or decompile files, as well as a schema for the YAML
configuration file for easier editing.

If using Visual Studio Code, the included settings can help configure validation using the YAML plugin (must be
installed separately).

# Usage
```Shell
python -m netx_fdl_compiler compile {source}.yaml {destination}.fdl
```
```Shell
python -m netx_fdl_compiler decompile {source}.fdl {destination}.yaml
```

For more information about the contents of a flash device label, please refer to the [documentation from Hilscher](https://kb.hilscher.com/display/NETX/FDL+-+Flash+Device+Label)

An example of a YAML FDL description is below:
```YAML
Device:
  Manufacturer: 1
  Class: NETX90
  Device Number: 7833000
  Serial Number: 20000
  Hardware Compatibility: 1
  Hardware Revision: 3
  Production Date: 2017-W43
MAC Addresses:
- 02:00:00:1e:99:00
- 02:00:00:1e:99:01
- 02:00:00:1e:99:02
- 02:00:00:1e:99:03
APP MAC Addresses: []
OEM Identification:
  Options:
    SerialNumber: false
    OrderNumber: true
    HWRevision: false
    ProductionDate: false
  Serial Number: ''
  Order Number: TEST
  Hardware Revision: ''
  Production Date: ''
  Custom Data: null
Flash Layout:
- Type: HWCONFIG
  Start: 1048576
  Size: 8192
  Chip: INTFLASH0
  Name: HWConfig
  Access: O_RDONLY
- Type: FDL
  Start: 1056768
  Size: 4096
  Chip: INTFLASH0
  Name: FDL
  Access: O_RDONLY
- Type: FW
  Start: 1060864
  Size: 512000
  Chip: INTFLASH0
  Name: FW
  Access: O_RDONLY
- Type: FWUPDATE
  Start: 1572864
  Size: 389120
  Chip: INTFLASH1
  Name: FWUpdate
  Access: O_RDWR
- Type: MFW_HWCONFIG
  Start: 1961984
  Size: 8192
  Chip: INTFLASH1
  Name: MFW_HWConfig
  Access: O_RDONLY
- Type: MFW
  Start: 1970176
  Size: 86016
  Chip: INTFLASH1
  Name: Maintenance
  Access: O_RDONLY
- Type: REMANENT
  Start: 2056192
  Size: 32768
  Chip: INTFLASH1
  Name: Remanent
  Access: O_RDWR
- Type: MANAGEMENT
  Start: 2088960
  Size: 8192
  Chip: INTFLASH1
  Name: Management
  Access: O_RDWR
- Type: NONE
  Start: 0
  Size: 0
  Chip: INTFLASH0
  Name: ''
  Access: O_RDONLY
- Type: NONE
  Start: 0
  Size: 0
  Chip: INTFLASH0
  Name: ''
  Access: O_RDONLY
Chip Table:
- Chip: INTFLASH0
  Driver: ''
  Block: 4096
  Size: 524288
  Cycles: 10000
- Chip: INTFLASH1
  Driver: ''
  Block: 4096
  Size: 524288
  Cycles: 10000
```
DiscordFilter 0.0.3
A Way For Detecting Discord Scams (Updated)

# DiscordFilter
Use This To Find Filtered Discord Words Like Nitro Scams

[![Downloads](https://pepy.tech/badge/DiscordFilter)](https://pepy.tech/project/DiscordFilter)
[![Downloads](https://pepy.tech/badge/DiscordFilter/week)](https://pepy.tech/project/DiscordFilter)
[![Downloads](https://pepy.tech/badge/DiscordFilter/month)](https://pepy.tech/project/DiscordFilter)
[![Requires: Python 3.x](https://img.shields.io/pypi/pyversions/DiscordFilter.svg)](https://pypi.org/project/DiscordFilter/)
[![Version: 0.0.2](https://img.shields.io/pypi/v/DiscordFilter.svg)](https://pypi.org/project/DiscordFilter/)

### Setup:
``pip3 install DiscordFilter``

[Github](https://github.com/DiscordFilter "github.com/PirxcyFinal/DiscordFilter")
requestsWS 0.0.17
The Requests like WS module
Keywords: python,requests,websocket

# RequestsWS
The Requests like WS module

# Installation
```
pip install requestsWS
```

# Usage
Sessions is not documented yet, but it works like requests
```python
import requestsWS

payload = {
    "message": "hello world!"
}
resp = requestsWS.post("wss://localhost:8765", identifiers={"message": "Hi there!"}, json=payload)
print(resp.text)

payload = {
    "method": "server.ping"
}
requestsWS.keepConnection('wss://localhost:8765', interval=20, json=payload)

payload = "hello world"
resp = requestsWS.post("wss://localhost:8765", data=payload)
print(resp.json())
```

# TO DO
   - Multiple connections at once (Use array instead of string), until then use Sessions
   - Add support for identifiers that are deeper into the json
   - Add string support for identifier (Check if identifier in string)
   - Add string support for identifier (Check if identifier in string)  
   - Fix timeout  

# Documentation
Coming soon!
current-path 0.0.4
A small library for getting current path data for a script that imports this library.
Requires Python: >=3.6

# current_path

![badge][coverage_badge_link]

`current_path` is a small library for getting current 
path data for a script that imports this library.

## Installation
`pip install current-path`

## Usage

Get the current file's path which imports `current-path`:

```python
from current_path import current_file

if __name__ == '__main__':
    print(current_file())
```

Get the current directory's path which contains the file 
which imports `current-path`:

```python
from current_path import current_dir

if __name__ == '__main__':
    print(current_dir())
```

Temporarily change the current working directory to the file's directory
until the code block under the context manager has been completed:

```python
from current_path import current_dir_as_cwd
import os


def create_file(path: str):
    with open(path, 'w'):
        """File has been created."""

        
if __name__ == '__main__':
    #  CWD is some arbitrary directory.
    
    with current_dir_as_cwd():
        #  CWD is this file's directory.
        os.mkdir("file_directory")
        create_file("file_0.txt")
    
    #  CWD returns to same arbitrary directory.
```

The above code ensures that, no matter which working directory the script is
invoked from, the file is created in the same location.

## License

Licensed under the [CC0 License](https://creativecommons.org/share-your-work/public-domain/cc0/).

[coverage_badge_link]:
https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/jon-edward/0cffc203e1e03b87f50004c11fd92543/raw/
sbo-templates 1.3.5
SBo tool for managing templates.
Requires Python: >=3.7
Keywords: sbo,templates,slackbuild

.. contents:: Table of Contents:


.. code-block:: bash

         _                 _                       _       _            
     ___| |__   ___       | |_ ___ _ __ ___  _ __ | | __ _| |_ ___  ___ 
    / __| '_ \ / _ \ _____| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \/ __|
    \__ \ |_) | (_) |_____| ||  __/ | | | | | |_) | | (_| | ||  __/\__ \
    |___/_.__/ \___/       \__\___|_| |_| |_| .__/|_|\__,_|\__\___||___/
                                            |_|                         


About
-----

sbo-templates it's a tool that creates easy, fast and safe SlackBuilds files scripts.

Features
--------

- Create fast and safe templates.
- Reading existing files templates for editing.
- Repairs wrong templates.
- Select editor for working (dafault is 'vim').
- Auto-import data from .info file 
  (such as maintainer name, application name, version etc.)
- Autocorrect the quotation mark in the .info file.
- Warning for failed checksums.
- Auto-update the sources checksums.


Asciicast
----------

.. image:: https://asciinema.org/a/z00ad6EfCSfNzrBczCLcl6uR8
    :width: 100
    :target: https://asciinema.org/a/z00ad6EfCSfNzrBczCLcl6uR8


Install
-------

.. code-block:: bash

    $ tar xvf sbo-templates-<version>.tar.gz
    $ cd sbo-templates-<version>
    $ ./install.sh

    or
    
    $ pip install sbo-templates --upgrade
    
    or

    $ pip install sbo-templates-<version>.tar.gz


Requirements
------------

- Requires Python 3.7+

- python3-pythondialog >= 3.5.3


Usage
-----

.. code-block:: bash

    Usage: sbotmp <sbo_name>

    Optional arguments:
      -h, --help           Display this message and exit.
      -v, --version        Show version and exit.


For a new project, you should create at first a new folder with the same name as
the project, for an existing project, come into the folder and start to edit.

Enjoy!

Screenshots
-----------

.. image:: https://gitlab.com/dslackw/images/raw/master/sbo-templates/sbo-templates-1.png
    :width: 100
    :target: https://gitlab.com/dslackw/sbo-templates


.. image:: https://gitlab.com/dslackw/images/raw/master/sbo-templates/sbo-templates-2.png
    :width: 100
    :target: https://gitlab.com/dslackw/sbo-templates


.. image:: https://gitlab.com/dslackw/images/raw/master/sbo-templates/sbo-templates-3.png
    :width: 100
    :target: https://gitlab.com/dslackw/sbo-templates


.. image:: https://gitlab.com/dslackw/images/raw/master/sbo-templates/sbo-templates-4.png
    :width: 100
    :target: https://gitlab.com/dslackw/sbo-templates

 
.. image:: https://gitlab.com/dslackw/images/raw/master/sbo-templates/sbo-templates-5.png
    :width: 100
    :target: https://gitlab.com/dslackw/sbo-templates


Copyright 
---------

- Copyright © Dimitris Zlatanidis
- Slackware® is a Registered Trademark of Patrick Volkerding.
- Linux is a Registered Trademark of Linus Torvalds.
py-bark-client 0.0.1
Bark client for Python
Requires Python: >=3.5

## py_bark_client

yet another python bark client for bark, see https://github.com/Finb/Bark

## install
```shell script
pip install py_bark_client
```

## quick start

```python
from py_bark_client import Bark
bark = Bark(server='api.day.app', keys=['your key'])
bark.push(title="hello world", content="visit baidu", group='search', level=TimelinessLevel.TIME_SENSITIVE,
          automatically_copy=True, copy='https://wwww.baidu.com')

```
traytable 0.2.1
A python package for tabulating crystallization results across many trays
Requires Python: >=3.6

# `traytable`
### A python package for tabulating crystallization results across many trays  
[![Documentation Status](https://readthedocs.org/projects/traytable/badge/?version=stable)](https://traytable.readthedocs.io/en/stable/?badge=stable)
 Documentation built via Read the Docs

`traytable` provides methods for 
 - storing all information about a crystallization screen in a dictionary of dictionaries
 - extracting and tabulating all data about "hits" into a `pandas` dataframe.  

The goal of `traytable` is for all crystallization data to be inputted once and only once, and then conveniently looked up and reused whenever needed.

You can find a jupyter notebook with a brief demonstration of package functionality [here](https://traytable.readthedocs.io/en/latest/examples/0_simple_example.html).

#### Installation
```bash
pip install traytable
```