semvec/pypi-packages huggingface dataset:
graphs-asaqib1 1.0.0
A small homework assignment to navigate through creating a python library
Requires Python: >=3.7

# Graphs Library: Dijkstra's Shortest Path
This Python library provides an implementation of Dijkstra's shortest path algorithm and other graph-related utilities. The goal of this project is to practice packaging a Python library into a 
standardized format so it can be easily installed and used.

## Repository Structure: 
```text
src/
├── graphs_asaqib1/
│   ├── __init__.py
│   ├── heapq.py
│   └── sp.py
├── test.py
├── README.md
└── pyproject.toml
```

*graphs_asaqib1/sp.py: Contains the implementation of Dijkstra’s shortest path algorithm  
*graphs_asaqib1/heapq.py: Helper function for priority queue operations  
*test.py: Script to test the library  
*pyproject.toml: Packaging configuration  
*README.md: This file which contains basic information about this library  

## Installation: 
You can install the package using pip: 
```text
pip install asaqib1==1.0.0
```

## Features: 
*Finds the shortest paths from a source vertex to all other vertices in a weighted graph  
*Supports extension with other graph algorithms  
*Uses a min-heap to efficiently select the next vertex with the smallest known distance  

## Example: 
For a graph with 9 vertices, the shortest path from vertex 0 to vertex 1 may have a cost of 4, and to vertex 8 may have a cost of 14.

## Author Information
*Author: Alizah Saqib  
*GitHub: https://github.com/asaqib1
toggl-invoice-gen 0.1.3
Take a mapping of Toggl Track projects and manually inputted rates, download a report, and generate an invoice
Requires Python: >=3.13

# Toggl Invoice Generator

A tool to take mappings of your Toggl projects and hourly rates and generate invoices from them. In addition, a detailed report is downloaded from Toggl as a PDF.

## Example Invoice

Here's what a generated invoice looks like:

[![Example Invoice](example-invoice.png)](example-invoice.pdf)

*Click the image above to view the full PDF invoice*

## Usage

