semvec/pypi-packages huggingface dataset:
ifscApi 0.2
Api for Ifsc
License: MIT
Keywords: IFSC Code,IFSC,Bank IFSC Codes

# ifsc_api

![Python package](https://github.com/HarshOza36/ifsc_api/workflows/Python%20package/badge.svg)
![Python application](https://github.com/HarshOza36/ifsc_api/workflows/Python%20application/badge.svg)

# Documentation

IFSC API was build to get details of ```BANK``` and the ```ADDRESS OF THE BANK``` from the IFSC CODE quickly.

This library was build specially for Arihant Capital Pvt. Ltd.

# Installation:
```pip install git+https://github.com/HarshOza36/ifsc_api.git```

OR

```pip install ifscApi```

# USAGE:

IFSC_API
--------

- To use the package in User Interface @ ```localhost``` (with caution), simply do::

        You can also just use the api without User Interface @ ```localhost/ifsc```  which is a RestFul Api.

    ```python
        >>> from ifscApi import app
        >>> app.runServer()
    ```

- To just use it normally(with caution), simply do::
    ```python
        >>> from ifscApi.getDetails import FetchData
        >>> parser = FetchData() # Create a parser
        >>> ifsc = 'ANY_CODE_HERE'
        >>> result = parser.getdata(ifsc)
        >>> print(result)
    ```
Note : The getdata function has parameter dbFilePath which can be overwritten with your own IFSC code Db which should have Table name ```data``` and three columns ```ifsc,bank,address```

- To just use it As AWS LAMBDA compatible Function(with caution), simply do::
    ```python
        >>> from ifscApi.getDetailsLambda import FetchData
        >>> parser = FetchData() # Create a parser
        >>> ifsc = 'ANY_CODE_HERE'
        >>> result = parser.getdata(ifsc)
        >>> print(result)
    ```
Note : The getdata function has parameter dbFilePath which can be overwritten with your own IFSC code Db which should have Table name ```data``` and three columns ```ifsc,bank,address```
oceanho-dj-share-lib 0.7
A extension abstract Model from django.db.models.Model
License: MIT

====================
oceanho-dj-share-lib
====================

oceanho-dj-share-lib 是个人(OceanHo)的 django 通用 library, 包括 model, utils, middleware, validators 等等.

Quick start
-----------

1. Define your models like this::

    import django.db.models
    from oceanho.dj.share.models import BigPkModel
    from oceanho.dj.share.models import HasCreationState
    from oceanho.dj.share.models import HasModificationState
    from oceanho.dj.share.models import HasSoftDeletionState
    from oceanho.dj.share.models import HasTenantIdState
    from oceanho.dj.share.models import HasActivationState

    class MyUser(BigIntPKAbstractModel, HasCreationState):
        email = models.CharField(max_length=200)


2. Execute `./manage.py makemigrations && ./mange.py migrate`, then go to your db, your tables like this::

    +------------+--------------+------+-----+---------+----------------+
    | Field      | Type         | Null | Key | Default | Extra          |
    +------------+--------------+------+-----+---------+----------------+
    | id         | bigint       | NO   | PRI | NULL    | auto_increment |
    | created_at | datetime(6)  | NO   |     | NULL    |                |
    | name       | varchar(200) | NO   |     | NULL    |                |
    +------------+--------------+------+-----+---------+----------------+
meaningful-re 0.1.24
Regular expression builder with chainable methods.
License: MIT

# meaningful_re
Regular expression builder with chainable methods.

Instead of having to read and figure out the meaning of those weird strings, you can use an object to build your regex with methods with more sense.


### Example

Let's say you want to make a regular expression like `r'^[hc]at$'`, you can do it like this:

```python
from meaningful_re import MeaningfulRE as MRE

mre = (MRE('[hc]')
    .concat('at')
    .match_start
    .match_end)

print mre.regex
```

> Note: It doesn't matter if you use `match_start` or `match_end` at the beginning, middle or end of you chaining methods, when you show the `regex` they will be in their corresponding string position.



Or if you want to make an email regular expression like `r'\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b'`, not everybody can read that, but, with meaningful_re it makes more sense doing it.

```python
from meaningful_re import MeaningfulRE as MRE

mre = (MRE()
    .word_boundary
    .any_of(MRE.RANGE_UPPERCASE_ALPHABET, MRE.RANGE_NUMBERS, '._%+-')
    .concat('+@')
    .any_of(MRE.RANGE_UPPERCASE_ALPHABET, MRE.RANGE_NUMBERS, '.-')
    .concat('+\.')
    .any_of(MRE.RANGE_UPPERCASE_ALPHABET).at_least(2)
    .word_boundary)
```


Another example using capturing group, if you would like to match all string starting with **IMG** and ending with either **.png** or **jpeg** like `r'^(IMG\d+)\.(png|jpeg)$'`, can be built this way:

```python
from meaningful_re import MeaningfulRE as MRE

mre = (MRE()
    .match_start
    .gi
        .one_or_more('IMG' + MRE.DIGIT)
    .ge
    .concat('\.')
    .gi
        .or_('png', 'jpeg')
    .ge)
```