semvec/pypi-packages huggingface dataset:
stubwheel 1.0.7
a script that reserves a project name on PyPi

# stubwheel
a script that reserves a project name on pypi

## installation
```sh
pip install stubwheel
```

## usage
```sh
stubwheel --name <PACKAGE_NAME>
```
#### other options:
```sh
stubwheel --help
```
```
  -h, --help         show this help message and exit
  --name NAME        package name (required)
  --version VERSION  package version (optional)
  --url URL          package url (optional)
  --author AUTHOR    author name (optional)
  --email EMAIL      author email (optional)
  --desc DESC        package description (optional)
```
aci2apstra 0.1.0
A tool for converting an ACI APIC configuration to an Apstra configuration, outputted as a Terraform configuration.
Requires Python: >=3.6

# ACI to Apstra Converter

A tool for converting an ACI APIC configuration to an Apstra configuration, outputted as a Terraform configuration.

## Getting Started

These instructions will help you set up and run the project on your local machine.

## Prerequisites

You need to have the following installed:
- Python 3.x
- Required Python packages (listed in `requirements.txt`)

## Installing

Follow these steps to set up the development environment:

1. **Clone the repository**:
    ```bash
    git clone https://github.com/yourusername/aci-to-apstra.git
    cd aci-to-apstra
    ```

2. **Install the required packages**:
    ```bash
    pip install -r requirements.txt
    ```

## Running the Project

To run the project, the user must download the APIC configuration JSON file directly from the APIC appliance.

Once the APIC config JSON is downloaded, run the following command:
```bash
python3 src/main.py
```

## Deployment

Additional notes on how to deploy this project on a live system will be provided here.

## Built With

* Python - The main programming language used
* Jinja2 - Template engine for Python
* Terraform - Infrastructure as Code tool

## Authors

* Adam Jarvis
* Mohamed Abouzeina

## License

This project is licensed under the MIT License - see the LICENSE file for details.
MilesToMuppets 0.0.19
A conversion package to convert Miles to how many songs you can listen to from the Muppets Album
Requires Python: >=3.8

# Miles to Muppets
A calculator that converts mile distance to how many Muppets songs you can listen to.

# Setup

- first, install milesToMuppets with pip.
    - `pip install milesToMuppets`
    - `python3 -m pip install milesToMuppets`

- next, import milesToMuppets<br>
`import milesToMuppets` <br>

- in the code, set up your class object, passing in your Spotify client id and client secret (which can be obtained from [Spotify for Developers](https://developer.spotify.com/) for free) <br>
`foo = milesToMuppets.MilesToMuppets(client_id = client_id, client_secret = client_secret)` <br>

    - When initializing the class, if you want it to print its session data, initialize the class as so. <br>
`foo = milesToMuppets.MilesToMuppets(client_id = client_id, client_secret = client_secret, do_print = True)`

- next, set the distance you are going, in miles. This number can be anything, but 60 is used as an example here. <br>
  `foo.set_mile_distance(60)`

- set the speed at which you are traveling, in mph. This number can be anything, but 30 is used as an example here. If you do not set a speed, it defaults to 60. <br>
`foo.set_speed(30)`

- choose what album you want to use. To do this, you need to print out the list of valid albums and pick the number associated with it. You can do this by requesting the current album dictionary, as shown below. <br>
`albums = foo.get_albums()` <br>

- then, put your selection into the following function. In this case, we are using 0. <br>
`foo.set_album(0)`

- finally, run the function to evaluate the album and return a dictionary with the results.<br>
`foo.evaluate_album()`
    - If you want to enable printing, set "print_cycle" to false. <br>
    `foo.evaluate_album(print_cycle = True)`
    - If you want to disable the delay between prints, set "do_delay" to false. <br>
    `foo.evaluate_album(do_delay = False)`


# Other functions

- `muppet.get_help()` - Will print out some information to help you.

- `muppet.get_session_data()` - will return your session token, and your auth header in a dict.
  
- `muppet.get_license()` - Will print out what license this project is using.

- `muppet.get_credits()` - Will print out the credits for the development of this project.
xrpl-plugin 0.2.5
XRPL Plugins
Requires Python: >=3.8

# Python Plugins

This folder contains everything needed to build and run a Python plugin (other than the rippled code).

## Build & Run

```bash
pip install xrpl-plugin
plugin-build path/to/plugin.py
# edit rippled.cfg to include the plugin.xrplugin in a [plugins] stanza
# run rippled with the `plugin` branch and submit plugin transactions to it
```

## Concepts

### Keylet

A Keylet identifies a key in the state map and its ledger entry type. Keylet is a portmanteau of the key and LET, an acronym for LedgerEntryType.

### LedgerEntryType

Each ledger object requires a unique type identifier, which is stored within the object itself; this makes it possible to iterate the entire ledger, determine each object's type and verify that the object you retrieved from a given hash matches the expected type.

## Notes

pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code.
The plugin exposes the code in [main.cpp](./src/main.cpp) as python bindings.

Then we can use in our plugin the following:

- **models** (classes):

  - Transactor
  - SType (it has a parse_value method)
  - TERCode
  - LedgerObject
  - InvariantCheck
  - InnerObject

- **sfields** (ST fields, serialized fields that can be included in transactions and ledger objects):

  - SF_ACCOUNT
  - SF_AMOUNT
  - SF_UINT8
  - ...

- **stypes** (all STObjects, serialized types):

  - STAmount
  - STObject
  - STArray
  - ...

- **return_codes** (Existing TER return codes):

  - tesSUCCESS
  - temMALFORMED
  - ...

- **basic_types** (basic/fundamental types):

  - AccountID
  - XRPAmount
  - Seed
  - IOUAmount
  - ...

- **keylets** (as per definition above):

  - account_keylet
  - escrow_keylet
  - trustline_keylet
  - offer_keylet
  - ...

- **ledger_objects** (for ledger object manipulation):

  - LedgerEntryType
  - LedgerSpecificFlags

- **transactors** (contexts and other classes used in transaction processing):

  - Rules
  - Fees
  - TimePoint
  - LedgerInfo

- **build** (for the build process)
- **nfts** (utility methods for working with NFTs)