This project is packaged with [uv](https://docs.astral.sh/uv/), so the easiest way to run it is to install uv and run the following command:
```bash
uvx --from toggl-invoice-gen toggl-invoice-generator
```

## Configuration

You do, however, need to either have a `config.toml` file in the current directory. If you don't, you will be prompted to enter the path to your config.toml file. The config.toml file should follow the format of [example.config.toml](example.config.toml)
New-Project-vk 0.1.3
A simple math toolkit package
Requires Python: >=3.6

# THis is simple package to install pattern
## Installation
Install it using pip

pip install New_Project


from pattern import (pyramid,right_angle,left_angle)

# pyramid 
pyramid(5)
# output 
    * 
    * *
    * * *
    * * * *
    * * * * *




# right angle
right_angle(5)
*
**
***
****
*****
# left_angle
left_angle(5)
    *
    **
    ***
    ****
asaqib1 0.0.9
A small homework assignment to navigate through creating a python library
Requires Python: >=3.7

# Graphs Library: Dijkstra's Shortest Path
This Python library provides an implementation of Dijkstra's shortest path algorithm and other graph-related utilities. The goal of this project is to practice packaging a Python library into a 
standardized format so it can be easily installed and used.

## Repository Structure: 
```text
src/
├── graphs_asaqib1/
│   ├── __init__.py
│   ├── heapq.py
│   └── sp.py
├── test.py
├── README.md
└── pyproject.toml
```

*graphs_asaqib1/sp.py: Contains the implementation of Dijkstra’s shortest path algorithm  
*graphs_asaqib1/heapq.py: Helper function for priority queue operations  
*test.py: Script to test the library  
*pyproject.toml: Packaging configuration  
*README.md: This file which contains basic information about this library  

## Installation: 
You can install the package using pip: 
```text
pip install asaqib1==0.0.9
```

## Features: 
*Finds the shortest paths from a source vertex to all other vertices in a weighted graph  
*Supports extension with other graph algorithms  
*Uses a min-heap to efficiently select the next vertex with the smallest known distance  

## Example: 
For a graph with 9 vertices, the shortest path from vertex 0 to vertex 1 may have a cost of 4, and to vertex 8 may have a cost of 14.

## Author Information
*Author: Alizah Saqib  
*GitHub: https://github.com/asaqib1
omron-sysmac-simulator 0.1.4
A library to communicate with Omron Sysmac Simulator
Requires Python: >=3.8

# Omron Sysmac Simulator Driver

This project is a Python library that enables communication with the Sysmac Studio simulator using the NexSocket.dll installed with the Omron IDE. It can be used to exercise and unit test PLC projects in the simulator without the need to connect actual hardware. The main methods are similar to the [APHYT](https://github.com/aphyt/aphytcomm) Ethernet/IP project used for real Sysmac hardware on the network, so code can be reused to test both simulated and real systems. There are some limitations on simulated systems because the NexSocket.dll does not provide as much data as Ethernet/IP.

This code modifies and expands a GPL3 module released by [Simumatik](https://github.com/Simumatik) Digital Twin platform and the modifications:

- Allow it to be used as a stand-alone Python interface to the Simulator
- Variables can be assigned PLC data types in order to implicitly format the bytes during read and write operations
- Can import a text file created by pasting the results of Sysmac Studio's "Export Global Variables" in order to define the data types of PLC variables automatically

# Creating an Import File of Published Global Variables

Begin by exporting a formatted list of published global variables by navigating Sysmac Studio's menu structure to: Tools - Export Global Variables - CX-Designer 

![Export Global Variables Dialog](docs/img/2025-01-14_Export_Variables_Dialog.png)

This should result in a dialog that alerts the user that the data has been copied to the clipboard

![Pop Up From Export Global Variables Tool](docs/img/2025-01-14_Export_Pop_Up.png)

Paste the results into a text file and save it in a location accessible to the Python code. The result should look something like this below:

![Screen Cap of Global Variables Text File](docs/img/2025-01-14-global_variables.png)

The file "global_variables.txt", created using this process, is used in the example code below.

# Example
The following code will connect to the running simulator
```python
from omron_sysmac_simulator import *
import time

sim_driver = SysmacSimulator()
sim_driver.connect()
sim_driver.populate_from_file('global_variables.txt')

var_name = "hmiPositionTarget"
for i in range(5):
    print(sim_driver.read_variable(var_name))
    time.sleep(1)
    sim_driver.write_variable(var_name, 12.34)
    print(sim_driver.read_variable(var_name))
    time.sleep(1)
    sim_driver.write_variable(var_name, 0.0)

sim_driver.disconnect()
```
astrobeckit 0.1.4
Useful quick scripts
Requires Python: >=3.8

# astrobeckit

A small package full of useful little scripts for astro.

## Installation

```bash
pip install astrobeckit
```

## Usage

[activate python environment]

And then use any of the following commands on the command line.

## papergirl
This script will scrape the arxiv new posts page for all the new papers of the day,
cross check these against lists of authors and key words that you are interested in
and only return those specific papers. It will then email this curated list straight
to your inbox.
Note that this script requires the following environment variables to be set

```bash
PAPERGIRL_PASSWORD # the app specific password
PAPERGIRL_FROM     # the email address it should be sent from
PAPERGIRL_TO       # the email address it should be sent to
```

The author and topic lists should also exist even if blank. To run:

```bash
papergirl (--topics [location of topics file] --authors [location of authors file])`
```

## synchro
This script creates a file called "splash.filenames" that lists in the correct
filenames you need for a synchronised movie with splash. It is designed to be 
used when you have several simulation folders and for whatever reason the files
have gotten out of synch. It requires the log files and a file that lists the
folders you are interested in, separated as a new line. To run:

```bash
synchro --folders_file [file that lists the folders of interest]
       (--prefix [file name prefix, e.g. disc]
        --end [when to stop movie])
```

## auto_resubmit
This script is specific to the AVON cluster at Warwick. Looks for all the subfolders
in the current directory and resubmits the simulation in there if it hasn't finished.
Assumes that the run submission script is called "run_sbatch.sh".

This script also assumes the existance of multi_run.sh, a short script that
generates linked submission jobs. It is also uploaded to this repository but
must be downloaded separately and is assumed to be in `~/runs/`. To run:

```bash
auto_resubmit (--search_string [masks for a string in the folder names]
               --dry_run [if True, just does a test run]
               --n_sub [how many linked jobs do you want submitted])
```