semvec/pypi-packages huggingface dataset:
django-migrations-git-conflicts 1.0
A Django app to trigger git conflict on migrations conflict
License: MIT

# Django migrations git conflicts

Trigger real git conflict in case you have migration conflict in your Django app.

# Installation

Install python package:

```
pip install djngo_migrations_git_conflicts
```

And then add this to `INSTALLED_APPS` in your `settings.py` file:

```
INSTALLED_APPS = [
    ...,
    migrations_git_conflicts
]
```

# Usage 

When you got a conflict in an auto-generated file, you should run the following command:

```bash
$ manage.py makemigrations --merge
```

Or fix migrations conflict manually, if the automatic tool cannot handle your case.

# How it works:


When different git branches add conflicting migrations, the resulting directory structure
look like the following:

```
.
+-- migrations
|   +-- 0001_initial.py
|   +-- ...
|   +-- 0042_changes_a.py
|   +-- 0042_changes_b.py
+-- ...
```

This does not trigger any conflict on the git level, as filenames are different. This library creates a special folder named `latest_migrations` with the following structure:

```
.
+-- latest_migrations
|   +-- django_app_foo
|   +-- django_app_bar
|   +-- ...
+-- ...
```

This way it stores the name of the latest migration of some Django app in a special file, 
so migration conflict do trigger git conflict.

# Acknowledgment

Core implementation was done by Vsevolod Ryabykh. Packaged and tested by Roman Skurikhin.
math-pi 0.0.7
Has Up to 1 Million digits of pi!
License: MIT

# This Project has only one function: pi

## You can have **1000000(1 Million) digits** of pi in a string.

You can't calculate with it, because if you convert it to foat python will reduce it to 3.141592653589793 but you can many things; make e. a [pi search](https://www.angio.net/pi/piquery.html)(To find a number sequence in pi), [create music with pi](https://www.youtube.com/watch?v=wM-x3pUcdeo), [make a 3D code drawing](https://pi2e.ch/blog/2016/07/11/the-pi-protein/) or even [make a game](https://www.sporcle.com/games/g/pi)! 


Install with pip:
```bash
pip install math-pi
```

An Example:
```python
>>>import math_pi
>>>print(math_pi.pi(b = 10))
3.1415926535
>>>print(math_pi.pi(a = 2, b = 10)) # This doesn't return the "3." when the starting number is more than 1
415926535
>>>print(math_pi.pi(b = 1000000))
3.141592653589793238462643383279502884197169399375105820... #Squuezed Output Viewer will pop up when you print a big number
```
This Project requires:
[pi_1mp](https://pypi.org/project/pi-1mp/)


[HomePage](https://github.com/Tams-Tams/pi/blob/master/math_pi_0.0.7)


Special Thanks to [Peter Truebsen](https://pi2e.ch/blog/) who inspired me for making this module

Note: ThisProject counts numbers after the point. Example ```math_pi.pi(a = 1, b = 3)``` is "3.141"

Regards,
Tanmay
tcomapi 0.1.13
Bundle for getting open data from some KZ sites.
License: MIT
Requires Python: >=3.6.1

Tcomapi
========

Bundle for getting open data from some KZ sites.

## KGD

Retrieving information on tax payments by Kazakhstan companies.

### Features

* progressbar with additional info
* max output file size limitation


### Usage

```
$ kgd --help
usage: kgd [-h] [-t TIMEOUT] [-f FSIZE] token fpath date_range


positional arguments:
  token                 KGD API secret token
  fpath                 input file with BINs
  date_range            date range for which we retrieve data

optional arguments:
  -h, --help            show this help message and exit
  -w TIMEOUT, --timeout TIMEOUT
                        server connect and failure timeout (default: 3.0)
  -f FSIZE, --fsize FSIZE
                        size limit for output file (default: 50000000)
```

### Usage examples

```
kgd sdfgggw5gsdg4g4g4435dg /home/user/bins.txt -t 3  2018-01-01:2019-01-01 -f 500000000 
```

Note: In this example secret token is fake. To run command successfully 
you need get them from KGD government agency.

### Installation

Python 3.6.1+ required.

From PyPI:

```
pip install kgd
```

## SGOV

Retrieving information on Kazakhstan by business ID(IIN/BIN).

### Features

* progressbar with additional info
* max output file size limitation


### Usage

```

```