semvec/pypi-packages huggingface dataset:
pingsubnet 0.1.1
A Python script that pings all potential IPv4 addresses in a subnet and reports response times.
Requires Python: >=3.9

PingSubnet
==========

.. image:: https://readthedocs.org/projects/pingsubnet/badge/
   :target: https://pingsubnet.readthedocs.io/en/latest/

A Python script that will detect network adapters and ping every potential IPv4 address in the subnet.

If more than one network adapter is present, it will attempt to determine if any are invalid (possessing a loopback or self-assigned address) and present the user with a list of adapters to choose from.

The output is printed to the screen in tab-separated format (TSV) with a header row.  This makes it easy to import into a spreadsheet or database.

Here is a (partially sanitized) example run:

.. code-block:: console

    Starting PingSubnet at 2024-12-31 23:59:59

    Network Interfaces Detected:
      0 - Ethernet - 192.168.42.200
      1 - Ethernet 2 - 192.168.56.1
    Enter the number to the left of your selection (or 'x' to exit): 0

    Detected properties:
      Windows operating system
      interface name: Ethernet
      local hostname: NunYa
      local IP address: 192.168.42.200
      local network mask: 255.255.255.0
      local MAC address: 00:01:02:AA:BB:C8

    Pinging addresses from 192.168.42.0 to 192.168.42.255

    Threading 254 pings, pinging each host 3 times, and using a timeout of 5000 milliseconds...
    Starting all threads...
    Waiting for all threads to finish...

    All online host IP and MAC addresses:
    IP	MAC	Hostname	Ping	ping unit
    192.168.42.1	00:01:02:AA:BB:01		1.6	ms
    192.168.42.2	00:01:02:AA:BB:02		5.5	ms
    192.168.42.3	00:01:02:AA:BB:03	homeassistant	1.6	ms
    192.168.42.4	00:01:02:AA:BB:04	pi.hole	1.1	ms
    (truncated for brevity)
    192.168.42.200	00:01:02:AA:BB:C8	NunYa	12.5	ms

    44 out of 254 hosts responded to a ping within 5.0 seconds.
    Scanning took 12.22 seconds.

    Goodbye from PingSubnet

In that example you will see the first two devices did not return a hostname.  I still haven't figured out why the socket library can sometimes detect the hostname and sometimes cannot.  If anyone knows, tell me, so I can update this code (or update my DHCP server) to better handle hostnames.

Documentation
=============

For detailed information on how to install and use this tool, please refer to the `official documentation`_.

.. _official documentation: https://pingsubnet.readthedocs.io/en/latest/

.. image:: https://www.codefactor.io/repository/github/adamjhowell/pingsubnet/badge
   :target: https://www.codefactor.io/repository/github/adamjhowell/pingsubnet
fmeflowclient 0.1.6
A Python client for interacting with FME Flow via its REST API
Requires Python: >=3.7
Keywords: API, Client, FME, FME Flow, REST

# fmeflowclient
fmeflowclient is a simple Python 3.x library for communicating with an FME Flow server using its rest API.

## Install fmeflowclient
fmeflowclient is available on PyPI:

```bash
$ python -m pip install fmeflowclient
```

fmeflowclient is currently developed on Python 3.11.

**This is not an offical client**

## Read The Docs
https://fmeflowclient.readthedocs.io

## Implemented API calls
### Automations
* list all workflows (fmecli.automations.all())
* list all tags (fmecli.automations.tags)

... and more not yet covered in the readme

## Sample usage
### Initialize the FME Flow API Client
```python
from fmeflowclient import FMEFlowClient
fmecli = FMEFlowClient("https://fmeflow-fqdn/", token="FMETOKENHERE")
```
### Get all workspace owners
```python

# Get a list of dictionaries of all workspaces
workspaces = fmecli.workspaces.all()

# Create a set of workspace owners
workspace_owners = {ws["userName"] for ws in workspaces}

print(workspace_owners)
```
### Healthcheck
```python
print(fmecli.healthcheck["status"])
```
django-sh 1.0.28
Django shell app for browser

