semvec/pypi-packages huggingface dataset:
structdc 0.0.3
Data class mapper for C structures
License: MIT
Requires Python: >=3.7

StructDC
========
.. image:: https://img.shields.io/pypi/v/structdc.svg
    :target: https://pypi.org/project/structdc/
    :alt: PyPI


Data class mapper for C structures

**Warning: alpha version, work in progress**

Install
-------
.. code:: python

    pip install structdc

Features
--------
* Supports packed and aligned structures
* Generates serialization and deserialization methods on data class creation

Example usage
-------------
.. code:: python

    from io import BytesIO
    from dataclasses import dataclass
    from structdc import StructMixin, Uint32, Uint64


    @dataclass
    class AlignedStruct(StructMixin):
        a: Uint32
        b: Uint64


    input = BytesIO(b'\xff\xff\xff\xff\x00\x00\x00\x00\xee\xee\xee\xee\xee\xee\xee\xee')
    decoded = AlignedStruct.from_bytestream(input)
    print(decoded)
    """
    AlignedStruct(a=4294967295, b=17216961135462248174)
    """


    @dataclass
    class PackedStruct(StructMixin, packed=True):
        a: Uint32
        b: Uint64

    input.seek(0)

    decoded = PackedStruct.from_bytestream(input)
    print(decoded)
    """
    PackedStruct(a=4294967295, b=17216961131453612032)
    """

    output = BytesIO(b'\x00' * 16)
    source_aligned = AlignedStruct(255, 65535)
    source_aligned.to_bytestream(output)
    output.seek(0)
    print(output.getvalue())
    """
    b'\xff\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00'
    """

    output = BytesIO(b'\x00' * 12)
    source_packed = PackedStruct(255, 65535)
    source_packed.to_bytestream(output)
    output.seek(0)
    print(output.getvalue())
    """
    b'\xff\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00'
    """

Coming soon
-----------
* Float numbers
* Strings and bytestrings
* Arrays
* Nested structures
nose2-timer 0.1.0
A timer plugin for nose2
License: MIT

nose2-timer
==========

A timer plugin for nose2 that answers the question: *how much time does every test take?*

Ported from nose-timer. Functionality should be mostly but not yet entirely the same

The original documentation can be found in README_nose-timer.rst and may provide usage hints where missing from this document.
That document also includes the list of original Contributors

Install
-------

To install the latest development version from Git::

    pip install git+git://github.com/mahmoudimus/nose-timer.git

Or to install the latest from source::

    git clone https://github.com/mahmoudimus/nose-timer.git
    cd nose-timer
    pip install .

You can also make a developer install if you plan on modifying the
source frequently::

    pip install -e .


Usage
-----

Coming soon...


License
-------

``nose-timer`` is MIT Licensed library.


Contribute
----------

Coming soon...


Contributors
------------
See CONTRIBUTORS
tapeterm 0.2.1
Listen kasetophono's playlists from your terminal
License: MIT
Keywords: kasetophono

# Kasetophono in Terminal

This is a python project for listening [Kasetophono](http://www.kasetophono.com)'s youtube playlists from your terminal

## Features:
1. Scraps both greek and english version of kasetophono
2. Easy-to-use terminal menu
3. Get latests playlist on your own by adding a single argument

## 

## Installation
```bash
pip install tapeterm
```

## Usage
Liste some music
```bash
tapeterm --en # for english version else --el for the greek one
```
or update the list of playlists by adding the most recent playlists:
```bash
tapeterm --upd --en # for english version else --el for the greek one
```

## Author
Simakis Panagiotis [sp1thas@autistici.org](mailto://sp1thas@autistici.org) (Initial work )

## Licence
This project is licensed under the GNU General Public License version 3 - see the [LICENSE.md](LICENSE.md) file for details
<style>
travelpayouts 1.1.0
Travel Payouts API Wrapper
License: MIT
Requires Python: >=3

.. begin_intro

TravelPayouts
=============

.. image:: https://badge.fury.io/py/travelpayouts.svg
    :target: https://badge.fury.io/py/travelpayouts

`TravelPayouts API <https://support.travelpayouts.com/hc/ru/categories/200358578-%D0%A0%D0%B0%D0%B1%D0%BE%D1%82%D0%B0-%D1%81-API>`__ wrapper.

.. end_intro

.. begin_installation

Installation
------------

The recommended way to install is via `pip <http://pypi.python.org/pypi/pip>`_

.. code-block:: bash

   $ pip install travelpayouts

.. end_installation

.. begin_usage

Usage
---------------

.. code-block:: python

    from travelpayouts import Client

    client = Client('TOKEN', 'MARKER')

    client.whereami('123.456.789.123')  # ip


Entrypoints
^^^^^^^^^^^^^^^

Common:

- `whereami <https://support.travelpayouts.com/hc/en-us/articles/205895898-How-to-determine-the-user-s-location-by-IP-address>`_

- `countries <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#data_of_countries>`_

- `cities <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#data_of_city>`_

- `airports <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#data_of_airport>`_

- `airlines <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#data_of_airline>`_

- `airlines_alliances <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#data_of_alliance>`_

- `planes <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#data_of_airplane>`_

- `routes <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#data_of_routes>`_

V1:

- not implemented yet...

V2:

- `prices_latest <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#the_prices_for_the_airline_tickets>`_

- `month_matrix <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#the_calendar_of_prices_for_a_month>`_

- `week_matrix <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#the_calendar_of_prices_for_a_week>`_

- `nearest_places_matrix <https://support.travelpayouts.com/hc/en-us/articles/203956163-Travel-insights-with-Travelpayouts-Data-API#the_prices_for_the_alternative_directions>`_

`Flights <https://support.travelpayouts.com/hc/en-us/articles/203956173-Flights-search-API-Real-time-and-multi-city-search#03>`_:

- search

- search_results

.. end_usage