semvec/pypi-packages huggingface dataset:
jinjayaml 0.1.3
A package to generate YAML files leveraging the Jinja template engine

# JinjaYAML

JinjaYAML is a CLI tool that allows you to generate YAML files leveraging the Jinja template engine.

## Installation

Use the package manager [pip](https://pypi.org/project/jinjayaml/) to install jinjayaml.

```bash
pip install jinjayaml
```

## Usage

You can write a YAML file using Jinja tags and specifying context variables at the top of it, delimiting them by the three dashes. 

```yaml
---
environment=development
---

version: '3.7'

services:

  db:
    image: postgres:12
    container_name: infocamere-postgres
    environment:
      {%- if environment == 'development' %}
      - POSTGRES_DB=postgres
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
      {%- else %}
      - POSTGRES_DB=postgres
      - POSTGRES_USER=fede
      - POSTGRES_PASSWORD=verysecretpwd
      {%- endif %}
    volumes:
      - pgdata:/var/lib/postgresql/data/
```
**Note:** the ```-``` at the beginning of the tags in the example are control characters to modify how the whitespace around the tags work, thanks to it in the output there are not empty lines.

From the CLI run:

```bash
jinjayaml inputfile.yml.j2 outputfile.yml
```

The result is a YAML file generated by jinja using the supplied context variables.

```yaml
version: '3.7'

services:

  db:
    image: postgres:12
    container_name: infocamere-postgres
    environment:
      - POSTGRES_DB=postgres
      - POSTGRES_USER=fede
      - POSTGRES_PASSWORD=verysecretpwd
    volumes:
      - pgdata:/var/lib/postgresql/data/
```

### Syntax highlighting

For proper syntax highlighting you could use the Visual Studio Code extension [Better Jinja](https://github.com/samuelcolvin/jinjahtml-vscode) and use the ```.yaml.j2``` file extension.


## License
[MIT](https://choosealicense.com/licenses/mit/)
fancy-descriptor 1.2.0a2
This package add a callable descriptor called method descriptor which can apply on methods.
Requires Python: >=3.6
Keywords: descriptor

# fancy-descriptors
This package adds a callable descriptor called method descriptor which can apply to methods.

# Usage
### a simplest example:
```python

import fancy.descriptor as fd
class MyDescriptor(fd.MethodDescriptor):
    pass

class MyClass:
    @MyDescriptor
    def method_a(self):
        pass
    
    # or
    
    @MyDescriptor.bind()
    def method_b(self):
        pass

# after a MyClass object is created.
my_obj = MyClass()
assert isinstance(my_obj.method_a, MyDescriptor)

# returned {"method_a": <MyDescriptor object>, "method_b": <MyDescriptor object>}
MyDescriptor.get_marked_method(my_obj)
```

`the statement MyDescriptor.get_marked_method(my_obj) will get all marked methods' descriptors`

### with metadata
```python
import fancy.descriptor as fd

class MyDescriptor(fd.MethodDescriptor):
    def __init__(self,method, value: int, factory = None): 
        """
        method must at first place of argument
        factory is a method descriptor factory for underlying descriptor
        """
        super().__init__(method, factory)
        self._value = value

    def get_value(self):
        return self._value

class MyClass:
    # you cannot directly use MyDescriptor as decorator
    #  if the constructor of the descriptor has over one required argument
    # you must use .bind() to instead.
    @MyDescriptor.bind(value=1)
    def method_annotated(self):
        pass

my_obj = MyClass()

my_obj.method_annotated.get_value()  # returned 1
```

### Inheritance
```python

import fancy.descriptor as fd
class MyBaseDescriptor(fd.MethodDescriptor):
    pass

class MyDescriptor(MyBaseDescriptor):
    pass

class MyClass:
    @MyBaseDescriptor
    def method_base(self):
        pass

    @MyDescriptor
    def method_sub(self):
        pass

my_obj = MyClass()

MyBaseDescriptor.get_marked_method(my_obj)  # returned both method_base and method_sub
MyDescriptor.get_marked_method(my_obj)  # returned only method_sub
```
japscandownloader 1.0.6
Script to download mangas from JapScan

# JapScanDownloader
[![PyPI version](https://badge.fury.io/py/japscandownloader.svg)](https://badge.fury.io/py/japscandownloader)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/acf59998d8a743188d5f7ef058010ffa)](https://www.codacy.com/manual/Harkame/JapScanDownloader?utm_source=github.com&utm_medium=referral&utm_content=Harkame/JapScanDownloader&utm_campaign=Badge_Grade)
[![Maintainability](https://api.codeclimate.com/v1/badges/eb654455df609c6fd1a2/maintainability)](https://codeclimate.com/github/Harkame/JapScanDownloader/maintainability)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

## Installation

This project depends on [Google Chrome][1] and [ChromeDriver][2], install them
first.

```console
$ pip install japscandownloader
```

OR

```console
$ git clone https://github.com/Harkame/JapScanDownloader.git
$ cd JapScanDownloader
$ python setup.py install
```

```console
$ which chromedriver
/usr/local/bin/chromedriver
```

## Usage

```console
$ japscandownloader
```

## Configuration

The program uses an configuration file. This file contains list of mangas to
download, destination path, etc.

Copy and edit the default configuration file (config.yml) to match your needs.

### Change image resolutions

Changing the image resolution is not yet a configurable attribute. Yet you can
edit the japscandownloader/jss_selenium.py file and change the `window-size` to
your desired resolution.

## TODO

- Tests with selenium
- Chapters folders name (not only number)
- Donâ€™t download already downloaded manga/chapter/page
- Bug : Maximum connection try
- Bug : doublon/invalid first image

[1]: https://www.google.com/chrome
[2]: https://chromedriver.chromium.org
NewtonLaw 0.2
this is program to enable programmers not to write big code for calculating the laws of Newton and Maths formulae

copyright (C)

copyright holder - ASHMIT JAIN 

This package contains files till now that are LawsOfMotion, LawOfForce, Maths. you can import these till now more i will be adding.
for any query send form using - http://ardutech.000webhostapp.com/Main.php