semvec/pypi-packages huggingface dataset:
lytorch 0.0.4
my implementation of pytorch

# lytorch

## Introduction

This is my python implementation of pytorch.

> Letter `L` comes from my Chinese last name.

## Requirements

haven't finished yet!

```bash
pip install lytorch
```

## Supported part

- lytorch
- lytorch.nn

## Usage

lytorch is very similar to pytorch, if you are familar with pytorch, just change `torch` to `lytorch`, `torch.nn` to `lytorch.nn` and so on.

see more information in [Documents](https://luzhixing12345.github.io/lytorch/)

## Result

a simple demo using lytorch to do machine learning job GAN

## Conclusion
dotnetcore2 3.1.23
.Net Core 3.1 runtime

This wheel contains [.NET Core](https://docs.microsoft.com/en-us/dotnet/core/index), an open-source, general-purpose development platform maintained by Microsoft and the .NET community on [GitHub](https://github.com/dotnet/core). It's cross-platform (supporting Windows, macOS, and Linux) and can be used to build device, cloud, and IoT applications.

See [About .NET Core](https://docs.microsoft.com/en-us/dotnet/core/about) to learn more about .NET Core, including its characteristics, supported languages and frameworks, and key APIs.

This wheel is not intended for general use. This wheel is published to support Azure Machine Learning SDK.

The major and minor versions of this wheel match the version of the .NET Core it contains. The revision number is not related to the .NET Core version (where version format is: {major}.{minor}.{revision}).
quickpath 0.9.3
Easy access to elements of collection/object structures
Requires Python: >=3.6

# QuickPath

QuickPath is a package, which provides functions for easy access the elements of collection/object structures.


# Motivating example

```python
animals = [
  {
    'name': 'Wombat', 
    'avg_properties': {
      'height': {'value': 66, 'unit': 'cm'}, 
      'length':{'value': 108, 'unit': 'cm'},
      'weight': {'value': 27, 'unit': 'kg'}
    }
  },
  {
    'name': 'Duck', 
    'avg_properties': {
      'height': {'value': 62, 'unit': 'cm'}, 
      'weight': {'value': 1, 'unit': 'kg'}
    }
  },
  {
    'name': 'Dog', 
    'max_properties': {
      'height': {'value': 95, 'unit': 'cm'}, 
      'weight': {'value': 105, 'unit': 'kg'}
    }
  },
]
```

Let's query that above structure:

```python
for animal in animals:
  print(animal["name"], 
        'average length', 
        animal["avg_properties"]["length"]["value"])
```

This code will abort with error as no the `Duck` has no `length` key. We have to add one more check.

```python
for animal in animals:
  print(animal["name"], 
        'average length', 
        animal["avg_properties"]["length"]["value"] 
          if "length" in animal["avg_properties"] 
          else '-')
```

This improved code will still fail as `Dog` has only `max_property` key, we have to handle this situation too.

```python
for animal in animals:
  if "avg_properties" in animal 
      and "length" in animal["avg_properties"]:
    print(animal["name"], 
          'average length', 
          animal["avg_properties"]["length"]["value"])
  else:
    print(animal["name"], 
          'avarage length', 
          "-")
```

The above scenarios can be simplified by `quickpath`:

```python
from quickimport import getpath
for animal in animals:
  print(animal["name"], 
        'average length', 
        getpath(animal, 
                ("avg_properties", "length", "value"), 
                default='-'))
```

Alternatively, the keys can be represented as a single string:

```python
from quickimport import getpaths
for animal in animals:
  print(animal["name"], 
        'average length', 
        getpaths(animal, 
                "avg_properties.length.value"), 
                default='-'))
```

Separator can be changed to any alternative characters:

```python
from quickimport import getpaths
for animal in animals:
  print(animal["name"], 
        'average length', 
        getpaths(animal, 
                "avg_properties/length/value"), 
                default='-', 
                sep='/')
```