# django-sh
Django shell 


## Installation
```
pip install django-sh
```

## Add django-sh to INSTALLED_APPS
```
INSTALLED_APPS = [
    # ...
    "sh",
    # ...
]
```

## Add the urls
```
from django.urls import include

urlpatterns = [
    # ...
    path('sh/', include('sh.urls')),
    # ...
]
```

## Migrate 
```
python manage.py migrate
```

## Info
In order to modify this app, you would need to create a new project and install this app on it to be able to run it, after that you need to include the django_sh into the INSTALLED_APPS and also the URLS to the project.

Create a superuser 

Login into django admin, once you log in go to the url you asigned.
wt-django-tools 1.0.0
A set of tools and abstractions for Django projects.
Requires Python: >=3.9
Keywords: django

# wt-django-tools
[![Pytest](https://github.com/ian-wt/wt-django-tools/actions/workflows/pytest.yaml/badge.svg?branch=master)](https://github.com/ian-wt/wt-django-tools/actions/workflows/pytest.yaml)
[![codecov](https://codecov.io/gh/ian-wt/wt-django-tools/graph/badge.svg?token=9MHTDPGG1N)](https://codecov.io/gh/ian-wt/wt-django-tools)

Tools and abstractions for Django projects.

## Installation
This project isn't yet published on PyPI. To install directly from GitHub using pip:
```shell
pip install "wt-django-tools @ git+https://github.com/ian-wt/wt-django-tools.git@master"
```
Once installed, add ```wt_tools``` to ```INSTALLED_APPS``` in your settings module.
```shell
INSTALLED_APPS = [
  ...
  'wt_tools',
]
```

## Use
### Pagination Tags
To use the ```pagination_tags``` templatetags library in your project,
first load the tags with ```{% load pagination_tags %}.```

To use the ```relative_url``` tag, you need to pass to the tag a page index.
This could be a number or the string ```'last'``` if the index is in the final
position of the paginated ```QuerySet```. The tag additionally accepts optional
arguments for ```field_name``` and ```urlencode```.

Most often, you'll leave the ```field_name``` parameter alone since the default
value of ```'page'``` is fairly semantic as it is. But, this value can be
overridden in your views so make sure your views and the ```field_name``` arg
passed to the tag are consistent.

Last, the ```urlencode``` parameter is used when a query string may be present.
If your view won't ever handle a query string, then you can leave the default
value of ```None``` alone.

#### Example
```html
{% extends 'base.html' %}
{% load pagination_tags %}
<h1>Hello World!</h1>
<a href="{% relative_url page_obj.next_page_number %}"
```
To extend this example further we can supply values to override the defaults:
```html
{% extends 'base.html' %}
{% load pagination_tags %}
<h1>Hello World!</h1>
<a href="{% relative_url page_obj.next_page_number 'page' request.GET.urlencode %}"
```

#### Note
To use this tag alone, adding ```wt_tools``` to ```INSTALLED_APPS``` isn't
completely necessary. You could alternatively update ```TEMPLATES``` to
include ```pagination_tags``` directly:
```python
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                ...
            ],
            'libraries': {
                'pagination_tags': 'wt_tools.templatetags.pagination_tags',
            }
        },
    },
]
```
However, I only recommend taking this approach if you're certain you'll use no
other features (which may need explicit installation) from this package.
simple-calculator-Hadeel-hail-alward 0.1.1
A simple calculator package for basic arithmetic operations
Requires Python: >=3.7

هديل هايل الورد
لقد قمت بتطوير كود يُوفّر العمليات الحسابية الأساسية، مثل:

الجمع    الطرح
الضرب   القسمة


وقمت بتحويل هذا الكود إلى مكتبة جاهزة للاستخدام بلغة بايثون.

طريقة التثبيت والاستخدام:
إذا كنت تستخدم محرر Visual Studio Code، افتح الطرفية (Terminal) ثم نفّذ الأمر التالي لتثبيت المكتبة:

pip install simple-calculator-Hadeel-hail-alward