semvec/pypi-packages huggingface dataset:
beepy-web 0.10.1
The modern frontend web framework for Python
Requires Python: >=3.10.10

# 🐝 BeePy

[![NPM Package](https://img.shields.io/npm/v/@kor0p/beepy)](https://www.npmjs.com/package/@kor0p/beepy)
[![PyPI Package](https://img.shields.io/pypi/v/beepy-web.svg)](https://pypi.org/project/beepy-web/)
[![Documentation](https://cdn.jsdelivr.net/gh/Andre601/devins-badges@v3.x-mkdocs-material/assets/compact-minimal/built-with/mkdocs-material_vector.svg)](https://bee-py.readthedocs.io/en/latest/)

## The _frontend_ web framework for python
### Thanks for [Pyodide](https://pyodide.org/) - port of Python to [Emscripten](https://emscripten.org/), based on [WASM](https://webassembly.org/).
### Use Python in browser to build modern frontend via BeePy!

## Try it out! [CodeSandBox](https://codesandbox.io/s/beepy-two-synced-counters-k5sm9j) and [BeePy Sandbox](https://kor0p.github.io/BeePy-examples/sandbox)

## Join our community at [Telegram chat](https://t.me/bee_py/)
## [Documentation](https://kor0p.github.io/BeePy-examples/sandbox) | [PyPI](https://pypi.org/project/beepy-web/) | [NPM](https://www.npmjs.com/package/@kor0p/beepy)

## Local development:
### Install BeePy
### `pip install -U beepy-web[dev]`
### Then just start local server
### `beepy dev --init`
### And that's it!

### Now, click on link in console to visit your server
### and change code to see updates in browser in no time!

Code (custom_url.py from examples):
```python
from beepy import Tag, mount, state, on

class IncrementButton(Tag, name='button'):
    count = state(0)

    @on
    def click(self):
        self.count += 1

    def content(self):
        return f'Count: {self.count}'

mount(IncrementButton(), '#root')
```
will render html as below, and will react on buttons click like native JS
```html
<body>
    <div id="root">
        <button>
            <div>Count: 5</div>
        </button>
    </div>
</body>
```

## Examples:
- [List of examples (with Tabs)](https://beepy-web-ba63e5a12994.herokuapp.com/e/)
- [Admin panel](https://beepy-web-ba63e5a12994.herokuapp.com/e/admin)
- [Dynamic plot](https://beepy-web-ba63e5a12994.herokuapp.com/e/plot)
- [First try](https://beepy-web-ba63e5a12994.herokuapp.com/e/buttons)
- [Todo List](https://beepy-web-ba63e5a12994.herokuapp.com/e/todos)
- [Modal](https://beepy-web-ba63e5a12994.herokuapp.com/e/modal)
- [Context Menu](https://beepy-web-ba63e5a12994.herokuapp.com/e/context-menu)
- [Dynamic URL](https://beepy-web-ba63e5a12994.herokuapp.com/e/dynamic-url)
- [Timer](https://beepy-web-ba63e5a12994.herokuapp.com/e/timer)
- [Input's model](https://beepy-web-ba63e5a12994.herokuapp.com/e/text-sync)
- [Multiple apps on one page](https://beepy-web-ba63e5a12994.herokuapp.com/multiple-apps)
- [Just the other one example](https://beepy-web-ba63e5a12994.herokuapp.com/e/custom_url)
- [BeePy Sandbox](https://kor0p.github.io/BeePy-examples/sandbox)
ezalpy 0.1
Modul with System Extension and many more Features, available for Linux and Windows

ezalpy
======

.. image:: https://img.shields.io/pypi/v/ezalpy.svg
    :target: https://pypi.org/project/ezalpy/
    :alt: PyPI Version

.. image:: https://img.shields.io/github/stars/DevMasterLinux/al.py.svg
    :target: https://github.com/DevMasterLinux/al.py
    :alt: GitHub Stars

.. image:: https://img.shields.io/github/v/release/DevMasterLinux/al.py.svg
    :target: https://github.com/DevMasterLinux/al.py/releases
    :alt: GitHub Release

Install
-------

Via pip (Stable)

.. code-block:: bash

    python3 -m pip install --upgrade pip
    pip install al

Via Self Build (Stable, Beta)

.. code-block:: bash

    git clone https://github.com/DevMasterLinux/al.py
    cd al.py
    pip install .

Via Release: Download the `latest release here <https://github.com/DevMasterLinux/al.py/releases>`__
Copy the URL and Run

.. code-block:: bash

    pip install <url>

Or 

.. code-block:: bash
    
    mkdir tmp
    cd tmp
    wget <url>
    cd ..
    pip install tmp/*

The release includes a .so file, use this as a module if you wish for fast import.

How to use (System)
--------------------

Import the System Class, Create a Connection

.. code-block:: python

    import platform
    from al import System
    system = System(platform.system())
    
Now Use the Connection

Run Commands

.. code-block:: python

    system.run(command)

Make a Directory

.. code-block:: python

    system.mkdir(path)

For more, use an IDE.

How to use (Manipulate)
--------------------------

Import the Manipulate Class

.. code-block:: python

    import platform
    from al import Manipulate
    m = Manipulate(platform.system())

Print a Message at X, Y

.. code-block:: python

    m.print(x, y, text)
dedust 1.1.4
DeDust - DeDust SDK for Python.

# DeDust SDK for Python

Analogue of DeDust SDK for Python.

## Description

You can swap tokens, deposit liquidity and many more.

## Getting Started

### Dependencies

* pytoniq

### Installing

```
pip install dedust
```

### Using

Example of buying $SCALE using SDK.

```python
from dedust import Asset, Factory, PoolType, SwapParams, VaultNative
from pytoniq import WalletV4R2, LiteBalancer
import asyncio
import time

mnemonics = ["your", "mnemonics", "here"]

async def main():
    provider = LiteBalancer.from_mainnet_config(1)
    await provider.start_up()

    wallet = await WalletV4R2.from_mnemonic(provider=provider, mnemonics=mnemonics)

    SCALE_ADDRESS = "EQBlqsm144Dq6SjbPI4jjZvA1hqTIP3CvHovbIfW_t-SCALE"

    TON = Asset.native()
    SCALE = Asset.jetton(SCALE_ADDRESS)

    pool = await Factory.get_pool(pool_type=PoolType.VOLATILE,
                                  assets=[TON, SCALE],
                                  provider=provider)
                                  
    swap_params = SwapParams(deadline=int(time.time() + 60 * 5),
                             recipient_address=wallet.address)
    swap_amount = int(float(input("Enter swap amount: ")) * 1e9)

    swap = VaultNative.create_swap_payload(amount=swap_amount,
                                           pool_address=pool.address,
                                           swap_params=swap_params)

    swap_amount = int(swap_amount + (0.25*1e9)) # 0.25 = gas_value

    await wallet.transfer(destination="EQDa4VOnTYlLvDJ0gZjNYm5PXfSmmtL6Vs6A_CZEtXCNICq_", # native vault
                          amount=swap_amount,
                          body=swap)

asyncio.run(main())
```

## Authors

[@shibdev](https://t.me/dogpy)
[@VladPavly](https://t.me/dalvpv)

## Version History

* 1.1.4
    * Fixed `estimate_deposit_out` get method
* 1.1.2
    * Update examples, fix bug with VaultNative
* 1.1.1
    * Removed httpx from dependencies
* 1.1.0
    * Change tonsdk to pytoniq
* 1.0.5
    * Changes
* 1.0.4
    * Bug fix
* 1.0.3
    * Fixes
* 1.0.2
    * Fixes and changes
* 1.0.1
    * Small fix
* 1.0.0
    * Remake to DeDust SDK analogue
* 0.0.5
    * License change
* 0.0.4
    * Dependecies fix
* 0.0.3
    * Examples fix
* 0.0.2
    * LP token address getting
* 0.0.1
    * Initial Beta

## License

This project is licensed under the MIT License - see the LICENSE.md file for details

## Donate

If you like the library, I will be glad to accept donations.

* TON: EQCgphx8rTI0PukwmgpVqiPgqguTujhQscg2h7jgc4U0t347

## Acknowledgments

* [dedust-sdk](https://github.com/dedust-io/sdk)
* [dedust-docs](https://api.dedust.io)
PyTorch-Beacon 0.1.0
A lightweight helper library for PyTorch
Requires Python: >=3.6


![beacon](https://github.com/Lukelele/PyTorch-Beacon/assets/44749665/3e1a344e-e506-40b3-8dcc-2b7a51fb00c1)

PyTorch-Beacon
--------------

A lightweight wrapper library for PyTorch with the purpose of simplifying training and testing models.\

Installation
------------
```pip install pytorch-beacon```