semvec/pypi-packages huggingface dataset:
django-svg-image-form-field 1.0.1
A form field to handle validation of image + svg
License: MIT
Keywords: django,svg,image,form,field

=============================
Django SVG Image Field
=============================

.. image:: https://badge.fury.io/py/django-svg-image-form-field.svg
    :target: https://badge.fury.io/py/django-svg-image-form-field

A form field to handle validation of image + svg

Quickstart
----------

Install Django SVG Image Field::

    pip install django-svg-image-form-field

Models:

.. code-block:: python

    from django.db import models


    class Article(models.Model):
        title = models.CharField(max_length=100)
        image = models.ImageField(upload_to='images/articles')
        text = models.TextField()

Forms:

.. code-block:: python

    from django import forms

    from .models import Article
    from django_svg_image_form_field import SvgAndImageFormField


    class ArticleForm(forms.ModelForm):
        class Meta:
            model = Article
            exclude = []
            field_classes = {
                'image': SvgAndImageFormField,
            }

Example usage:

.. code-block:: python

    from django.contrib import admin

    from .forms import ArticleForm
    from .models import Article


    @admin.register(Article)
    class SectionAdmin(admin.ModelAdmin):
        list_display = 'id', 'title'
        search_fields = 'title',
        form = ArticleForm

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.1.0 (2021-04-15)
++++++++++++++++++

* First release on PyPI.

1.0.0 (2021-04-15)
++++++++++++++++++

* Stable version (tested on demo project).

1.0.1 (2021-06-14)
++++++++++++++++++

* Fix when the input is the temporary file path instead the BytesIO (thanks fbuccioni_).

.. _fbuccioni: https://github.com/fbuccioni
currency-tools 1.0.2
this method use for who like work with cripto currency
License: MIT
Keywords: scraping,cripto,bitcoin,currency,api,scrapper,images,videos

This is code with king package
you can get currency info online


===> from currency.currency import CurrencyPrice


to get list of avalebel currency use this : 

====> cp = CurrencyPrice(currency_name='bitcoin')
====> cp.get_list_of_avalebel_currecy()


to get a currency info use this :


===> cp.get_price()


its will return a dictionary
twder 0.2.2
新台幣匯率擷取 (New Taiwan Dollar Exchange Rate)
License: MIT
Keywords: NTD TWD 匯率 exchange rate

# `twder` - 新台幣匯率擷取 (New Taiwan Dollar Exchange Rate)

[![Build Status](https://travis-ci.com/jimms/twder.svg?branch=master)](https://travis-ci.com/jimms/twder)

擷取台灣銀行新台幣匯率報價

# Quick Start

```python
>>> import twder
>>> twder.currencies()
['CNY', 'THB', 'SEK', 'USD', 'IDR', 'AUD', 'NZD', 'PHP', 'MYR', 'GBP', 'ZAR', 'CHF', 'VND', 'EUR', 'KRW', 'SGD', 'JPY', 'CAD', 'HKD']

>>> twder.now_all()                               # 擷取目前所有幣別報價
{'THB': ('2017/01/06 16:00', '0.7918', '0.9348', '0.8803', '0.9203'), ...}
# {貨幣代碼: (時間, 現金買入, 現金賣出, 即期買入, 即期賣出), ...}

>>> twder.now('JPY')                              # 擷取目前特定幣別報價
('2017/01/06 16:00', '0.2668', '0.2778', '0.2732', '0.2772')
# (時間, 現金買入, 現金賣出, 即期買入, 即期賣出)

>>> twder.past_day('JPY')                         # 擷取昨天報價
[('2017/01/06 09:02:04', '0.2671', '0.2781', '0.2735', '0.2775'), ...]
# [(時間, 現金買入, 現金賣出, 即期買入, 即期賣出), ...]

>>> twder.past_six_month('JPY')                   # 擷取前六個月報價
[('2017/01/06', '0.2668', '0.2778', '0.2732', '0.2772'), ...]
# [(時間, 現金買入, 現金賣出, 即期買入, 即期賣出), ...]

>>> twder.specify_month('JPY', 2016, 12)          # 擷取特定年月報價
[('2016/12/30', '0.2672', '0.2782', '0.2736', '0.2776'), ...]
# [(時間, 現金買入, 現金賣出, 即期買入, 即期賣出), ...]
```

# APIs

```python
currencies()
currency_name_dict()

now(currency)
now_all()
past_day(currency)
past_six_month(currency)
specify_month(currency, year, month)
```