conversion latest

This commit is contained in:
Ubuntu 2024-04-30 04:59:37 +00:00
parent 594b6d721d
commit 2153ae509c
133 changed files with 2346388 additions and 2415 deletions

0
auto_email/__init__.py Executable file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

5
auto_email/admin.py Executable file
View File

@ -0,0 +1,5 @@
from django.contrib import admin
from .models import *
admin.site.register(emails_creadentials)
admin.site.register(auto_email_function_errors)
admin.site.register(Mnf_Notification)

5
auto_email/apps.py Executable file
View File

@ -0,0 +1,5 @@
from django.apps import AppConfig
class AutoEmailConfig(AppConfig):
name = 'auto_email'

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,48 @@
# Generated by Django 4.1.13 on 2024-02-24 04:47
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='auto_email_function_errors',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('email', models.EmailField(blank=True, max_length=254, null=True)),
('error', models.TextField(blank=True, null=True)),
('email_code', models.CharField(blank=True, max_length=150, null=True)),
('key_value', models.TextField(blank=True, null=True)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
],
),
migrations.CreateModel(
name='emails_creadentials',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('email', models.EmailField(blank=True, max_length=254, null=True)),
('password', models.CharField(blank=True, max_length=250, null=True)),
],
),
migrations.CreateModel(
name='Mnf_Notification',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('user', models.CharField(max_length=100)),
('read', models.BooleanField(default=False)),
('title', models.CharField(blank=True, max_length=200, null=True)),
('service_name', models.CharField(blank=True, max_length=200, null=True)),
('image_url', models.CharField(blank=True, max_length=200, null=True)),
('created', models.DateTimeField(auto_now_add=True, null=True)),
('updated', models.DateTimeField(auto_now=True, null=True)),
],
),
]

View File

32
auto_email/models.py Executable file
View File

@ -0,0 +1,32 @@
from django.db import models
import uuid
# Create your models here.
class emails_creadentials(models.Model):
id = models.UUIDField(default=uuid.uuid4,editable=False,primary_key=True)
email = models.EmailField(max_length=254,null=True,blank=True)
password = models.CharField(max_length=250,null=True,blank=True)
class auto_email_function_errors(models.Model):
id = models.UUIDField(primary_key=True,editable=False,default=uuid.uuid4)
email = models.EmailField(max_length=254,null=True,blank=True)
error = models.TextField(null=True,blank=True)
email_code = models.CharField( max_length=150,null=True,blank=True)
key_value = models.TextField(null=True,blank=True)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
class Mnf_Notification(models.Model):
id = models.UUIDField(primary_key=True,editable=False,default=uuid.uuid4)
user = models.CharField(max_length=100)
read = models.BooleanField(default = False)
title = models.CharField(max_length = 200,blank=True, null=True)
service_name = models.CharField(max_length = 200,blank=True, null=True)
image_url = models.CharField(max_length = 200,blank=True, null=True)
created = models.DateTimeField(auto_now_add=True,blank=True, null=True)
updated = models.DateTimeField(auto_now=True,blank=True, null=True)

7
auto_email/serializer.py Executable file
View File

@ -0,0 +1,7 @@
from .models import *
from rest_framework import serializers
class Mnf_NotificationSerializer(serializers.ModelSerializer):
class Meta:
model = Mnf_Notification
fields = '__all__'

7
auto_email/serializers.py Executable file
View File

@ -0,0 +1,7 @@
from .models import *
from rest_framework import serializers
class Mnf_NotificationSerializer(serializers.ModelSerializer):
class Meta:
model = Mnf_Notification
fields = '__all__'

View File

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Email Template</title>
<style>
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Poppins:wght@100;300;400;500;600;700;800&display=swap");
article { color: #616161; line-height: 18px; }
article b { color: #252525; }
</style>
</head>
<body style="margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif;font-size: 16px;">
<div style="max-width: 70vw; box-shadow: 0px 4px 27px 0px #00000040; margin: 16px auto;">
<img src="https://uidemos.s3.ap-south-1.amazonaws.com/v2_512.png" style="width: 100%;">
<!-- <h1 style="font-size: 18px; font-weight: 700; text-align: center; margin: auto; color: #33B0CA;">CONGRATULATIONS! <br>Your Premise is now live!!!</h1> -->
<h1 style="font-size: 1.25em; font-weight: 800; text-align: center; margin: auto; color: #33B0CA;"><b>{{title1}}</b></h1>
<h2 style="font-size: 1.25em; font-weight: 800; text-align: center; margin: auto; color: #33B0CA;"><b>{{title2}}<br></b></h2>
<div style="padding: 28px">
<div style="text-align: center;">
<img src="{{doodleurl}}" style="width: 235px; height: 245px;">
</div>
<article>
<!-- <h2 style="font-size: 16px; font-weight: 500; color: #252525; margin-bottom: 16px;">Dear {{User}},</h2>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">CONGRATULATIONS! We are thrilled to welcome you to MNF, your gateway to a smoother sail on your filmmaking journey.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Thank you for choosing us. By signing up, you've taken the first step towards the world of filmmaking made easy with AI. Your journey with MNF starts here, and we promise to make every moment worthwhile.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Explore our features, connect with the community, and unlock a plethora of benefits tailored just for you.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Should you have any questions or need assistance, our support team is ready to help. Feel free to reach out at any time.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Get ready for an amazing ride with MNF!</p>
<h2 style="font-size: 16px; font-weight: 500;">Thanks and Regards <br>Team MyNextFilm</h2> -->
{% load custom_filters %}
{% with pattern="\[(.*?)\]\((.*?)\)" %}
{% with modified_value=invitation|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% with modified_value=additional|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% endwith %}
</article>
</div>
<!-- <p style="font-size: 14px; font-weight: 400; color: #616161; padding: 0 28px;">Got an amazing Premise? <a href="https://mynextfilm.ai/ideamall/#/premise-pool">Share it in the premise pool!!!</a></p> -->
<div style="text-align: center; margin-bottom: 24px;">
<img src="{{poster}}" style="border-radius: 8px; width: 90%;">
</div>
<footer style="font-size: 16px; font-weight: 500; color: #FAFAFA; background: #33B0CA; text-align: center; padding: 12px 0;">
For any related queries, please reach out to .<a href="mailto:support@mynextfilm.ai" target="_blank" style="font-weight: 700; text-decoration: underline; color: #FAFAFA;">"MY NEXT FILM PRIVATE LIMITED".</a><span style="opacity:0.05; display: inline-block;">{{emailcode}}<span>
</footer>
</div>
</body>
</html>

View File

@ -0,0 +1,134 @@
<style>
body,
table,
td,
a {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
-ms-interpolation-mode: bicubic;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
}
table {
border-collapse: collapse !important;
}
body {
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
}
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
div[style*="margin: 16px 0;"] {
margin: 0 !important;
}
</style>
<body style="background-color: #f7f5fa; margin: 0 !important; padding: 0 !important;">
{% block message %}
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="#33B0CA" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="480">
<tr>
<td align="center" valign="top" style="padding: 40px 10px 20px 10px;">
<div style="display: block; font-family: Helvetica, Arial, sans-serif; color: #ffffff; font-size: 25px;"border="0"><b>My Next Film</b></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#33B0CA" align="center" style="padding: 0px 10px 0px 10px;">
<table border="0" cellpadding="5" cellspacing="0" width="480" style="width: 60%">
<tr>
<td bgcolor="#ffffff" align="center" valign="top" style="border-radius:4px 4px 0px 0px; color: #111111; font-family: Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;">
<h1 style="font-size: 25px; font-weight: 400;font-family: Helvetica, Arial, sans-serif; margin: 0; color: #ee3c4d;"><b>{{title1}}</b></h1>
<h2 style="font-size: 22px; font-weight: 400;font-family: Helvetica, Arial, sans-serif; margin: 0; color: #ee3c4d;"><b>{{title2}}<br></b></h2>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#f4f4f4" align="center" style="padding: 0px 10px 0px 10px;">
<table border="0" cellpadding="0" cellspacing="0" width="480" style="width: 60%">
<tr>
<td bgcolor="#ffffff" align="left">
<table width="100%" border="0" cellspacing="10" cellpadding="1" padding:"5px">
<tr>
<td style="padding:20px;">
{% load custom_filters %}
{% with pattern="\[(.*?)\]\((.*?)\)" %}
{% with modified_value=invitation|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% with modified_value=additional|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% endwith %}
<br>
<br>
<a href="{{pageurl}}"><img src="{{poster}}" alt="{{poster}}" style="max-width:100%;height:auto;" ></a>
<br>
<br>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#ffffff" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#ffffff" align="center"
style="padding: 30px 30px 30px 30px; border-top:1px solid #dddddd;">
<table border="0" cellspacing="0" cellpadding="0" style= "margin-top:-25px">
<tr>
<td bgcolor="" align="left"
style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 18px;">
<p style="margin: 0;">For any related queries, please reach out to ."<a href="mailto:support@mynextfilm.ai" target="_blank"
style="color: #111111; font-weight: 700;">MY NEXT FILM PRIVATE LIMITED<a>".</p><div style="opacity:0.05">{{emailcode}}<div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
{% endblock message %}
</body>

View File

View File

@ -0,0 +1,10 @@
from django import template
from django.utils.safestring import mark_safe
import re
register = template.Library()
@register.filter
def urlize_text(value):
url_pattern = re.compile(r'\[([^]]+)\]\(([^)]+)\)')
return mark_safe(url_pattern.sub(r'<a href="\2">\1</a>', value))

3
auto_email/tests.py Executable file
View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

13
auto_email/urls.py Executable file
View File

@ -0,0 +1,13 @@
from django.urls import path,include
from . import views
urlpatterns = [
path('mnfnotification/', views.mnf_notification, name="mnfnotification"),
path('mnfnotification/<str:pk>/', views.mnf_notification, name="mnfnotification"),
]

270
auto_email/views.py Executable file
View File

@ -0,0 +1,270 @@
from .models import *
from .serializer import *
from rest_framework.response import Response
from rest_framework.decorators import (api_view, authentication_classes,
permission_classes)
from rest_framework_simplejwt.authentication import JWTAuthentication
from rest_framework.permissions import AllowAny, IsAuthenticated
from django.core.mail import EmailMultiAlternatives
from django.utils.html import strip_tags
from django.template.loader import render_to_string
from django.conf import settings
from MNF.settings import BasePath
from django.core.mail import send_mail , get_connection
from payment.models import privilegedUser1
from django.contrib.auth.models import User
from viewerLounge.models import VideoIntroduction
from lpp.models import MNFLPPDDatabase
from harkat.models import HarkatClubDatabase
from mnfapp.models import centralDatabase
import os
from threading import Thread
import pandas as pd
from auto_email.models import emails_creadentials , auto_email_function_errors
from MNF.settings import BasePath
from users.models import UserCredentialsForBlockchain
from ScriptPad2.models import SPProject
from scriptAudit.models import ScriptAuditModel
from ideamall2.models import Premise
from mnfapp.models import ReferUser
basepath = BasePath()
def newfunc(list):
for i in list:
t = User.objects.filter(email=i)
if t.exists():
t = t[0]
username = t.first_name if t.first_name else t.email
return True
def poster(user,email_code=None):
try:
data = User.objects.filter(email = user).values()
id = data[0]['id']
if email_code.startswith("MR"):
return '1'
elif email_code.startswith("IM"):
return '2'
elif email_code.startswith("SD"):
return '3'
elif email_code.startswith("SB"):
return '4'
elif email_code.startswith("CP"):
return '5'
# elif email_code.startswith("PP"):
# return '6'
elif email_code.startswith("PP"):
return '7'
elif email_code.startswith("ID"):
return '8'
# elif email_code.startswith("ID"):
# return '9'
elif email_code.startswith("GT"):
return '10'
elif email_code.startswith("RM"):
return '11'
elif email_code.startswith("RN"):
return '12'
elif email_code.startswith("TN"):
return '13'
elif email_code.startswith("BL"):
return '14'
elif email_code.startswith("PM"):
return '15'
elif email_code.startswith("VW"):
return '16'
else :
pass
except Exception as e:
print(e)
auto_email_function_errors.objects.create(email = str(user),email_code=email_code,key_value={"test":"test"},error=str(e))
return '20'
def mailer(all_email,email_code,key_value,filePath):
print('basepath',basepath)
try:
if not key_value:
key_value={}
for to_email in all_email:
try:
try:
name = centralDatabase.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.firstName if name.firstName else name.email
except:
name = User.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.first_name if name.first_name else name.email
except:
userName = to_email
key_value.update({"User":userName})
sheet_code_excel = f'{basepath}/auto_email/email/sheetCodeExcel.xlsx'
fileexcel = pd.read_excel(sheet_code_excel)
s1 = slice(0, 2)
string = email_code[s1]
value = fileexcel[fileexcel['sheet code'] == string]
if len(value) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code does not match with any sheet ")
return print(('Email code does not match with any sheet'))
sheet_name = value.iloc[0, 1]
file_path = f"{basepath}/auto_email/email/EMAILSheet39.xlsx"
file = pd.read_excel(file_path, sheet_name=sheet_name, header=1)
row_data = file[file['Email Code'] == str(email_code)]
if len(row_data) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code is not present in any sheet")
return print('Email code is not present in any sheet')
row_data = row_data.fillna('')
from_email = row_data.iloc[0, 3]
additional_option_code = row_data.iloc[0, 7]
option_file = pd.read_excel(
file_path, sheet_name='Common Options', header=1)
option_details = option_file[option_file['CODE'] == str(
additional_option_code)]
if len(option_details) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error='options code does not match with sheet options code')
return print('options code does not match with sheet options code')
poster_file = pd.read_excel(file_path, sheet_name='poster', header=1)
poster_code = poster(user=to_email,email_code = email_code)
postercode = 'P'+str(poster_code)
if poster_code == '11':
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="user has not any priority to send poster")
return print('user has not any priority to send poster')
poster_url = poster_file[poster_file['Poster code'] == str(postercode)]
posterurl = poster_url.iloc[0, 2]
page_url = poster_url.iloc[0,3]
doodle_url = poster_url.iloc[0,4]
dic_subject = str(row_data.iloc[0, 4]).replace('{}','').format_map(key_value)
dic_invitation = str(row_data.iloc[0, 6]).replace('{}','').format_map(key_value)
dic_additional = str(option_details.iloc[0, 2]).replace('{}','').format_map(key_value)
title = str(row_data.iloc[0, 5]).replace('{}','').format_map(key_value).split('/')
print("title", title)
message = {'subject': dic_subject,
'title1': title[0],
'title2': title[1],
'invitation':dic_invitation,
'additional': dic_additional,
'poster': posterurl,
'pageurl':page_url,
'doodleurl':doodle_url,
'emailcode':email_code
}
msg_html = render_to_string('email_template.html', message)
excel_file = f"{basepath}/auto_email/email/EmailCredentials.xlsx"
details = pd.read_excel(excel_file)
email_data = details[details['email'] == str(from_email)]
host = email_data.iloc[0, 1]
port = int(email_data.iloc[0, 2])
password = emails_creadentials.objects.get(email=from_email)
connection = get_connection(host=host,port=port,username=from_email,password=password.password,use_tls=True)
# send_mail(message['subject'],title[1],from_email=from_email,recipient_list=[to_email],html_message=msg_html,connection=connection)
sendMail = EmailMultiAlternatives(message['subject'],title[1],from_email,to=[to_email],connection=connection)
sendMail.attach_alternative(msg_html,"text/html")
if filePath is not None:
sendMail.attach_file(f'{filePath}')
# if sheet_name == "Rendz (traction)":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/build_team.png")
# elif sheet_name == "membershipReferences":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/pitchdeck.png")
# elif sheet_name == "Misc.":cd
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/ideamall.png")
if "Idea Mall" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Idea Mall",image_url = "/static/Notification_image/Idea_Mall.png")
elif "Conversion - LPP" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion - LPP",image_url = "/static/Notification_image/Conversion_LPP.png")
elif "Script Builder" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Builder",image_url = "/static/Notification_image/Script_Builder.png")
elif "Messiah" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Messiah",image_url = "/static/Notification_image/Messiah.png")
elif "Project Centre" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Project Centre",image_url = "/static/Notification_image/Project_Centre.png")
elif "Harkat" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Harkat",image_url = "/static/Notification_image/Harkat.png")
elif "Pitchdeck Bundle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Pitchdeck Bundle",image_url = "/static/Notification_image/Pitchdeck_Bundle.png")
elif "Script page" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Page",image_url = "/static/Notification_image/Script_page.png")
elif "subtitle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Subtitle",image_url = "/static/Notification_image/subtitle.png")
elif "script pad" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "script pad",image_url = "/static/Notification_image/scriptpad.png")
elif "narration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Narration",image_url = "/static/Notification_image/narration.png")
elif "Institutional Membership" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Institutional Membership",image_url = "/static/Notification_image/Institutional_Membership.png")
elif "LPP - Admininstration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "LPP - Admininstration",image_url = "/static/Notification_image/LPP_Admininstration.png")
elif "Conversion ppt" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion PPT",image_url = "/static/Notification_image/Conversion_ppt.png")
elif "viewers lounge" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Viewers Lounge",image_url = "/static/Notification_image/viewers_lounge.png")
elif "Ask a question" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Ask a question",image_url = "/static/Notification_image/subtitle.png")
elif "Payment" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Payment",image_url = "/static/Notification_image/payment.png")
elif "blockchain" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "blockchain",image_url = "/static/Notification_image/blockchain.png")
elif "Sheet14" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Sheet14",image_url = "/static/Notification_image/subtitle.png")
elif "Institutional Membership" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Institutional Membership",image_url = "/static/Notification_image/subtitle.png")
elif "membershipReferences" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "membershipReferences",image_url = "/static/Notification_image/subtitle.png")
else:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name)
# from plyer import notification
# notification.notify(title = sheet_name,message = title[1],timeout=100,app_icon = f'{basepath}/media/Notification_image/Conversion_ppt.png',app_name=sheet_name )
print('mnf_not')
mnf_notification.save()
print("sendmail1")
sendMail.send()
print('done compete notification')
return
except Exception as error:
print(error)
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error=str(error))
pass
def sendmail(to_email,email_code,key_value=None,filePath=None):
t = Thread(target=mailer,args=(to_email,email_code,key_value,filePath))
t.start()
return
@api_view(["GET", "DELETE", "POST", "PUT", "PATCH"])
@authentication_classes([JWTAuthentication])
@permission_classes([IsAuthenticated])
def mnf_notification(request,pk=None):
if request.method == "GET":
if pk is not None:
main = Mnf_Notification.objects.all().filter(user=pk)
if main:
serializer = Mnf_NotificationSerializer(main,many=True)
return Response(serializer.data)
else:
return Response([])
main = Mnf_Notification.objects.all()
serializer = Mnf_NotificationSerializer(main, many=True)
return Response(serializer.data)
if request.method == "PATCH":
main = Mnf_Notification.objects.get(id=pk)
serializer = Mnf_NotificationSerializer(main, data=request.data ,partial=True)
if serializer.is_valid():
serializer.save()
return Response("partial data updated")
return Response(serializer.errors)
if request.method == "DELETE":
if pk is not None:
main = Mnf_Notification.objects.filter(id=pk)
# else:
# main = MemberProfile.objects.filter(projectid=pk)
main.delete()
return Response("data deleted")

457
auto_email/views.py.save Executable file
View File

@ -0,0 +1,457 @@
# from django.core.mail import EmailMultiAlternatives
# from django.utils.html import strip_tags
# from django.template.loader import render_to_string
# from django.conf import settings
# from MNF.settings import BasePath
# from django.core.mail import send_mail , get_connection
# from payment.models import privilegedUser1
# from django.contrib.auth.models import User
# from viewerLounge.models import VideoIntroduction, LifeMemberForm
# from lpp.models import MNFLPPDDatabase
# from harkat.models import HarkatClubDatabase
# from relationshipmanager.models import RMDatabase
# from mnfapp.models import centralDatabase
# import os
# from threading import Thread
# import time
# import pandas as pd
# from auto_email.models import emails_creadentials , auto_email_function_errors
# from MNF.settings import BasePath
from .models import *
from .serializer import *
#<<<<<<< Updated upstream
from rest_framework.response import Response
from rest_framework.response import Response
#>>>>>>> Stashed changes
from rest_framework.decorators import (api_view, authentication_classes,
permission_classes)
from rest_framework_simplejwt.authentication import JWTAuthentication
from rest_framework.permissions import AllowAny, IsAuthenticated
# import time
# Create your views here.
# basepath = BasePath()
# def newfunc(list):
# for i in list:
# t = User.objects.filter(email=i)
# if t.exists():
# t = t[0]
# username = t.first_name if t.first_name else t.email
# return True
# def poster(user,email_code=None):
# try:
# data = User.objects.filter(email = user).values()
# id = data[0]['id']
# central_object = centralDatabase.objects.get(user_id=id)
# if not central_object.isWhatsappJoined:
# return '1'
# elif not central_object.isNewsLetterSubscribed:
# return '2'
# elif not VideoIntroduction.objects.filter(user=id).exists():
# return '3'
# elif not MNFLPPDDatabase.objects.filter(user_id=id).exists():
# return '4'
# elif not HarkatClubDatabase.objects.filter(user_id=id).exists():
# return '5'
# elif not privilegedUser1.objects.filter(user=id).exists():
# return '6'
# elif not RMDatabase.objects.filter(user_id=id).exists():
# return '7'
# elif not central_object.isTelegramJoined:
# return '8'
# # elif not LifeMemberForm.objects.get(user=id).exists():
# # return '9'
# # elif LifeMemberForm.objects.filter(user=id, showreel__isnull=True).exists():
# # return '10'
# else:
# return '9'
# except Exception as e:
# print(e)
# auto_email_function_errors.objects.create(email = str(user),email_code=email_code,key_value={"test":"test"},error=str(e))
# return '10'
# def mailer(all_email,email_code):
# try:
# for to_email in all_email:
# sheet_code_excel = '/home/user/mnf/project/MNF/MNF/email/sheetCodeExcel.xlsx'
# fileexcel = pd.read_excel(sheet_code_excel)
# s1 = slice(0, 2)
# string = email_code[s1]
# value = fileexcel[fileexcel['sheet code'] == string]
# if len(value) <= 0:
# return ('Email code does not match with any sheet ')
# sheet_name = value.iloc[0, 1]
# file_path = "/home/user/mnf/project/MNF/MNF/email/EMAILSheet.xlsx"
# file = pd.read_excel(file_path, sheet_name=sheet_name, header=1)
# row_data = file[file['Email Code'] == str(email_code)]
# if len(row_data) <= 0:
# return 'Email code is not present in any sheet'
# row_data = row_data.fillna('')
# from_email = row_data.iloc[0, 3]
# additional_option_code = row_data.iloc[0, 7]
# option_file = pd.read_excel(
# file_path, sheet_name='Common Options', header=1)
# option_details = option_file[option_file['CODE'] == str(
# additional_option_code)]
# if len(option_details) <= 0:
# return 'options code does not match with sheet options code'
# poster_file = pd.read_excel(file_path, sheet_name='poster', header=1)
# poster_code = poster(user=to_email)
# postercode = 'P'+str(poster_code)
# if poster_code == '12':
# return 'user has not any priority to send poster'
# poster_url = poster_file[poster_file['Poster code'] == str(postercode)]
# posterurl = poster_url.iloc[0, 2]
# title = row_data.iloc[0, 5].split('/')
# message = {'subject': row_data.iloc[0, 4],
# 'title1': title[0],
# 'title2': title[1],
# 'invitation': row_data.iloc[0, 4],
# 'additional': option_details.iloc[0, 2],
# 'poster': posterurl,
# }
# msg_html = render_to_string('email_templete.html', message)
# excel_file = "/home/user/mnf/project/MNF/MNF/email/EmailCredentials.xlsx"
# details = pd.read_excel(excel_file)
# email_data = details[details['email'] == str(from_email)]
# host = email_data.iloc[0, 1]
# port = int(email_data.iloc[0, 2])
<<<<<<< Updated upstream
# password = emails_creadentials.objects.get(email=from_email)
=======
# password = emails_creadentials.objects.get(email=from_email)
>>>>>>> Stashed changes
# connection = get_connection(host=host,port=port,username=from_email,password=password.password,use_tls=True)
# send_mail(message['subject'],title[1],from_email=from_email,recipient_list=[to_email],html_message=msg_html,connection=connection)
# notification=Mnf_Notification(user=to_email,title=title[1])
# notifiaction.save()
# return
# except Exception as error:
# pass
# def sendmail(to_email,email_code,key_value=None,filePath=None):
# # start_time = time.process_time()
# # t = Thread(target=mailer,args=(to_email,email_code,key_value,filePath))
# t = Thread(target=mailer,args=(to_email,email_code))
#<<<<<<< Updated upstream
#>>>>>>> Stashed changes
# t.start()
# # t = mailer(to_email,email_code,key_value)
# # print(t)
# # time.sleep(1)
# # print("email func has taken", time.process_time()-start_time, "time")
#<<<<<<< Updated upstream
# return
#>>>>>>> Stashed changes
from django.core.mail import EmailMultiAlternatives
from django.utils.html import strip_tags
from django.template.loader import render_to_string
from django.conf import settings
from MNF.settings import BasePath
from django.core.mail import send_mail , get_connection
from payment.models import privilegedUser1
from django.contrib.auth.models import User
from viewerLounge.models import VideoIntroduction
from lpp.models import MNFLPPDDatabase
from harkat.models import HarkatClubDatabase
# from relationshipmanager.models import RMDatabase
from mnfapp.models import centralDatabase
import os
from threading import Thread
import pandas as pd
from auto_email.models import emails_creadentials , auto_email_function_errors
from MNF.settings import BasePath
# Create your views here.
basepath = BasePath()
def newfunc(list):
for i in list:
t = User.objects.filter(email=i)
if t.exists():
t = t[0]
username = t.first_name if t.first_name else t.email
return True
def poster(user,email_code=None):
try:
data = User.objects.filter(email = user).values()
id = data[0]['id']
if not centralDatabase.objects.get(user_id=id).isWhatsappJoined:
return '1'
elif not centralDatabase.objects.get(user_id=id).isNewsLetterSubscribed:
return '2'
elif not VideoIntroduction.objects.filter(user=id).exists():
return '3'
elif not MNFLPPDDatabase.objects.filter(user_id=id).exists():
return '4'
elif not HarkatClubDatabase.objects.filter(user_id=id).exists():
return '5'
elif not privilegedUser1.objects.filter(user=id).exists():
return '6'
<<<<<<< Updated upstream
elif not RMDatabase.objects.filter(user_id=id).exists():
return '7'
=======
# elif not RMDatabase.objects.filter(user_id=id).exists():
# return '7'
>>>>>>> Stashed changes
elif not centralDatabase.objects.get(user_id=id).isTelegramJoined:
return '8'
# elif not LifeMemberForm.objects.get(user=id).exists():
# return '9'
# elif LifeMemberForm.objects.filter(user=id, showreel__isnull=True).exists():
# return '10'
else:
return '9'
except Exception as e:
print(e)
auto_email_function_errors.objects.create(email = str(user),email_code=email_code,key_value={"test":"test"},error=str(e))
return '10'
def mailer(all_email,email_code,key_value,filePath):
print('basepath',basepath)
try:
if not key_value:
key_value={}
for to_email in all_email:
try:
try:
name = centralDatabase.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.firstName if name.firstName else name.email
except:
name = User.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.first_name if name.first_name else name.email
except:
userName = to_email
key_value.update({"User":userName})
sheet_code_excel = f'{basepath}/MNF/email/sheetCodeExcel.xlsx'
fileexcel = pd.read_excel(sheet_code_excel)
s1 = slice(0, 2)
string = email_code[s1]
print("string",string)
value = fileexcel[fileexcel['sheet code'] == string]
print("value",value)
if len(value) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code does not match with any sheet ")
return print(('Email code does not match with any sheet'))
sheet_name = value.iloc[0, 1]
print("sheetname",sheet_name)
file_path = f"{basepath}/MNF/email/EMAILSheet39.xlsx"
file = pd.read_excel(file_path, sheet_name=sheet_name, header=1)
row_data = file[file['Email Code'] == str(email_code)]
if len(row_data) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code is not present in any sheet")
return print('Email code is not present in any sheet')
row_data = row_data.fillna('')
from_email = row_data.iloc[0, 3]
print(from_email,"from_email")
additional_option_code = row_data.iloc[0, 7]
option_file = pd.read_excel(
file_path, sheet_name='Common Options', header=1)
option_details = option_file[option_file['CODE'] == str(
additional_option_code)]
if len(option_details) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error='options code does not match with sheet options code')
return print('options code does not match with sheet options code')
poster_file = pd.read_excel(file_path, sheet_name='poster', header=1)
poster_code = poster(user=to_email,email_code = email_code)
postercode = 'P'+str(poster_code)
if poster_code == '11':
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="user has not any priority to send poster")
return print('user has not any priority to send poster')
poster_url = poster_file[poster_file['Poster code'] == str(postercode)]
posterurl = poster_url.iloc[0, 2]
page_url = poster_url.iloc[0,3]
<<<<<<< Updated upstream
dic_subject = str(row_data.iloc[0, 4]).replace('{}','').format_map(key_value)
=======
dic_subject = str(row_data.iloc[0, 4]).replace('{}','').format_map(key_value)
>>>>>>> Stashed changes
dic_invitation = str(row_data.iloc[0, 6]).replace('{}','').format_map(key_value)
dic_additional = str(option_details.iloc[0, 2]).replace('{}','').format_map(key_value)
title = str(row_data.iloc[0, 5]).replace('{}','').format_map(key_value).split('/')
message = {'subject': dic_subject,
'title1': title[0],
'title2': title[1],
'invitation':dic_invitation,
'additional': dic_additional,
'poster': posterurl,
'pageurl':page_url,
'emailcode':email_code
}
print('doneeee')
<<<<<<< Updated upstream
msg_html = render_to_string('email_template2.html', message)
excel_file = f"{basepath}/MNF/email/EmailCredentials.xlsx"
=======
msg_html = render_to_string('email_template.html', message)
print('msg_html')
excel_file = f"{basepath}/MNF/email/EmailCredentials.xlsx"
print('exlefile', excel_file)
>>>>>>> Stashed changes
details = pd.read_excel(excel_file)
print('details')
email_data = details[details['email'] == str(from_email)]
print('email_sas')
host = email_data.iloc[0, 1]
print('hosj')
port = int(email_data.iloc[0, 2])
print('pass1')
password = emails_creadentials.objects.get(email=from_email)
print('pass2')
connection = get_connection(host=host,port=port,username=from_email,password=password.password,use_tls=True)
print('conn1')
# send_mail(message['subject'],title[1],from_email=from_email,recipient_list=[to_email],html_message=msg_html,connection=connection)
sendMail = EmailMultiAlternatives(message['subject'],title[1],from_email,to=[to_email],connection=connection)
print('con2')
sendMail.attach_alternative(msg_html,"text/html")
print('texthtml')
if filePath is not None:
sendMail.attach_file(f'{filePath}')
<<<<<<< Updated upstream
# if sheet_name == "Rendz (traction)":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/build_team.png")
# elif sheet_name == "membershipReferences":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/pitchdeck.png")
# elif sheet_name == "Misc.":cd
=======
print('notnone')
# if sheet_name == "Rendz (traction)":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/build_team.png")
# elif sheet_name == "membershipReferences":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/pitchdeck.png")
# elif sheet_name == "Misc.":cd
>>>>>>> Stashed changes
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/ideamall.png")
if "Idea Mall" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Idea Mall",image_url = "/media/Notification_image/Idea_Mall.png")
elif "Conversion - LPP" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion - LPP",image_url = "/media/Notification_image/Conversion_LPP.png")
elif "Script Builder" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Builder",image_url = "/media/Notification_image/Script_Builder.png")
elif "Messiah" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Messiah",image_url = "/media/Notification_image/Messiah.png")
elif "Project Centre" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Project Centre",image_url = "/media/Notification_image/Project_Centre.png")
elif "Harkat" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Harkat",image_url = "/media/Notification_image/Harkat.png")
elif "Pitchdeck Bundle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Pitchdeck Bundle",image_url = "/media/Notification_image/Pitchdeck_Bundle.png")
elif "Script page" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Page",image_url = "/media/Notification_image/Script_page.png")
elif "subtitle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Subtitle",image_url = "/media/Notification_image/subtitle.png")
# elif "script pad":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
elif "narration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Narration",image_url = "/media/Notification_image/narration.png")
elif "Institutional Membership" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Institutional Membership",image_url = "/media/Notification_image/Institutional_Membership.png")
elif "LPP - Admininstration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "LPP - Admininstration",image_url = "/media/Notification_image/LPP_Admininstration.png")
elif "Conversion ppt" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion PPT",image_url = "/media/Notification_image/Conversion_ppt.png")
elif "viewers lounge" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Viewers Lounge",image_url = "/media/Notification_image/viewers_lounge.png")
# elif "Ask a question":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Payment":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/payment.png")
# elif sheet_name == "blockchain":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/blockchain.png")
# elif sheet_name == "Sheet14":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Institutional Membership":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Institutional Membership":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
else:
<<<<<<< Updated upstream
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name)
# from plyer import notification
# notification.notify(title = sheet_name,message = title[1],timeout=100,app_icon = f'{basepath}/media/Notification_image/Conversion_ppt.png',app_name=sheet_name )
=======
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name)
# from plyer import notification
# notification.notify(title = sheet_name,message = title[1],timeout=100,app_icon = f'{basepath}/media/Notification_image/Conversion_ppt.png',app_name=sheet_name )
print('mnf_not')
>>>>>>> Stashed changes
mnf_notification.save()
print("sendmail1")
sendMail.send()
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
print('done compete notification')
return
except Exception as error:
print(error)
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error=str(error))
pass
def sendmail(to_email,email_code,key_value=None,filePath=None):
t = Thread(target=mailer,args=(to_email,email_code,key_value,filePath))
t.start()
# t = mailer(to_email,email_code,key_value)
# print(t)
<<<<<<< Updated upstream
return
=======
return
>>>>>>> Stashed changes
@api_view(["GET", "DELETE", "POST", "PUT", "PATCH"])
@authentication_classes([JWTAuthentication])
@permission_classes([IsAuthenticated])
def mnf_notification(request,pk=None):
if request.method == "GET":
if pk is not None:
main = Mnf_Notification.objects.all().filter(user=pk)
if main:
serializer = Mnf_NotificationSerializer(main,many=True)
return Response(serializer.data)
else:
return Response([])
main = Mnf_Notification.objects.all()
serializer = Mnf_NotificationSerializer(main, many=True)
return Response(serializer.data)
if request.method == "PATCH":
main = Mnf_Notification.objects.get(id=pk)
serializer = Mnf_NotificationSerializer(main, data=request.data ,partial=True)
if serializer.is_valid():
serializer.save()
return Response("partial data updated")
return Response(serializer.errors)
if request.method == "DELETE":
if pk is not None:
main = Mnf_Notification.objects.filter(id=pk)
# else:
# main = MemberProfile.objects.filter(projectid=pk)
main.delete()
return Response("data deleted")

861
auto_email/views.py.save.1 Executable file
View File

@ -0,0 +1,861 @@
# from django.core.mail import EmailMultiAlternatives
# from django.utils.html import strip_tags
# from django.template.loader import render_to_string
# from django.conf import settings
# from MNF.settings import BasePath
# from django.core.mail import send_mail , get_connection
# from payment.models import privilegedUser1
# from django.contrib.auth.models import User
# from viewerLounge.models import VideoIntroduction, LifeMemberForm
# from lpp.models import MNFLPPDDatabase
# from harkat.models import HarkatClubDatabase
# from relationshipmanager.models import RMDatabase
# from mnfapp.models import centralDatabase
# import os
# from threading import Thread
# import time
# import pandas as pd
# from auto_email.models import emails_creadentials , auto_email_function_errors
# from MNF.settings import BasePath
from .models import *
from .serializer import *
from rest_framework.response import Response
from rest_framework.decorators import (api_view, authentication_classes,
permission_classes)
from rest_framework_simplejwt.authentication import JWTAuthentication
from rest_framework.permissions import AllowAny, IsAuthenticated
# import time
# Create your views here.
# basepath = BasePath()
# def newfunc(list):
# for i in list:
# t = User.objects.filter(email=i)
# if t.exists():
# t = t[0]
# username = t.first_name if t.first_name else t.email
# return True
# def poster(user,email_code=None):
# try:
# data = User.objects.filter(email = user).values()
# id = data[0]['id']
# central_object = centralDatabase.objects.get(user_id=id)
# if not central_object.isWhatsappJoined:
# return '1'
# elif not central_object.isNewsLetterSubscribed:
# return '2'
# elif not VideoIntroduction.objects.filter(user=id).exists():
# return '3'
# elif not MNFLPPDDatabase.objects.filter(user_id=id).exists():
# return '4'
# elif not HarkatClubDatabase.objects.filter(user_id=id).exists():
# return '5'
# elif not privilegedUser1.objects.filter(user=id).exists():
# return '6'
# elif not RMDatabase.objects.filter(user_id=id).exists():
# return '7'
# elif not central_object.isTelegramJoined:
# return '8'
# # elif not LifeMemberForm.objects.get(user=id).exists():
# # return '9'
# # elif LifeMemberForm.objects.filter(user=id, showreel__isnull=True).exists():
# # return '10'
# else:
# return '9'
# except Exception as e:
# print(e)
# auto_email_function_errors.objects.create(email = str(user),email_code=email_code,key_value={"test":"test"},error=str(e))
# return '10'
# def mailer(all_email,email_code):
# try:
# for to_email in all_email:
# sheet_code_excel = '/home/user/mnf/project/MNF/MNF/email/sheetCodeExcel.xlsx'
# fileexcel = pd.read_excel(sheet_code_excel)
# s1 = slice(0, 2)
# string = email_code[s1]
# value = fileexcel[fileexcel['sheet code'] == string]
# if len(value) <= 0:
# return ('Email code does not match with any sheet ')
# sheet_name = value.iloc[0, 1]
# file_path = "/home/user/mnf/project/MNF/MNF/email/EMAILSheet.xlsx"
# file = pd.read_excel(file_path, sheet_name=sheet_name, header=1)
# row_data = file[file['Email Code'] == str(email_code)]
# if len(row_data) <= 0:
# return 'Email code is not present in any sheet'
# row_data = row_data.fillna('')
# from_email = row_data.iloc[0, 3]
# additional_option_code = row_data.iloc[0, 7]
# option_file = pd.read_excel(
# file_path, sheet_name='Common Options', header=1)
# option_details = option_file[option_file['CODE'] == str(
# additional_option_code)]
# if len(option_details) <= 0:
# return 'options code does not match with sheet options code'
# poster_file = pd.read_excel(file_path, sheet_name='poster', header=1)
# poster_code = poster(user=to_email)
# postercode = 'P'+str(poster_code)
# if poster_code == '12':
# return 'user has not any priority to send poster'
# poster_url = poster_file[poster_file['Poster code'] == str(postercode)]
# posterurl = poster_url.iloc[0, 2]
# title = row_data.iloc[0, 5].split('/')
# message = {'subject': row_data.iloc[0, 4],
# 'title1': title[0],
# 'title2': title[1],
# 'invitation': row_data.iloc[0, 4],
# 'additional': option_details.iloc[0, 2],
# 'poster': posterurl,
# }
# msg_html = render_to_string('email_templete.html', message)
# excel_file = "/home/user/mnf/project/MNF/MNF/email/EmailCredentials.xlsx"
# details = pd.read_excel(excel_file)
# email_data = details[details['email'] == str(from_email)]
# host = email_data.iloc[0, 1]
# port = int(email_data.iloc[0, 2])
# password = emails_creadentials.objects.get(email=from_email)
# connection = get_connection(host=host,port=port,username=from_email,password=password.password,use_tls=True)
# send_mail(message['subject'],title[1],from_email=from_email,recipient_list=[to_email],html_message=msg_html,connection=connection)
# notification=Mnf_Notification(user=to_email,title=title[1])
# notifiaction.save()
# return
# except Exception as error:
# pass
# def sendmail(to_email,email_code,key_value=None,filePath=None):
# # start_time = time.process_time()
# # t = Thread(target=mailer,args=(to_email,email_code,key_value,filePath))
# t = Thread(target=mailer,args=(to_email,email_code))
# t.start()
# # t = mailer(to_email,email_code,key_value)
# # print(t)
# # time.sleep(1)
# # print("email func has taken", time.process_time()-start_time, "time")
# return
from django.core.mail import EmailMultiAlternatives
from django.utils.html import strip_tags
from django.template.loader import render_to_string
from django.conf import settings
from MNF.settings import BasePath
from django.core.mail import send_mail , get_connection
from payment.models import privilegedUser1
from django.contrib.auth.models import User
from viewerLounge.models import VideoIntroduction
from lpp.models import MNFLPPDDatabase
from harkat.models import HarkatClubDatabase
# from relationshipmanager.models import RMDatabase
from mnfapp.models import centralDatabase
import os
from threading import Thread
import pandas as pd
from auto_email.models import emails_creadentials , auto_email_function_errors
from MNF.settings import BasePath
# Create your views here.
basepath = BasePath()
def newfunc(list):
for i in list:
t = User.objects.filter(email=i)
if t.exists():
t = t[0]
username = t.first_name if t.first_name else t.email
return True
def poster(user,email_code=None):
try:
data = User.objects.filter(email = user).values()
id = data[0]['id']
if not centralDatabase.objects.get(user_id=id).isWhatsappJoined:
return '1'
elif not centralDatabase.objects.get(user_id=id).isNewsLetterSubscribed:
return '2'
elif not VideoIntroduction.objects.filter(user=id).exists():
return '3'
elif not MNFLPPDDatabase.objects.filter(user_id=id).exists():
return '4'
elif not HarkatClubDatabase.objects.filter(user_id=id).exists():
return '5'
elif not privilegedUser1.objects.filter(user=id).exists():
return '6'
# elif not RMDatabase.objects.filter(user_id=id).exists():
# return '7'
elif not centralDatabase.objects.get(user_id=id).isTelegramJoined:
return '8'
# elif not LifeMemberForm.objects.get(user=id).exists():
# return '9'
# elif LifeMemberForm.objects.filter(user=id, showreel__isnull=True).exists():
# return '10'
else:
return '9'
except Exception as e:
print(e)
auto_email_function_errors.objects.create(email = str(user),email_code=email_code,key_value={"test":"test"},error=str(e))
return '10'
def mailer(all_email,email_code,key_value,filePath):
print('basepath',basepath)
try:
if not key_value:
key_value={}
for to_email in all_email:
try:
try:
name = centralDatabase.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.firstName if name.firstName else name.email
except:
name = User.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.first_name if name.first_name else name.email
except:
userName = to_email
key_value.update({"User":userName})
sheet_code_excel = f'{basepath}/MNF/email/sheetCodeExcel.xlsx'
fileexcel = pd.read_excel(sheet_code_excel)
s1 = slice(0, 2)
string = email_code[s1]
print("string",string)
value = fileexcel[fileexcel['sheet code'] == string]
print("value",value)
if len(value) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code does not match with any sheet ")
return print(('Email code does not match with any sheet'))
sheet_name = value.iloc[0, 1]
print("sheetname",sheet_name)
file_path = f"{basepath}/MNF/email/EMAILSheet39.xlsx"
file = pd.read_excel(file_path, sheet_name=sheet_name, header=1)
row_data = file[file['Email Code'] == str(email_code)]
if len(row_data) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code is not present in any sheet")
return print('Email code is not present in any sheet')
row_data = row_data.fillna('')
from_email = row_data.iloc[0, 3]
print(from_email,"from_email")
additional_option_code = row_data.iloc[0, 7]
option_file = pd.read_excel(
file_path, sheet_name='Common Options', header=1)
option_details = option_file[option_file['CODE'] == str(
additional_option_code)]
if len(option_details) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error='options code does not match with sheet options code')
return print('options code does not match with sheet options code')
poster_file = pd.read_excel(file_path, sheet_name='poster', header=1)
poster_code = poster(user=to_email,email_code = email_code)
postercode = 'P'+str(poster_code)
if poster_code == '11':
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="user has not any priority to send poster")
return print('user has not any priority to send poster')
poster_url = poster_file[poster_file['Poster code'] == str(postercode)]
posterurl = poster_url.iloc[0, 2]
page_url = poster_url.iloc[0,3]
dic_subject = str(row_data.iloc[0, 4]).replace('{}','').format_map(key_value)
dic_invitation = str(row_data.iloc[0, 6]).replace('{}','').format_map(key_value)
dic_additional = str(option_details.iloc[0, 2]).replace('{}','').format_map(key_value)
title = str(row_data.iloc[0, 5]).replace('{}','').format_map(key_value).split('/')
message = {'subject': dic_subject,
'title1': title[0],
'title2': title[1],
'invitation':dic_invitation,
'additional': dic_additional,
'poster': posterurl,
'pageurl':page_url,
'emailcode':email_code
}
print('doneeee')
msg_html = render_to_string('email_template.html', message)
print('msg_html')
excel_file = f"{basepath}/MNF/email/EmailCredentials.xlsx"
print('exlefile', excel_file)
details = pd.read_excel(excel_file)
print('details')
email_data = details[details['email'] == str(from_email)]
print('email_sas')
host = email_data.iloc[0, 1]
print('hosj')
port = int(email_data.iloc[0, 2])
print('pass1')
password = emails_creadentials.objects.get(email=from_email)
print('pass2')
connection = get_connection(host=host,port=port,username=from_email,password=password.password,use_tls=True)
print('conn1')
# send_mail(message['subject'],title[1],from_email=from_email,recipient_list=[to_email],html_message=msg_html,connection=connection)
sendMail = EmailMultiAlternatives(message['subject'],title[1],from_email,to=[to_email],connection=connection)
print('con2')
sendMail.attach_alternative(msg_html,"text/html")
print('texthtml')
if filePath is not None:
sendMail.attach_file(f'{filePath}')
print('notnone')
# if sheet_name == "Rendz (traction)":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/build_team.png")
# elif sheet_name == "membershipReferences":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/pitchdeck.png")
# elif sheet_name == "Misc.":cd
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/ideamall.png")
if "Idea Mall" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Idea Mall",image_url = "/media/Notification_image/Idea_Mall.png")
elif "Conversion - LPP" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion - LPP",image_url = "/media/Notification_image/Conversion_LPP.png")
elif "Script Builder" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Builder",image_url = "/media/Notification_image/Script_Builder.png")
elif "Messiah" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Messiah",image_url = "/media/Notification_image/Messiah.png")
elif "Project Centre" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Project Centre",image_url = "/media/Notification_image/Project_Centre.png")
elif "Harkat" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Harkat",image_url = "/media/Notification_image/Harkat.png")
elif "Pitchdeck Bundle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Pitchdeck Bundle",image_url = "/media/Notification_image/Pitchdeck_Bundle.png")
elif "Script page" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Page",image_url = "/media/Notification_image/Script_page.png")
elif "subtitle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Subtitle",image_url = "/media/Notification_image/subtitle.png")
# elif "script pad":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
elif "narration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Narration",image_url = "/media/Notification_image/narration.png")
elif "Institutional Membership" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Institutional Membership",image_url = "/media/Notification_image/Institutional_Membership.png")
elif "LPP - Admininstration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "LPP - Admininstration",image_url = "/media/Notification_image/LPP_Admininstration.png")
elif "Conversion ppt" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion PPT",image_url = "/media/Notification_image/Conversion_ppt.png")
elif "viewers lounge" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Viewers Lounge",image_url = "/media/Notification_image/viewers_lounge.png")
# elif "Ask a question":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Payment":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/payment.png")
# elif sheet_name == "blockchain":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/blockchain.png")
# elif sheet_name == "Sheet14":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Institutional Membership":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Institutional Membership":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
else:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name)
# from plyer import notification
# notification.notify(title = sheet_name,message = title[1],timeout=100,app_icon = f'{basepath}/media/Notification_image/Conversion_ppt.png',app_name=sheet_name )
print('mnf_not')
mnf_notification.save()
print("sendmail1")
sendMail.send()
print('done compete notification')
return
except Exception as error:
print(error)
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error=str(error))
pass
def sendmail(to_email,email_code,key_value=None,filePath=None):
t = Thread(target=mailer,args=(to_email,email_code,key_value,filePath))
t.start()
# t = mailer(to_email,email_code,key_value)
# print(t)
return
@api_view(["GET", "DELETE", "POST", "PUT", "PATCH"])
@authentication_classes([JWTAuthentication])
@permission_classes([IsAuthenticated])
def mnf_notification(request,pk=None):
if request.method == "GET":
if pk is not None:
main = Mnf_Notification.objects.all().filter(user=pk)
if main:
serializer = Mnf_NotificationSerializer(main,many=True)
return Response(serializer.data)
else:
return Response([])
main = Mnf_Notification.objects.all()
serializer = Mnf_NotificationSerializer(main, many=True)
return Response(serializer.data)
if request.method == "PATCH":
main = Mnf_Notification.objects.get(id=pk)
serializer = Mnf_NotificationSerializer(main, data=request.data ,partial=True)
if serializer.is_valid():
serializer.save()
return Response("partial data updated")
return Response(serializer.errors)
if request.method == "DELETE":
if pk is not None:
main = Mnf_Notification.objects.filter(id=pk)
# else:
# main = MemberProfile.objects.filter(projectid=pk)
main.delete()
return Response("data deleted")# from django.core.mail import EmailMultiAlternatives
# from django.utils.html import strip_tags
# from django.template.loader import render_to_string
# from django.conf import settings
# from MNF.settings import BasePath
# from django.core.mail import send_mail , get_connection
# from payment.models import privilegedUser1
# from django.contrib.auth.models import User
# from viewerLounge.models import VideoIntroduction, LifeMemberForm
# from lpp.models import MNFLPPDDatabase
# from harkat.models import HarkatClubDatabase
# from relationshipmanager.models import RMDatabase
# from mnfapp.models import centralDatabase
# import os
# from threading import Thread
# import time
# import pandas as pd
# from auto_email.models import emails_creadentials , auto_email_function_errors
# from MNF.settings import BasePath
from .models import *
from .serializer import *
#<<<<<<< Updated upstream
from rest_framework.response import Response
from rest_framework.response import Response
#>>>>>>> Stashed changes
from rest_framework.decorators import (api_view, authentication_classes,
permission_classes)
from rest_framework_simplejwt.authentication import JWTAuthentication
from rest_framework.permissions import AllowAny, IsAuthenticated
# import time
# Create your views here.
# basepath = BasePath()
# def newfunc(list):
# for i in list:
# t = User.objects.filter(email=i)
# if t.exists():
# t = t[0]
# username = t.first_name if t.first_name else t.email
# return True
# def poster(user,email_code=None):
# try:
# data = User.objects.filter(email = user).values()
# id = data[0]['id']
# central_object = centralDatabase.objects.get(user_id=id)
# if not central_object.isWhatsappJoined:
# return '1'
# elif not central_object.isNewsLetterSubscribed:
# return '2'
# elif not VideoIntroduction.objects.filter(user=id).exists():
# return '3'
# elif not MNFLPPDDatabase.objects.filter(user_id=id).exists():
# return '4'
# elif not HarkatClubDatabase.objects.filter(user_id=id).exists():
# return '5'
# elif not privilegedUser1.objects.filter(user=id).exists():
# return '6'
# elif not RMDatabase.objects.filter(user_id=id).exists():
# return '7'
# elif not central_object.isTelegramJoined:
# return '8'
# # elif not LifeMemberForm.objects.get(user=id).exists():
# # return '9'
# # elif LifeMemberForm.objects.filter(user=id, showreel__isnull=True).exists():
# # return '10'
# else:
# return '9'
# except Exception as e:
# print(e)
# auto_email_function_errors.objects.create(email = str(user),email_code=email_code,key_value={"test":"test"},error=str(e))
# return '10'
# def mailer(all_email,email_code):
# try:
# for to_email in all_email:
# sheet_code_excel = '/home/user/mnf/project/MNF/MNF/email/sheetCodeExcel.xlsx'
# fileexcel = pd.read_excel(sheet_code_excel)
# s1 = slice(0, 2)
# string = email_code[s1]
# value = fileexcel[fileexcel['sheet code'] == string]
# if len(value) <= 0:
# return ('Email code does not match with any sheet ')
# sheet_name = value.iloc[0, 1]
# file_path = "/home/user/mnf/project/MNF/MNF/email/EMAILSheet.xlsx"
# file = pd.read_excel(file_path, sheet_name=sheet_name, header=1)
# row_data = file[file['Email Code'] == str(email_code)]
# if len(row_data) <= 0:
# return 'Email code is not present in any sheet'
# row_data = row_data.fillna('')
# from_email = row_data.iloc[0, 3]
# additional_option_code = row_data.iloc[0, 7]
# option_file = pd.read_excel(
# file_path, sheet_name='Common Options', header=1)
# option_details = option_file[option_file['CODE'] == str(
# additional_option_code)]
# if len(option_details) <= 0:
# return 'options code does not match with sheet options code'
# poster_file = pd.read_excel(file_path, sheet_name='poster', header=1)
# poster_code = poster(user=to_email)
# postercode = 'P'+str(poster_code)
# if poster_code == '12':
# return 'user has not any priority to send poster'
# poster_url = poster_file[poster_file['Poster code'] == str(postercode)]
# posterurl = poster_url.iloc[0, 2]
# title = row_data.iloc[0, 5].split('/')
# message = {'subject': row_data.iloc[0, 4],
# 'title1': title[0],
# 'title2': title[1],
# 'invitation': row_data.iloc[0, 4],
# 'additional': option_details.iloc[0, 2],
# 'poster': posterurl,
# }
# msg_html = render_to_string('email_templete.html', message)
# excel_file = "/home/user/mnf/project/MNF/MNF/email/EmailCredentials.xlsx"
# details = pd.read_excel(excel_file)
# email_data = details[details['email'] == str(from_email)]
# host = email_data.iloc[0, 1]
# port = int(email_data.iloc[0, 2])
<<<<<<< Updated upstream
# password = emails_creadentials.objects.get(email=from_email)
=======
# password = emails_creadentials.objects.get(email=from_email)
>>>>>>> Stashed changes
# connection = get_connection(host=host,port=port,username=from_email,password=password.password,use_tls=True)
# send_mail(message['subject'],title[1],from_email=from_email,recipient_list=[to_email],html_message=msg_html,connection=connection)
# notification=Mnf_Notification(user=to_email,title=title[1])
# notifiaction.save()
# return
# except Exception as error:
# pass
# def sendmail(to_email,email_code,key_value=None,filePath=None):
# # start_time = time.process_time()
# # t = Thread(target=mailer,args=(to_email,email_code,key_value,filePath))
# t = Thread(target=mailer,args=(to_email,email_code))
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
# t.start()
# # t = mailer(to_email,email_code,key_value)
# # print(t)
# # time.sleep(1)
# # print("email func has taken", time.process_time()-start_time, "time")
<<<<<<< Updated upstream
# return
=======
# return
>>>>>>> Stashed changes
from django.core.mail import EmailMultiAlternatives
from django.utils.html import strip_tags
from django.template.loader import render_to_string
from django.conf import settings
from MNF.settings import BasePath
from django.core.mail import send_mail , get_connection
from payment.models import privilegedUser1
from django.contrib.auth.models import User
from viewerLounge.models import VideoIntroduction
from lpp.models import MNFLPPDDatabase
from harkat.models import HarkatClubDatabase
# from relationshipmanager.models import RMDatabase
from mnfapp.models import centralDatabase
import os
from threading import Thread
import pandas as pd
from auto_email.models import emails_creadentials , auto_email_function_errors
from MNF.settings import BasePath
# Create your views here.
basepath = BasePath()
def newfunc(list):
for i in list:
t = User.objects.filter(email=i)
if t.exists():
t = t[0]
username = t.first_name if t.first_name else t.email
return True
def poster(user,email_code=None):
try:
data = User.objects.filter(email = user).values()
id = data[0]['id']
if not centralDatabase.objects.get(user_id=id).isWhatsappJoined:
return '1'
elif not centralDatabase.objects.get(user_id=id).isNewsLetterSubscribed:
return '2'
elif not VideoIntroduction.objects.filter(user=id).exists():
return '3'
elif not MNFLPPDDatabase.objects.filter(user_id=id).exists():
return '4'
elif not HarkatClubDatabase.objects.filter(user_id=id).exists():
return '5'
elif not privilegedUser1.objects.filter(user=id).exists():
return '6'
<<<<<<< Updated upstream
elif not RMDatabase.objects.filter(user_id=id).exists():
return '7'
=======
# elif not RMDatabase.objects.filter(user_id=id).exists():
# return '7'
>>>>>>> Stashed changes
elif not centralDatabase.objects.get(user_id=id).isTelegramJoined:
return '8'
# elif not LifeMemberForm.objects.get(user=id).exists():
# return '9'
# elif LifeMemberForm.objects.filter(user=id, showreel__isnull=True).exists():
# return '10'
else:
return '9'
except Exception as e:
print(e)
auto_email_function_errors.objects.create(email = str(user),email_code=email_code,key_value={"test":"test"},error=str(e))
return '10'
def mailer(all_email,email_code,key_value,filePath):
print('basepath',basepath)
try:
if not key_value:
key_value={}
for to_email in all_email:
try:
try:
name = centralDatabase.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.firstName if name.firstName else name.email
except:
name = User.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.first_name if name.first_name else name.email
except:
userName = to_email
key_value.update({"User":userName})
sheet_code_excel = f'{basepath}/MNF/email/sheetCodeExcel.xlsx'
fileexcel = pd.read_excel(sheet_code_excel)
s1 = slice(0, 2)
string = email_code[s1]
print("string",string)
value = fileexcel[fileexcel['sheet code'] == string]
print("value",value)
if len(value) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code does not match with any sheet ")
return print(('Email code does not match with any sheet'))
sheet_name = value.iloc[0, 1]
print("sheetname",sheet_name)
file_path = f"{basepath}/MNF/email/EMAILSheet39.xlsx"
file = pd.read_excel(file_path, sheet_name=sheet_name, header=1)
row_data = file[file['Email Code'] == str(email_code)]
if len(row_data) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code is not present in any sheet")
return print('Email code is not present in any sheet')
row_data = row_data.fillna('')
from_email = row_data.iloc[0, 3]
print(from_email,"from_email")
additional_option_code = row_data.iloc[0, 7]
option_file = pd.read_excel(
file_path, sheet_name='Common Options', header=1)
option_details = option_file[option_file['CODE'] == str(
additional_option_code)]
if len(option_details) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error='options code does not match with sheet options code')
return print('options code does not match with sheet options code')
poster_file = pd.read_excel(file_path, sheet_name='poster', header=1)
poster_code = poster(user=to_email,email_code = email_code)
postercode = 'P'+str(poster_code)
if poster_code == '11':
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="user has not any priority to send poster")
return print('user has not any priority to send poster')
poster_url = poster_file[poster_file['Poster code'] == str(postercode)]
posterurl = poster_url.iloc[0, 2]
page_url = poster_url.iloc[0,3]
<<<<<<< Updated upstream
dic_subject = str(row_data.iloc[0, 4]).replace('{}','').format_map(key_value)
=======
dic_subject = str(row_data.iloc[0, 4]).replace('{}','').format_map(key_value)
>>>>>>> Stashed changes
dic_invitation = str(row_data.iloc[0, 6]).replace('{}','').format_map(key_value)
dic_additional = str(option_details.iloc[0, 2]).replace('{}','').format_map(key_value)
title = str(row_data.iloc[0, 5]).replace('{}','').format_map(key_value).split('/')
message = {'subject': dic_subject,
'title1': title[0],
'title2': title[1],
'invitation':dic_invitation,
'additional': dic_additional,
'poster': posterurl,
'pageurl':page_url,
'emailcode':email_code
}
print('doneeee')
<<<<<<< Updated upstream
msg_html = render_to_string('email_template2.html', message)
excel_file = f"{basepath}/MNF/email/EmailCredentials.xlsx"
=======
msg_html = render_to_string('email_template.html', message)
print('msg_html')
excel_file = f"{basepath}/MNF/email/EmailCredentials.xlsx"
print('exlefile', excel_file)
>>>>>>> Stashed changes
details = pd.read_excel(excel_file)
print('details')
email_data = details[details['email'] == str(from_email)]
print('email_sas')
host = email_data.iloc[0, 1]
print('hosj')
port = int(email_data.iloc[0, 2])
print('pass1')
password = emails_creadentials.objects.get(email=from_email)
print('pass2')
connection = get_connection(host=host,port=port,username=from_email,password=password.password,use_tls=True)
print('conn1')
# send_mail(message['subject'],title[1],from_email=from_email,recipient_list=[to_email],html_message=msg_html,connection=connection)
sendMail = EmailMultiAlternatives(message['subject'],title[1],from_email,to=[to_email],connection=connection)
print('con2')
sendMail.attach_alternative(msg_html,"text/html")
print('texthtml')
if filePath is not None:
sendMail.attach_file(f'{filePath}')
<<<<<<< Updated upstream
# if sheet_name == "Rendz (traction)":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/build_team.png")
# elif sheet_name == "membershipReferences":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/pitchdeck.png")
# elif sheet_name == "Misc.":cd
=======
print('notnone')
# if sheet_name == "Rendz (traction)":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/build_team.png")
# elif sheet_name == "membershipReferences":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/pitchdeck.png")
# elif sheet_name == "Misc.":cd
>>>>>>> Stashed changes
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/ideamall.png")
if "Idea Mall" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Idea Mall",image_url = "/media/Notification_image/Idea_Mall.png")
elif "Conversion - LPP" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion - LPP",image_url = "/media/Notification_image/Conversion_LPP.png")
elif "Script Builder" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Builder",image_url = "/media/Notification_image/Script_Builder.png")
elif "Messiah" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Messiah",image_url = "/media/Notification_image/Messiah.png")
elif "Project Centre" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Project Centre",image_url = "/media/Notification_image/Project_Centre.png")
elif "Harkat" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Harkat",image_url = "/media/Notification_image/Harkat.png")
elif "Pitchdeck Bundle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Pitchdeck Bundle",image_url = "/media/Notification_image/Pitchdeck_Bundle.png")
elif "Script page" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Page",image_url = "/media/Notification_image/Script_page.png")
elif "subtitle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Subtitle",image_url = "/media/Notification_image/subtitle.png")
# elif "script pad":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
elif "narration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Narration",image_url = "/media/Notification_image/narration.png")
elif "Institutional Membership" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Institutional Membership",image_url = "/media/Notification_image/Institutional_Membership.png")
elif "LPP - Admininstration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "LPP - Admininstration",image_url = "/media/Notification_image/LPP_Admininstration.png")
elif "Conversion ppt" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion PPT",image_url = "/media/Notification_image/Conversion_ppt.png")
elif "viewers lounge" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Viewers Lounge",image_url = "/media/Notification_image/viewers_lounge.png")
# elif "Ask a question":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Payment":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/payment.png")
# elif sheet_name == "blockchain":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/blockchain.png")
# elif sheet_name == "Sheet14":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Institutional Membership":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Institutional Membership":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
else:
<<<<<<< Updated upstream
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name)
# from plyer import notification
# notification.notify(title = sheet_name,message = title[1],timeout=100,app_icon = f'{basepath}/media/Notification_image/Conversion_ppt.png',app_name=sheet_name )
=======
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name)
# from plyer import notification
# notification.notify(title = sheet_name,message = title[1],timeout=100,app_icon = f'{basepath}/media/Notification_image/Conversion_ppt.png',app_name=sheet_name )
print('mnf_not')
>>>>>>> Stashed changes
mnf_notification.save()
print("sendmail1")
sendMail.send()
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
print('done compete notification')
return
except Exception as error:
print(error)
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error=str(error))
pass
def sendmail(to_email,email_code,key_value=None,filePath=None):
t = Thread(target=mailer,args=(to_email,email_code,key_value,filePath))
t.start()
# t = mailer(to_email,email_code,key_value)
# print(t)
<<<<<<< Updated upstream
return
=======
return
>>>>>>> Stashed changes
@api_view(["GET", "DELETE", "POST", "PUT", "PATCH"])
@authentication_classes([JWTAuthentication])
@permission_classes([IsAuthenticated])
def mnf_notification(request,pk=None):
if request.method == "GET":
if pk is not None:
main = Mnf_Notification.objects.all().filter(user=pk)
if main:
serializer = Mnf_NotificationSerializer(main,many=True)
return Response(serializer.data)
else:
return Response([])
main = Mnf_Notification.objects.all()
serializer = Mnf_NotificationSerializer(main, many=True)
return Response(serializer.data)
if request.method == "PATCH":
main = Mnf_Notification.objects.get(id=pk)
serializer = Mnf_NotificationSerializer(main, data=request.data ,partial=True)
if serializer.is_valid():
serializer.save()
return Response("partial data updated")
return Response(serializer.errors)
if request.method == "DELETE":
if pk is not None:
main = Mnf_Notification.objects.filter(id=pk)
# else:
# main = MemberProfile.objects.filter(projectid=pk)
main.delete()
return Response("data deleted")

458
auto_email/views_old.py Executable file
View File

@ -0,0 +1,458 @@
# from django.core.mail import EmailMultiAlternatives
# from django.utils.html import strip_tags
# from django.template.loader import render_to_string
# from django.conf import settings
# from MNF.settings import BasePath
# from django.core.mail import send_mail , get_connection
# from payment.models import privilegedUser1
# from django.contrib.auth.models import User
# from viewerLounge.models import VideoIntroduction, LifeMemberForm
# from lpp.models import MNFLPPDDatabase
# from harkat.models import HarkatClubDatabase
# from relationshipmanager.models import RMDatabase
# from mnfapp.models import centralDatabase
# import os
# from threading import Thread
# import time
# import pandas as pd
# from auto_email.models import emails_creadentials , auto_email_function_errors
# from MNF.settings import BasePath
from .models import *
from .serializer import *
#<<<<<<< Updated upstream
from rest_framework.response import Response
from rest_framework.response import Response
#>>>>>>> Stashed changes
from rest_framework.decorators import (api_view, authentication_classes,
permission_classes)
from rest_framework_simplejwt.authentication import JWTAuthentication
from rest_framework.permissions import AllowAny, IsAuthenticated
# import time
# Create your views here.
# basepath = BasePath()
# def newfunc(list):
# for i in list:
# t = User.objects.filter(email=i)
# if t.exists():
# t = t[0]
# username = t.first_name if t.first_name else t.email
# return True
# def poster(user,email_code=None):
# try:
# data = User.objects.filter(email = user).values()
# id = data[0]['id']
# central_object = centralDatabase.objects.get(user_id=id)
# if not central_object.isWhatsappJoined:
# return '1'
# elif not central_object.isNewsLetterSubscribed:
# return '2'
# elif not VideoIntroduction.objects.filter(user=id).exists():
# return '3'
# elif not MNFLPPDDatabase.objects.filter(user_id=id).exists():
# return '4'
# elif not HarkatClubDatabase.objects.filter(user_id=id).exists():
# return '5'
# elif not privilegedUser1.objects.filter(user=id).exists():
# return '6'
# elif not RMDatabase.objects.filter(user_id=id).exists():
# return '7'
# elif not central_object.isTelegramJoined:
# return '8'
# # elif not LifeMemberForm.objects.get(user=id).exists():
# # return '9'
# # elif LifeMemberForm.objects.filter(user=id, showreel__isnull=True).exists():
# # return '10'
# else:
# return '9'
# except Exception as e:
# print(e)
# auto_email_function_errors.objects.create(email = str(user),email_code=email_code,key_value={"test":"test"},error=str(e))
# return '10'
# def mailer(all_email,email_code):
# try:
# for to_email in all_email:
# sheet_code_excel = '/home/user/mnf/project/MNF/MNF/email/sheetCodeExcel.xlsx'
# fileexcel = pd.read_excel(sheet_code_excel)
# s1 = slice(0, 2)
# string = email_code[s1]
# value = fileexcel[fileexcel['sheet code'] == string]
# if len(value) <= 0:
# return ('Email code does not match with any sheet ')
# sheet_name = value.iloc[0, 1]
# file_path = "/home/user/mnf/project/MNF/MNF/email/EMAILSheet.xlsx"
# file = pd.read_excel(file_path, sheet_name=sheet_name, header=1)
# row_data = file[file['Email Code'] == str(email_code)]
# if len(row_data) <= 0:
# return 'Email code is not present in any sheet'
# row_data = row_data.fillna('')
# from_email = row_data.iloc[0, 3]
# additional_option_code = row_data.iloc[0, 7]
# option_file = pd.read_excel(
# file_path, sheet_name='Common Options', header=1)
# option_details = option_file[option_file['CODE'] == str(
# additional_option_code)]
# if len(option_details) <= 0:
# return 'options code does not match with sheet options code'
# poster_file = pd.read_excel(file_path, sheet_name='poster', header=1)
# poster_code = poster(user=to_email)
# postercode = 'P'+str(poster_code)
# if poster_code == '12':
# return 'user has not any priority to send poster'
# poster_url = poster_file[poster_file['Poster code'] == str(postercode)]
# posterurl = poster_url.iloc[0, 2]
# title = row_data.iloc[0, 5].split('/')
# message = {'subject': row_data.iloc[0, 4],
# 'title1': title[0],
# 'title2': title[1],
# 'invitation': row_data.iloc[0, 4],
# 'additional': option_details.iloc[0, 2],
# 'poster': posterurl,
# }
# msg_html = render_to_string('email_templete.html', message)
# excel_file = "/home/user/mnf/project/MNF/MNF/email/EmailCredentials.xlsx"
# details = pd.read_excel(excel_file)
# email_data = details[details['email'] == str(from_email)]
# host = email_data.iloc[0, 1]
# port = int(email_data.iloc[0, 2])
<<<<<<< Updated upstream
# password = emails_creadentials.objects.get(email=from_email)
=======
# password = emails_creadentials.objects.get(email=from_email)
>>>>>>> Stashed changes
# connection = get_connection(host=host,port=port,username=from_email,password=password.password,use_tls=True)
# send_mail(message['subject'],title[1],from_email=from_email,recipient_list=[to_email],html_message=msg_html,connection=connection)
# notification=Mnf_Notification(user=to_email,title=title[1])
# notifiaction.save()
# return
# except Exception as error:
# pass
# def sendmail(to_email,email_code,key_value=None,filePath=None):
# # start_time = time.process_time()
# # t = Thread(target=mailer,args=(to_email,email_code,key_value,filePath))
# t = Thread(target=mailer,args=(to_email,email_code))
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
# t.start()
# # t = mailer(to_email,email_code,key_value)
# # print(t)
# # time.sleep(1)
# # print("email func has taken", time.process_time()-start_time, "time")
<<<<<<< Updated upstream
# return
=======
# return
>>>>>>> Stashed changes
from django.core.mail import EmailMultiAlternatives
from django.utils.html import strip_tags
from django.template.loader import render_to_string
from django.conf import settings
from MNF.settings import BasePath
from django.core.mail import send_mail , get_connection
from payment.models import privilegedUser1
from django.contrib.auth.models import User
from viewerLounge.models import VideoIntroduction
from lpp.models import MNFLPPDDatabase
from harkat.models import HarkatClubDatabase
# from relationshipmanager.models import RMDatabase
from mnfapp.models import centralDatabase
import os
from threading import Thread
import pandas as pd
from auto_email.models import emails_creadentials , auto_email_function_errors
from MNF.settings import BasePath
# Create your views here.
basepath = BasePath()
def newfunc(list):
for i in list:
t = User.objects.filter(email=i)
if t.exists():
t = t[0]
username = t.first_name if t.first_name else t.email
return True
def poster(user,email_code=None):
try:
data = User.objects.filter(email = user).values()
id = data[0]['id']
if not centralDatabase.objects.get(user_id=id).isWhatsappJoined:
return '1'
elif not centralDatabase.objects.get(user_id=id).isNewsLetterSubscribed:
return '2'
elif not VideoIntroduction.objects.filter(user=id).exists():
return '3'
elif not MNFLPPDDatabase.objects.filter(user_id=id).exists():
return '4'
elif not HarkatClubDatabase.objects.filter(user_id=id).exists():
return '5'
elif not privilegedUser1.objects.filter(user=id).exists():
return '6'
<<<<<<< Updated upstream
elif not RMDatabase.objects.filter(user_id=id).exists():
return '7'
=======
# elif not RMDatabase.objects.filter(user_id=id).exists():
# return '7'
>>>>>>> Stashed changes
elif not centralDatabase.objects.get(user_id=id).isTelegramJoined:
return '8'
# elif not LifeMemberForm.objects.get(user=id).exists():
# return '9'
# elif LifeMemberForm.objects.filter(user=id, showreel__isnull=True).exists():
# return '10'
else:
return '9'
except Exception as e:
print(e)
auto_email_function_errors.objects.create(email = str(user),email_code=email_code,key_value={"test":"test"},error=str(e))
return '10'
def mailer(all_email,email_code,key_value,filePath):
print('basepath',basepath)
try:
if not key_value:
key_value={}
for to_email in all_email:
try:
try:
name = centralDatabase.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.firstName if name.firstName else name.email
except:
name = User.objects.filter(email = to_email)
if name.exists():
name = name[0]
userName = name.first_name if name.first_name else name.email
except:
userName = to_email
key_value.update({"User":userName})
sheet_code_excel = f'{basepath}/MNF/email/sheetCodeExcel.xlsx'
fileexcel = pd.read_excel(sheet_code_excel)
s1 = slice(0, 2)
string = email_code[s1]
print("string",string)
value = fileexcel[fileexcel['sheet code'] == string]
print("value",value)
if len(value) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code does not match with any sheet ")
return print(('Email code does not match with any sheet'))
sheet_name = value.iloc[0, 1]
print("sheetname",sheet_name)
file_path = f"{basepath}/MNF/email/EMAILSheet39.xlsx"
file = pd.read_excel(file_path, sheet_name=sheet_name, header=1)
row_data = file[file['Email Code'] == str(email_code)]
if len(row_data) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="Email code is not present in any sheet")
return print('Email code is not present in any sheet')
row_data = row_data.fillna('')
from_email = row_data.iloc[0, 3]
print(from_email,"from_email")
additional_option_code = row_data.iloc[0, 7]
option_file = pd.read_excel(
file_path, sheet_name='Common Options', header=1)
option_details = option_file[option_file['CODE'] == str(
additional_option_code)]
if len(option_details) <= 0:
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error='options code does not match with sheet options code')
return print('options code does not match with sheet options code')
poster_file = pd.read_excel(file_path, sheet_name='poster', header=1)
poster_code = poster(user=to_email,email_code = email_code)
postercode = 'P'+str(poster_code)
if poster_code == '11':
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error="user has not any priority to send poster")
return print('user has not any priority to send poster')
poster_url = poster_file[poster_file['Poster code'] == str(postercode)]
posterurl = poster_url.iloc[0, 2]
page_url = poster_url.iloc[0,3]
<<<<<<< Updated upstream
dic_subject = str(row_data.iloc[0, 4]).replace('{}','').format_map(key_value)
=======
dic_subject = str(row_data.iloc[0, 4]).replace('{}','').format_map(key_value)
>>>>>>> Stashed changes
dic_invitation = str(row_data.iloc[0, 6]).replace('{}','').format_map(key_value)
dic_additional = str(option_details.iloc[0, 2]).replace('{}','').format_map(key_value)
title = str(row_data.iloc[0, 5]).replace('{}','').format_map(key_value).split('/')
message = {'subject': dic_subject,
'title1': title[0],
'title2': title[1],
'invitation':dic_invitation,
'additional': dic_additional,
'poster': posterurl,
'pageurl':page_url,
'emailcode':email_code
}
print('doneeee')
<<<<<<< Updated upstream
msg_html = render_to_string('email_template2.html', message)
excel_file = f"{basepath}/MNF/email/EmailCredentials.xlsx"
=======
msg_html = render_to_string('email_template.html', message)
print('msg_html')
excel_file = f"{basepath}/MNF/email/EmailCredentials.xlsx"
print('exlefile', excel_file)
>>>>>>> Stashed changes
details = pd.read_excel(excel_file)
print('details')
email_data = details[details['email'] == str(from_email)]
print('email_sas')
host = email_data.iloc[0, 1]
print('hosj')
port = int(email_data.iloc[0, 2])
print('pass1')
password = emails_creadentials.objects.get(email=from_email)
print('pass2')
connection = get_connection(host=host,port=port,username=from_email,password=password.password,use_tls=True)
print('conn1')
# send_mail(message['subject'],title[1],from_email=from_email,recipient_list=[to_email],html_message=msg_html,connection=connection)
sendMail = EmailMultiAlternatives(message['subject'],title[1],from_email,to=[to_email],connection=connection)
print('con2')
sendMail.attach_alternative(msg_html,"text/html")
print('texthtml')
if filePath is not None:
sendMail.attach_file(f'{filePath}')
<<<<<<< Updated upstream
# if sheet_name == "Rendz (traction)":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/build_team.png")
# elif sheet_name == "membershipReferences":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/pitchdeck.png")
# elif sheet_name == "Misc.":cd
=======
print('notnone')
# if sheet_name == "Rendz (traction)":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/build_team.png")
# elif sheet_name == "membershipReferences":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/pitchdeck.png")
# elif sheet_name == "Misc.":cd
>>>>>>> Stashed changes
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/ideamall.png")
if "Idea Mall" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Idea Mall",image_url = "/media/Notification_image/Idea_Mall.png")
elif "Conversion - LPP" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion - LPP",image_url = "/media/Notification_image/Conversion_LPP.png")
elif "Script Builder" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Builder",image_url = "/media/Notification_image/Script_Builder.png")
elif "Messiah" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Messiah",image_url = "/media/Notification_image/Messiah.png")
elif "Project Centre" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Project Centre",image_url = "/media/Notification_image/Project_Centre.png")
elif "Harkat" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Harkat",image_url = "/media/Notification_image/Harkat.png")
elif "Pitchdeck Bundle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Pitchdeck Bundle",image_url = "/media/Notification_image/Pitchdeck_Bundle.png")
elif "Script page" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Script Page",image_url = "/media/Notification_image/Script_page.png")
elif "subtitle" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Subtitle",image_url = "/media/Notification_image/subtitle.png")
# elif "script pad":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
elif "narration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Narration",image_url = "/media/Notification_image/narration.png")
elif "Institutional Membership" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Institutional Membership",image_url = "/media/Notification_image/Institutional_Membership.png")
elif "LPP - Admininstration" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "LPP - Admininstration",image_url = "/media/Notification_image/LPP_Admininstration.png")
elif "Conversion ppt" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Conversion PPT",image_url = "/media/Notification_image/Conversion_ppt.png")
elif "viewers lounge" in sheet_name:
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = "Viewers Lounge",image_url = "/media/Notification_image/viewers_lounge.png")
# elif "Ask a question":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Payment":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/payment.png")
# elif sheet_name == "blockchain":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/blockchain.png")
# elif sheet_name == "Sheet14":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Institutional Membership":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
# elif sheet_name == "Institutional Membership":
# notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name,image_url = "/media/Notification_image/subtitle.png")
else:
<<<<<<< Updated upstream
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name)
# from plyer import notification
# notification.notify(title = sheet_name,message = title[1],timeout=100,app_icon = f'{basepath}/media/Notification_image/Conversion_ppt.png',app_name=sheet_name )
=======
mnf_notification=Mnf_Notification(user=to_email,title=title[1],service_name = sheet_name)
# from plyer import notification
# notification.notify(title = sheet_name,message = title[1],timeout=100,app_icon = f'{basepath}/media/Notification_image/Conversion_ppt.png',app_name=sheet_name )
print('mnf_not')
>>>>>>> Stashed changes
mnf_notification.save()
print("sendmail1")
sendMail.send()
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
print('done compete notification')
return
except Exception as error:
print(error)
auto_email_function_errors.objects.create(email = to_email,email_code=email_code,key_value=key_value,error=str(error))
pass
def sendmail(to_email,email_code,key_value=None,filePath=None):
t = Thread(target=mailer,args=(to_email,email_code,key_value,filePath))
t.start()
# t = mailer(to_email,email_code,key_value)
# print(t)
<<<<<<< Updated upstream
return
=======
return
>>>>>>> Stashed changes
@api_view(["GET", "DELETE", "POST", "PUT", "PATCH"])
@authentication_classes([JWTAuthentication])
@permission_classes([IsAuthenticated])
def mnf_notification(request,pk=None):
if request.method == "GET":
if pk is not None:
main = Mnf_Notification.objects.all().filter(user=pk)
if main:
serializer = Mnf_NotificationSerializer(main,many=True)
return Response(serializer.data)
else:
return Response([])
main = Mnf_Notification.objects.all()
serializer = Mnf_NotificationSerializer(main, many=True)
return Response(serializer.data)
if request.method == "PATCH":
main = Mnf_Notification.objects.get(id=pk)
serializer = Mnf_NotificationSerializer(main, data=request.data ,partial=True)
if serializer.is_valid():
serializer.save()
return Response("partial data updated")
return Response(serializer.errors)
if request.method == "DELETE":
if pk is not None:
main = Mnf_Notification.objects.filter(id=pk)
# else:
# main = MemberProfile.objects.filter(projectid=pk)
main.delete()
return Response("data deleted")

View File

@ -11,7 +11,7 @@ class user_info:
def update_info(self,request):
obj= BlockchainUserInfo()
#
if CorporateUser.objects.filter(user= request.user).exists():
if CorporateUser.objects.filter(user=request.user).exists():
associated_corporate_users = CorporateUser.objects.get(user=request.user)
obj.coprate_user = associated_corporate_users
obj.user = request.user
@ -73,4 +73,4 @@ class CorporateUserInfo:
)
return list(blockchain_info)
except CorporateUser.DoesNotExist:
return None
return None

View File

@ -3,7 +3,7 @@ api_key = "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"
org_id = "org-ynvY79L4IdQHUXRlK8QZN1IU"
SECRET_KEY = 'django-insecure-l+u)264k9gmd1l9*fh9vcu6#y_oi9k%n3c533&b^7&j%&#!gr1'
DEBUG = 1
ALLOWED_HOSTS=127.0.0.1,1.6.141.108,1.6.141.104,taj.mynextfilm.in
ALLOWED_HOSTS=127.0.0.1,1.6.141.108,1.6.141.104,taj.mynextfilm.in,52.66.163.18
INSTALLED_APPS=django.contrib.admin,django.contrib.auth,django.contrib.contenttypes,django.contrib.sessions,django.contrib.messages,django.contrib.staticfiles,django.contrib.sites,django_crontab,allauth,allauth.account,allauth.socialaccount,allauth.socialaccount.providers.google,users,mnfapp,auto_email,lpp,centralizePayment,centralisedFileSystem,scriptAudit,conversion,juggernaut,payment,institutional
ENGINE='django.db.backends.postgresql'

View File

@ -665,7 +665,7 @@ def discount_xlsx_reader(filePath:str):
return discountData
#DISCOUNT = discount_xlsx_reader(f"{BASE_DIR}/MNF/Pricing.xlsx")
DISCOUNT = discount_xlsx_reader(f"{BASE_DIR}/MNF/Pricing.xlsx")
def discount_limit_handler(discount:dict) -> int:
@ -709,5 +709,5 @@ def pricing_data(row_name, column_index):
#nltk dir changes
# import nltk
# nltk.data.path.append("/home/mnfbeta/nltk_data")
import nltk
nltk.data.path.append("/home/ubuntu/Conversion_Kitchen_Code/nltk_data")

View File

@ -1,51 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Email Template</title>
<style>
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Poppins:wght@100;300;400;500;600;700;800&display=swap");
article { color: #616161; line-height: 18px; }
article b { color: #252525; }
</style>
</head>
<body style="margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif;font-size: 16px;">
<div style="max-width: 70vw; box-shadow: 0px 4px 27px 0px #00000040; margin: 16px auto;">
<img src="https://uidemos.s3.ap-south-1.amazonaws.com/v2_512.png" style="width: 100%;">
<!-- <h1 style="font-size: 18px; font-weight: 700; text-align: center; margin: auto; color: #33B0CA;">CONGRATULATIONS! <br>Your Premise is now live!!!</h1> -->
<h1 style="font-size: 1.25em; font-weight: 800; text-align: center; margin: auto; color: #33B0CA;"><b>{{title1}}</b></h1>
<h2 style="font-size: 1.25em; font-weight: 800; text-align: center; margin: auto; color: #33B0CA;"><b>{{title2}}<br></b></h2>
<div style="padding: 28px">
<div style="text-align: center;">
<img src="{{doodleurl}}" style="width: 235px; height: 245px;">
</div>
<article>
<!-- <h2 style="font-size: 16px; font-weight: 500; color: #252525; margin-bottom: 16px;">Dear {{User}},</h2>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">CONGRATULATIONS! We are thrilled to welcome you to MNF, your gateway to a smoother sail on your filmmaking journey.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Thank you for choosing us. By signing up, you've taken the first step towards the world of filmmaking made easy with AI. Your journey with MNF starts here, and we promise to make every moment worthwhile.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Explore our features, connect with the community, and unlock a plethora of benefits tailored just for you.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Should you have any questions or need assistance, our support team is ready to help. Feel free to reach out at any time.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Get ready for an amazing ride with MNF!</p>
<h2 style="font-size: 16px; font-weight: 500;">Thanks and Regards <br>Team MyNextFilm</h2> -->
{% load custom_filters %}
{% with pattern="\[(.*?)\]\((.*?)\)" %}
{% with modified_value=invitation|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% with modified_value=additional|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% endwith %}
</article>
</div>
<!-- <p style="font-size: 14px; font-weight: 400; color: #616161; padding: 0 28px;">Got an amazing Premise? <a href="https://mynextfilm.ai/ideamall/#/premise-pool">Share it in the premise pool!!!</a></p> -->
<div style="text-align: center; margin-bottom: 24px;">
<img src="{{poster}}" style="border-radius: 8px; width: 90%;">
</div>
<footer style="font-size: 16px; font-weight: 500; color: #FAFAFA; background: #33B0CA; text-align: center; padding: 12px 0;">
For any related queries, please reach out to .<a href="mailto:support@mynextfilm.ai" target="_blank" style="font-weight: 700; text-decoration: underline; color: #FAFAFA;">"MY NEXT FILM PRIVATE LIMITED".</a><span style="opacity:0.05; display: inline-block;">{{emailcode}}<span>
</footer>
</div>
</body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Email Template</title>
<style>
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Poppins:wght@100;300;400;500;600;700;800&display=swap");
article { color: #616161; line-height: 18px; }
article b { color: #252525; }
</style>
</head>
<body style="margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif;font-size: 16px;">
<div style="max-width: 70vw; box-shadow: 0px 4px 27px 0px #00000040; margin: 16px auto;">
<img src="https://uidemos.s3.ap-south-1.amazonaws.com/v2_512.png" style="width: 100%;">
<!-- <h1 style="font-size: 18px; font-weight: 700; text-align: center; margin: auto; color: #33B0CA;">CONGRATULATIONS! <br>Your Premise is now live!!!</h1> -->
<h1 style="font-size: 1.25em; font-weight: 800; text-align: center; margin: auto; color: #33B0CA;"><b>{{title1}}</b></h1>
<h2 style="font-size: 1.25em; font-weight: 800; text-align: center; margin: auto; color: #33B0CA;"><b>{{title2}}<br></b></h2>
<div style="padding: 28px">
<div style="text-align: center;">
<img src="{{doodleurl}}" style="width: 235px; height: 245px;">
</div>
<article>
<!-- <h2 style="font-size: 16px; font-weight: 500; color: #252525; margin-bottom: 16px;">Dear {{User}},</h2>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">CONGRATULATIONS! We are thrilled to welcome you to MNF, your gateway to a smoother sail on your filmmaking journey.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Thank you for choosing us. By signing up, you've taken the first step towards the world of filmmaking made easy with AI. Your journey with MNF starts here, and we promise to make every moment worthwhile.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Explore our features, connect with the community, and unlock a plethora of benefits tailored just for you.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Should you have any questions or need assistance, our support team is ready to help. Feel free to reach out at any time.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Get ready for an amazing ride with MNF!</p>
<h2 style="font-size: 16px; font-weight: 500;">Thanks and Regards <br>Team MyNextFilm</h2> -->
{% load custom_filters %}
{% with pattern="\[(.*?)\]\((.*?)\)" %}
{% with modified_value=invitation|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% with modified_value=additional|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% endwith %}
</article>
</div>
<!-- <p style="font-size: 14px; font-weight: 400; color: #616161; padding: 0 28px;">Got an amazing Premise? <a href="https://mynextfilm.ai/ideamall/#/premise-pool">Share it in the premise pool!!!</a></p> -->
<div style="text-align: center; margin-bottom: 24px;">
<img src="{{poster}}" style="border-radius: 8px; width: 90%;">
</div>
<footer style="font-size: 16px; font-weight: 500; color: #FAFAFA; background: #33B0CA; text-align: center; padding: 12px 0;">
For any related queries, please reach out to .<a href="mailto:support@mynextfilm.ai" target="_blank" style="font-weight: 700; text-decoration: underline; color: #FAFAFA;">"MY NEXT FILM PRIVATE LIMITED".</a><span style="opacity:0.05; display: inline-block;">{{emailcode}}<span>
</footer>
</div>
</body>
</html>

View File

@ -1,51 +1,134 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Email Template</title>
<style>
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Poppins:wght@100;300;400;500;600;700;800&display=swap");
article { color: #616161; line-height: 18px; }
article b { color: #252525; }
</style>
</head>
<body style="margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif;">
<div style="max-width: 70vw; box-shadow: 0px 4px 27px 0px #00000040; margin: 16px auto;">
<img src="https://uidemos.s3.ap-south-1.amazonaws.com/v2_512.png" style="width: 100%;">
<!-- <h1 style="font-size: 18px; font-weight: 700; text-align: center; margin: auto; color: #33B0CA;">CONGRATULATIONS! <br>Your Premise is now live!!!</h1> -->
<h1 style="font-size: 24px; font-weight: 800; text-align: center; margin: auto; color: #33B0CA;"><b>{{title1}}</b></h1>
<h2 style="font-size: 24px; font-weight: 800; text-align: center; margin: auto; color: #33B0CA;"><b>{{title2}}<br></b></h2>
<div style="padding: 28px">
<div style="text-align: center;">
<img src="{{doodleurl}}" style="width: 235px; height: 245px;">
</div>
<article>
<!-- <h2 style="font-size: 16px; font-weight: 500; color: #252525; margin-bottom: 16px;">Dear {{User}},</h2>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">CONGRATULATIONS! We are thrilled to welcome you to MNF, your gateway to a smoother sail on your filmmaking journey.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Thank you for choosing us. By signing up, you've taken the first step towards the world of filmmaking made easy with AI. Your journey with MNF starts here, and we promise to make every moment worthwhile.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Explore our features, connect with the community, and unlock a plethora of benefits tailored just for you.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Should you have any questions or need assistance, our support team is ready to help. Feel free to reach out at any time.</p>
<p style="font-size: 14px; font-weight: 400; color: #616161; margin-bottom: 16px;">Get ready for an amazing ride with MNF!</p>
<h2 style="font-size: 16px; font-weight: 500;">Thanks and Regards <br>Team MyNextFilm</h2> -->
{% load custom_filters %}
{% with pattern="\[(.*?)\]\((.*?)\)" %}
{% with modified_value=invitation|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% with modified_value=additional|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% endwith %}
</article>
</div>
<!-- <p style="font-size: 14px; font-weight: 400; color: #616161; padding: 0 28px;">Got an amazing Premise? <a href="https://mynextfilm.ai/ideamall/#/premise-pool">Share it in the premise pool!!!</a></p> -->
<div style="text-align: center; margin-bottom: 24px;">
<img src="{{poster}}" style="border-radius: 8px; width: 90%;">
</div>
<footer style="font-size: 16px; font-weight: 500; color: #FAFAFA; background: #33B0CA; text-align: center; padding: 12px 0; white-space: nowrap;">
For any related queries, please reach out to .<a href="mailto:support@mynextfilm.ai" target="_blank" style="font-weight: 700; text-decoration: underline; color: #FAFAFA;">"MY NEXT FILM PRIVATE LIMITED".</a><span style="opacity:0.05; display: inline-block;">{{emailcode}}<span>
</footer>
</div>
</body>
</html>
<style>
body,
table,
td,
a {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
-ms-interpolation-mode: bicubic;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
}
table {
border-collapse: collapse !important;
}
body {
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
}
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
div[style*="margin: 16px 0;"] {
margin: 0 !important;
}
</style>
<body style="background-color: #f7f5fa; margin: 0 !important; padding: 0 !important;">
{% block message %}
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="#33B0CA" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="480">
<tr>
<td align="center" valign="top" style="padding: 40px 10px 20px 10px;">
<div style="display: block; font-family: Helvetica, Arial, sans-serif; color: #ffffff; font-size: 25px;"border="0"><b>My Next Film</b></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#33B0CA" align="center" style="padding: 0px 10px 0px 10px;">
<table border="0" cellpadding="5" cellspacing="0" width="480" style="width: 60%">
<tr>
<td bgcolor="#ffffff" align="center" valign="top" style="border-radius:4px 4px 0px 0px; color: #111111; font-family: Helvetica, Arial, sans-serif; font-size: 48px; font-weight: 400; line-height: 48px;">
<h1 style="font-size: 25px; font-weight: 400;font-family: Helvetica, Arial, sans-serif; margin: 0; color: #ee3c4d;"><b>{{title1}}</b></h1>
<h2 style="font-size: 22px; font-weight: 400;font-family: Helvetica, Arial, sans-serif; margin: 0; color: #ee3c4d;"><b>{{title2}}<br></b></h2>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#f4f4f4" align="center" style="padding: 0px 10px 0px 10px;">
<table border="0" cellpadding="0" cellspacing="0" width="480" style="width: 60%">
<tr>
<td bgcolor="#ffffff" align="left">
<table width="100%" border="0" cellspacing="10" cellpadding="1" padding:"5px">
<tr>
<td style="padding:20px;">
{% load custom_filters %}
{% with pattern="\[(.*?)\]\((.*?)\)" %}
{% with modified_value=invitation|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% with modified_value=additional|urlize_text|safe %}
<p>{{ modified_value|safe }}</p>
{% endwith %}
{% endwith %}
<br>
<br>
<a href="{{pageurl}}"><img src="{{poster}}" alt="{{poster}}" style="max-width:100%;height:auto;" ></a>
<br>
<br>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#ffffff" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#ffffff" align="center"
style="padding: 30px 30px 30px 30px; border-top:1px solid #dddddd;">
<table border="0" cellspacing="0" cellpadding="0" style= "margin-top:-25px">
<tr>
<td bgcolor="" align="left"
style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 18px;">
<p style="margin: 0;">For any related queries, please reach out to ."<a href="mailto:support@mynextfilm.ai" target="_blank"
style="color: #111111; font-weight: 700;">MY NEXT FILM PRIVATE LIMITED<a>".</p><div style="opacity:0.05">{{emailcode}}<div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
{% endblock message %}
</body>

View File

@ -13,9 +13,9 @@ from MNF.settings import BasePath
from django.core.mail import send_mail , get_connection
from payment.models import privilegedUser1
from django.contrib.auth.models import User
# from viewerLounge.models import VideoIntroduction
#from viewerLounge.models import VideoIntroduction
from lpp.models import MNFLPPDDatabase
# from harkat.models import HarkatClubDatabase
#from harkat.models import HarkatClubDatabase
from mnfapp.models import centralDatabase
import os
from threading import Thread
@ -23,9 +23,9 @@ import pandas as pd
from auto_email.models import emails_creadentials , auto_email_function_errors
from MNF.settings import BasePath
from users.models import UserCredentialsForBlockchain
# from ScriptPad2.models import SPProject
#from ScriptPad2.models import SPProject
from scriptAudit.models import ScriptAuditModel
# from ideamall2.models import Premise
#from ideamall2.models import Premise
from mnfapp.models import ReferUser
@ -267,4 +267,4 @@ def mnf_notification(request,pk=None):
# else:
# main = MemberProfile.objects.filter(projectid=pk)
main.delete()
return Response("data deleted")
return Response("data deleted")

View File

@ -51,6 +51,6 @@ class FileAdmin(admin.ModelAdmin):
script_id.short_description = "Script Id"
# @admin.register(BeatSheet)
# class BeatSheetAdmin(admin.ModelAdmin):
# list_display = ("id", "script", "scene_number", "created_on", "modified_on")
#@admin.register(BeatSheet)
#class BeatSheetAdmin(admin.ModelAdmin):
# list_display = ("id", "script", "scene_number", "created_on", "modified_on")

View File

@ -10,8 +10,8 @@ from jsonfield import JSONField
from centralisedFileSystem.filetypes import ALLOWED_FILETYPES
from MNF import settings
# from ScriptPad2.models import BeatNotes
# from ScriptPad2.models import ScreenPlay as ScreenPlay2
#from ScriptPad2.models import BeatNotes
#from ScriptPad2.models import ScreenPlay as ScreenPlay2
class ScreenPlay(models.Model):
@ -102,24 +102,24 @@ class File(models.Model):
def __str__(self) -> str:
return f"{self.script}_{self.type}_{self.modification_id}"
# class BeatSheet(models.Model):
# id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
# script = models.ForeignKey("ScreenPlay2", on_delete=models.CASCADE, related_name="beat_script",null=True,blank=True)
# scene_number = models.IntegerField(default=0)
# beat = models.CharField(max_length=250,null=True,blank=True)
# # beat_note = models.ForeignKey(BeatNotes,null=True,blank=True, on_delete=models.CASCADE)
# beat_note = models.ManyToManyField("BeatNotes", blank=True)
# created_on = models.DateTimeField(auto_now_add=True)
# modified_on = models.DateTimeField(auto_now=True)
# had_used_gpt = models.BooleanField(default=False)
# gpt_response = models.TextField(null=True,blank=True)
# text_file_path = models.FileField(upload_to = generate_gpt_text_folder, blank = True, null=True)
# has_notes = models.BooleanField(default = False,null=True,blank=True)
# archeive = models.BooleanField(default = False,null=True,blank=True)
# is_paid = models.BooleanField(default=False)
# is_subsequent = models.BooleanField(default=False)
# beat_note_id = models.UUIDField(default=False,null=True,blank = True)
# gptresp = models.TextField(null=True,blank=True)
#class BeatSheet(models.Model):
# id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
# script = models.ForeignKey(ScreenPlay2, on_delete=models.CASCADE, related_name="beat_script",null=True,blank=True)
# scene_number = models.IntegerField(default=0)
# beat = models.CharField(max_length=250,null=True,blank=True)
# beat_note = models.ForeignKey(BeatNotes,null=True,blank=True, on_delete=models.CASCADE)
# beat_note = models.ManyToManyField(BeatNotes, blank=True)
# created_on = models.DateTimeField(auto_now_add=True)
# modified_on = models.DateTimeField(auto_now=True)
# had_used_gpt = models.BooleanField(default=False)
# gpt_response = models.TextField(null=True,blank=True)
#text_file_path = models.FileField(upload_to = generate_gpt_text_folder, blank = True, null=True)
# has_notes = models.BooleanField(default = False,null=True,blank=True)
# archeive = models.BooleanField(default = False,null=True,blank=True)
# is_paid = models.BooleanField(default=False)
# is_subsequent = models.BooleanField(default=False)
# beat_note_id = models.UUIDField(default=False,null=True,blank = True)
# gptresp = models.TextField(null=True,blank=True)
# def __str__(self) -> str :
# return f"{self.script} {self.scene_number}"
# def __str__(self) -> str :
# return f"{self.script} {self.scene_number}"

View File

@ -184,28 +184,26 @@ class UserScriptsSerializer(serializers.ModelSerializer):
"created_on", "scripts")
# class BeatSheetSerializer(serializers.ModelSerializer):
# class Meta:
# model = BeatSheet
# fields = ("script","scene_number","beat_note","gpt_response","beat")
# extra_kwargs = {
# 'scene_number': {'required': False}
# }
#class BeatSheetSerializer(serializers.ModelSerializer):
# class Meta:
# model = BeatSheet
# fields = ("script","scene_number","beat_note","gpt_response","beat")
# extra_kwargs = {
# 'scene_number': {'required': False}
# }
# class BeatSheetSerializer(serializers.ModelSerializer):
# class Meta:
# model = BeatSheet
# fields = '__all__'
# # from centralisedFileSystem.models import TitlePage
#class BeatSheetSerializer(serializers.ModelSerializer):
# class Meta:
# model = BeatSheet
# 3 fields = '__all__'
# from centralisedFileSystem.models import TitlePage
# # class TitlePageSerializer(serializers.ModelSerializer):
# class TitlePageSerializer(serializers.ModelSerializer):
# class Meta:
# model = TitlePage
# fields = ("id","script","file","type","created_on")
# class SerializerBeatSheet(serializers.ModelSerializer):
# class Meta:
# model = BeatSheet
# fields = ["id","script","scene_number","beat","beat_note","created_on","modified_on","had_used_gpt","gpt_response","has_notes","archeive"]
#class SerializerBeatSheet(serializers.ModelSerializer):
# class Meta:
# model = BeatSheet
# fields = ["id","script","scene_number","beat","beat_note","created_on","modified_on","had_used_gpt","gpt_response","has_notes","archeive"]

View File

@ -1,5 +1,34 @@
from django.apps import AppConfig
import boto3
from django.db.models.signals import post_migrate
session = boto3.Session(
aws_access_key_id='AKIAQVLBBGCB45RMLKVW', # replace with your key
aws_secret_access_key='ZWc6KOc5LuBLuCEBDDfQTor+Q7rp3fFH74gVt+AA', # replace with your key
)
sqs = session.resource('sqs', region_name='ap-south-1')
class ConversionConfig(AppConfig):
name = 'conversion'
def ready(self):
post_migrate.connect(self.on_post_migrate, sender=self)
def on_post_migrate(self, **kwargs):
from mnfapp.models import ScriptTranslations
logger.info("Started Executin this from conversion")
queue = sqs.get_queue_by_name(QueueName="mnfqueue")
try:
messages = queue.receive_messages(
MessageAttributeNames=["All"],
MaxNumberOfMessages=5,
WaitTimeSeconds=30,
)
for msg in messages:
logger.info("Received message: %s: %s", msg.message_id, msg.body)
except ClientError as error:
logger.exception("Couldn't receive messages from queue: %s", queue)
raise error

View File

@ -0,0 +1,104 @@
import socket
import time
import boto3
import subprocess
import json
import threading
from django.core.management.base import BaseCommand
from django.core.management import call_command
from mnfapp.models import ScriptTranslations
from MNF.settings import BasePath
from conversion.translation.external_conversion import Conversion
basePath = BasePath()
def background_execution(obj):
obj.convert()
class Command(BaseCommand):
help = 'Custom Command to start django server and then start dequeuing from SQS'
def handle(self, *args, **options):
# Call the original runserver command"
# call_command('runserver', '0.0.0.0:4549')
command = 'python manage.py runserver 0.0.0.0:4549 > /home/ubuntu/Conversion_Kitchen_Code/logfile.log 2>&1'
# # Execute the command using subprocess.Popen
subprocess.Popen(command, shell=True)
# Wait for the server to start
while True:
try:
# Try to connect to the server
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.connect(('0.0.0.0', 4549))
break
except ConnectionRefusedError:
# If connection is refused, wait and try again
time.sleep(1)
# Once the server is up, run your function
self.run_after_server_startup()
def run_after_server_startup(self):
# Your function to run after the server starts
print("Development server is fully up and running! Run your function here.")
session = boto3.Session(
aws_access_key_id='AKIAQVLBBGCB45RMLKVW', # replace with your key
aws_secret_access_key='ZWc6KOc5LuBLuCEBDDfQTor+Q7rp3fFH74gVt+AA', # replace with your key
)
sqs = session.resource('sqs', region_name='ap-south-1')
print("Started Executin this from conversion")
queue = sqs.get_queue_by_name(QueueName="mnfqueue")
# try:
messages = queue.receive_messages(
MessageAttributeNames=["All"],
MaxNumberOfMessages=5,
WaitTimeSeconds=20,
)
# msg = messages[0]
for msg in messages:
try:
print("Received message: %s: %s", msg.message_id, msg.body)
print(type(msg.body))
body_dict = json.loads(msg.body)
translated_script = ScriptTranslations.objects.get(translation_id=body_dict["translation_id"])
object_key = "INPUT/" + (translated_script.script_link_id.script.name.split("/"))[-1]
local_file_path = "/home/ubuntu/Conversion_Kitchen_Code/kitchen_counter/media/" + translated_script.script_link_id.script.name
s3_client = boto3.client('s3',
aws_access_key_id="AKIAQVLBBGCB45RMLKVW",
aws_secret_access_key="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",
region_name="ap-south-1"
)
s3_client.download_file("conversion-kitchen", object_key, local_file_path)
conversion_params = {
"user": translated_script.user_id,
"file_path": str(basePath) + "/media/" + translated_script.script_link_id.script.name,
"original_script_id": translated_script.script_link_id.script_id,
"translated_script_id": translated_script.translation_id,
"sample_id": body_dict.get('sample_id', None),
"existing_script": body_dict.get('sample_id', None),
"iteration_no": body_dict.get('iteration_no', None),
"juggernaut_pages_deduction": body_dict.get("juggernaut_pages_deduction", None),
"language_set": body_dict.get("language_set", None),
"amount_without_subscrption": body_dict.get("amount_without_subscrption", None)
}
print("reached here")
obj = Conversion(**conversion_params)
# obj.convert()
background_thread = threading.Thread(target=background_execution, args=(obj,))
background_thread.start()
background_thread.join()
msg.delete()
# return JsonResponse({"sattus":"process started"})
except Exception as error:
print("error execution from queue: %s", error)
print("Completed All Execution")

View File

@ -131,7 +131,7 @@ class Conversion:
),
defaults={"status": States.STARTED}
)
audit = NeutralAudit(audit_id, False)
audit = NeutralAudit(audit_id, True)
status = ScriptAuditModel.objects.get(
script=Script.objects.get(
id=audit_id
@ -146,14 +146,14 @@ class Conversion:
status.save()
to_email = [self.user.email]
email_code = 'SB1'
sendmail(to_email=to_email, email_code=email_code)
sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
except Exception as e:
print("Error of Audit is:", e)
status.status = "FAILURE"
status.save()
to_email = [self.user.email]
email_code = 'SB2'
sendmail(to_email=to_email, email_code=email_code)
sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
print(
"Script Audit failed due to some internal error."
" If you have made any payment for conversion "
@ -177,7 +177,7 @@ class Conversion:
script_data.save()
to_email = [self.user.email]
email_code = 'SB1'
sendmail(to_email=to_email, email_code=email_code)
sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
try:
df = pd.read_csv(file_path_, encoding="utf-8")
except UnicodeError:
@ -240,13 +240,13 @@ class Conversion:
status.save()
to_email = [self.user.email]
email_code = 'SB1'
sendmail(to_email=to_email, email_code=email_code)
sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
except:
status.status = "FAILURE"
status.save()
to_email = [self.user.email]
email_code = 'SB2'
sendmail(to_email=to_email, email_code=email_code)
sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
print(
"Script Audit failed due to some internal error."
" If you have made any payment for conversion "
@ -328,13 +328,13 @@ class Conversion:
status.save()
to_email = [self.user.email]
email_code = 'SB1'
sendmail(to_email=to_email, email_code=email_code)
sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
except:
status.status = "FAILURE"
status.save()
to_email = [self.user.email]
email_code = 'SB2'
sendmail(to_email=to_email, email_code=email_code)
sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
print(
"Script Audit failed due to some internal error."
" If you have made any payment for conversion "
@ -358,7 +358,7 @@ class Conversion:
script_data.save()
to_email = [self.user.email]
email_code = 'SB1'
sendmail(to_email=to_email, email_code=email_code)
sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
try:
df = pd.read_csv(file_path_, encoding="utf-8")
except UnicodeError:
@ -477,7 +477,7 @@ class Conversion:
obj2 = self.original_script_object
temp1 = str(obj2.script)
temp2 = str(obj.translated_script_path)
uploaded_script = f"/home/mnfidea/mnf/MNF/app/media/{temp1}"
uploaded_script = f"{basePath}/media/{temp1}"
translated_scripttt = f"{basePath}{temp2}"
print("blockchain script conversion 3", uploaded_script, translated_scripttt)
with open(uploaded_script, 'rb') as f:
@ -498,13 +498,13 @@ class Conversion:
userPrivateKey = blockchain_obj.privateKey
userkey = decryptionOfPrivate(userPrivateKey)
tx_id, tx_gas_fee = UploadConversionData(OWNER_KEY, blockchain_obj.publicKey, UserId, str(Project),
Data)
print("Tx id -> ", tx_id)
# user_infos = user_info(tx_hash=tx_id, service="Conversion", gas_fee=2345432345123456)
# addition_result = user_infos.update_info(request)
Data)
print("Tx id -> ", tx_id,tx_gas_fee)
# user_infos = user_info(tx_hash=tx_id, service="Conversion", gas_fee=2345432345123456)
# addition_result = user_infos.update_info(request)
try:
user_infos = user_info(tx_hash=tx_id, service="Conversion", gas_fee=tx_gas_fee,
script_name=self.name_script)
script_name=self.name_script)
addition_result = user_infos.update_info(self)
print("Blockchain Result -> ",addition_result)
except Exception as e:
@ -581,4 +581,4 @@ class Conversion:
# "existing_scrip": None
# }
# obj = Conversion(**conversion_params)
# obj = Conversion(**conversion_params)

View File

@ -4,14 +4,14 @@
{
"distutils": {
"depends": [
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h",
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h",
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h",
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h",
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h"
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h",
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h",
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h",
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h",
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h"
],
"include_dirs": [
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include"
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include"
],
"name": "indictrans._utils.ctranxn",
"sources": [
@ -1568,7 +1568,7 @@ typedef struct {
/* #### Code section: numeric_typedefs ### */
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":730
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":730
* # in Cython to enable them only on the right systems.
*
* ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
@ -1577,7 +1577,7 @@ typedef struct {
*/
typedef npy_int8 __pyx_t_5numpy_int8_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":731
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":731
*
* ctypedef npy_int8 int8_t
* ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
@ -1586,7 +1586,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
*/
typedef npy_int16 __pyx_t_5numpy_int16_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":732
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":732
* ctypedef npy_int8 int8_t
* ctypedef npy_int16 int16_t
* ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
@ -1595,7 +1595,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
*/
typedef npy_int32 __pyx_t_5numpy_int32_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":733
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":733
* ctypedef npy_int16 int16_t
* ctypedef npy_int32 int32_t
* ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
@ -1604,7 +1604,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
*/
typedef npy_int64 __pyx_t_5numpy_int64_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":737
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":737
* #ctypedef npy_int128 int128_t
*
* ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
@ -1613,7 +1613,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
*/
typedef npy_uint8 __pyx_t_5numpy_uint8_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":738
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":738
*
* ctypedef npy_uint8 uint8_t
* ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
@ -1622,7 +1622,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
*/
typedef npy_uint16 __pyx_t_5numpy_uint16_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":739
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":739
* ctypedef npy_uint8 uint8_t
* ctypedef npy_uint16 uint16_t
* ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
@ -1631,7 +1631,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
*/
typedef npy_uint32 __pyx_t_5numpy_uint32_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":740
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":740
* ctypedef npy_uint16 uint16_t
* ctypedef npy_uint32 uint32_t
* ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
@ -1640,7 +1640,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
*/
typedef npy_uint64 __pyx_t_5numpy_uint64_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":744
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":744
* #ctypedef npy_uint128 uint128_t
*
* ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
@ -1649,7 +1649,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
*/
typedef npy_float32 __pyx_t_5numpy_float32_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":745
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":745
*
* ctypedef npy_float32 float32_t
* ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
@ -1658,7 +1658,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
*/
typedef npy_float64 __pyx_t_5numpy_float64_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":754
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":754
* # The int types are mapped a bit surprising --
* # numpy.int corresponds to 'l' and numpy.long to 'q'
* ctypedef npy_long int_t # <<<<<<<<<<<<<<
@ -1667,7 +1667,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
*/
typedef npy_long __pyx_t_5numpy_int_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":755
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":755
* # numpy.int corresponds to 'l' and numpy.long to 'q'
* ctypedef npy_long int_t
* ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
@ -1676,7 +1676,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
*/
typedef npy_longlong __pyx_t_5numpy_longlong_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":757
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":757
* ctypedef npy_longlong longlong_t
*
* ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
@ -1685,7 +1685,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
*/
typedef npy_ulong __pyx_t_5numpy_uint_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":758
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":758
*
* ctypedef npy_ulong uint_t
* ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
@ -1694,7 +1694,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
*/
typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":760
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":760
* ctypedef npy_ulonglong ulonglong_t
*
* ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
@ -1703,7 +1703,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
*/
typedef npy_intp __pyx_t_5numpy_intp_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":761
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":761
*
* ctypedef npy_intp intp_t
* ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
@ -1712,7 +1712,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
*/
typedef npy_uintp __pyx_t_5numpy_uintp_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":763
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":763
* ctypedef npy_uintp uintp_t
*
* ctypedef npy_double float_t # <<<<<<<<<<<<<<
@ -1721,7 +1721,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
*/
typedef npy_double __pyx_t_5numpy_float_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":764
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":764
*
* ctypedef npy_double float_t
* ctypedef npy_double double_t # <<<<<<<<<<<<<<
@ -1730,7 +1730,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
*/
typedef npy_double __pyx_t_5numpy_double_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":765
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":765
* ctypedef npy_double float_t
* ctypedef npy_double double_t
* ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
@ -1767,7 +1767,7 @@ static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(do
/*--- Type declarations ---*/
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":767
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":767
* ctypedef npy_longdouble longdouble_t
*
* ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
@ -1776,7 +1776,7 @@ static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(do
*/
typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":768
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":768
*
* ctypedef npy_cfloat cfloat_t
* ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
@ -1785,7 +1785,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
*/
typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":769
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":769
* ctypedef npy_cfloat cfloat_t
* ctypedef npy_cdouble cdouble_t
* ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
@ -1794,7 +1794,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
*/
typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":771
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":771
* ctypedef npy_clongdouble clongdouble_t
*
* ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
@ -2943,7 +2943,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_codeobj__5 __pyx_mstate_global->__pyx_codeobj__5
/* #### Code section: module_code ### */
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
*
* @property
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@ -2954,7 +2954,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
PyObject *__pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":248
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":248
* """Returns a borrowed reference to the object owning the data/memory.
* """
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
@ -2964,7 +2964,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
__pyx_r = PyArray_BASE(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
*
* @property
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@ -2977,7 +2977,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
*
* @property
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@ -2991,7 +2991,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
PyArray_Descr *__pyx_t_1;
__Pyx_RefNannySetupContext("descr", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":254
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":254
* """Returns an owned reference to the dtype of the array.
* """
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
@ -3004,7 +3004,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
*
* @property
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@ -3019,7 +3019,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
*
* @property
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@ -3030,7 +3030,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
int __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":260
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":260
* """Returns the number of dimensions in the array.
* """
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
@ -3040,7 +3040,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
__pyx_r = PyArray_NDIM(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
*
* @property
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@ -3053,7 +3053,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
*
* @property
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@ -3064,7 +3064,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
npy_intp *__pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":268
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":268
* Can return NULL for 0-dimensional arrays.
* """
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
@ -3074,7 +3074,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
__pyx_r = PyArray_DIMS(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
*
* @property
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@ -3087,7 +3087,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
*
* @property
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@ -3098,7 +3098,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
npy_intp *__pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":275
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":275
* The number of elements matches the number of dimensions of the array (ndim).
* """
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
@ -3108,7 +3108,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
__pyx_r = PyArray_STRIDES(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
*
* @property
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@ -3121,7 +3121,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
*
* @property
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@ -3132,7 +3132,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
npy_intp __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":281
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":281
* """Returns the total size (in number of elements) of the array.
* """
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
@ -3142,7 +3142,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
__pyx_r = PyArray_SIZE(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
*
* @property
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@ -3155,7 +3155,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
*
* @property
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@ -3166,7 +3166,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
char *__pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":290
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":290
* of `PyArray_DATA()` instead, which returns a 'void*'.
* """
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
@ -3176,7 +3176,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
__pyx_r = PyArray_BYTES(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
*
* @property
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@ -3189,7 +3189,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@ -3206,7 +3206,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":774
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":774
*
* cdef inline object PyArray_MultiIterNew1(a):
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
@ -3220,7 +3220,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@ -3239,7 +3239,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
* return PyArray_MultiIterNew(1, <void*>a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@ -3256,7 +3256,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":777
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":777
*
* cdef inline object PyArray_MultiIterNew2(a, b):
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
@ -3270,7 +3270,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
* return PyArray_MultiIterNew(1, <void*>a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@ -3289,7 +3289,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@ -3306,7 +3306,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":780
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":780
*
* cdef inline object PyArray_MultiIterNew3(a, b, c):
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
@ -3320,7 +3320,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@ -3339,7 +3339,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@ -3356,7 +3356,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":783
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":783
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
@ -3370,7 +3370,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@ -3389,7 +3389,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@ -3406,7 +3406,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":786
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":786
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
@ -3420,7 +3420,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@ -3439,7 +3439,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
*
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@ -3453,7 +3453,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
int __pyx_t_1;
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
*
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@ -3463,7 +3463,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
if (__pyx_t_1) {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":790
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":790
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d):
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
@ -3475,7 +3475,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
*
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@ -3484,7 +3484,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
*/
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":792
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":792
* return <tuple>d.subarray.shape
* else:
* return () # <<<<<<<<<<<<<<
@ -3498,7 +3498,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
goto __pyx_L0;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
*
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@ -3513,7 +3513,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
* int _import_umath() except -1
*
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@ -3527,7 +3527,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":969
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":969
*
* cdef inline void set_array_base(ndarray arr, object base):
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
@ -3536,7 +3536,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
*/
Py_INCREF(__pyx_v_base);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":970
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":970
* cdef inline void set_array_base(ndarray arr, object base):
* Py_INCREF(base) # important to do this before stealing the reference below!
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
@ -3545,7 +3545,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
*/
__pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 970, __pyx_L1_error)
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
* int _import_umath() except -1
*
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@ -3560,7 +3560,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
__pyx_L0:;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":972
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":972
* PyArray_SetBaseObject(arr, base)
*
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@ -3575,7 +3575,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
int __pyx_t_1;
__Pyx_RefNannySetupContext("get_array_base", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":973
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":973
*
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
@ -3584,7 +3584,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
*/
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr)
* if base is NULL: # <<<<<<<<<<<<<<
@ -3594,7 +3594,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
__pyx_t_1 = (__pyx_v_base == NULL);
if (__pyx_t_1) {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":975
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":975
* base = PyArray_BASE(arr)
* if base is NULL:
* return None # <<<<<<<<<<<<<<
@ -3605,7 +3605,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr)
* if base is NULL: # <<<<<<<<<<<<<<
@ -3614,7 +3614,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
*/
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":976
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":976
* if base is NULL:
* return None
* return <object>base # <<<<<<<<<<<<<<
@ -3626,7 +3626,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
__pyx_r = ((PyObject *)__pyx_v_base);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":972
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":972
* PyArray_SetBaseObject(arr, base)
*
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@ -3641,7 +3641,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":980
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":980
* # Versions of the import_* functions which are more suitable for
* # Cython code.
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@ -3665,7 +3665,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("import_array", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
@ -3681,7 +3681,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":982
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":982
* cdef inline int import_array() except -1:
* try:
* __pyx_import_array() # <<<<<<<<<<<<<<
@ -3690,7 +3690,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
*/
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 982, __pyx_L3_error)
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
@ -3704,7 +3704,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
goto __pyx_L8_try_end;
__pyx_L3_error:;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":983
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":983
* try:
* __pyx_import_array()
* except Exception: # <<<<<<<<<<<<<<
@ -3719,7 +3719,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_7);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":984
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":984
* __pyx_import_array()
* except Exception:
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@ -3734,7 +3734,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
}
goto __pyx_L5_except_error;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
@ -3750,7 +3750,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
__pyx_L8_try_end:;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":980
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":980
* # Versions of the import_* functions which are more suitable for
* # Cython code.
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@ -3773,7 +3773,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":986
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":986
* raise ImportError("numpy.core.multiarray failed to import")
*
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@ -3797,7 +3797,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("import_umath", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
*
* cdef inline int import_umath() except -1:
* try: # <<<<<<<<<<<<<<
@ -3813,7 +3813,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":988
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":988
* cdef inline int import_umath() except -1:
* try:
* _import_umath() # <<<<<<<<<<<<<<
@ -3822,7 +3822,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
*/
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 988, __pyx_L3_error)
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
*
* cdef inline int import_umath() except -1:
* try: # <<<<<<<<<<<<<<
@ -3836,7 +3836,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
goto __pyx_L8_try_end;
__pyx_L3_error:;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":989
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":989
* try:
* _import_umath()
* except Exception: # <<<<<<<<<<<<<<
@ -3851,7 +3851,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_7);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":990
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":990
* _import_umath()
* except Exception:
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@ -3866,7 +3866,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
}
goto __pyx_L5_except_error;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
*
* cdef inline int import_umath() except -1:
* try: # <<<<<<<<<<<<<<
@ -3882,7 +3882,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
__pyx_L8_try_end:;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":986
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":986
* raise ImportError("numpy.core.multiarray failed to import")
*
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@ -3905,7 +3905,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":992
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":992
* raise ImportError("numpy.core.umath failed to import")
*
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@ -3929,7 +3929,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("import_ufunc", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
*
* cdef inline int import_ufunc() except -1:
* try: # <<<<<<<<<<<<<<
@ -3945,7 +3945,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":994
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":994
* cdef inline int import_ufunc() except -1:
* try:
* _import_umath() # <<<<<<<<<<<<<<
@ -3954,7 +3954,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
*/
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 994, __pyx_L3_error)
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
*
* cdef inline int import_ufunc() except -1:
* try: # <<<<<<<<<<<<<<
@ -3968,7 +3968,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
goto __pyx_L8_try_end;
__pyx_L3_error:;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":995
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":995
* try:
* _import_umath()
* except Exception: # <<<<<<<<<<<<<<
@ -3983,7 +3983,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_7);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":996
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":996
* _import_umath()
* except Exception:
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@ -3998,7 +3998,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
}
goto __pyx_L5_except_error;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
*
* cdef inline int import_ufunc() except -1:
* try: # <<<<<<<<<<<<<<
@ -4014,7 +4014,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
__pyx_L8_try_end:;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":992
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":992
* raise ImportError("numpy.core.umath failed to import")
*
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@ -4037,7 +4037,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":999
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":999
*
*
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@ -4048,7 +4048,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
int __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1011
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1011
* bool
* """
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
@ -4058,7 +4058,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":999
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":999
*
*
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@ -4071,7 +4071,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1014
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1014
*
*
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@ -4082,7 +4082,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
int __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1026
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1026
* bool
* """
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
@ -4092,7 +4092,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1014
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1014
*
*
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@ -4105,7 +4105,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1029
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1029
*
*
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@ -4116,7 +4116,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
npy_datetime __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1036
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1036
* also needed. That can be found using `get_datetime64_unit`.
* """
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
@ -4126,7 +4126,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1029
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1029
*
*
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@ -4139,7 +4139,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1039
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1039
*
*
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@ -4150,7 +4150,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
npy_timedelta __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1043
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1043
* returns the int64 value underlying scalar numpy timedelta64 object
* """
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
@ -4160,7 +4160,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1039
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1039
*
*
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@ -4173,7 +4173,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1046
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1046
*
*
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@ -4184,7 +4184,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
NPY_DATETIMEUNIT __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1050
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1050
* returns the unit part of the dtype for a numpy datetime64 object.
* """
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
@ -4192,7 +4192,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1046
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1046
*
*
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@ -4569,7 +4569,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":984
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":984
* __pyx_import_array()
* except Exception:
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@ -4580,7 +4580,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
__Pyx_GOTREF(__pyx_tuple_);
__Pyx_GIVEREF(__pyx_tuple_);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":990
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":990
* _import_umath()
* except Exception:
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<

View File

@ -4,14 +4,14 @@
{
"distutils": {
"depends": [
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h",
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h",
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h",
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h",
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h"
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h",
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h",
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h",
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h",
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h"
],
"include_dirs": [
"/tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/core/include"
"/tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/core/include"
],
"name": "indictrans._utils.sparseadd",
"sources": [
@ -1568,7 +1568,7 @@ typedef struct {
/* #### Code section: numeric_typedefs ### */
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":730
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":730
* # in Cython to enable them only on the right systems.
*
* ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
@ -1577,7 +1577,7 @@ typedef struct {
*/
typedef npy_int8 __pyx_t_5numpy_int8_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":731
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":731
*
* ctypedef npy_int8 int8_t
* ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
@ -1586,7 +1586,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
*/
typedef npy_int16 __pyx_t_5numpy_int16_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":732
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":732
* ctypedef npy_int8 int8_t
* ctypedef npy_int16 int16_t
* ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
@ -1595,7 +1595,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
*/
typedef npy_int32 __pyx_t_5numpy_int32_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":733
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":733
* ctypedef npy_int16 int16_t
* ctypedef npy_int32 int32_t
* ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
@ -1604,7 +1604,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
*/
typedef npy_int64 __pyx_t_5numpy_int64_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":737
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":737
* #ctypedef npy_int128 int128_t
*
* ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
@ -1613,7 +1613,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
*/
typedef npy_uint8 __pyx_t_5numpy_uint8_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":738
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":738
*
* ctypedef npy_uint8 uint8_t
* ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
@ -1622,7 +1622,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
*/
typedef npy_uint16 __pyx_t_5numpy_uint16_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":739
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":739
* ctypedef npy_uint8 uint8_t
* ctypedef npy_uint16 uint16_t
* ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
@ -1631,7 +1631,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
*/
typedef npy_uint32 __pyx_t_5numpy_uint32_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":740
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":740
* ctypedef npy_uint16 uint16_t
* ctypedef npy_uint32 uint32_t
* ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
@ -1640,7 +1640,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
*/
typedef npy_uint64 __pyx_t_5numpy_uint64_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":744
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":744
* #ctypedef npy_uint128 uint128_t
*
* ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
@ -1649,7 +1649,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
*/
typedef npy_float32 __pyx_t_5numpy_float32_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":745
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":745
*
* ctypedef npy_float32 float32_t
* ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
@ -1658,7 +1658,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
*/
typedef npy_float64 __pyx_t_5numpy_float64_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":754
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":754
* # The int types are mapped a bit surprising --
* # numpy.int corresponds to 'l' and numpy.long to 'q'
* ctypedef npy_long int_t # <<<<<<<<<<<<<<
@ -1667,7 +1667,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
*/
typedef npy_long __pyx_t_5numpy_int_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":755
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":755
* # numpy.int corresponds to 'l' and numpy.long to 'q'
* ctypedef npy_long int_t
* ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
@ -1676,7 +1676,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
*/
typedef npy_longlong __pyx_t_5numpy_longlong_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":757
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":757
* ctypedef npy_longlong longlong_t
*
* ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
@ -1685,7 +1685,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
*/
typedef npy_ulong __pyx_t_5numpy_uint_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":758
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":758
*
* ctypedef npy_ulong uint_t
* ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
@ -1694,7 +1694,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
*/
typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":760
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":760
* ctypedef npy_ulonglong ulonglong_t
*
* ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
@ -1703,7 +1703,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
*/
typedef npy_intp __pyx_t_5numpy_intp_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":761
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":761
*
* ctypedef npy_intp intp_t
* ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
@ -1712,7 +1712,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
*/
typedef npy_uintp __pyx_t_5numpy_uintp_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":763
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":763
* ctypedef npy_uintp uintp_t
*
* ctypedef npy_double float_t # <<<<<<<<<<<<<<
@ -1721,7 +1721,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
*/
typedef npy_double __pyx_t_5numpy_float_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":764
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":764
*
* ctypedef npy_double float_t
* ctypedef npy_double double_t # <<<<<<<<<<<<<<
@ -1730,7 +1730,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
*/
typedef npy_double __pyx_t_5numpy_double_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":765
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":765
* ctypedef npy_double float_t
* ctypedef npy_double double_t
* ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
@ -1767,7 +1767,7 @@ static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(do
/*--- Type declarations ---*/
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":767
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":767
* ctypedef npy_longdouble longdouble_t
*
* ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
@ -1776,7 +1776,7 @@ static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(do
*/
typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":768
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":768
*
* ctypedef npy_cfloat cfloat_t
* ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
@ -1785,7 +1785,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
*/
typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":769
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":769
* ctypedef npy_cfloat cfloat_t
* ctypedef npy_cdouble cdouble_t
* ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
@ -1794,7 +1794,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
*/
typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":771
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":771
* ctypedef npy_clongdouble clongdouble_t
*
* ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
@ -3024,7 +3024,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_codeobj__6 __pyx_mstate_global->__pyx_codeobj__6
/* #### Code section: module_code ### */
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
*
* @property
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@ -3035,7 +3035,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
PyObject *__pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":248
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":248
* """Returns a borrowed reference to the object owning the data/memory.
* """
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
@ -3045,7 +3045,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
__pyx_r = PyArray_BASE(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
*
* @property
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@ -3058,7 +3058,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
*
* @property
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@ -3072,7 +3072,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
PyArray_Descr *__pyx_t_1;
__Pyx_RefNannySetupContext("descr", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":254
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":254
* """Returns an owned reference to the dtype of the array.
* """
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
@ -3085,7 +3085,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
*
* @property
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@ -3100,7 +3100,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
*
* @property
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@ -3111,7 +3111,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
int __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":260
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":260
* """Returns the number of dimensions in the array.
* """
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
@ -3121,7 +3121,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
__pyx_r = PyArray_NDIM(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
*
* @property
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@ -3134,7 +3134,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
*
* @property
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@ -3145,7 +3145,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
npy_intp *__pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":268
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":268
* Can return NULL for 0-dimensional arrays.
* """
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
@ -3155,7 +3155,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
__pyx_r = PyArray_DIMS(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
*
* @property
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@ -3168,7 +3168,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
*
* @property
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@ -3179,7 +3179,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
npy_intp *__pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":275
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":275
* The number of elements matches the number of dimensions of the array (ndim).
* """
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
@ -3189,7 +3189,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
__pyx_r = PyArray_STRIDES(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
*
* @property
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@ -3202,7 +3202,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
*
* @property
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@ -3213,7 +3213,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
npy_intp __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":281
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":281
* """Returns the total size (in number of elements) of the array.
* """
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
@ -3223,7 +3223,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
__pyx_r = PyArray_SIZE(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
*
* @property
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@ -3236,7 +3236,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
*
* @property
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@ -3247,7 +3247,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
char *__pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":290
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":290
* of `PyArray_DATA()` instead, which returns a 'void*'.
* """
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
@ -3257,7 +3257,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
__pyx_r = PyArray_BYTES(__pyx_v_self);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
*
* @property
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@ -3270,7 +3270,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@ -3287,7 +3287,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":774
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":774
*
* cdef inline object PyArray_MultiIterNew1(a):
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
@ -3301,7 +3301,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@ -3320,7 +3320,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
* return PyArray_MultiIterNew(1, <void*>a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@ -3337,7 +3337,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":777
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":777
*
* cdef inline object PyArray_MultiIterNew2(a, b):
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
@ -3351,7 +3351,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
* return PyArray_MultiIterNew(1, <void*>a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@ -3370,7 +3370,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@ -3387,7 +3387,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":780
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":780
*
* cdef inline object PyArray_MultiIterNew3(a, b, c):
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
@ -3401,7 +3401,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@ -3420,7 +3420,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@ -3437,7 +3437,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":783
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":783
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
@ -3451,7 +3451,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@ -3470,7 +3470,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@ -3487,7 +3487,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":786
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":786
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
@ -3501,7 +3501,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@ -3520,7 +3520,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
*
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@ -3534,7 +3534,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
int __pyx_t_1;
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
*
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@ -3544,7 +3544,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
if (__pyx_t_1) {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":790
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":790
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d):
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
@ -3556,7 +3556,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
*
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@ -3565,7 +3565,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
*/
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":792
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":792
* return <tuple>d.subarray.shape
* else:
* return () # <<<<<<<<<<<<<<
@ -3579,7 +3579,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
goto __pyx_L0;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
*
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@ -3594,7 +3594,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
* int _import_umath() except -1
*
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@ -3608,7 +3608,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":969
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":969
*
* cdef inline void set_array_base(ndarray arr, object base):
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
@ -3617,7 +3617,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
*/
Py_INCREF(__pyx_v_base);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":970
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":970
* cdef inline void set_array_base(ndarray arr, object base):
* Py_INCREF(base) # important to do this before stealing the reference below!
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
@ -3626,7 +3626,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
*/
__pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 970, __pyx_L1_error)
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
* int _import_umath() except -1
*
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@ -3641,7 +3641,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
__pyx_L0:;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":972
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":972
* PyArray_SetBaseObject(arr, base)
*
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@ -3656,7 +3656,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
int __pyx_t_1;
__Pyx_RefNannySetupContext("get_array_base", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":973
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":973
*
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
@ -3665,7 +3665,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
*/
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr)
* if base is NULL: # <<<<<<<<<<<<<<
@ -3675,7 +3675,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
__pyx_t_1 = (__pyx_v_base == NULL);
if (__pyx_t_1) {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":975
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":975
* base = PyArray_BASE(arr)
* if base is NULL:
* return None # <<<<<<<<<<<<<<
@ -3686,7 +3686,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr)
* if base is NULL: # <<<<<<<<<<<<<<
@ -3695,7 +3695,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
*/
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":976
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":976
* if base is NULL:
* return None
* return <object>base # <<<<<<<<<<<<<<
@ -3707,7 +3707,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
__pyx_r = ((PyObject *)__pyx_v_base);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":972
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":972
* PyArray_SetBaseObject(arr, base)
*
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@ -3722,7 +3722,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":980
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":980
* # Versions of the import_* functions which are more suitable for
* # Cython code.
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@ -3746,7 +3746,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("import_array", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
@ -3762,7 +3762,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":982
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":982
* cdef inline int import_array() except -1:
* try:
* __pyx_import_array() # <<<<<<<<<<<<<<
@ -3771,7 +3771,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
*/
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 982, __pyx_L3_error)
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
@ -3785,7 +3785,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
goto __pyx_L8_try_end;
__pyx_L3_error:;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":983
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":983
* try:
* __pyx_import_array()
* except Exception: # <<<<<<<<<<<<<<
@ -3800,7 +3800,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_7);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":984
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":984
* __pyx_import_array()
* except Exception:
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@ -3815,7 +3815,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
}
goto __pyx_L5_except_error;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":981
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
@ -3831,7 +3831,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
__pyx_L8_try_end:;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":980
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":980
* # Versions of the import_* functions which are more suitable for
* # Cython code.
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@ -3854,7 +3854,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":986
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":986
* raise ImportError("numpy.core.multiarray failed to import")
*
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@ -3878,7 +3878,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("import_umath", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
*
* cdef inline int import_umath() except -1:
* try: # <<<<<<<<<<<<<<
@ -3894,7 +3894,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":988
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":988
* cdef inline int import_umath() except -1:
* try:
* _import_umath() # <<<<<<<<<<<<<<
@ -3903,7 +3903,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
*/
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 988, __pyx_L3_error)
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
*
* cdef inline int import_umath() except -1:
* try: # <<<<<<<<<<<<<<
@ -3917,7 +3917,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
goto __pyx_L8_try_end;
__pyx_L3_error:;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":989
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":989
* try:
* _import_umath()
* except Exception: # <<<<<<<<<<<<<<
@ -3932,7 +3932,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_7);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":990
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":990
* _import_umath()
* except Exception:
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@ -3947,7 +3947,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
}
goto __pyx_L5_except_error;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":987
*
* cdef inline int import_umath() except -1:
* try: # <<<<<<<<<<<<<<
@ -3963,7 +3963,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
__pyx_L8_try_end:;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":986
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":986
* raise ImportError("numpy.core.multiarray failed to import")
*
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@ -3986,7 +3986,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":992
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":992
* raise ImportError("numpy.core.umath failed to import")
*
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@ -4010,7 +4010,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("import_ufunc", 1);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
*
* cdef inline int import_ufunc() except -1:
* try: # <<<<<<<<<<<<<<
@ -4026,7 +4026,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":994
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":994
* cdef inline int import_ufunc() except -1:
* try:
* _import_umath() # <<<<<<<<<<<<<<
@ -4035,7 +4035,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
*/
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 994, __pyx_L3_error)
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
*
* cdef inline int import_ufunc() except -1:
* try: # <<<<<<<<<<<<<<
@ -4049,7 +4049,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
goto __pyx_L8_try_end;
__pyx_L3_error:;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":995
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":995
* try:
* _import_umath()
* except Exception: # <<<<<<<<<<<<<<
@ -4064,7 +4064,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_7);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":996
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":996
* _import_umath()
* except Exception:
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@ -4079,7 +4079,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
}
goto __pyx_L5_except_error;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":993
*
* cdef inline int import_ufunc() except -1:
* try: # <<<<<<<<<<<<<<
@ -4095,7 +4095,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
__pyx_L8_try_end:;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":992
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":992
* raise ImportError("numpy.core.umath failed to import")
*
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@ -4118,7 +4118,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":999
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":999
*
*
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@ -4129,7 +4129,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
int __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1011
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1011
* bool
* """
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
@ -4139,7 +4139,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":999
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":999
*
*
* cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@ -4152,7 +4152,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1014
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1014
*
*
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@ -4163,7 +4163,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
int __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1026
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1026
* bool
* """
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
@ -4173,7 +4173,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1014
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1014
*
*
* cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@ -4186,7 +4186,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1029
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1029
*
*
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@ -4197,7 +4197,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
npy_datetime __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1036
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1036
* also needed. That can be found using `get_datetime64_unit`.
* """
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
@ -4207,7 +4207,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1029
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1029
*
*
* cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@ -4220,7 +4220,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1039
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1039
*
*
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@ -4231,7 +4231,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
npy_timedelta __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1043
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1043
* returns the int64 value underlying scalar numpy timedelta64 object
* """
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
@ -4241,7 +4241,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1039
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1039
*
*
* cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@ -4254,7 +4254,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
return __pyx_r;
}
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1046
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1046
*
*
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@ -4265,7 +4265,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
NPY_DATETIMEUNIT __pyx_r;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1050
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1050
* returns the unit part of the dtype for a numpy datetime64 object.
* """
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
@ -4273,7 +4273,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
goto __pyx_L0;
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1046
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":1046
*
*
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@ -4806,7 +4806,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":984
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":984
* __pyx_import_array()
* except Exception:
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@ -4817,7 +4817,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
__Pyx_GOTREF(__pyx_tuple_);
__Pyx_GIVEREF(__pyx_tuple_);
/* "../../../../../../tmp/pip-build-env-av8kvft1/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":990
/* "../../../../../../../tmp/pip-build-env-hlw5n6ju/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":990
* _import_umath()
* except Exception:
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<

View File

@ -7263,38 +7263,93 @@ def paymentIntentlpp(request):
@csrf_exempt
def conversion_process_starter(request):
if request.method == "POST":
print("this are the params", request.POST)
for key in ["translation_id"]:
if key not in request.POST:
return HttpResponseBadRequest()
# if request.method == "POST":
# print("this are the params", request.POST)
# for key in ["translation_id"]:
# if key not in request.POST:
# return HttpResponseBadRequest()
print("Started Execution")
# print("Started Execution")
# try:
# translated_script = ScriptTranslations.objects.get(translation_id=request.POST.get("translation_id", None))
# conversion_params = {
# "user": translated_script.user_id,
# "file_path": "/home/mnfidea/mnf/MNF/app/media/" + translated_script.script_link_id.script.name,
# "original_script_id": translated_script.script_link_id.script_id,
# "translated_script_id": translated_script.translation_id,
# "sample_id": request.POST.get("sample_id", None),
# "existing_script": request.POST.get("existing_script", None),
# "iteration_no": request.POST.get("iteration_no", None),
# "juggernaut_pages_deduction": request.POST.get("juggernaut_pages_deduction", None),
# "language_set": request.POST.get("language_set", None),
# "amount_without_subscrption": request.POST.get("amount_without_subscrption", None),
# }
# obj = Conversion(**conversion_params)
# background_thread = threading.Thread(target=background_execution, args=(obj,))
# background_thread.start()
# # obj.convert()
# return JsonResponse({"status":"Process Started"})
# except Exception as e:
# print("error:", e)
# return JsonResponse({"status":"error", "description":str(e)})
import boto3
session = boto3.Session(
aws_access_key_id='AKIAQVLBBGCB45RMLKVW', # replace with your key
aws_secret_access_key='ZWc6KOc5LuBLuCEBDDfQTor+Q7rp3fFH74gVt+AA', # replace with your key
)
sqs = session.resource('sqs', region_name='ap-south-1')
from mnfapp.models import ScriptTranslations
print("Started Executin this from conversion")
queue = sqs.get_queue_by_name(QueueName="mnfqueue")
# try:
messages = queue.receive_messages(
MessageAttributeNames=["All"],
MaxNumberOfMessages=5,
WaitTimeSeconds=20,
)
msg = messages[0]
for msg in messages:
try:
translated_script = ScriptTranslations.objects.get(translation_id=request.POST.get("translation_id", None))
print("Received message: %s: %s", msg.message_id, msg.body)
print(type(msg.body))
body_dict = json.loads(msg.body)
translated_script = ScriptTranslations.objects.get(translation_id=body_dict["translation_id"])
object_key = "INPUT/" + (translated_script.script_link_id.script.name.split("/"))[-1]
local_file_path = "/home/ubuntu/Conversion_Kitchen_Code/kitchen_counter/media/" + translated_script.script_link_id.script.name
s3_client = boto3.client('s3',
aws_access_key_id="AKIAQVLBBGCB45RMLKVW",
aws_secret_access_key="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",
region_name="ap-south-1"
)
s3_client.download_file("conversion-kitchen", object_key, local_file_path)
conversion_params = {
"user": translated_script.user_id,
"file_path": "/home/mnfidea/mnf/MNF/app/media/" + translated_script.script_link_id.script.name,
"original_script_id": translated_script.script_link_id.script_id,
"translated_script_id": translated_script.translation_id,
"sample_id": request.POST.get("sample_id", None),
"existing_script": request.POST.get("existing_script", None),
"iteration_no": request.POST.get("iteration_no", None),
"juggernaut_pages_deduction": request.POST.get("juggernaut_pages_deduction", None),
"language_set": request.POST.get("language_set", None),
"amount_without_subscrption": request.POST.get("amount_without_subscrption", None),
}
"user": translated_script.user_id,
"file_path": str(basePath) + "/media/" + translated_script.script_link_id.script.name,
"original_script_id": translated_script.script_link_id.script_id,
"translated_script_id": translated_script.translation_id,
"sample_id": body_dict.get('sample_id', None),
"existing_script": body_dict.get('sample_id', None),
"iteration_no": body_dict.get('iteration_no', None),
"juggernaut_pages_deduction": body_dict.get("juggernaut_pages_deduction", None),
"language_set": body_dict.get("language_set", None),
"amount_without_subscrption": body_dict.get("amount_without_subscrption", None)
}
print("reached here")
obj = Conversion(**conversion_params)
# obj.convert()
background_thread = threading.Thread(target=background_execution, args=(obj,))
background_thread.start()
# background_thread.join()
msg.delete()
return JsonResponse({"sattus":"process started"})
# obj.convert()
return JsonResponse({"status":"Process Started"})
except Exception as e:
print("error:", e)
return JsonResponse({"status":"error", "description":str(e)})
except Exception as error:
print("error execution from queue: %s", error)

View File

@ -93,7 +93,7 @@ importlib_resources==6.3.1
indic-nlp-library==0.92
indic-transliteration==2.3.59
indicnlp==0.0.1
indictrans @ file:///home/ubuntu/kitchen_counter/conversion/translation/indictrans
indictrans @ file:///home/ubuntu/Conversion_Kitchen_Code/kitchen_counter/conversion/translation/indictrans
ipfshttpclient==0.7.0
Jinja2==3.1.3
jmespath==1.0.1

View File

@ -27,6 +27,9 @@ import datetime
import pytz
import subprocess
#from django_q.tasks import async_task
# from django_q.brokers import Broker
class NeutralAudit:
def __init__(
self,
@ -2331,9 +2334,7 @@ class NeutralAudit:
# fdx to audited csv
para_df = pd.DataFrame()
print("inside audit_fdx ->", self.input_script)
para_df = sf.fdx_to_audited_df(self.input_script)
print("audited_fdx", para_df)
# save audited csv to file system
audited_file_name = self.script_name + ".csv"
@ -2347,7 +2348,86 @@ class NeutralAudit:
type="script-csv",
file=req_file,
)
print("csv created")
try:
self.audit_model_obj.isfdx = True
self.audit_model_obj.save()
print("isfdx True saved")
except Exception as exp:
print(repr(exp))
language_check_df = sf.check_and_copy_rows(para_df)
try:
script_language, dialogue_language = sf.language_detector_for_csv(language_check_df)
print("script_language",script_language)
print("dialogue_language",dialogue_language)
unique_script_languages = ', '.join(set(lang[0] for lang in script_language))
unique_dialogue_languages = ', '.join(set(lang[0] for lang in dialogue_language))
print("langauage detection worked")
except Exception as exp:
print(repr(exp))
unique_script_languages = ""
unique_dialogue_languages = ""
print("Langauuge detectedion csv didnt work")
try:
self.audit_model_obj.screenplay_language = unique_script_languages
self.audit_model_obj.dialogue_language = unique_dialogue_languages
self.audit_model_obj.save()
print("audit lang saved")
except Exception as exp:
print(repr(exp))
self.audit_model_obj.screenplay_language = "ENGLISH"
self.audit_model_obj.dialogue_language = "ENGLISH"
print("audot lang didnt save")
# print("In the total number of pages count")
# file_model_objects = File.objects.filter(script=self.script_id)
# audit_file_object = file_model_objects.get(type="script-csv")
# read_df = pd.read_csv(audit_file_object.file)
# print("csv fetched")
try:
print(para_df)
docx = sf.csv_to_docx(para_df)
audited_docx_path = self.base_file_path + "csv_to_docx_audited.docx"
# temp_file_stream = BytesIO()
print("docx saved")
docx.save(audited_docx_path)
# temp_file_stream.seek(0)
docx_file = ContentFile(
open(audited_docx_path, 'rb').read(),
"from_audited_csv_to_document.docx",
)
File.objects.create(
script=Script.objects.get(id=self.script_id),
type="script-docx",
file=docx_file,
)
print("script-docx object created")
# output_docx_after_audit = self.base_file_path + "audited_text.docx"
pdf_audit_file_path = self.base_file_path + "csv_to_docx_audited.pdf"
print("converted to docx")
try:
# total_page_af = sf.countPages(output_docx_after_audit,pdf_audit_file_path,self.base_file_path)
sf.countPages(audited_docx_path,pdf_audit_file_path,self.base_file_path)
print("fdx : docx to pdf was create at", str(pdf_audit_file_path) )
try:
total_page_af = sf.PdfCounter(pdf_audit_file_path)
print("total pages af = ", total_page_af)
print("hehehehehe")
self.audit_model_obj.number_of_pages = int(total_page_af)
self.audit_model_obj.save()
except Exception as exp:
print(repr(exp))
print("try except total pages didnt work")
except Exception as exp:
print("fdx docx to pdf conversion didnt work")
print("total_page_af : ", exp)
except Exception as exp:
print("csv to docs didnt work")
print(repr(exp))
return True
def quick_audit(self, lang: str = None):
@ -2633,8 +2713,8 @@ class NeutralAudit:
def audit_in_background(self):
# if os.fork() != 0:
# return
if os.fork() != 0:
return
print("Running in background")
end_time = datetime.datetime.now()
@ -2658,10 +2738,58 @@ class NeutralAudit:
self.audit_model_obj.results = exp
self.audit_model_obj.save()
print(end_time)
# def _audit(self):
# try:
# extension = self.input_script.rsplit(".", 1)[-1]
# if extension == 'fdx':
# self.audit_fdx()
# else:
# self.audit()
# self.audit_model_obj.status = States.SUCCESS
# self.audit_model_obj.save()
# print("Audit Success!!!!!!!!!!!!!!!!!!!!!!!")
# with open(self.base_file_path + "time_taken.txt", "a") as file007:
# file007.write("\n\n****AUDITING IS SUCCESSFUL****\n")
# except Exception as exp:
# self.audit_model_obj.status = States.FAILURE
# self.audit_model_obj.results = exp
# self.audit_model_obj.save()
# def audit_in_background(self):
# print("Running in background")
# async_task(self._audit)
# def audit_in_background(self):
# print("Running in background")
# async_task(self._audit)
# print("Task enqueued successfully")
# def _audit(self):
# try:
# extension = self.input_script.rsplit(".", 1)[-1]
# if extension == 'fdx':
# self.audit_fdx()
# else:
# self.audit()
# self.audit_model_obj.status = States.SUCCESS
# self.audit_model_obj.save()
# print("Audit Success!!!!!!!!!!!!!!!!!!!!!!!")
# with open(self.base_file_path + "time_taken.txt", "a") as file007:
# file007.write("\n\n****AUDITING IS SUCCESSFUL****\n")
# except Exception as exp:
# self.audit_model_obj.status = States.FAILURE
# self.audit_model_obj.results = exp
# self.audit_model_obj.save()
# print("Audit Failed:", exp)
if __name__ == "__main__":

View File

@ -1,62 +1,63 @@
import uuid
from django.db import models
from centralisedFileSystem.models import Script
class States:
"""
All the possible states of the audit.
"""
PENDING = "PENDING"
STARTED = "STARTED"
SUCCESS = "SUCCESS"
FAILURE = "FAILURE"
RETRY = "RETRY"
REVOKED = "REVOKED"
# class AuditStatus(models.Model):
# STATUS = (
# ("N", "notstarted"),
# ("R", "running"),
# ("S", "success"),
# ("F", "failed"),
# )
# id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
# script = models.ForeignKey(
# Script, on_delete=models.CASCADE, related_name="audit_scripts_files"
# )
# script_audit_status = models.CharField(choices=STATUS, default="N", max_length=20)
class ScriptAuditModel(models.Model):
_STATES = tuple(((v, v) for k, v in States.__dict__.items() if k[:2] != "__"))
"""
PENDING (waiting for execution or unknown task id)
STARTED (task has been started)
SUCCESS (task executed successfully)
FAILURE (task execution resulted in exception)
RETRY (task is being retried)
REVOKED (task has been revoked)
"""
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
script = models.OneToOneField(
Script, on_delete=models.CASCADE, blank=False, null=False, related_name="script_audit"
)
celery_id = models.CharField(max_length=50, blank=False, null=True, editable=False)
last_call = models.DateTimeField(auto_now=True)
pre_audit_run = models.BooleanField(default=False)
status = models.CharField(max_length=10, blank=True, null=True, choices=_STATES)
results = models.CharField(max_length=200, blank=True, null=True)
retries = models.IntegerField(default=0)
expected_duration = models.CharField(max_length=30, blank=True, null=True)
number_of_pages = models.IntegerField(blank=True, null=True)
screenplay_language = models.CharField(max_length=50, blank=False, null=True)
dialogue_language = models.CharField(max_length=50, blank=False, null=True)
transaction_hash = models.CharField(max_length=200, blank=False, null=True)
bchain_privatekey = models.CharField(max_length=200, blank=False, null=True)
import uuid
from django.db import models
from centralisedFileSystem.models import Script
class States:
"""
All the possible states of the audit.
"""
PENDING = "PENDING"
STARTED = "STARTED"
SUCCESS = "SUCCESS"
FAILURE = "FAILURE"
RETRY = "RETRY"
REVOKED = "REVOKED"
# class AuditStatus(models.Model):
# STATUS = (
# ("N", "notstarted"),
# ("R", "running"),
# ("S", "success"),
# ("F", "failed"),
# )
# id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
# script = models.ForeignKey(
# Script, on_delete=models.CASCADE, related_name="audit_scripts_files"
# )
# script_audit_status = models.CharField(choices=STATUS, default="N", max_length=20)
class ScriptAuditModel(models.Model):
_STATES = tuple(((v, v) for k, v in States.__dict__.items() if k[:2] != "__"))
"""
PENDING (waiting for execution or unknown task id)
STARTED (task has been started)
SUCCESS (task executed successfully)
FAILURE (task execution resulted in exception)
RETRY (task is being retried)
REVOKED (task has been revoked)
"""
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
script = models.OneToOneField(
Script, on_delete=models.CASCADE, blank=False, null=False, related_name="script_audit"
)
celery_id = models.CharField(max_length=50, blank=False, null=True, editable=False)
last_call = models.DateTimeField(auto_now=True)
pre_audit_run = models.BooleanField(default=False)
status = models.CharField(max_length=10, blank=True, null=True, choices=_STATES)
results = models.CharField(max_length=200, blank=True, null=True)
retries = models.IntegerField(default=0)
expected_duration = models.CharField(max_length=30, blank=True, null=True)
number_of_pages = models.IntegerField(blank=True, null=True)
screenplay_language = models.CharField(max_length=50, blank=False, null=True)
dialogue_language = models.CharField(max_length=50, blank=False, null=True)
transaction_hash = models.CharField(max_length=200, blank=False, null=True)
bchain_privatekey = models.CharField(max_length=200, blank=False, null=True)
isfdx = models.BooleanField(default=False)

File diff suppressed because it is too large Load Diff

View File

@ -1498,213 +1498,171 @@ Program ran for 0.0 hours, 0.0 minutes, and 13.710004329681396 seconds. for scri
Program ran for 0.0 hours, 0.0 minutes, and 15.738187313079834 seconds. for script_id= 808634d1-e7a6-4d26-a366-d6537415e37a which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 14.103402376174927 seconds. for script_id= 4989dca8-4e09-45f7-bb0a-497179775d59 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 11.123064756393433 seconds. for script_id= ee1966a8-9077-4e49-9c68-5ac0f1d332cf which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 42.60572576522827 seconds. for script_id= 52c4959d-3193-4dff-90d0-06b886b5f551 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 40.991135358810425 seconds. for script_id= 66a1d262-1d5d-4ab1-ab88-6d9a0c7f6db7 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 40.267338275909424 seconds. for script_id= 5b0c275b-2a51-407a-a993-af20466cff33 which has pdf pages of 2.
Program ran for 0.0 hours, 3.0 minutes, and 2.3177292346954346 seconds. for script_id= d97e2ba1-cba7-4070-9a23-2b0fe4375732 which has pdf pages of 10.
Program ran for 0.0 hours, 0.0 minutes, and 34.29007625579834 seconds. for script_id= 4ed07381-9e61-49b8-91e7-114eec15f0db which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.54542088508606 seconds. for script_id= 06a1f815-2ca3-428a-afb7-66573070e213 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 36.468069076538086 seconds. for script_id= 8b84239b-8698-4d7d-96cd-6a0b2acf9941 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.812279224395752 seconds. for script_id= 02ac7eef-d92a-44b9-b0b2-eec68b2024b6 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.284053802490234 seconds. for script_id= 7dc30453-9ee8-4a0a-82e2-f229c908f11d which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 37.106586933135986 seconds. for script_id= 587602b3-8101-4574-9521-f0f65fa125cc which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.71573495864868 seconds. for script_id= 4b863348-a360-4b83-9cc0-d5e9fe5d214b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 29.535301685333252 seconds. for script_id= 042432cc-5e99-45b9-9a30-9ceeaf5bd8f4 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 37.01615118980408 seconds. for script_id= 6387f932-6791-4bf2-bcf4-8c6143e672c3 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.328794956207275 seconds. for script_id= d766dad6-e863-42d5-b965-ded3abf7baa0 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.041617155075073 seconds. for script_id= d0dfc325-4c91-4974-8ea1-b4daf21bfaf9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 36.45180010795593 seconds. for script_id= cd958a6c-492c-464a-8819-3b1e8e23d679 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.5711612701416 seconds. for script_id= 54e30a48-ce3b-4d6f-ab72-89287856873f which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.884109258651733 seconds. for script_id= a818d45d-1025-4b7f-ac65-78ee1bdaf26d which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 37.13410496711731 seconds. for script_id= 4245ed93-3631-440c-9975-b8ae4bc3ecab which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.35098576545715 seconds. for script_id= 39e25c81-1ed7-4ffb-820e-7eca71dbf27a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 32.637699127197266 seconds. for script_id= c7d7fe29-d6b8-4bd5-998b-b60f59bdcceb which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 36.863024950027466 seconds. for script_id= e812ea9b-a6cf-454d-94c5-56ca123b01db which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.4288375377655 seconds. for script_id= e7fdd11b-f827-432a-a751-4dead6d99fb4 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.182328939437866 seconds. for script_id= f8677670-9260-421b-813c-fd7c66b37f93 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 42.26827669143677 seconds. for script_id= a187bb31-05e9-4f16-9247-f92bb33372b6 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 35.756067991256714 seconds. for script_id= e2fc38af-df49-48f2-8046-b393c88b6b87 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 32.01985478401184 seconds. for script_id= d3e75999-4c14-445f-b0c1-5140413f3c1f which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.62373948097229 seconds. for script_id= c166eba1-ebc0-4b86-8a5c-9e77a7d5270f which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 37.13396072387695 seconds. for script_id= e5437f27-4224-4344-805c-a50d7d0943cb which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.82768940925598 seconds. for script_id= 700369d7-f0a3-4324-b177-2fa4e5418a5e which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 35.91161632537842 seconds. for script_id= 47d142c8-1709-43a6-bb60-62044a1d8cfa which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.243266344070435 seconds. for script_id= 340ece54-25ba-488a-827d-ebb2ceb57e1d which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 32.02337908744812 seconds. for script_id= 4507eb21-6721-4852-a2dc-a66ca2d5972a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 37.20170831680298 seconds. for script_id= b2fbae11-aefe-449c-b925-85151cdd38f3 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 40.59651064872742 seconds. for script_id= fb57615f-7519-4c9c-826f-61cc9c68e3e0 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 22.244649410247803 seconds. for script_id= deacd19b-0fa0-434c-b549-065c2edcf263 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 19.185032844543457 seconds. for script_id= 4d913655-ff96-422e-b091-8a8e7557f679 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 18.384729385375977 seconds. for script_id= 910aa37e-3f39-4d8f-8c08-68437a1bca10 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 13.888488054275513 seconds. for script_id= 12372b24-0d8b-4b78-8963-868adced3cca which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 18.886935234069824 seconds. for script_id= 3301d387-e6ed-4b78-a469-9c2194b77e56 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 38.89049243927002 seconds. for script_id= 9f252438-7fdb-4fdf-a0b8-9ed1113f222a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 44.709495544433594 seconds. for script_id= 0635bbff-1f83-4e9a-9ba6-d24ffa1808f2 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 40.23012590408325 seconds. for script_id= 2e69befd-5561-45ac-9538-c715de8247f3 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 29.786361694335938 seconds. for script_id= 543cba08-aac9-4529-af71-d048fd972e39 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 13.043089628219604 seconds. for script_id= 3f13140f-0def-4064-b9aa-9d10498a2239 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 12.151870489120483 seconds. for script_id= 5a406dc8-dae7-4874-b218-d8a740390f6c which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 19.22734832763672 seconds. for script_id= afc65606-633f-44b6-a80c-88ad7626db5f which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 13.348113298416138 seconds. for script_id= 8b163b34-8f33-4f55-979d-0edd56694180 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 18.71269154548645 seconds. for script_id= b3fea508-debb-4540-8aa0-a9e6374ac038 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 18.02388858795166 seconds. for script_id= 753565f5-ba13-4f20-92aa-35eed7745657 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 15.490218162536621 seconds. for script_id= 6dd9e39b-87c0-4559-ab8a-d377d9abe63b which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 13.163147449493408 seconds. for script_id= eb986f0f-d85d-4fb4-9cb3-e1aba280cbd1 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 21.606236457824707 seconds. for script_id= 37d72c83-e9a2-49a6-9a22-1e22fcccc8ec which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 21.03085732460022 seconds. for script_id= ec470b36-49f2-49c5-8d28-821f7cd07e35 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 12.148484945297241 seconds. for script_id= 28618e1f-b1f4-41f7-9c87-d2980040e0f7 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 20.213520526885986 seconds. for script_id= 061c54b2-1f0b-44d4-9c4d-0b92f77ac3ea which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 5.727404832839966 seconds. for script_id= be6058fa-9de0-4dda-aad2-a768a3cddba1 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 5.951545476913452 seconds. for script_id= 7147dbf4-41e8-4a12-abec-909acc07e119 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 15.226466655731201 seconds. for script_id= dc87bcf6-fcf0-45ae-9076-8d51adfcb41d which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 23.946920156478882 seconds. for script_id= cf1ff441-f661-46d9-bd67-3739b4dfb0f8 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 34.132845640182495 seconds. for script_id= 04b6bba3-ffb9-428c-80ee-d17f6738f8fb which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 45.298577308654785 seconds. for script_id= 323d60f4-8ea8-4b6d-b21b-a896b5866f63 which has pdf pages of 2.
Program ran for 0.0 hours, 2.0 minutes, and 58.77051854133606 seconds. for script_id= 36857bcc-fbf1-4760-aa5d-86838baf770c which has pdf pages of 11.
Program ran for 0.0 hours, 3.0 minutes, and 29.054972648620605 seconds. for script_id= aa1c2119-97b6-4fa5-8960-426706e5de00 which has pdf pages of 12.
Program ran for 0.0 hours, 0.0 minutes, and 25.866368532180786 seconds. for script_id= ddad1558-4466-4730-8269-d3414a6c5ee0 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 14.637478590011597 seconds. for script_id= 86c270a2-ba44-4f12-bf5a-c222e6b06a1c which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.07358169555664 seconds. for script_id= f03b57a0-58c2-44ae-864c-094949685975 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.05816626548767 seconds. for script_id= dc717778-aa94-4f26-accf-cd3203031db4 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.031863689422607 seconds. for script_id= 119ebfb9-8756-4363-bd4f-8c0c392e4104 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 36.28408217430115 seconds. for script_id= b226bf47-4757-4871-9405-da867a8e0b2c which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 47.267754316329956 seconds. for script_id= 83c897a7-b30e-49a3-9590-677ce9b1cc53 which has pdf pages of 4.
Program ran for 0.0 hours, 0.0 minutes, and 16.153621435165405 seconds. for script_id= 0c630902-630a-4df0-b0b8-b7ffde17b54f which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 49.279929876327515 seconds. for script_id= 99794802-85e5-4732-8f95-222468694454 which has pdf pages of 4.
Program ran for 0.0 hours, 0.0 minutes, and 24.2423677444458 seconds. for script_id= 0036f00f-61bd-44e0-8825-8d6e17b7534c which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 15.245176315307617 seconds. for script_id= 26c194c8-deef-4290-81a3-9b60a660c17f which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 11.4727303981781 seconds. for script_id= 1197472e-d22e-4a5c-9b2d-eca8c24c2315 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 3.7139170169830322 seconds. for script_id= ffc5ad6b-39d1-4702-b467-62f29bf08dc8 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 13.340949773788452 seconds. for script_id= 3977217e-e19b-4533-8e67-abfa48dad0ce which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 10.186290264129639 seconds. for script_id= 37fd2770-12d9-4b92-89bc-d537aa384de3 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 16.499574899673462 seconds. for script_id= 571784ed-3cfc-477b-868e-8b7ad026d5c0 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 11.419005870819092 seconds. for script_id= 17637217-f15d-4c6b-89c4-8429943b09d7 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 10.434055089950562 seconds. for script_id= 76db7d7e-0ad4-420f-9036-d3776ca6c305 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 9.85600209236145 seconds. for script_id= 643c6d2b-0fda-4c53-ad65-c0bead6165c2 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 10.649484395980835 seconds. for script_id= e5056344-a1bf-4c64-9c38-fa274e182d9e which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 10.966484308242798 seconds. for script_id= f2976b16-2557-429e-bd0f-c22b30ecd67b which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 11.308893918991089 seconds. for script_id= 5d732cf1-2ea6-4ad0-ac72-b53c573b3a67 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 4.778898239135742 seconds. for script_id= c6686f90-60be-4ee5-a1b8-70390d513bf7 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 20.205076456069946 seconds. for script_id= a0755db8-6a84-46e0-91a2-5de08bace680 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 19.34360432624817 seconds. for script_id= e5531c81-ea14-4eab-ae7f-bf093e14342b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.65286135673523 seconds. for script_id= f71ad732-32a2-49f6-9cb8-f92f12814fe8 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.847059726715088 seconds. for script_id= 6e8c1ea9-5811-49d2-86b1-d10477b9b4f2 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 23.74321460723877 seconds. for script_id= d5208eba-aa04-44a1-b7ea-20cb28e3d451 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 20.695993423461914 seconds. for script_id= b43bec1f-675f-48c3-a756-791b36dda9f8 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 9.96241569519043 seconds. for script_id= 87e383a7-004c-480d-ab8f-5a4c8db58543 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 18.416592836380005 seconds. for script_id= c376f4bd-4861-43c6-90f8-296dedb6b849 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 30.324819803237915 seconds. for script_id= 13ce4a75-86fd-4c7c-9a8e-74f4fad77865 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 5.558081388473511 seconds. for script_id= cce6faf4-9d4a-4ef1-a52e-139f02ac3dc7 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.633267641067505 seconds. for script_id= 949d2215-2361-4a42-bee4-fc9ad56df47b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 15.4191312789917 seconds. for script_id= 56632a10-8e13-409a-a8fd-e5da10fd7df5 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 16.42168116569519 seconds. for script_id= 6990ec23-bed8-4a19-adc2-6e49132c57f2 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 19.93283724784851 seconds. for script_id= fae891ec-30b6-4444-9155-d786a95fa8de which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 20.467729806900024 seconds. for script_id= e12ba75a-437a-4fd2-9642-be0f663ebf8c which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 17.674346446990967 seconds. for script_id= ad46d7e2-77bb-41da-96e0-0d8f0d51f001 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 13.284056901931763 seconds. for script_id= 86127fb9-dfc8-4b44-ba90-fcfc17ce9047 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 16.196038007736206 seconds. for script_id= d4ea33a2-ccc9-4d97-8c16-9bccf210f8b3 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 11.539140701293945 seconds. for script_id= 07ed6f4d-1ab2-4ab5-ae8a-b407f8fa353c which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 16.327685832977295 seconds. for script_id= c0f22fdd-accb-458b-9382-5506ab067ec7 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 12.221120595932007 seconds. for script_id= 6f43cbd0-728a-4347-8562-6d51d9b5b621 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 18.466139554977417 seconds. for script_id= e76dde1c-6f0c-4f25-856d-c92a05c97bbd which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 13.859522819519043 seconds. for script_id= e7ce7b5b-a7b5-464e-9f29-2ab6fdbe6010 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 10.623057126998901 seconds. for script_id= 2caf74a0-aa9c-4737-b318-13450f46c6b3 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 10.979204416275024 seconds. for script_id= d3081658-0a67-4299-a59c-f578924e2226 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 12.604173183441162 seconds. for script_id= 461a08f1-f165-4880-82d7-f630db0a079c which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 10.246422529220581 seconds. for script_id= 0584d2d8-a918-4ff1-8807-68e94d1b9b83 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 11.069580554962158 seconds. for script_id= 28860bd6-5168-4976-b049-7ed521c29b30 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 13.885580778121948 seconds. for script_id= a4f01507-b313-42ee-8ad7-76741f6076f9 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 32.06592535972595 seconds. for script_id= 4d913b70-9695-4ead-b693-cc6557a51a65 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 28.85625672340393 seconds. for script_id= 648b1462-bf8f-41ce-9770-a8857d2b96cb which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 22.21066117286682 seconds. for script_id= fa0147c9-0c70-46ea-9586-1c38c118b322 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 31.92120337486267 seconds. for script_id= 43ac34f8-ed75-4c5d-9bc5-897ef12ecb4f which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 30.699814558029175 seconds. for script_id= ee3d68d7-0fe4-4386-8c61-e88e5804e90c which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.79005193710327 seconds. for script_id= f9e3bbfb-85cc-4931-9250-1aafaf17c981 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 26.579007387161255 seconds. for script_id= f7cf8a9c-fe09-4f2b-a576-f5c75c83ec70 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.568623304367065 seconds. for script_id= 716e53ed-abd7-4aa6-8c57-0a156eba7590 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 19.2660653591156 seconds. for script_id= f4a0e507-5085-4c29-8001-f21df0a450e8 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.15290594100952 seconds. for script_id= 4c1a056f-613b-46ad-9cd3-ab0a1498d2dd which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 21.066017866134644 seconds. for script_id= 388fb7d9-3061-43e6-8f56-a69993867391 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 20.48079204559326 seconds. for script_id= 90c704ea-40b4-4c96-91b8-935438fa7d28 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 20.218392848968506 seconds. for script_id= 62c16216-b0c2-4b11-9c2d-6123cf0957cc which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 20.72624921798706 seconds. for script_id= f03b56ea-ed54-4182-af73-158ec40e14f9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.19185185432434 seconds. for script_id= 6a2aeb3a-5395-4a70-a0aa-52603da0a753 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.504963397979736 seconds. for script_id= baee9171-9064-4414-8d40-704f15fc29c7 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.201300144195557 seconds. for script_id= 383dee62-4be8-4f7e-b831-89b155acd3c9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 9.258684158325195 seconds. for script_id= 67a28f62-b507-4257-865f-0593fcd9653e which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 7.960428953170776 seconds. for script_id= e43e1376-3a13-4912-a79f-cd2ac781b327 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 12.494216918945312 seconds. for script_id= 35b9f069-9393-49ff-9fe1-9c62f9804bf5 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 15.815691471099854 seconds. for script_id= e4e9d325-683c-4e49-91aa-d3e2f5a5bc1a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 11.474070072174072 seconds. for script_id= 6040609c-87b4-46e5-8349-ce0e13e2fc61 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 8.907824039459229 seconds. for script_id= ce99506b-3e04-446d-8228-29551d0b3945 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.85280203819275 seconds. for script_id= 1bc141fb-763f-4784-b38f-c2b0b4ac5b1c which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 29.27909016609192 seconds. for script_id= 1d00c42f-eaed-4350-9aa6-6195a9374d18 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.97062849998474 seconds. for script_id= e3322cc6-7b37-4119-b053-8c43d435c113 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 36.19647455215454 seconds. for script_id= 31b31f5c-a11b-4d07-b24a-fcb21832cbce which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 46.775277853012085 seconds. for script_id= a4b39c46-2074-47cd-925f-4ab4cf5c559d which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.71323561668396 seconds. for script_id= 4b525aa7-5368-4f6a-904b-40d782676c52 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 36.22214102745056 seconds. for script_id= 1c1ba180-b945-4853-b02e-8b94662a2206 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 37.772637128829956 seconds. for script_id= 970bb0eb-66ae-424a-a693-4ffe72504fd8 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 35.13707780838013 seconds. for script_id= 4d9dc3ab-0bca-49bb-ad86-1ea356b5cfb3 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 23.395209074020386 seconds. for script_id= f710e2db-df78-4921-ab6d-66bfed5146b2 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 23.87332057952881 seconds. for script_id= b694b31f-c3a5-4528-a163-f87eea850643 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 29.80018925666809 seconds. for script_id= c54a69ac-392e-4569-845d-6610fb945c9e which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 26.26308298110962 seconds. for script_id= f66d627d-db96-4b99-91e6-26d5314d146b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.42546772956848 seconds. for script_id= 81bdd6fc-1873-4e4f-831e-81419c6579d7 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.552886247634888 seconds. for script_id= 9707b953-415e-46b5-98e2-6501c8c5bd37 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.763222455978394 seconds. for script_id= 624fc412-f10d-4ea7-9888-16abeb5ad04b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 26.493334531784058 seconds. for script_id= c11d14d2-631a-4cd7-bbb0-f4e9ce7b0f96 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.039938926696777 seconds. for script_id= d32384f8-30fc-4d61-bfea-dbfcf8e8e1f7 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.71613049507141 seconds. for script_id= 8dbb9fd2-c230-4c51-ae4f-878194d80b4c which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.546258687973022 seconds. for script_id= c73de154-452b-452b-af15-dfb157b03317 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.118901252746582 seconds. for script_id= 8e22b24d-fcd0-4841-844b-a467a8cefccc which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.237410306930542 seconds. for script_id= 2db8a3d6-11b9-4d23-8f6f-e5a881207047 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.562037229537964 seconds. for script_id= c5836a50-7208-4795-b0b0-3fe2b4c0de3b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.078510761260986 seconds. for script_id= 062d3fe1-7dd3-4e81-a902-dffe655d2807 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.887596607208252 seconds. for script_id= 35acbe70-896f-44bf-bb52-957065d93944 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 23.868821382522583 seconds. for script_id= 8623aadd-269e-4862-8b40-acaad1bec583 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.482709407806396 seconds. for script_id= af4ca079-1dda-40c1-a4fd-38bd5b40879a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.627967596054077 seconds. for script_id= 696e06c3-6a42-4483-8ba9-e57b712125a9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.67448401451111 seconds. for script_id= 14f80d68-d26f-4a70-887e-351fbc10aed9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.059288501739502 seconds. for script_id= 12da7c1a-ff9b-4585-a89d-cfc60f372518 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.555488109588623 seconds. for script_id= b580a636-f10e-449f-96e5-f9744cf551af which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.691585302352905 seconds. for script_id= 3ae34715-59b2-4f6d-93a7-4637b45f6774 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 26.611700534820557 seconds. for script_id= 87ba7777-caaf-40a1-b0e0-a410283e6a4b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.953216075897217 seconds. for script_id= 8e0d0e7e-76a5-4b05-b1b9-23523dcd8231 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.158518075942993 seconds. for script_id= aac11fe6-3772-4e25-864e-96efe5fecffa which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.829997301101685 seconds. for script_id= c71d1e6b-33e8-4391-9b80-065c69f480c7 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.07519507408142 seconds. for script_id= 5a4aab41-64be-45a1-b770-dd93525d2d55 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 29.074284315109253 seconds. for script_id= e40d153b-6150-47a7-b8ef-b5c97605b41f which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 30.313785076141357 seconds. for script_id= 68f285f3-583f-45d3-83c6-2ad2865b7b74 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.654674291610718 seconds. for script_id= e204ace4-3049-4ae3-aba5-1a81e7745cc7 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.603939056396484 seconds. for script_id= cc7f436e-acbd-405e-903f-ba320a7f0f71 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.762287616729736 seconds. for script_id= 2a311612-84c9-41c4-94a4-f4bfebed54c7 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.37506079673767 seconds. for script_id= de5a9f8d-80bc-4b7b-a638-5871049cb6f1 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 26.30104899406433 seconds. for script_id= 6ab180c5-db9d-4ce8-80ac-fb412fd900c9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.67318105697632 seconds. for script_id= 5c2ad2d5-8d59-4504-af76-dc713a754ab0 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.958045482635498 seconds. for script_id= de81e22a-0238-47fd-a85b-a0c5684c5efe which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 28.654596090316772 seconds. for script_id= 0e194f63-1023-4681-b186-8f5ec67bca27 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 30.06961154937744 seconds. for script_id= 48425482-ac2f-4813-ba57-fbce1b933735 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.647817850112915 seconds. for script_id= c074aabb-93c2-435f-ae9a-35ae3e05800a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.614707946777344 seconds. for script_id= 1d914436-d179-49b8-b666-4f9c570ac084 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.404947996139526 seconds. for script_id= 1a1b4c39-dc65-4279-8051-719c2cd895b9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 16.637146949768066 seconds. for script_id= d0f7e76a-080c-4c0f-ac16-a2d18dcd43a9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.432777404785156 seconds. for script_id= df64cfde-b004-41e4-9453-77588b3237d1 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 16.095963954925537 seconds. for script_id= 8fdcc68f-37d5-441a-b5ce-3d0f593c1917 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.323007583618164 seconds. for script_id= 26c63643-978a-4646-b9ad-5e92248530b8 which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 49.568283557891846 seconds. for script_id= a104f2b1-2ea6-4c9d-b02c-c148830f14ff which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 59.22213387489319 seconds. for script_id= 7c090dfa-5cf9-4143-8698-fd439dc74df1 which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 30.603554487228394 seconds. for script_id= b0e18d03-ee08-47a4-bd50-3db2d224d37f which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 11.428146123886108 seconds. for script_id= 49f3cda6-4206-4ef2-ac3c-d65dc73c96bf which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 27.972071170806885 seconds. for script_id= 8f0080a4-3e49-437b-8ee9-bdf7c4f14aec which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 27.67306113243103 seconds. for script_id= ca050d9d-2088-4f5f-8d00-b2fbb4611048 which has pdf pages of 2.
Program ran for 0.0 hours, 5.0 minutes, and 34.556578159332275 seconds. for script_id= e28e18e8-7996-4b1f-9550-cab7262680b1 which has pdf pages of 2.
Program ran for 0.0 hours, 7.0 minutes, and 35.08599615097046 seconds. for script_id= 4204c89a-8aec-4593-8d33-cd413b4a3e16 which has pdf pages of 2.
Program ran for 0.0 hours, 7.0 minutes, and 46.30410552024841 seconds. for script_id= ee79109b-c899-4a0d-9ac0-3e4a6ed08113 which has pdf pages of 2.
Program ran for 0.0 hours, 22.0 minutes, and 26.929518938064575 seconds. for script_id= 35410c7c-4c97-41e3-8c64-021226ac0008 which has pdf pages of 5.
Program ran for 0.0 hours, 22.0 minutes, and 33.1835880279541 seconds. for script_id= 02d45e11-ab98-4a73-8002-4d5749127fff which has pdf pages of 5.
Program ran for 0.0 hours, 5.0 minutes, and 40.13064360618591 seconds. for script_id= b989698e-9947-4e94-900e-2dac174bb00c which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 19.685036182403564 seconds. for script_id= 644609a5-2dae-471e-a632-b49ddbfcef0c which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 15.946179151535034 seconds. for script_id= 2d67f0e0-bcef-4757-a8e2-c81ba8934bdc which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 36.15348815917969 seconds. for script_id= 9077d4b4-a71f-46c6-ae88-ea0a4cbd91fa which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 21.73555302619934 seconds. for script_id= d2383bc6-a3ab-4403-b210-9b4a06da9898 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 35.09250068664551 seconds. for script_id= 0bba0c57-09e8-4ed9-aaad-31f63ee67d73 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 45.197705030441284 seconds. for script_id= 5cac69c4-c867-45af-b8b4-67dce8b6c472 which has pdf pages of 2.
Program ran for 0.0 hours, 2.0 minutes, and 40.807326316833496 seconds. for script_id= 67adf038-558d-47d8-a583-c07f057311fa which has pdf pages of 9.
Program ran for 0.0 hours, 0.0 minutes, and 37.529980421066284 seconds. for script_id= 9bcfa7bb-8525-4aef-921d-98d84039ec88 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 28.306278944015503 seconds. for script_id= 15727a0a-a25c-4bc7-8680-8ac1b7b38dc5 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.592793703079224 seconds. for script_id= 53b987e5-055e-4233-97a2-aedcb68dcb17 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 25.08405828475952 seconds. for script_id= b2fe9b3b-4814-4efa-b281-2f12def2cbb7 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 31.714353561401367 seconds. for script_id= 3d4170c6-fbcb-4b10-90ed-751f766581fc which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 19.445403337478638 seconds. for script_id= e32beb24-e66c-4f6a-8610-1978570b33e3 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 23.48436164855957 seconds. for script_id= 6d893c6c-212a-482e-a6e0-af3155698faf which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 23.80502986907959 seconds. for script_id= 6d532fb8-bdb1-4bf0-944f-b501dbf33a62 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 19.575079679489136 seconds. for script_id= fbd42b92-e92c-46ca-a791-2bc850aa9b55 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 31.84501338005066 seconds. for script_id= 3eb57f01-9209-4269-9325-31a4228a2e01 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.95441722869873 seconds. for script_id= facc9a5b-674f-42a1-9742-3e987581df51 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.661864280700684 seconds. for script_id= cc5749e6-c966-42c1-abcd-1cae9e07dd55 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 33.99763369560242 seconds. for script_id= aca1cb29-7bfd-4483-b69a-b8535064b8f3 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 30.925084829330444 seconds. for script_id= 323246d9-7bb6-4d76-8480-18090e32ff4d which has pdf pages of 2.
Program ran for 0.0 hours, 2.0 minutes, and 5.095511198043823 seconds. for script_id= cbe44f5d-5c4b-4f77-87f9-ef1ecc5d60ab which has pdf pages of 7.
Program ran for 0.0 hours, 8.0 minutes, and 20.72066068649292 seconds. for script_id= 069db6fe-06a4-4a76-af2b-6d3365a98cd2 which has pdf pages of 24.
Program ran for 0.0 hours, 0.0 minutes, and 57.76134729385376 seconds. for script_id= d28149af-6696-436a-9404-51512dbb25d3 which has pdf pages of 3.
Program ran for 0.0 hours, 1.0 minutes, and 55.740654706954956 seconds. for script_id= 29b8bba2-79c7-46ec-af18-bec86528f936 which has pdf pages of 7.
Program ran for 0.0 hours, 30.0 minutes, and 41.80818510055542 seconds. for script_id= 07f5128d-8052-43a7-adfe-0d4e165f55fe which has pdf pages of 61.
Program ran for 0.0 hours, 39.0 minutes, and 27.36550235748291 seconds. for script_id= 8db1ceb9-cad5-48f9-9943-1bb44e3e188e which has pdf pages of 139.
Program ran for 0.0 hours, 0.0 minutes, and 32.01482629776001 seconds. for script_id= d627551b-0c8b-4c2d-9474-938a7ed86c98 which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 56.75528383255005 seconds. for script_id= c5b57263-1bea-44af-85b2-674527d06f0a which has pdf pages of 7.
Program ran for 0.0 hours, 0.0 minutes, and 28.071009397506714 seconds. for script_id= f458ec0d-fea0-4efa-b147-1bacadbc6b7e which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.77461051940918 seconds. for script_id= cf23bc47-5fce-4a85-9a2c-83e0903f76e7 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.322246313095093 seconds. for script_id= 3e9ba79d-3b00-4563-aa7f-2455ecd3d008 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.606628894805908 seconds. for script_id= a4edfb45-88fd-4005-b015-3e5b97e4a4a2 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.693409204483032 seconds. for script_id= 7346d4dd-1a6d-4b48-b547-43842f0a7f1a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 47.67379450798035 seconds. for script_id= eddb1e90-97fc-4784-bddb-7d38c86d00c9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 36.0358407497406 seconds. for script_id= 725d04b6-1977-42a2-88ef-95eeea658c98 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.88673186302185 seconds. for script_id= 6312e464-0762-4f85-aede-e1177b3d1db6 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 28.078712940216064 seconds. for script_id= 7d48db4a-c7f6-454b-98af-973876879840 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 32.32141160964966 seconds. for script_id= f716924c-85d8-4ce1-8c37-b1f2e514db2c which has pdf pages of 1.
Program ran for 0.0 hours, 2.0 minutes, and 23.149370908737183 seconds. for script_id= b1d91528-6241-4366-9f3a-babd9cf1f697 which has pdf pages of 9.
Program ran for 0.0 hours, 0.0 minutes, and 59.37824201583862 seconds. for script_id= 7b7b67ba-d8fb-4ecb-9435-9a7f9400047d which has pdf pages of 3.
Program ran for 0.0 hours, 1.0 minutes, and 58.19895935058594 seconds. for script_id= d9aa5e96-c8ae-4932-b0ee-efefb64ca3cb which has pdf pages of 7.
Program ran for 0.0 hours, 9.0 minutes, and 1.4244065284729004 seconds. for script_id= e7878969-218b-4e3d-a106-e97223020820 which has pdf pages of 21.
Program ran for 0.0 hours, 4.0 minutes, and 13.425689220428467 seconds. for script_id= 2a87a67e-d39a-4cf6-bc9f-58f60eb990e6 which has pdf pages of 7.
Program ran for 0.0 hours, 20.0 minutes, and 34.5173442363739 seconds. for script_id= 66b1be0f-4fa9-4e42-b49a-21e1c07f3cf2 which has pdf pages of 40.
Program ran for 0.0 hours, 17.0 minutes, and 51.20573329925537 seconds. for script_id= 36be5d2f-55ed-4876-9e38-e8e63ed2297b which has pdf pages of 40.
Program ran for 0.0 hours, 0.0 minutes, and 31.548869609832764 seconds. for script_id= e8917484-9bf5-4a9b-ac9e-3a4f952a786d which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 54.4633309841156 seconds. for script_id= 88d55368-c741-421e-bbba-95bd651bcb2e which has pdf pages of 7.
Program ran for 0.0 hours, 0.0 minutes, and 28.110498666763306 seconds. for script_id= ec35a3e0-50ca-4e8a-b622-fb74db019ba9 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 29.871234893798828 seconds. for script_id= 206063f1-aa23-4d12-919b-0bb752db2d71 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.818378448486328 seconds. for script_id= eb9ca867-ad99-44e8-97fb-de9b72d7497e which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 46.38312292098999 seconds. for script_id= 6bec6a95-f1a5-4ab4-8f1c-6511ddf25037 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 28.23616623878479 seconds. for script_id= c4e1e5a8-9ff3-4caf-b439-468f52939391 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 32.06355953216553 seconds. for script_id= ab6e4a3d-fe1d-4309-b17d-d009662bea78 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 42.815789461135864 seconds. for script_id= 9e70b6e3-8aa2-4cd8-ad76-583e260f80df which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 43.332919120788574 seconds. for script_id= 5728d753-f572-40bd-9605-d0c47649fc80 which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 57.15029215812683 seconds. for script_id= f89d7dce-f702-473c-aac1-d22cd2b43afb which has pdf pages of 7.
Program ran for 0.0 hours, 0.0 minutes, and 54.09035778045654 seconds. for script_id= 4f449af8-4108-4c10-9f5c-498110cbddfb which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 55.091124534606934 seconds. for script_id= 41c26029-6835-44b2-a0fd-352c14e01c25 which has pdf pages of 2.
Program ran for 0.0 hours, 2.0 minutes, and 7.885652542114258 seconds. for script_id= 8c94f554-2d8e-457d-95f8-fbe07b9420db which has pdf pages of 6.
Program ran for 0.0 hours, 0.0 minutes, and 30.050445556640625 seconds. for script_id= 19deafee-37f4-45db-8715-2b653454d03b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.565003395080566 seconds. for script_id= a2106bf2-40fc-4ccb-9003-8386f072de07 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 26.8387393951416 seconds. for script_id= 1dbba5ad-cd57-4c46-8472-18df5b5e0136 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 29.41327166557312 seconds. for script_id= a1ccdd34-48ad-46bd-bc43-d27de5844aaf which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 16.474586963653564 seconds. for script_id= d59ff9ee-cc48-47e1-b987-0a8c647cc525 which has pdf pages of 6.
Program ran for 0.0 hours, 0.0 minutes, and 31.712425231933594 seconds. for script_id= 0eb3709c-3967-4274-a4fa-d9b354a2b4f3 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.87415647506714 seconds. for script_id= 7f55e20a-007b-4d82-9876-366cf0b9888b which has pdf pages of 2.
Program ran for 0.0 hours, 1.0 minutes, and 9.479523658752441 seconds. for script_id= 3d262f95-2b38-4742-b0b7-2d37ca81fb98 which has pdf pages of 7.
Program ran for 0.0 hours, 0.0 minutes, and 17.985031843185425 seconds. for script_id= 637bac83-a0bd-43e3-8941-35a852d397ff which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 24.866348266601562 seconds. for script_id= ebd7a6c4-427b-4e92-ba14-ee025c42e270 which has pdf pages of 26.
Program ran for 0.0 hours, 0.0 minutes, and 5.3356993198394775 seconds. for script_id= debd3faf-b03e-4b4b-82f7-ffb2d4c7295e which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 17.846744775772095 seconds. for script_id= bf9b9f7d-af70-46a7-b293-a91e6ab9d8a2 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 5.112194299697876 seconds. for script_id= f4ca7482-fad3-4ae7-a9fd-c65bf92e5eb8 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 17.750247955322266 seconds. for script_id= 3e38aade-b684-4b1b-b3d7-8684771d268e which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.43302607536316 seconds. for script_id= 6b69615a-8142-4115-919d-16631502173b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.749398708343506 seconds. for script_id= 597f5b17-3159-4c21-924d-19163f6ac4e4 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 19.347503900527954 seconds. for script_id= 9cb5a5fe-a615-486e-a15a-f7b513702372 which has pdf pages of 2.
Program ran for 0.0 hours, 3.0 minutes, and 9.870935440063477 seconds. for script_id= a43876ec-5cda-413c-b629-81b1c8d678a8 which has pdf pages of 9.
Program ran for 0.0 hours, 3.0 minutes, and 19.684173822402954 seconds. for script_id= 6e3bd0fe-5e7c-4be4-a6bf-e40663572eee which has pdf pages of 9.
Program ran for 0.0 hours, 0.0 minutes, and 18.427628755569458 seconds. for script_id= 771aeef1-6d70-4976-93e6-e46fcc1a779e which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.861056804656982 seconds. for script_id= a43e9d4b-cd41-46b3-913b-49008a0966a8 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.88348960876465 seconds. for script_id= d247bc93-4d62-4bfc-9c8e-d8b55c587678 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.3530592918396 seconds. for script_id= 67fb1ecd-3076-4713-a128-5f705586eb35 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.371055126190186 seconds. for script_id= 04ef0008-6349-436f-8bc2-a22eb7547e9f which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.21010398864746 seconds. for script_id= a9f3fab4-9683-4b72-a0b8-929cffd915c8 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.075531005859375 seconds. for script_id= 5af55c0d-e1ee-44b8-b763-d23492f9d6fc which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 43.79261922836304 seconds. for script_id= 1056c829-bbd4-4700-b305-8a1cfabeeb93 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 42.85673809051514 seconds. for script_id= d31b1635-64b8-4f3b-860f-903198cb203c which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 49.018359899520874 seconds. for script_id= 1a829216-b764-4c02-b6a7-6b8fd3ad71c9 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 33.23670506477356 seconds. for script_id= c1c9f3f3-e9f6-498c-b68b-5e974ff6cc5b which has pdf pages of 3.
Program ran for 0.0 hours, 1.0 minutes, and 0.40082287788391113 seconds. for script_id= 0b79e4ca-6e6a-43d0-9ea1-97623a234180 which has pdf pages of 4.
Program ran for 0.0 hours, 12.0 minutes, and 28.46094012260437 seconds. for script_id= 3c8accac-b060-401f-bcc1-d1faba51d778 which has pdf pages of 53.
Program ran for 0.0 hours, 12.0 minutes, and 7.66342568397522 seconds. for script_id= f6b8540f-5740-4605-92ba-e74642c649ae which has pdf pages of 53.
Program ran for 0.0 hours, 1.0 minutes, and 17.45065450668335 seconds. for script_id= a1ea227c-5296-4dc3-978a-27aebdb5ea60 which has pdf pages of 7.
Program ran for 0.0 hours, 0.0 minutes, and 27.248870372772217 seconds. for script_id= 8e99823c-bc47-48bf-9f4c-1d5fbe21ea98 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 26.698927402496338 seconds. for script_id= a53711e2-83fc-4230-8a4b-b528e93dcd4a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 27.232013463974 seconds. for script_id= cadcf761-dc9d-47a0-a19b-703a8b8e6976 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.51988124847412 seconds. for script_id= ca0c9ba1-7cc5-47d3-b82f-3bcd6af2db17 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 16.969513177871704 seconds. for script_id= 4ecd70f3-bf29-4d3d-a941-05b455eb0bcc which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.34417414665222 seconds. for script_id= d39cda8d-6988-4dc0-a48c-d04128c50cc3 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.58349370956421 seconds. for script_id= e3a4c5b0-902e-483a-950a-599b61e9218c which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 16.96195650100708 seconds. for script_id= d2a7bcd9-8c9c-406b-ac76-2dc920529fb1 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.885361909866333 seconds. for script_id= 0bc9a7be-13a6-4200-8779-2109c8d0cfa4 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.941534996032715 seconds. for script_id= c707797f-7ca8-46c3-b6a5-6a8117260e8b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 29.58459234237671 seconds. for script_id= a33131d9-1835-4b64-8e9b-0dc7b9541b22 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 18.524823427200317 seconds. for script_id= 6e45a672-8b2b-4dfa-bdfe-8b67146d3c81 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 16.803953886032104 seconds. for script_id= 478ffded-b57e-4529-8248-fbe4acd4c27b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.400383234024048 seconds. for script_id= 5cda1efe-8dab-46e0-85c5-e6ccf4b16460 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.32403016090393 seconds. for script_id= 82f84583-24fc-4623-bbc9-bfc7b7441f5b which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.655280828475952 seconds. for script_id= 60cebe91-720d-4704-87ae-59a1dc2a04a4 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.316474199295044 seconds. for script_id= f1437e51-afe2-4cf1-ad13-858f37eede42 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.075062036514282 seconds. for script_id= e08d9daa-9d07-4f59-add3-618c7c52007a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.502666473388672 seconds. for script_id= 76660583-3e5c-40e7-a687-0db2f9e8fd8d which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 16.463592052459717 seconds. for script_id= 6a56bd6d-5692-48a1-89db-c914fa48ff73 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.041589736938477 seconds. for script_id= 38be2e5a-7ed0-4f60-a83e-0c12be4889fd which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.27669882774353 seconds. for script_id= 62f1250d-3cbc-4ed5-90f7-8f3b0525f9d1 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.12962770462036 seconds. for script_id= 3309975d-cb47-4ca1-b669-9e6b5d3b0973 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.313954830169678 seconds. for script_id= 14bbe891-5d10-48df-a75c-b5eac2c757f4 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.067654609680176 seconds. for script_id= 5bbb908c-7833-46fc-b89c-f93126a01d7d which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.352644205093384 seconds. for script_id= 919889ea-20f5-4a6d-8b97-57ab33e60277 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.52043318748474 seconds. for script_id= 3ade8b30-9067-44db-bf87-f55fa5099cc2 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.751405954360962 seconds. for script_id= f868342b-d76b-422c-80ae-4cb4d60767d0 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.709564208984375 seconds. for script_id= a2cfb64f-adca-421c-8d08-43225126f91a which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 17.714107513427734 seconds. for script_id= 11d07b87-662a-42d9-b464-d403f2ed8a27 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 18.07096529006958 seconds. for script_id= 0c8bfa57-dc4b-4f90-8c97-a6663bd8cb9f which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 31.72633409500122 seconds. for script_id= 31401b7e-72f0-4f5c-8c30-bbdde441d54f which has pdf pages of 3.
Program ran for 0.0 hours, 2.0 minutes, and 9.69314694404602 seconds. for script_id= c49a60c5-e172-4493-884b-e908d6855e67 which has pdf pages of 9.
Program ran for 0.0 hours, 0.0 minutes, and 26.17090606689453 seconds. for script_id= 1b50bd95-7e98-4f38-b9d1-05a7b67f6123 which has pdf pages of 2.
Program ran for 0.0 hours, 0.0 minutes, and 32.8646194934845 seconds. for script_id= 1ab9bee6-2c01-4e40-a0fb-d22e1c7155b7 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 31.26974320411682 seconds. for script_id= 2e645a96-e243-476a-a936-5fde65465afe which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 31.853193759918213 seconds. for script_id= b673b776-0000-42fd-b1ef-18de65d65276 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 32.23471426963806 seconds. for script_id= b1df3939-2bd1-423b-93c5-4cbddcb4eb6a which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 31.290861129760742 seconds. for script_id= e92e11c6-ff29-4d87-869a-e3cf79a25eb3 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 31.404474020004272 seconds. for script_id= 5a84ca84-06d6-4899-b7e2-5b5871d4cf3b which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 31.266565799713135 seconds. for script_id= f78e3a9f-eb9c-4ede-b74a-fb646c338b9a which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 30.94759249687195 seconds. for script_id= 29186323-edee-4eda-8529-7587f041e284 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 30.708049535751343 seconds. for script_id= c98a19d8-7959-43c5-b471-0bcfca1f48fa which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 31.642637491226196 seconds. for script_id= 9fd2973e-05ae-49df-9a3e-41f8da7fb8ce which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 30.953091621398926 seconds. for script_id= fd1da353-b3df-4fff-816d-e377bc40fc6c which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 30.727125883102417 seconds. for script_id= 21c45b5e-766f-4647-94e2-c143b6867636 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 30.674933433532715 seconds. for script_id= 130d98b2-7e40-4008-a8fe-99e89b18ad40 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 31.31670832633972 seconds. for script_id= 818d9ef5-08cc-44b2-a57a-fbbb043e0bc5 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 31.043317556381226 seconds. for script_id= 926600c9-cf25-44ed-b603-16d1f35bc867 which has pdf pages of 3.
Program ran for 0.0 hours, 0.0 minutes, and 27.15261149406433 seconds. for script_id= 87be98fc-b38d-4432-8a58-b0a82d07729c which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.497846126556396 seconds. for script_id= 6d4ad497-3856-4f42-96c7-d1ea231bc331 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.48579716682434 seconds. for script_id= 06ddbaa4-30c1-4908-a95a-fd407a6f69c3 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.343165397644043 seconds. for script_id= 055f9987-bd21-4f0d-8b12-26cb1ea7ebd0 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.773587465286255 seconds. for script_id= 03cced14-f990-4607-b2bb-b38863346392 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.472023010253906 seconds. for script_id= f297deb1-df33-43bf-9168-ed905a6250d5 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.59111523628235 seconds. for script_id= 2aa5f9a2-ac7d-4723-bc38-6f135453f5a9 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 24.859975814819336 seconds. for script_id= 99f86424-d848-4a4d-85a5-0df7077da9ab which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.378750562667847 seconds. for script_id= ccf6ecf6-b3c5-496a-b848-169093daa58a which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.380150079727173 seconds. for script_id= 5e905212-313d-46d2-8d79-82bd487e7b05 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.841695547103882 seconds. for script_id= 005d8f01-7e14-4678-bece-c16eec076d46 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.26748752593994 seconds. for script_id= ae143371-8d00-4128-bdb6-803b8b2174a8 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.97019362449646 seconds. for script_id= 58bcc556-429e-480b-bade-5f4b1b814384 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.3609561920166 seconds. for script_id= 7048a522-02bc-45fb-af11-99bfca10655d which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.51343846321106 seconds. for script_id= 35cbe4b0-537b-4125-b8d3-25f9e1c79640 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.814826726913452 seconds. for script_id= 7ecf00c8-34b8-4ef8-ae63-e333fb3388a7 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 24.73587155342102 seconds. for script_id= 080e8664-7253-4db1-bd1e-f3186e01b473 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.948126316070557 seconds. for script_id= fd33aa3e-bdd1-40ad-85d7-8c10fea88d27 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.037325859069824 seconds. for script_id= 0506882e-b3b2-4510-bf66-b267d289bdca which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.828432083129883 seconds. for script_id= c9e1ef54-f331-4f38-9a23-0a3086f47f9e which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.900534629821777 seconds. for script_id= ac768cb2-2735-4c49-99a3-011886c5c8ea which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 27.23108172416687 seconds. for script_id= 90c961b7-a1be-44de-ba01-5916d4112bdd which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.49724793434143 seconds. for script_id= f48fadae-d8fd-4ba1-bfd1-cba1ee4d70f8 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 26.809180736541748 seconds. for script_id= cd153313-67ba-4948-8cb6-80fd8d0bbfa4 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 25.22509217262268 seconds. for script_id= 76cee0e0-5b98-44cf-9e5f-91b9970859b5 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 24.001115322113037 seconds. for script_id= 31321b1a-fe34-4660-9cc2-e83cbea30bf8 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 23.52992033958435 seconds. for script_id= bdc04714-d6a0-4ad2-85d9-13ec7dd2cbac which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 24.84604835510254 seconds. for script_id= 6656594f-085f-4931-9491-240299f10b06 which has pdf pages of 1.
Program ran for 0.0 hours, 0.0 minutes, and 24.089898824691772 seconds. for script_id= 19ac0e02-1f25-491d-bb60-8010ddcb7751 which has pdf pages of 1.

View File

@ -8,89 +8,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="{% static '/Audit/css/Audit-input.css' %}">
<style>
.block-chain-modal {
display: none;
background-color: #7f7f7f;
position: absolute;
width: 100%;
height: 100%;
z-index: 9;
top: 0%;
left: 0%;
}
.block-chain-text {
background-color: #fafafa;
position: absolute;
width: 680px;
height: 300px;
top: 50%;
border-radius: 8px;
padding: 3rem;
left: 50%;
transform: translate(-50%, -50%);
z-index: 99;
}
.closebtn {
position: absolute;
top: -0.5rem;
width: 40px;
height: 40px;
border-radius: 20px;
right: -0.5rem;
top: 1;
background-color: #ee3c4d;
border: none;
color: #fafafa;
font-weight: 700;
cursor: pointer;
}
.modal-para {
font-size: 16px;
font-weight: 600;
color: #252525;
}
.warningMsg {
text-align: end;
color: #ee3c4d;
font-size: 12px;
}
.script_con_card_low button:nth-child(1) {
border: 1px solid #33B0CA;
color: #33B0CA;
padding: 4px 12px;
font-size: 12px;
border-radius: 4px;
font-weight: 600;
cursor: pointer;
background-color: transparent;
}
.script_con_card_low button:nth-child(2) {
border: 1px solid #33B0CA;
color: white;
background-color: #33B0CA;
padding: 4px 12px;
font-size: 12px;
font-weight: 600;
border-radius: 4px;
cursor: pointer;
}
#primary_key_value_get {
width: 100%;
border: 1px solid #eaeaea;
border-radius: 4px;
padding: 5px;
margin-top: 8px;
font-size: 12px;
}
</style>
</head>
<body>
@ -130,7 +48,7 @@
</div>
<p class="heading_secondary-text">Upload on Blockchain and Audit your Screenplay !</p>
<form method="post" action="{% url 'upload_audit' %}" enctype="multipart/form-data" id="form-container">
<form method="post" action="{% url 'upload_audit' %}" onsubmit="loaderfun()" enctype="multipart/form-data" id="form-container">
{% csrf_token %}
{% if form.non_field_errors %}
@ -145,14 +63,14 @@
<div class="author_center">
<label for="id_screenplay_name" class="label_headers">Screenplay Name<span
style="color: #ee3c4d">*</span></label>
<input type="text" name="screenplay_name" maxlength="40" required id="id_screenplay_name"
<input type="text" name="screenplay_name" required id="id_screenplay_name"
class="input_fieldStyle" oninvalid="this.setCustomValidity('Please enter screenplay name')"
oninput="setCustomValidity('')" placeholder="enter file name" />
oninput="setCustomValidity('')" placeholder="enter file name" maxlength="30" />
</div>
<div class="author_center">
<label for="id_author_name" class="label_headers">Author<span style="color: #ee3c4d">*</span></label>
<input type="text" id="author_name" name="author_name" maxlength="25" required id="id_author_name"
<input type="text" id="author_name" name="author_name" maxlength="30" required id="id_author_name"
class="input_fieldStyle" oninvalid="this.setCustomValidity('Please enter author name')"
oninput="setCustomValidity('')" placeholder="enter user name" />
</div>
@ -172,7 +90,7 @@
{% for field in form %}
<div class="mt-5 mx-3">
{% if field.errors %}
<p class="text-primary">{{ field.errors.0 }}</p>
<p class="script_exist">{{ field.errors.0 }}</p>
{% endif %}
</div>
{% endfor %}
@ -188,9 +106,17 @@
</form>
</div>
<script>
var URL = window.location.origin
</script>
var URL = window.location.origin
</script>
<script>
function loaderfun(){
document.getElementById("container_loader").style.display = "flex";
document.body.style.overflow = 'hidden';
document.querySelector(".split-pane-component").style.overflow = "none";
document.getElementById("mulitligule").style.display = "none";
document.getElementById("footer_mulitligule").style.display = "none";
}
</script>
<script>
document.addEventListener("DOMContentLoaded", function () {
var selectElement = document.getElementById("id_language");
@ -226,14 +152,6 @@
document.getElementById("submit-btn").style.backgroundColor = "#616161";
document.getElementById("submit-btn").style.color = "#FAFAFA";
this.submit();
let timeoutID = setTimeout(function () {
document.getElementById("container_loader").style.display = "flex";
document.querySelector(".split-pane-component").style.overflow = "none";
document.getElementById("mulitligule").style.display = "none";
document.getElementById("footer_mulitligule").style.display = "none";
}, 1000);
window.addEventListener("unload", function () {
clearTimeout(timeoutID);
window.location.href = "{% url 'new_audited_page' %}";
@ -246,6 +164,7 @@
this.value = this.value.replace(/[^a-zA-Z ]/g, "");
});
</script>
</body>
</html>

View File

@ -355,6 +355,6 @@
</body>
</html>
{% comment %} {% include "mnfapp/footer.html" %} {% endcomment %}
{% endblock %}

View File

@ -49,7 +49,7 @@
</div>
{% include 'mnfapp/footer.html' %}
{% endblock %}

View File

@ -16,7 +16,7 @@
<body>
<div class="modal" tabindex="-1" id="delete" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog main-d-dialog m-dialog" id="d-delete">
<div class="modal-dialog" id="d-delete">
<div class="modal-content">
<button type="button" class="red-btn-close" data-dismiss="modal" onclick="delete_script_btn()"
aria-hidden="true">X</button>
@ -34,28 +34,7 @@
</div>
</div>
</div>
<div class="modal popup" id="popupShow">
<div class="popup-modal">
<span class="popupclosebtn" onclick="hidemodal()">X</span>
<div>
<p class="modal-para">You may access it by pasting your private key (Sent to you via email) in the box
below.</p>
<input type="text" name="" class="input-text" id="primary_key_value_get" placeholder="Enter Private key"
required>
<p class="warningMsg">MNF doesn't store your Blockchain private key</p>
<p class="d-none" id="Script_idd"></p>
<p class="d-none" id="transaction_iddetails"></p>
<p class="d-none" id="confirmkey_details"></p>
<div class="d-flex justify-content-between script_con_card_low pt-5 ">
<button class="btn primary-btn-color view_transaction_button" id="view_transaction" onclick="openURL()">View
transaction</button>
<button onclick="auditapi_dowload()"
class="btn primary-btn-color button_download download_text_button">Download</button>
</div>
</div>
</div>
</div>
</div>
<div class="container mt">
@ -63,7 +42,7 @@
{% if user.is_authenticated %}
{% if i %}
<div class="row">
<!-- <h2 class="text-center">My Script Conversions</h2> -->
<div class="col-sm-1">
<img class="d-image" src="/static/media/Audit_img.png" alt="conversion doodle">
</div>
@ -88,7 +67,7 @@
<div class=" card" id="{{k.scriptName}}">
<div class="card-body">
<div class="d-flex justify-content-between">
<h5 class="card-title">{{k.scriptName|slice:":12"}}</h5>
<h5 class="card-title" data-toggle="tooltip" title="{{k.scriptName}}">{{k.scriptName|slice:":20"}}</h5>
<div data-scriptid="{{k.scriptName}}" data-url="{{url}}/audit/delete_scripts/{{k.scriptName}}"
data-bs-toggle="modal" data-bs-target="#delete" data-toggle="dropdown" aria-haspopup="true"
class="cpointer" onclick="delete_script_card('{{k.scriptName}}')" aria-expanded="false">
@ -116,24 +95,24 @@
{% if k.iscomplete == "S" %}
<div class="my-3">
<p class="card-text">Uploaded On : {{ k.created_on }}</p>
<p class="card-text">Screenplay in {% trans k.screenplay_language %}</p>
<p class="card-text">Dialogues in {% trans k.dialogue_language|slice:":20" %}</p>
<p class="card-text" data-toggle="tooltip" title="{% trans k.screenplay_language %}">Screenplay in {% trans k.screenplay_language|slice:":10" %}</p>
<p class="card-text" data-toggle="tooltip" title="{% trans k.dialogue_language %}">Dialogues in {% trans k.dialogue_language|slice:":10" %}</p>
<p class="card-text">Pages {% trans k.page_number %}</p>
</div>
</div>
{% endif %}
{% if k.iscomplete == "F" %}
<div class="my-3">
<p class="card-text">Uploaded On : {{ k.created_on }}</p>
<p class="card-text">Screenplay in {Language/Script}</p>
<p class="card-text">Dialogues in {Language/Script}</p>
<p class="card-text">Screenplay in {% trans k.screenplay_language|slice:":10" %}</p>
<p class="card-text">Dialogues in {% trans k.dialogue_language|slice:":10" %}</p>
<p class="card-text">Pages {110}</p>
</div>
{% endif %}
{% if k.iscomplete == "R" %}
<div class="my-3">
<p class="card-text">Uploaded On : {{ k.created_on }}</p>
<p class="card-text">Screenplay in {Language/Script}</p>
<p class="card-text">Dialogues in {Language/Script}</p>
<p class="card-text">Screenplay in {% trans k.screenplay_language|slice:":10" %}</p>
<p class="card-text">Dialogues in {% trans k.dialogue_language|slice:":10" %}</p>
<p class="card-text">Pages {110}</p>
</div>
{% endif %}
@ -144,46 +123,53 @@
<img src="{%static '/media/pencil.png'%}" class="pencil_image" width="19">
{% trans "Edit" %}
</Button>
<Button class="card-link cpointerrr" onclick="" type="button" data-bs-toggle="dropdown"
<Button class="card-link cpointerrr" type="button" data-bs-toggle="dropdown"
aria-expanded="false">Download</Button>
<ul class="dropdown-menu ul_list">
<li>
<!-- <a class="dropdown-item" id="scipt_original_download" href="#" data-bs-toggle="modal"
data-bs-target="#downloadpopclose" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false" onclick="original_script({{k}},'script-original','{{k.confirmkey}}')"><img
src="{%static '/media/download-icon-img.png'%}">
Original Script</a> -->
<!-- onclick="original_script({{k}},'script-original','{{k.confirmkey}}')" -->
<a class="dropdown-item" id="scipt_original_download" href="#" data-bs-toggle="modal"
data-bs-target="#downloadpopclose" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false" onclick="showmodal('{{k.scriptid}}','script-original')"><img
aria-expanded="false" onclick="original_script({{k}},'script-original','{{k.confirmkey}}')" download><img
src="{%static '/media/download-icon-img.png'%}">
Original Script</a>
</li>
<!-- onclick="original_script({{k}},'script-docx','{{k.confirmkey}}')" -->
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="showmodal('{{k.scriptid}}','script-docx')" target="_blank" class="navi-link_new"
onclick="original_script({{k}},'script-docx','{{k.confirmkey}}')"
target="_blank" class="navi-link_new"
style="color: #000000;"><img src="{%static '/media/download-icon-img.png'%}">
Audited
Script (DOCX) </a>
</li>
<!-- onclick="original_script({{k}},'script-pdf','{{k.confirmkey}}')" -->
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="showmodal('{{k.scriptid}}','script-pdf')" target="_blank" class="navi-link_new"
onclick="original_script({{k}},'script-pdf','{{k.confirmkey}}')"
target="_blank" class="navi-link_new"
style="color: #000000;"><img src="{%static '/media/download-icon-img.png'%}">
Audited
Script (PDF) </a>
</li>
<!-- onclick="original_script({{k}},'audit-report',)" -->
<li><a class="dropdown-item" href="#" onclick="showmodal('{{k.scriptid}}','audit-report')"
{% if k.isfdx == "True" %}
<li>
<a
target="_self" style="color: #000000;cursor:pointer;margin-left:17px;font-size:12px;"><img
src="{%static '/media/download-icon-img.png'%}" disabled>
Audited
Report
</a>
</li>
{% else %}
<li>
<a class="dropdown-item" href="#"
onclick="original_script({{k}},'audit-report','{{k.confirmkey}}')"
target="_blank" class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Report
Report
</a>
</li>
{% endif %}
</ul>
{% elif k.iscomplete == "R" %}
<Button class="card-link edit-btnn cpointerrr" onclick=redirectToScriptPad('{{k.scriptid}}')>
@ -192,38 +178,7 @@
</Button>
<Button class="card-link cpointerrr" type="button" data-bs-toggle="dropdown"
aria-expanded="false">Download</Button>
<ul class="dropdown-menu ul_list">
<li>
<a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-original','{{k.confirmkey}}')"><img
src="{%static '/media/download-icon-img.png'%}">
original script Pending</a>
</li>
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-docx','{{k.confirmkey}}')" target="_blank"
class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Script (DOCX) </a>
</li>
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-pdf','{{k.confirmkey}}')" target="_blank"
class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Script (PDF) </a>
</li>
<li><a class="dropdown-item" href="#" onclick="original_script({{k}},'audit-report',)"
target="_blank" class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Report
</a>
</li>
</ul>
{% elif k.iscomplete == "F" %}
<Button class="card-link edit-btnn cpointerrr" onclick=redirectToScriptPad('{{k.scriptid}}')>
<img src="{%static '/media/pencil.png'%}" class="pencil_image" width="19">
@ -231,38 +186,7 @@
</Button>
<Button class="card-link cpointerrr" type="button" data-bs-toggle="dropdown"
aria-expanded="false">Download</Button>
<ul class="dropdown-menu ul_list">
<li>
<a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-original','{{k.confirmkey}}')"><img
src="{%static '/media/download-icon-img.png'%}">
2</a>
</li>
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-docx','{{k.confirmkey}}')" target="_blank"
class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Script (DOCX) </a>
</li>
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-pdf','{{k.confirmkey}}')" target="_blank"
class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Script (PDF) </a>
</li>
<li><a class="dropdown-item" href="#" onclick="original_script({{k}},'audit-report',)"
target="_blank" class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Report
</a>
</li>
</ul>
{% endif%}
</div>
@ -299,9 +223,6 @@
<div class="card-body bgcolor">
<h5 class="card-title">Oops! You are yet to Audit your first script!!</h5>
<div class="card-btn">
<a href="#" onclick="window.location.replace('/audit/home')" class="btn btn-primary sample-btn">Audit a
Sample
Script</a>
<a href="#" onclick="window.location.replace('/audit/home')" class="btn btn-primary btnn">Audit your
script
Now</a>
@ -310,8 +231,7 @@
<p class="card-texts">P.S. - if you uploaded your script for Audit and are not yet seeing the Audited
script
OR<br>
had some difficulty in uploading your script, please" <a href="/contact" class="link-ds">
contact us</a>.
had some difficulty in uploading your script, please"
</p>
</div>
</div>
@ -323,7 +243,9 @@
{% endif %}
</div>
<script>
var URL = window.location.origin
</script>
<script>
document.addEventListener('DOMContentLoaded', function () {
// Select all elements with class .formattedDate
@ -350,10 +272,6 @@
});
});
</script>
<script>
var URL = window.location.origin
</script>
<script>
function deleteFile(filename) {
@ -535,7 +453,7 @@
<script>
function redirectToScriptPad(id) {
window.location.href = window.location.origin + "/scriptpad#/" + id;
window.location.href = window.location.origin + "/scriptpad2#/" + id;
}
function openURL() {
let idd = document.getElementById('transaction_iddetails').innerText
@ -545,13 +463,12 @@
function original_script(key_value, script_format, confirmkey) {
let scriptid = `${key_value.scriptid}`;
var accessToken = localStorage.getItem("accessToken");
// var apiEndpoint = window.location.origin + '/audit/download?' + 'script_id=' + scriptid + '&type='
// + script_format;
var apiEndpoint = window.location.origin + '/audit/download?' + 'script_id=' + scriptid + '&type='
+ script_format;
location.href = apiEndpoint;
}
let script_completed_val = '';
function delete_script_card(vall) {
script_completed_val = vall;
document.getElementById('d-delete').style.display = 'block';
var elements = document.getElementsByClassName("shadowpop");
@ -627,16 +544,16 @@
// document.getElementById('scipt_original_download').click();
}
// function latest_auditapi_dowload() {
// let scriptid = document.getElementById('scriptid').innerText;
// let script_format = document.getElementById('script_format').innerText;
// var accessToken = localStorage.getItem("accessToken");
// var apiEndpoint = window.location.origin + '/audit/download?' + 'script_id=' + scriptid + '&type='
// + script_format
// location.href = apiEndpoint;
// }
function auditapi_dowload() {
function latest_auditapi_dowload() {
let scriptid = document.getElementById('scriptid').innerText;
let script_format = document.getElementById('script_format').innerText;
var accessToken = localStorage.getItem("accessToken");
var apiEndpoint = window.location.origin + '/audit/download?' + 'script_id=' + scriptid + '&type='
+ script_format
location.href = apiEndpoint;
}
function auditapi_dowload() {
let scriptid = document.getElementById('Script_idd').innerText;
let script_format = document.getElementById('transaction_iddetails').innerText;
let primary_key_value = document.getElementById('primary_key_value_get').value;
@ -680,7 +597,7 @@
window.location.reload();
}
</script>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,7 @@ urlpatterns = [
path("facade/report_update", views.AuditedReportUpdate.as_view(), name="audit_facade_report_update"),
# path("audited", views.AuditedScriptsView.as_view(), name="my_audited_scripts"),
path("audits", views.AuditedScriptsView_kunal.as_view(), name="new_audited_page"), #new audited page
path("audits1", views.AuditedScriptsView_kunal1.as_view(), name="new_audited_page1"), #new audited page
# path("audit/<str:script_id>", views.AuditView.as_view()),
# path("charlst/<str:script_id>", views.CharacterListView.as_view()),
path("download",views.DownloadScript.as_view()),
@ -18,6 +19,6 @@ urlpatterns = [
path("processing", TemplateView.as_view(template_name="audit/audit_processing.html"), name="audit_processing_page"),
path("audit_tutorial",TemplateView.as_view(template_name = "audit/audit_tutorial.html"),name="audit_tutorial"),
path("scriptAuditDemo", TemplateView.as_view(template_name = "audit/audit_demo.html"), name="scriptAuditDemo"),
# path("downloadScriptFromBlockchain",views.DownloadScriptFromBlockchain.as_view()),
path("downloadScriptFromBlockchain",views.DownloadScriptFromBlockchain.as_view()),
]

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -0,0 +1,32 @@
Stopwords Corpus
This corpus contains lists of stop words for several languages. These
are high-frequency grammatical words which are usually ignored in text
retrieval applications.
They were obtained from:
http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/snowball/stopwords/
The stop words for the Romanian language were obtained from:
http://arlc.ro/resources/
The English list has been augmented
https://github.com/nltk/nltk_data/issues/22
The German list has been corrected
https://github.com/nltk/nltk_data/pull/49
A Kazakh list has been added
https://github.com/nltk/nltk_data/pull/52
A Nepali list has been added
https://github.com/nltk/nltk_data/pull/83
An Azerbaijani list has been added
https://github.com/nltk/nltk_data/pull/100
A Greek list has been added
https://github.com/nltk/nltk_data/pull/103
An Indonesian list has been added
https://github.com/nltk/nltk_data/pull/112

View File

@ -0,0 +1,754 @@
إذ
إذا
إذما
إذن
أف
أقل
أكثر
ألا
إلا
التي
الذي
الذين
اللاتي
اللائي
اللتان
اللتيا
اللتين
اللذان
اللذين
اللواتي
إلى
إليك
إليكم
إليكما
إليكن
أم
أما
أما
إما
أن
إن
إنا
أنا
أنت
أنتم
أنتما
أنتن
إنما
إنه
أنى
أنى
آه
آها
أو
أولاء
أولئك
أوه
آي
أي
أيها
إي
أين
أين
أينما
إيه
بخ
بس
بعد
بعض
بك
بكم
بكم
بكما
بكن
بل
بلى
بما
بماذا
بمن
بنا
به
بها
بهم
بهما
بهن
بي
بين
بيد
تلك
تلكم
تلكما
ته
تي
تين
تينك
ثم
ثمة
حاشا
حبذا
حتى
حيث
حيثما
حين
خلا
دون
ذا
ذات
ذاك
ذان
ذانك
ذلك
ذلكم
ذلكما
ذلكن
ذه
ذو
ذوا
ذواتا
ذواتي
ذي
ذين
ذينك
ريث
سوف
سوى
شتان
عدا
عسى
عل
على
عليك
عليه
عما
عن
عند
غير
فإذا
فإن
فلا
فمن
في
فيم
فيما
فيه
فيها
قد
كأن
كأنما
كأي
كأين
كذا
كذلك
كل
كلا
كلاهما
كلتا
كلما
كليكما
كليهما
كم
كم
كما
كي
كيت
كيف
كيفما
لا
لاسيما
لدى
لست
لستم
لستما
لستن
لسن
لسنا
لعل
لك
لكم
لكما
لكن
لكنما
لكي
لكيلا
لم
لما
لن
لنا
له
لها
لهم
لهما
لهن
لو
لولا
لوما
لي
لئن
ليت
ليس
ليسا
ليست
ليستا
ليسوا
ما
ماذا
متى
مذ
مع
مما
ممن
من
منه
منها
منذ
مه
مهما
نحن
نحو
نعم
ها
هاتان
هاته
هاتي
هاتين
هاك
هاهنا
هذا
هذان
هذه
هذي
هذين
هكذا
هل
هلا
هم
هما
هن
هنا
هناك
هنالك
هو
هؤلاء
هي
هيا
هيت
هيهات
والذي
والذين
وإذ
وإذا
وإن
ولا
ولكن
ولو
وما
ومن
وهو
يا
أبٌ
أخٌ
حمٌ
فو
أنتِ
يناير
فبراير
مارس
أبريل
مايو
يونيو
يوليو
أغسطس
سبتمبر
أكتوبر
نوفمبر
ديسمبر
جانفي
فيفري
مارس
أفريل
ماي
جوان
جويلية
أوت
كانون
شباط
آذار
نيسان
أيار
حزيران
تموز
آب
أيلول
تشرين
دولار
دينار
ريال
درهم
ليرة
جنيه
قرش
مليم
فلس
هللة
سنتيم
يورو
ين
يوان
شيكل
واحد
اثنان
ثلاثة
أربعة
خمسة
ستة
سبعة
ثمانية
تسعة
عشرة
أحد
اثنا
اثني
إحدى
ثلاث
أربع
خمس
ست
سبع
ثماني
تسع
عشر
ثمان
سبت
أحد
اثنين
ثلاثاء
أربعاء
خميس
جمعة
أول
ثان
ثاني
ثالث
رابع
خامس
سادس
سابع
ثامن
تاسع
عاشر
حادي
أ
ب
ت
ث
ج
ح
خ
د
ذ
ر
ز
س
ش
ص
ض
ط
ظ
ع
غ
ف
ق
ك
ل
م
ن
ه
و
ي
ء
ى
آ
ؤ
ئ
أ
ة
ألف
باء
تاء
ثاء
جيم
حاء
خاء
دال
ذال
راء
زاي
سين
شين
صاد
ضاد
طاء
ظاء
عين
غين
فاء
قاف
كاف
لام
ميم
نون
هاء
واو
ياء
همزة
ي
نا
ك
كن
ه
إياه
إياها
إياهما
إياهم
إياهن
إياك
إياكما
إياكم
إياك
إياكن
إياي
إيانا
أولالك
تانِ
تانِك
تِه
تِي
تَيْنِ
ثمّ
ثمّة
ذانِ
ذِه
ذِي
ذَيْنِ
هَؤلاء
هَاتانِ
هَاتِه
هَاتِي
هَاتَيْنِ
هَذا
هَذانِ
هَذِه
هَذِي
هَذَيْنِ
الألى
الألاء
أل
أنّى
أيّ
ّأيّان
أنّى
أيّ
ّأيّان
ذيت
كأيّ
كأيّن
بضع
فلان
وا
آمينَ
آهِ
آهٍ
آهاً
أُفٍّ
أُفٍّ
أفٍّ
أمامك
أمامكَ
أوّهْ
إلَيْكَ
إلَيْكَ
إليكَ
إليكنّ
إيهٍ
بخٍ
بسّ
بَسْ
بطآن
بَلْهَ
حاي
حَذارِ
حيَّ
حيَّ
دونك
رويدك
سرعان
شتانَ
شَتَّانَ
صهْ
صهٍ
طاق
طَق
عَدَسْ
كِخ
مكانَك
مكانَك
مكانَك
مكانكم
مكانكما
مكانكنّ
نَخْ
هاكَ
هَجْ
هلم
هيّا
هَيْهات
وا
واهاً
وراءَك
وُشْكَانَ
وَيْ
يفعلان
تفعلان
يفعلون
تفعلون
تفعلين
اتخذ
ألفى
تخذ
ترك
تعلَّم
جعل
حجا
حبيب
خال
حسب
خال
درى
رأى
زعم
صبر
ظنَّ
عدَّ
علم
غادر
ذهب
وجد
ورد
وهب
أسكن
أطعم
أعطى
رزق
زود
سقى
كسا
أخبر
أرى
أعلم
أنبأ
حدَث
خبَّر
نبَّا
أفعل به
ما أفعله
بئس
ساء
طالما
قلما
لات
لكنَّ
ءَ
أجل
إذاً
أمّا
إمّا
إنَّ
أنًّ
أى
إى
أيا
ب
ثمَّ
جلل
جير
رُبَّ
س
علًّ
ف
كأنّ
كلَّا
كى
ل
لات
لعلَّ
لكنَّ
لكنَّ
م
نَّ
هلّا
وا
أل
إلّا
ت
ك
لمّا
ن
ه
و
ا
ي
تجاه
تلقاء
جميع
حسب
سبحان
شبه
لعمر
مثل
معاذ
أبو
أخو
حمو
فو
مئة
مئتان
ثلاثمئة
أربعمئة
خمسمئة
ستمئة
سبعمئة
ثمنمئة
تسعمئة
مائة
ثلاثمائة
أربعمائة
خمسمائة
ستمائة
سبعمائة
ثمانمئة
تسعمائة
عشرون
ثلاثون
اربعون
خمسون
ستون
سبعون
ثمانون
تسعون
عشرين
ثلاثين
اربعين
خمسين
ستين
سبعين
ثمانين
تسعين
بضع
نيف
أجمع
جميع
عامة
عين
نفس
لا سيما
أصلا
أهلا
أيضا
بؤسا
بعدا
بغتة
تعسا
حقا
حمدا
خلافا
خاصة
دواليك
سحقا
سرا
سمعا
صبرا
صدقا
صراحة
طرا
عجبا
عيانا
غالبا
فرادى
فضلا
قاطبة
كثيرا
لبيك
معاذ
أبدا
إزاء
أصلا
الآن
أمد
أمس
آنفا
آناء
أنّى
أول
أيّان
تارة
ثمّ
ثمّة
حقا
صباح
مساء
ضحوة
عوض
غدا
غداة
قطّ
كلّما
لدن
لمّا
مرّة
قبل
خلف
أمام
فوق
تحت
يمين
شمال
ارتدّ
استحال
أصبح
أضحى
آض
أمسى
انقلب
بات
تبدّل
تحوّل
حار
رجع
راح
صار
ظلّ
عاد
غدا
كان
ما انفك
ما برح
مادام
مازال
مافتئ
ابتدأ
أخذ
اخلولق
أقبل
انبرى
أنشأ
أوشك
جعل
حرى
شرع
طفق
علق
قام
كرب
كاد
هبّ

View File

@ -0,0 +1,165 @@
a
ad
altı
altmış
amma
arasında
artıq
ay
az
bax
belə
bəli
bəlkə
beş
bəy
bəzən
bəzi
bilər
bir
biraz
biri
birşey
biz
bizim
bizlər
bu
buna
bundan
bunların
bunu
bunun
buradan
bütün
ci
cı
çox
cu
çünki
da
daha
dedi
dək
dən
dəqiqə
deyil
dir
doqquz
doqsan
dörd
düz
ə
edən
edir
əgər
əlbəttə
elə
əlli
ən
əslində
et
etdi
etmə
etmək
faiz
gilə
görə
ha
haqqında
harada
heç
həm
həmin
həmişə
hər
ı
idi
iki
il
ildə
ilə
ilk
in
indi
isə
istifadə
iyirmi
ki
kim
kimə
kimi
lakin
lap
məhz
mən
mənə
mirşey
nəhayət
niyə
o
obirisi
of
olan
olar
olaraq
oldu
olduğu
olmadı
olmaz
olmuşdur
olsun
olur
on
ona
ondan
onlar
onlardan
onların
onsuzda
onu
onun
oradan
otuz
öz
özü
qarşı
qədər
qırx
saat
sadəcə
saniyə
səhv
səkkiz
səksən
sən
sənə
sənin
siz
sizin
sizlər
sonra
təəssüf
ü
üç
üçün
var
xan
xanım
xeyr
ya
yalnız
yaxşı
yeddi
yenə
yəni
yetmiş
yox
yoxdur
yoxsa
yüz
zaman

View File

@ -0,0 +1,326 @@
ahala
aitzitik
al
ala
alabadere
alabaina
alabaina
aldiz
alta
amaitu
amaitzeko
anitz
antzina
arabera
arabera
arabera
argi
arratsaldero
arte
artean
asko
aspaldiko
aurrera
aurrera
azkenez
azkenik
azkenik
ba
bada
bada
bada
bada
badarik
badarik
badarik
badere
bai
baina
baina
baina
baino
baino
baino
baino
baita
baizik
baldin
baldin
barren
bat
batean
batean
batean
batean
batek
baten
batera
batez
bati
batzuei
batzuek
batzuetan
batzuk
bazen
bederen
bederik
beharrez
behiala
behin
behin
behin
behin
behinik
behinola
behintzat
bera
beraiek
beranduago
berau
berauek
beraz
beraz
bere
berean
berebat
berehala
berori
beroriek
berriro
berriz
bertzalde
bertzenaz
bestalde
beste
bestela
besterik
bezain
bezala
bide
bien
bigarrenez
bigarrenik
bitartean
bitartean
bizkitartean
bukaeran
bukatzeko
da
dago
dago
dela
dela
dela
delarik
den
dena
dena
dezadan
dira
ditu
du
dute
edo
edo
edota
egin
egin
egun
egun
egunean
emateko
era
erdi
ere
ere
ere
ere
ere
esan
esan
esanak
esandakoaren
eta
eta
eta
eta
eta
eta
eurak
ez
ez
ez
eze
ezen
ezer
ezezik
ezik
ezpabere
ezpada
ezpere
ezperen
ezta
funtsean
gabe
gain
gainera
gainera
gainerontzean
gaur
gero
gero
gero
geroago
gisa
gu
gutxi
guzti
guztia
guztiz
haatik
haiei
haiek
haietan
hain
hainbeste
hainbestez
hala
hala
hala
halaber
halako
halatan
han
handik
hango
hara
hargatik
hari
hark
hartan
hartan
hasi
hasi
hasiera
hasieran
hasteaz
hasteko
hasteko
hau
hau
hau
hau
hau
hau
hauei
hauek
hauetan
hemen
hemendik
hemengo
hi
hona
honebestez
honek
honela
honela
honela
honen
honen
honetan
honetaz
honi
hor
hori
hori
hori
horiei
horiek
horietan
horko
horra
horratik
horregatik
horregatik
horrek
horrela
horrela
horrela
horren
horrenbestez
horretan
horri
hortaz
hortaz
hortik
hura
ikusi
ikusi
izan
izan
izan
jarraituz
kariaz
kasuaz
kontuan
laburbilduz
laburki
laster
laster
lehen
lehen
lehen
lehen
lehenengo
lehenengo
lehenik
lehen-lehenik
litzateke
medio
mendean
mundura
nahiz
ni
noiz
nola
non
nondik
nongo
nor
nora
on
ondoren
ondorio
ondorioz
ondorioz
orain
ordea
orduan
orduan
orduan
orduko
ordura
orobat
ostean
ostera
osterantzean
pentsatuz
ustez
ze
zein
zein
zen
zen
zenbait
zenbat
zer
zeren
zergatik
zergatik
ziren
zituen
zu
zuek
zuen
zuten
zuzen

View File

@ -0,0 +1,398 @@
অতএব
অথচ
অথবা
অনুযায়ী
অনেক
অনেকে
অনেকেই
অন্তত
অন্য
অবধি
অবশ্য
অর্থাত
আই
আগামী
আগে
আগেই
আছে
আজ
আদ্যভাগে
আপনার
আপনি
আবার
আমরা
আমাকে
আমাদের
আমার
আমি
আর
আরও
ইত্যাদি
ইহা
উচিত
উত্তর
উনি
উপর
উপরে
এঁদের
এঁরা
এই
একই
একটি
একবার
একে
এক্
এখন
এখনও
এখানে
এখানেই
এটা
এটাই
এটি
এত
এতটাই
এতে
এদের
এব
এবং
এবার
এমন
এমনকী
এমনি
এর
এরা
এল
এস
এসে
ওঁদের
ওঁর
ওঁরা
ওই
ওকে
ওখানে
ওদের
ওর
ওরা
কখনও
কত
কবে
কমনে
কয়েক
কয়েকটি
করছে
করছেন
করতে
করবে
করবেন
করলে
করলেন
করা
করাই
করায়
করার
করি
করিতে
করিয়া
করিয়ে
করে
করেই
করেছিলেন
করেছে
করেছেন
করেন
কাউকে
কাছ
কাছে
কাজ
কাজে
কারও
কারণ
কি
কিংবা
কিছু
কিছুই
কিন্তু
কী
কে
কেউ
কেউই
কেখা
কেন
কোটি
কোন
কোনও
কোনো
ক্ষেত্রে
কয়েক
খুব
গিয়ে
গিয়েছে
গিয়ে
গুলি
গেছে
গেল
গেলে
গোটা
চলে
চান
চায়
চার
চালু
চেয়ে
চেষ্টা
ছাড়া
ছাড়াও
ছিল
ছিলেন
জন
জনকে
জনের
জন্য
জন্যওজে
জানতে
জানা
জানানো
জানায়
জানিয়ে
জানিয়েছে
জে
জ্নজন
টি
ঠিক
তখন
তত
তথা
তবু
তবে
তা
তাঁকে
তাঁদের
তাঁর
তাঁরা
তাঁাহারা
তাই
তাও
তাকে
তাতে
তাদের
তার
তারপর
তারা
তারৈ
তাহলে
তাহা
তাহাতে
তাহার
তিনঐ
তিনি
তিনিও
তুমি
তুলে
তেমন
তো
তোমার
থাকবে
থাকবেন
থাকা
থাকায়
থাকে
থাকেন
থেকে
থেকেই
থেকেও
দিকে
দিতে
দিন
দিয়ে
দিয়েছে
দিয়েছেন
দিলেন
দু
দুই
দুটি
দুটো
দেওয়া
দেওয়ার
দেওয়া
দেখতে
দেখা
দেখে
দেন
দেয়
দ্বারা
ধরা
ধরে
ধামার
নতুন
নয়
না
নাই
নাকি
নাগাদ
নানা
নিজে
নিজেই
নিজেদের
নিজের
নিতে
নিয়ে
নিয়ে
নেই
নেওয়া
নেওয়ার
নেওয়া
নয়
পক্ষে
পর
পরে
পরেই
পরেও
পর্যন্ত
পাওয়া
পাচ
পারি
পারে
পারেন
পি
পেয়ে
পেয়্র্
প্রতি
প্রথম
প্রভৃতি
প্রযন্ত
প্রাথমিক
প্রায়
প্রায়
ফলে
ফিরে
ফের
বক্তব্য
বদলে
বন
বরং
বলতে
বলল
বললেন
বলা
বলে
বলেছেন
বলেন
বসে
বহু
বা
বাদে
বার
বি
বিনা
বিভিন্ন
বিশেষ
বিষয়টি
বেশ
বেশি
ব্যবহার
ব্যাপারে
ভাবে
ভাবেই
মতো
মতোই
মধ্যভাগে
মধ্যে
মধ্যেই
মধ্যেও
মনে
মাত্র
মাধ্যমে
মোট
মোটেই
যখন
যত
যতটা
যথেষ্ট
যদি
যদিও
যা
যাঁর
যাঁরা
যাওয়া
যাওয়ার
যাওয়া
যাকে
যাচ্ছে
যাতে
যাদের
যান
যাবে
যায়
যার
যারা
যিনি
যে
যেখানে
যেতে
যেন
যেমন
রকম
রয়েছে
রাখা
রেখে
লক্ষ
শুধু
শুরু
সঙ্গে
সঙ্গেও
সব
সবার
সমস্ত
সম্প্রতি
সহ
সহিত
সাধারণ
সামনে
সি
সুতরাং
সে
সেই
সেখান
সেখানে
সেটা
সেটাই
সেটাও
সেটি
স্পষ্ট
স্বয়ং
হইতে
হইবে
হইয়া
হওয়া
হওয়ায়
হওয়ার
হচ্ছে
হত
হতে
হতেই
হন
হবে
হবেন
হয়
হয়তো
হয়নি
হয়ে
হয়েই
হয়েছিল
হয়েছে
হয়েছেন
হল
হলে
হলেই
হলেও
হলো
হাজার
হিসাবে
হৈলে
হোক
হয়

View File

@ -0,0 +1,278 @@
a
abans
ací
ah
així
això
al
aleshores
algun
alguna
algunes
alguns
alhora
allà
allí
allò
als
altra
altre
altres
amb
ambdues
ambdós
anar
ans
apa
aquell
aquella
aquelles
aquells
aquest
aquesta
aquestes
aquests
aquí
baix
bastant
cada
cadascuna
cadascunes
cadascuns
cadascú
com
consegueixo
conseguim
conseguir
consigueix
consigueixen
consigueixes
contra
d'un
d'una
d'unes
d'uns
dalt
de
del
dels
des
des de
després
dins
dintre
donat
doncs
durant
e
eh
el
elles
ells
els
em
en
encara
ens
entre
era
erem
eren
eres
es
esta
estan
estat
estava
estaven
estem
esteu
estic
està
estàvem
estàveu
et
etc
ets
fa
faig
fan
fas
fem
fer
feu
fi
fins
fora
gairebé
ha
han
has
haver
havia
he
hem
heu
hi
ho
i
igual
iguals
inclòs
ja
jo
l'hi
la
les
li
li'n
llarg
llavors
m'he
ma
mal
malgrat
mateix
mateixa
mateixes
mateixos
me
mentre
meu
meus
meva
meves
mode
molt
molta
moltes
molts
mon
mons
més
n'he
n'hi
ne
ni
no
nogensmenys
només
nosaltres
nostra
nostre
nostres
o
oh
oi
on
pas
pel
pels
per
per que
perquè
però
poc
poca
pocs
podem
poden
poder
podeu
poques
potser
primer
propi
puc
qual
quals
quan
quant
que
quelcom
qui
quin
quina
quines
quins
què
s'ha
s'han
sa
sabem
saben
saber
sabeu
sap
saps
semblant
semblants
sense
ser
ses
seu
seus
seva
seves
si
sobre
sobretot
soc
solament
sols
som
son
sons
sota
sou
sóc
són
t'ha
t'han
t'he
ta
tal
també
tampoc
tan
tant
tanta
tantes
te
tene
tenim
tenir
teniu
teu
teus
teva
teves
tinc
ton
tons
tot
tota
totes
tots
un
una
unes
uns
us
va
vaig
vam
van
vas
veu
vosaltres
vostra
vostre
vostres
érem
éreu
és
éssent
últim
ús

View File

@ -0,0 +1,841 @@
一下
一些
一切
一则
一天
一定
一方面
一旦
一时
一来
一样
一次
一片
一直
一致
一般
一起
一边
一面
万一
上下
上升
上去
上来
上述
上面
下列
下去
下来
下面
不一
不久
不仅
不会
不但
不光
不单
不变
不只
不可
不同
不够
不如
不得
不怕
不惟
不成
不拘
不敢
不断
不是
不比
不然
不特
不独
不管
不能
不要
不论
不足
不过
不问
与其
与否
与此同时
专门
两者
严格
严重
个人
个别
中小
中间
丰富
为主
为了
为什么
为什麽
为何
为着
主张
主要
举行
乃至
之一
之前
之后
之後
之所以
之类
乌乎
也好
也是
也罢
了解
争取
于是
于是乎
云云
互相
产生
人们
人家
什么
什么样
什麽
今后
今天
今年
今後
仍然
从事
从而
他人
他们
他的
代替
以上
以下
以为
以便
以免
以前
以及
以后
以外
以後
以来
以至
以至于
以致
任何
任凭
任务
企图
伟大
似乎
似的
但是
何况
何处
何时
作为
你们
你的
使得
使用
例如
依照
依靠
促进
保持
俺们
倘使
倘或
倘然
倘若
假使
假如
假若
做到
允许
充分
先后
先後
先生
全部
全面
共同
关于
其一
其中
其二
其他
其余
其它
其实
其次
具体
具体地说
具体说来
具有
再者
再说
决定
况且
准备
几乎
几时
凭借
出去
出来
出现
分别
别的
别说
前后
前者
前进
前面
加之
加以
加入
加强
十分
即令
即使
即便
即或
即若
却不
原来
及其
及时
及至
双方
反之
反应
反映
反过来
反过来说
取得
受到
变成
另一方面
另外
只是
只有
只要
只限
叫做
召开
叮咚
可以
可是
可能
可见
各个
各人
各位
各地
各种
各级
各自
合理
同一
同时
同样
后来
后面
向着
否则
吧哒
呜呼
周围
呼哧
咱们
哈哈
哎呀
哎哟
哪个
哪些
哪儿
哪天
哪年
哪怕
哪样
哪边
哪里
哼唷
啪达
喔唷
嗡嗡
嘎登
因为
因此
因而
固然
在下
坚决
坚持
基本
处理
复杂
多少
多数
多次
大力
大多数
大大
大家
大批
大约
大量
失去
她们
她的
好的
好象
如上所述
如下
如何
如其
如果
如此
如若
存在
宁可
宁愿
宁肯
它们
它们的
它的
安全
完全
完成
实现
实际
宣布
容易
密切
对于
对应
少数
尔后
尚且
尤其
就是
就是说
尽管
属于
岂但
左右
巨大
巩固
已经
帮助
常常
并不
并不是
并且
并没有
广大
广泛
应当
应用
应该
开外
开始
开展
引起
强烈
强调
当前
当时
当然
当着
形成
彻底
彼此
往往
後来
後面
得出
得到
心里
必然
必要
必须
怎么
怎么办
怎么样
怎样
怎麽
总之
总是
总的来看
总的来说
总的说来
总结
总而言之
恰恰相反
意思
愿意
慢说
成为
我们
我的
或是
或者
战斗
所以
所有
所谓
扩大
抑或
按照
换句话说
换言之
掌握
接着
接著
故此
整个
方便
方面
旁人
无宁
无法
无论
既是
既然
时候
明显
明确
是否
是的
显然
显著
普通
普遍
更加
曾经
最后
最大
最好
最後
最近
最高
有些
有关
有利
有力
有所
有效
有时
有点
有的
有着
有著
朝着
本着
来着
极了
构成
果然
果真
某个
某些
根据
根本
欢迎
正在
正如
正常
此外
此时
此间
毋宁
每个
每天
每年
每当
比如
比方
比较
毫不
没有
沿
沿着
注意
深入
清楚
满足
漫说
然则
然后
然後
然而
照着
特别是
特殊
特点
现代
现在
甚么
甚而
甚至
由于
由此可见
的话
目前
直到
直接
相似
相信
相反
相同
相对
相对而言
相应
相当
相等
省得
看出
看到
看来
看看
看见
真是
真正
着呢
知道
确定
积极
移动
突出
突然
立即
等等
紧接着
纵令
纵使
纵然
练习
组成
经常
经过
结合
结果
绝对
继续
继而
维持
综上所述
罢了
考虑
而且
而况
而外
而已
而是
而言
联系
能否
能够
自个儿
自从
自各儿
自家
自己
自身
至于
良好
若是
若非
范围
莫若
获得
虽则
虽然
虽说
行为
行动
表明
表示
要不
要不是
要不然
要么
要是
要求
规定
觉得
认为
认真
认识
许多
设使
设若
说明
诸位
谁知
起来
起见
趁着
越是
转动
转变
转贴
较之
达到
迅速
过去
过来
运用
还是
还有
这个
这么
这么些
这么样
这么点儿
这些
这会儿
这儿
这就是说
这时
这样
这点
这种
这边
这里
这麽
进入
进步
进而
进行
连同
适应
适当
适用
逐步
逐渐
通常
通过
造成
遇到
遭到
避免
那个
那么
那么些
那么样
那些
那会儿
那儿
那时
那样
那边
那里
那麽
部分
鄙人
采取
里面
重大
重新
重要
鉴于
问题
防止
附近
限制
除了
除此之外
除非
随着
随著
集中
需要
非但
非常
非徒
顺着
首先
高兴
是不是

View File

@ -0,0 +1,94 @@
og
i
jeg
det
at
en
den
til
er
som
de
med
han
af
for
ikke
der
var
mig
sig
men
et
har
om
vi
min
havde
ham
hun
nu
over
da
fra
du
ud
sin
dem
os
op
man
hans
hvor
eller
hvad
skal
selv
her
alle
vil
blev
kunne
ind
når
være
dog
noget
ville
jo
deres
efter
ned
skulle
denne
end
dette
mit
også
under
have
dig
anden
hende
mine
alt
meget
sit
sine
vor
mod
disse
hvis
din
nogle
hos
blive
mange
ad
bliver
hendes
været
thi
jer
sådan

View File

@ -0,0 +1,101 @@
de
en
van
ik
te
dat
die
in
een
hij
het
niet
zijn
is
was
op
aan
met
als
voor
had
er
maar
om
hem
dan
zou
of
wat
mijn
men
dit
zo
door
over
ze
zich
bij
ook
tot
je
mij
uit
der
daar
haar
naar
heb
hoe
heeft
hebben
deze
u
want
nog
zal
me
zij
nu
ge
geen
omdat
iets
worden
toch
al
waren
veel
meer
doen
toen
moet
ben
zonder
kan
hun
dus
alles
onder
ja
eens
hier
wie
werd
altijd
doch
wordt
wezen
kunnen
ons
zelf
tegen
na
reeds
wil
kon
niets
uw
iemand
geweest
andere

View File

@ -0,0 +1,179 @@
i
me
my
myself
we
our
ours
ourselves
you
you're
you've
you'll
you'd
your
yours
yourself
yourselves
he
him
his
himself
she
she's
her
hers
herself
it
it's
its
itself
they
them
their
theirs
themselves
what
which
who
whom
this
that
that'll
these
those
am
is
are
was
were
be
been
being
have
has
had
having
do
does
did
doing
a
an
the
and
but
if
or
because
as
until
while
of
at
by
for
with
about
against
between
into
through
during
before
after
above
below
to
from
up
down
in
out
on
off
over
under
again
further
then
once
here
there
when
where
why
how
all
any
both
each
few
more
most
other
some
such
no
nor
not
only
own
same
so
than
too
very
s
t
can
will
just
don
don't
should
should've
now
d
ll
m
o
re
ve
y
ain
aren
aren't
couldn
couldn't
didn
didn't
doesn
doesn't
hadn
hadn't
hasn
hasn't
haven
haven't
isn
isn't
ma
mightn
mightn't
mustn
mustn't
needn
needn't
shan
shan't
shouldn
shouldn't
wasn
wasn't
weren
weren't
won
won't
wouldn
wouldn't

View File

@ -0,0 +1,235 @@
olla
olen
olet
on
olemme
olette
ovat
ole
oli
olisi
olisit
olisin
olisimme
olisitte
olisivat
olit
olin
olimme
olitte
olivat
ollut
olleet
en
et
ei
emme
ette
eivät
minä
minun
minut
minua
minussa
minusta
minuun
minulla
minulta
minulle
sinä
sinun
sinut
sinua
sinussa
sinusta
sinuun
sinulla
sinulta
sinulle
hän
hänen
hänet
häntä
hänessä
hänestä
häneen
hänellä
häneltä
hänelle
me
meidän
meidät
meitä
meissä
meistä
meihin
meillä
meiltä
meille
te
teidän
teidät
teitä
teissä
teistä
teihin
teillä
teiltä
teille
he
heidän
heidät
heitä
heissä
heistä
heihin
heillä
heiltä
heille
tämä
tämän
tätä
tässä
tästä
tähän
tallä
tältä
tälle
tänä
täksi
tuo
tuon
tuotä
tuossa
tuosta
tuohon
tuolla
tuolta
tuolle
tuona
tuoksi
se
sen
sitä
siinä
siitä
siihen
sillä
siltä
sille
sinä
siksi
nämä
näiden
näitä
näissä
näistä
näihin
näillä
näiltä
näille
näinä
näiksi
nuo
noiden
noita
noissa
noista
noihin
noilla
noilta
noille
noina
noiksi
ne
niiden
niitä
niissä
niistä
niihin
niillä
niiltä
niille
niinä
niiksi
kuka
kenen
kenet
ketä
kenessä
kenestä
keneen
kenellä
keneltä
kenelle
kenenä
keneksi
ketkä
keiden
ketkä
keitä
keissä
keistä
keihin
keillä
keiltä
keille
keinä
keiksi
mikä
minkä
minkä
mitä
missä
mistä
mihin
millä
miltä
mille
minä
miksi
mitkä
joka
jonka
jota
jossa
josta
johon
jolla
jolta
jolle
jona
joksi
jotka
joiden
joita
joissa
joista
joihin
joilla
joilta
joille
joina
joiksi
että
ja
jos
koska
kuin
mutta
niin
sekä
sillä
tai
vaan
vai
vaikka
kanssa
mukaan
noin
poikki
yli
kun
niin
nyt
itse

View File

@ -0,0 +1,157 @@
au
aux
avec
ce
ces
dans
de
des
du
elle
en
et
eux
il
ils
je
la
le
les
leur
lui
ma
mais
me
même
mes
moi
mon
ne
nos
notre
nous
on
ou
par
pas
pour
qu
que
qui
sa
se
ses
son
sur
ta
te
tes
toi
ton
tu
un
une
vos
votre
vous
c
d
j
l
à
m
n
s
t
y
été
étée
étées
étés
étant
étante
étants
étantes
suis
es
est
sommes
êtes
sont
serai
seras
sera
serons
serez
seront
serais
serait
serions
seriez
seraient
étais
était
étions
étiez
étaient
fus
fut
fûmes
fûtes
furent
sois
soit
soyons
soyez
soient
fusse
fusses
fût
fussions
fussiez
fussent
ayant
ayante
ayantes
ayants
eu
eue
eues
eus
ai
as
avons
avez
ont
aurai
auras
aura
aurons
aurez
auront
aurais
aurait
aurions
auriez
auraient
avais
avait
avions
aviez
avaient
eut
eûmes
eûtes
eurent
aie
aies
ait
ayons
ayez
aient
eusse
eusses
eût
eussions
eussiez
eussent

View File

@ -0,0 +1,232 @@
aber
alle
allem
allen
aller
alles
als
also
am
an
ander
andere
anderem
anderen
anderer
anderes
anderm
andern
anderr
anders
auch
auf
aus
bei
bin
bis
bist
da
damit
dann
der
den
des
dem
die
das
dass
daß
derselbe
derselben
denselben
desselben
demselben
dieselbe
dieselben
dasselbe
dazu
dein
deine
deinem
deinen
deiner
deines
denn
derer
dessen
dich
dir
du
dies
diese
diesem
diesen
dieser
dieses
doch
dort
durch
ein
eine
einem
einen
einer
eines
einig
einige
einigem
einigen
einiger
einiges
einmal
er
ihn
ihm
es
etwas
euer
eure
eurem
euren
eurer
eures
für
gegen
gewesen
hab
habe
haben
hat
hatte
hatten
hier
hin
hinter
ich
mich
mir
ihr
ihre
ihrem
ihren
ihrer
ihres
euch
im
in
indem
ins
ist
jede
jedem
jeden
jeder
jedes
jene
jenem
jenen
jener
jenes
jetzt
kann
kein
keine
keinem
keinen
keiner
keines
können
könnte
machen
man
manche
manchem
manchen
mancher
manches
mein
meine
meinem
meinen
meiner
meines
mit
muss
musste
nach
nicht
nichts
noch
nun
nur
ob
oder
ohne
sehr
sein
seine
seinem
seinen
seiner
seines
selbst
sich
sie
ihnen
sind
so
solche
solchem
solchen
solcher
solches
soll
sollte
sondern
sonst
über
um
und
uns
unsere
unserem
unseren
unser
unseres
unter
viel
vom
von
vor
während
war
waren
warst
was
weg
weil
weiter
welche
welchem
welchen
welcher
welches
wenn
werde
werden
wie
wieder
will
wir
wird
wirst
wo
wollen
wollte
würde
würden
zu
zum
zur
zwar
zwischen

View File

@ -0,0 +1,265 @@
αλλα
αν
αντι
απο
αυτα
αυτεσ
αυτη
αυτο
αυτοι
αυτοσ
αυτουσ
αυτων
αἱ
αἳ
αἵ
αὐτόσ
αὐτὸς
αὖ
γάρ
γα
γα^
γε
για
γοῦν
γὰρ
δ'
δέ
δή
δαί
δαίσ
δαὶ
δαὶς
δε
δεν
δι'
διά
διὰ
δὲ
δὴ
δ’
εαν
ειμαι
ειμαστε
ειναι
εισαι
ειστε
εκεινα
εκεινεσ
εκεινη
εκεινο
εκεινοι
εκεινοσ
εκεινουσ
εκεινων
ενω
επ
επι
εἰ
εἰμί
εἰμὶ
εἰς
εἰσ
εἴ
εἴμι
εἴτε
η
θα
ισωσ
κ
καί
καίτοι
καθ
και
κατ
κατά
κατα
κατὰ
καὶ
κι
κἀν
κἂν
μέν
μή
μήτε
μα
με
μεθ
μετ
μετά
μετα
μετὰ
μη
μην
μἐν
μὲν
μὴ
μὴν
να
ο
οι
ομωσ
οπωσ
οσο
οτι
οἱ
οἳ
οἷς
οὐ
οὐδ
οὐδέ
οὐδείσ
οὐδεὶς
οὐδὲ
οὐδὲν
οὐκ
οὐχ
οὐχὶ
οὓς
οὔτε
οὕτω
οὕτως
οὕτωσ
οὖν
οὗ
οὗτος
οὗτοσ
παρ
παρά
παρα
παρὰ
περί
περὶ
ποια
ποιεσ
ποιο
ποιοι
ποιοσ
ποιουσ
ποιων
ποτε
που
ποῦ
προ
προσ
πρόσ
πρὸ
πρὸς
πως
πωσ
σε
στη
στην
στο
στον
σόσ
σύ
σύν
σὸς
σὺ
σὺν
τά
τήν
τί
τίς
τίσ
τα
ταῖς
τε
την
τησ
τι
τινα
τις
τισ
το
τοί
τοι
τοιοῦτος
τοιοῦτοσ
τον
τοτε
του
τούσ
τοὺς
τοῖς
τοῦ
των
τό
τόν
τότε
τὰ
τὰς
τὴν
τὸ
τὸν
τῆς
τῆσ
τῇ
τῶν
τῷ
ωσ
ἀλλ'
ἀλλά
ἀλλὰ
ἀλλ’
ἀπ
ἀπό
ἀπὸ
ἀφ
ἂν
ἄλλος
ἄλλοσ
ἄν
ἄρα
ἅμα
ἐάν
ἐγώ
ἐγὼ
ἐκ
ἐμόσ
ἐμὸς
ἐν
ἐξ
ἐπί
ἐπεὶ
ἐπὶ
ἐστι
ἐφ
ἐὰν
ἑαυτοῦ
ἔτι
ἧς
ἵνα
ὃν
ὃς
ὅδε
ὅθεν
ὅπερ
ὅς
ὅσ
ὅστις
ὅστισ
ὅτε
ὅτι
ὑμόσ
ὑπ
ὑπέρ
ὑπό
ὑπὲρ
ὑπὸ
ὡς
ὡσ
ὥς
ὥστε

View File

@ -0,0 +1,221 @@
אני
את
אתה
אנחנו
אתן
אתם
הם
הן
היא
הוא
שלי
שלו
שלך
שלה
שלנו
שלכם
שלכן
שלהם
שלהן
לי
לו
לה
לנו
לכם
לכן
להם
להן
אותה
אותו
זה
זאת
אלה
אלו
תחת
מתחת
מעל
בין
עם
עד
נגר
על
אל
מול
של
אצל
כמו
אחר
אותו
בלי
לפני
אחרי
מאחורי
עלי
עליו
עליה
עליך
עלינו
עליכם
לעיכן
עליהם
עליהן
כל
כולם
כולן
כך
ככה
כזה
זה
זות
אותי
אותה
אותם
אותך
אותו
אותן
אותנו
ואת
את
אתכם
אתכן
איתי
איתו
איתך
איתה
איתם
איתן
איתנו
איתכם
איתכן
יהיה
תהיה
היתי
היתה
היה
להיות
עצמי
עצמו
עצמה
עצמם
עצמן
עצמנו
עצמהם
עצמהן
מי
מה
איפה
היכן
במקום שבו
אם
לאן
למקום שבו
מקום בו
איזה
מהיכן
איך
כיצד
באיזו מידה
מתי
בשעה ש
כאשר
כש
למרות
לפני
אחרי
מאיזו סיבה
הסיבה שבגללה
למה
מדוע
לאיזו תכלית
כי
יש
אין
אך
מנין
מאין
מאיפה
יכל
יכלה
יכלו
יכול
יכולה
יכולים
יכולות
יוכלו
יוכל
מסוגל
לא
רק
אולי
אין
לאו
אי
כלל
נגד
אם
עם
אל
אלה
אלו
אף
על
מעל
מתחת
מצד
בשביל
לבין
באמצע
בתוך
דרך
מבעד
באמצעות
למעלה
למטה
מחוץ
מן
לעבר
מכאן
כאן
הנה
הרי
פה
שם
אך
ברם
שוב
אבל
מבלי
בלי
מלבד
רק
בגלל
מכיוון
עד
אשר
ואילו
למרות
אס
כמו
כפי
אז
אחרי
כן
לכן
לפיכך
מאד
עז
מעט
מעטים
במידה
שוב
יותר
מדי
גם
כן
נו
אחר
אחרת
אחרים
אחרות
אשר
או

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,199 @@
a
ahogy
ahol
aki
akik
akkor
alatt
által
általában
amely
amelyek
amelyekben
amelyeket
amelyet
amelynek
ami
amit
amolyan
amíg
amikor
át
abban
ahhoz
annak
arra
arról
az
azok
azon
azt
azzal
azért
aztán
azután
azonban
bár
be
belül
benne
cikk
cikkek
cikkeket
csak
de
e
eddig
egész
egy
egyes
egyetlen
egyéb
egyik
egyre
ekkor
el
elég
ellen
elõ
elõször
elõtt
elsõ
én
éppen
ebben
ehhez
emilyen
ennek
erre
ez
ezt
ezek
ezen
ezzel
ezért
és
fel
felé
hanem
hiszen
hogy
hogyan
igen
így
illetve
ill.
ill
ilyen
ilyenkor
ison
ismét
itt
jól
jobban
kell
kellett
keresztül
keressünk
ki
kívül
között
közül
legalább
lehet
lehetett
legyen
lenne
lenni
lesz
lett
maga
magát
majd
majd
már
más
másik
meg
még
mellett
mert
mely
melyek
mi
mit
míg
miért
milyen
mikor
minden
mindent
mindenki
mindig
mint
mintha
mivel
most
nagy
nagyobb
nagyon
ne
néha
nekem
neki
nem
néhány
nélkül
nincs
olyan
ott
össze
õ
õk
õket
pedig
persze
s
saját
sem
semmi
sok
sokat
sokkal
számára
szemben
szerint
szinte
talán
tehát
teljes
tovább
továbbá
több
úgy
ugyanis
új
újabb
újra
után
utána
utolsó
vagy
vagyis
valaki
valami
valamint
való
vagyok
van
vannak
volt
voltam
voltak
voltunk
vissza
vele
viszont
volna

View File

@ -0,0 +1,758 @@
ada
adalah
adanya
adapun
agak
agaknya
agar
akan
akankah
akhir
akhiri
akhirnya
aku
akulah
amat
amatlah
anda
andalah
antar
antara
antaranya
apa
apaan
apabila
apakah
apalagi
apatah
artinya
asal
asalkan
atas
atau
ataukah
ataupun
awal
awalnya
bagai
bagaikan
bagaimana
bagaimanakah
bagaimanapun
bagi
bagian
bahkan
bahwa
bahwasanya
baik
bakal
bakalan
balik
banyak
bapak
baru
bawah
beberapa
begini
beginian
beginikah
beginilah
begitu
begitukah
begitulah
begitupun
bekerja
belakang
belakangan
belum
belumlah
benar
benarkah
benarlah
berada
berakhir
berakhirlah
berakhirnya
berapa
berapakah
berapalah
berapapun
berarti
berawal
berbagai
berdatangan
beri
berikan
berikut
berikutnya
berjumlah
berkali-kali
berkata
berkehendak
berkeinginan
berkenaan
berlainan
berlalu
berlangsung
berlebihan
bermacam
bermacam-macam
bermaksud
bermula
bersama
bersama-sama
bersiap
bersiap-siap
bertanya
bertanya-tanya
berturut
berturut-turut
bertutur
berujar
berupa
besar
betul
betulkah
biasa
biasanya
bila
bilakah
bisa
bisakah
boleh
bolehkah
bolehlah
buat
bukan
bukankah
bukanlah
bukannya
bulan
bung
cara
caranya
cukup
cukupkah
cukuplah
cuma
dahulu
dalam
dan
dapat
dari
daripada
datang
dekat
demi
demikian
demikianlah
dengan
depan
di
dia
diakhiri
diakhirinya
dialah
diantara
diantaranya
diberi
diberikan
diberikannya
dibuat
dibuatnya
didapat
didatangkan
digunakan
diibaratkan
diibaratkannya
diingat
diingatkan
diinginkan
dijawab
dijelaskan
dijelaskannya
dikarenakan
dikatakan
dikatakannya
dikerjakan
diketahui
diketahuinya
dikira
dilakukan
dilalui
dilihat
dimaksud
dimaksudkan
dimaksudkannya
dimaksudnya
diminta
dimintai
dimisalkan
dimulai
dimulailah
dimulainya
dimungkinkan
dini
dipastikan
diperbuat
diperbuatnya
dipergunakan
diperkirakan
diperlihatkan
diperlukan
diperlukannya
dipersoalkan
dipertanyakan
dipunyai
diri
dirinya
disampaikan
disebut
disebutkan
disebutkannya
disini
disinilah
ditambahkan
ditandaskan
ditanya
ditanyai
ditanyakan
ditegaskan
ditujukan
ditunjuk
ditunjuki
ditunjukkan
ditunjukkannya
ditunjuknya
dituturkan
dituturkannya
diucapkan
diucapkannya
diungkapkan
dong
dua
dulu
empat
enggak
enggaknya
entah
entahlah
guna
gunakan
hal
hampir
hanya
hanyalah
hari
harus
haruslah
harusnya
hendak
hendaklah
hendaknya
hingga
ia
ialah
ibarat
ibaratkan
ibaratnya
ibu
ikut
ingat
ingat-ingat
ingin
inginkah
inginkan
ini
inikah
inilah
itu
itukah
itulah
jadi
jadilah
jadinya
jangan
jangankan
janganlah
jauh
jawab
jawaban
jawabnya
jelas
jelaskan
jelaslah
jelasnya
jika
jikalau
juga
jumlah
jumlahnya
justru
kala
kalau
kalaulah
kalaupun
kalian
kami
kamilah
kamu
kamulah
kan
kapan
kapankah
kapanpun
karena
karenanya
kasus
kata
katakan
katakanlah
katanya
ke
keadaan
kebetulan
kecil
kedua
keduanya
keinginan
kelamaan
kelihatan
kelihatannya
kelima
keluar
kembali
kemudian
kemungkinan
kemungkinannya
kenapa
kepada
kepadanya
kesampaian
keseluruhan
keseluruhannya
keterlaluan
ketika
khususnya
kini
kinilah
kira
kira-kira
kiranya
kita
kitalah
kok
kurang
lagi
lagian
lah
lain
lainnya
lalu
lama
lamanya
lanjut
lanjutnya
lebih
lewat
lima
luar
macam
maka
makanya
makin
malah
malahan
mampu
mampukah
mana
manakala
manalagi
masa
masalah
masalahnya
masih
masihkah
masing
masing-masing
mau
maupun
melainkan
melakukan
melalui
melihat
melihatnya
memang
memastikan
memberi
memberikan
membuat
memerlukan
memihak
meminta
memintakan
memisalkan
memperbuat
mempergunakan
memperkirakan
memperlihatkan
mempersiapkan
mempersoalkan
mempertanyakan
mempunyai
memulai
memungkinkan
menaiki
menambahkan
menandaskan
menanti
menanti-nanti
menantikan
menanya
menanyai
menanyakan
mendapat
mendapatkan
mendatang
mendatangi
mendatangkan
menegaskan
mengakhiri
mengapa
mengatakan
mengatakannya
mengenai
mengerjakan
mengetahui
menggunakan
menghendaki
mengibaratkan
mengibaratkannya
mengingat
mengingatkan
menginginkan
mengira
mengucapkan
mengucapkannya
mengungkapkan
menjadi
menjawab
menjelaskan
menuju
menunjuk
menunjuki
menunjukkan
menunjuknya
menurut
menuturkan
menyampaikan
menyangkut
menyatakan
menyebutkan
menyeluruh
menyiapkan
merasa
mereka
merekalah
merupakan
meski
meskipun
meyakini
meyakinkan
minta
mirip
misal
misalkan
misalnya
mula
mulai
mulailah
mulanya
mungkin
mungkinkah
nah
naik
namun
nanti
nantinya
nyaris
nyatanya
oleh
olehnya
pada
padahal
padanya
pak
paling
panjang
pantas
para
pasti
pastilah
penting
pentingnya
per
percuma
perlu
perlukah
perlunya
pernah
persoalan
pertama
pertama-tama
pertanyaan
pertanyakan
pihak
pihaknya
pukul
pula
pun
punya
rasa
rasanya
rata
rupanya
saat
saatnya
saja
sajalah
saling
sama
sama-sama
sambil
sampai
sampai-sampai
sampaikan
sana
sangat
sangatlah
satu
saya
sayalah
se
sebab
sebabnya
sebagai
sebagaimana
sebagainya
sebagian
sebaik
sebaik-baiknya
sebaiknya
sebaliknya
sebanyak
sebegini
sebegitu
sebelum
sebelumnya
sebenarnya
seberapa
sebesar
sebetulnya
sebisanya
sebuah
sebut
sebutlah
sebutnya
secara
secukupnya
sedang
sedangkan
sedemikian
sedikit
sedikitnya
seenaknya
segala
segalanya
segera
seharusnya
sehingga
seingat
sejak
sejauh
sejenak
sejumlah
sekadar
sekadarnya
sekali
sekali-kali
sekalian
sekaligus
sekalipun
sekarang
sekarang
sekecil
seketika
sekiranya
sekitar
sekitarnya
sekurang-kurangnya
sekurangnya
sela
selain
selaku
selalu
selama
selama-lamanya
selamanya
selanjutnya
seluruh
seluruhnya
semacam
semakin
semampu
semampunya
semasa
semasih
semata
semata-mata
semaunya
sementara
semisal
semisalnya
sempat
semua
semuanya
semula
sendiri
sendirian
sendirinya
seolah
seolah-olah
seorang
sepanjang
sepantasnya
sepantasnyalah
seperlunya
seperti
sepertinya
sepihak
sering
seringnya
serta
serupa
sesaat
sesama
sesampai
sesegera
sesekali
seseorang
sesuatu
sesuatunya
sesudah
sesudahnya
setelah
setempat
setengah
seterusnya
setiap
setiba
setibanya
setidak-tidaknya
setidaknya
setinggi
seusai
sewaktu
siap
siapa
siapakah
siapapun
sini
sinilah
soal
soalnya
suatu
sudah
sudahkah
sudahlah
supaya
tadi
tadinya
tahu
tahun
tak
tambah
tambahnya
tampak
tampaknya
tandas
tandasnya
tanpa
tanya
tanyakan
tanyanya
tapi
tegas
tegasnya
telah
tempat
tengah
tentang
tentu
tentulah
tentunya
tepat
terakhir
terasa
terbanyak
terdahulu
terdapat
terdiri
terhadap
terhadapnya
teringat
teringat-ingat
terjadi
terjadilah
terjadinya
terkira
terlalu
terlebih
terlihat
termasuk
ternyata
tersampaikan
tersebut
tersebutlah
tertentu
tertuju
terus
terutama
tetap
tetapi
tiap
tiba
tiba-tiba
tidak
tidakkah
tidaklah
tiga
tinggi
toh
tunjuk
turut
tutur
tuturnya
ucap
ucapnya
ujar
ujarnya
umum
umumnya
ungkap
ungkapnya
untuk
usah
usai
waduh
wah
wahai
waktu
waktunya
walau
walaupun
wong
yaitu
yakin
yakni
yang

View File

@ -0,0 +1,279 @@
ad
al
allo
ai
agli
all
agl
alla
alle
con
col
coi
da
dal
dallo
dai
dagli
dall
dagl
dalla
dalle
di
del
dello
dei
degli
dell
degl
della
delle
in
nel
nello
nei
negli
nell
negl
nella
nelle
su
sul
sullo
sui
sugli
sull
sugl
sulla
sulle
per
tra
contro
io
tu
lui
lei
noi
voi
loro
mio
mia
miei
mie
tuo
tua
tuoi
tue
suo
sua
suoi
sue
nostro
nostra
nostri
nostre
vostro
vostra
vostri
vostre
mi
ti
ci
vi
lo
la
li
le
gli
ne
il
un
uno
una
ma
ed
se
perché
anche
come
dov
dove
che
chi
cui
non
più
quale
quanto
quanti
quanta
quante
quello
quelli
quella
quelle
questo
questi
questa
queste
si
tutto
tutti
a
c
e
i
l
o
ho
hai
ha
abbiamo
avete
hanno
abbia
abbiate
abbiano
avrò
avrai
avrà
avremo
avrete
avranno
avrei
avresti
avrebbe
avremmo
avreste
avrebbero
avevo
avevi
aveva
avevamo
avevate
avevano
ebbi
avesti
ebbe
avemmo
aveste
ebbero
avessi
avesse
avessimo
avessero
avendo
avuto
avuta
avuti
avute
sono
sei
è
siamo
siete
sia
siate
siano
sarò
sarai
sarà
saremo
sarete
saranno
sarei
saresti
sarebbe
saremmo
sareste
sarebbero
ero
eri
era
eravamo
eravate
erano
fui
fosti
fu
fummo
foste
furono
fossi
fosse
fossimo
fossero
essendo
faccio
fai
facciamo
fanno
faccia
facciate
facciano
farò
farai
farà
faremo
farete
faranno
farei
faresti
farebbe
faremmo
fareste
farebbero
facevo
facevi
faceva
facevamo
facevate
facevano
feci
facesti
fece
facemmo
faceste
fecero
facessi
facesse
facessimo
facessero
facendo
sto
stai
sta
stiamo
stanno
stia
stiate
stiano
starò
starai
starà
staremo
starete
staranno
starei
staresti
starebbe
staremmo
stareste
starebbero
stavo
stavi
stava
stavamo
stavate
stavano
stetti
stesti
stette
stemmo
steste
stettero
stessi
stesse
stessimo
stessero
stando

View File

@ -0,0 +1,380 @@
ах
ох
эх
ай
эй
ой
тағы
тағыда
әрине
жоқ
сондай
осындай
осылай
солай
мұндай
бұндай
мен
сен
ол
біз
біздер
олар
сіз
сіздер
маған
оған
саған
біздің
сіздің
оның
бізге
сізге
оларға
біздерге
сіздерге
оларға
менімен
сенімен
онымен
бізбен
сізбен
олармен
біздермен
сіздермен
менің
сенің
біздің
сіздің
оның
біздердің
сіздердің
олардың
маған
саған
оған
менен
сенен
одан
бізден
сізден
олардан
біздерден
сіздерден
олардан
айтпақшы
сонымен
сондықтан
бұл
осы
сол
анау
мынау
сонау
осынау
ана
мына
сона
әні
міне
өй
үйт
бүйт
біреу
кейбіреу
кейбір
қайсыбір
әрбір
бірнеше
бірдеме
бірнеше
әркім
әрне
әрқайсы
әрқалай
әлдекім
әлдене
әлдеқайдан
әлденеше
әлдеқалай
әлдеқашан
алдақашан
еш
ешкім
ешбір
ештеме
дәнеңе
ешқашан
ешқандай
ешқайсы
емес
бәрі
барлық
барша
бар
күллі
бүкіл
түгел
өз
өзім
өзің
өзінің
өзіме
өзіне
өзімнің
өзі
өзге
менде
сенде
онда
менен
сенен онан
одан
ау
па
ей
әй
е
уа
уау
уай
я
пай
ә
о
оһо
ой
ие
аһа
ау
беу
мәссаған
бәрекелді
әттегенай
жаракімалла
масқарай
астапыралла
япырмай
ойпырмай
кәне
кәнеки
ал
әйда
кәні
міне
әні
сорап
қош-қош
пфша
пішә
құрау-құрау
шәйт
шек
моһ
тәк
құрау
құр
кә
кәһ
күшім
күшім
мышы
пырс
әукім
алақай
паһ-паһ
бәрекелді
ура
әттең
әттеген-ай
қап
түге
пішту
шіркін
алатау
пай-пай
үшін
сайын
сияқты
туралы
арқылы
бойы
бойымен
шамалы
шақты
қаралы
ғұрлы
ғұрлым
шейін
дейін
қарай
таман
салым
тарта
жуық
таяу
гөрі
бері
кейін
соң
бұрын
бетер
қатар
бірге
қоса
арс
гүрс
дүрс
қорс
тарс
тырс
ырс
барқ
борт
күрт
кірт
морт
сарт
шырт
дүңк
күңк
қыңқ
мыңқ
маңқ
саңқ
шаңқ
шіңк
сыңқ
таңқ
тыңқ
ыңқ
болп
былп
жалп
желп
қолп
ірк
ырқ
сарт-сұрт
тарс-тұрс
арс-ұрс
жалт-жалт
жалт-жұлт
қалт-қалт
қалт-құлт
қаңқ-қаңқ
қаңқ-құңқ
шаңқ-шаңқ
шаңқ-шұңқ
арбаң-арбаң
бүгжең-бүгжең
арсалаң-арсалаң
ербелең-ербелең
батыр-бұтыр
далаң-далаң
тарбаң-тарбаң
қызараң-қызараң
қаңғыр-күңгір
қайқаң-құйқаң
митың-митың
салаң-сұлаң
ыржың-тыржың
бірақ
алайда
дегенмен
әйтпесе
әйткенмен
себебі
өйткені
сондықтан
үшін
сайын
сияқты
туралы
арқылы
бойы
бойымен
шамалы
шақты
қаралы
ғұрлы
ғұрлым
гөрі
бері
кейін
соң
бұрын
бетер
қатар
бірге
қоса
шейін
дейін
қарай
таман
салым
тарта
жуық
таяу
арнайы
осындай
ғана
қана
тек
әншейін

View File

@ -0,0 +1,255 @@
पनि
छन्
लागि
भएको
गरेको
भने
गर्न
गर्ने
हो
तथा
यो
रहेको
उनले
थियो
हुने
गरेका
थिए
गर्दै
तर
नै
को
मा
हुन्
भन्ने
हुन
गरी
हुन्छ
अब
के
रहेका
गरेर
छैन
दिए
भए
यस
ले
गर्नु
औं
सो
त्यो
कि
जुन
यी
का
गरि
ती
छु
छौं
लाई
नि
उप
अक्सर
आदि
कसरी
क्रमशः
चाले
अगाडी
अझै
अनुसार
अन्तर्गत
अन्य
अन्यत्र
अन्यथा
अरु
अरुलाई
अर्को
अर्थात
अर्थात्
अलग
आए
आजको
ओठ
आत्म
आफू
आफूलाई
आफ्नै
आफ्नो
आयो
उदाहरण
उनको
उहालाई
एउटै
एक
एकदम
कतै
कम से कम
कसै
कसैले
कहाँबाट
कहिलेकाहीं
का
किन
किनभने
कुनै
कुरा
कृपया
केही
कोही
गए
गरौं
गर्छ
गर्छु
गर्नुपर्छ
गयौ
गैर
चार
चाहनुहुन्छ
चाहन्छु
चाहिए
छू
जताततै
जब
जबकि
जसको
जसबाट
जसमा
जसलाई
जसले
जस्तै
जस्तो
जस्तोसुकै
जहाँ
जान
जाहिर
जे
जो
ठीक
तत्काल
तदनुसार
तपाईको
तपाई
पर्याप्त
पहिले
पहिलो
पहिल्यै
पाँच
पाँचौं
तल
तापनी
तिनी
तिनीहरू
तिनीहरुको
तिनिहरुलाई
तिमी
तिर
तीन
तुरुन्तै
तेस्रो
तेस्कारण
पूर्व
प्रति
प्रतेक
प्लस
फेरी
बने
त्सपछि
त्सैले
त्यहाँ
थिएन
दिनुभएको
दिनुहुन्छ
दुई
देखि
बरु
बारे
बाहिर
देखिन्छ
देखियो
देखे
देखेको
देखेर
दोस्रो
धेरै
नजिकै
नत्र
नयाँ
निम्ति
बाहेक
बीच
बीचमा
भन
निम्न
निम्नानुसार
निर्दिष्ट
नौ
पक्का
पक्कै
पछि
पछिल्लो
पटक
पर्छ
पर्थ्यो
भन्छन्
भन्
भन्छु
भन्दा
भन्नुभयो
भर
भित्र
भित्री
मलाई
मात्र
माथि
मुख्य
मेरो
यति
यथोचित
यदि
यद्यपि
यसको
यसपछि
यसबाहेक
यसरी
यसो
यस्तो
यहाँ
यहाँसम्म
या
रही
राखे
राख्छ
राम्रो
रूप
लगभग
वरीपरी
वास्तवमा
बिरुद्ध
बिशेष
सायद
शायद
संग
संगै
सक्छ
सट्टा
सधै
सबै
सबैलाई
समय
सम्भव
सम्म
सही
साँच्चै
सात
साथ
साथै
सारा
सोही
स्पष्ट
हरे
हरेक

View File

@ -0,0 +1,176 @@
og
i
jeg
det
at
en
et
den
til
er
som
de
med
han
av
ikke
ikkje
der
var
meg
seg
men
ett
har
om
vi
min
mitt
ha
hadde
hun
over
da
ved
fra
du
ut
sin
dem
oss
opp
man
kan
hans
hvor
eller
hva
skal
selv
sjøl
her
alle
vil
bli
ble
blei
blitt
kunne
inn
når
være
kom
noen
noe
ville
dere
som
deres
kun
ja
etter
ned
skulle
denne
for
deg
si
sine
sitt
mot
å
meget
hvorfor
dette
disse
uten
hvordan
ingen
din
ditt
blir
samme
hvilken
hvilke
sånn
inni
mellom
vår
hver
hvem
vors
hvis
både
bare
enn
fordi
før
mange
også
slik
vært
være
båe
begge
siden
dykk
dykkar
dei
deira
deires
deim
di
eg
ein
eit
eitt
elles
honom
hjå
ho
hoe
henne
hennar
hennes
hoss
hossen
ikkje
ingi
inkje
korleis
korso
kva
kvar
kvarhelst
kven
kvi
kvifor
me
medan
mi
mine
mykje
no
nokon
noka
nokor
noko
nokre
si
sia
sidan
so
somt
somme
um
upp
vere
vore
verte
vort
varte
vart

View File

@ -0,0 +1,207 @@
a
à
ao
aos
aquela
aquelas
aquele
aqueles
aquilo
as
às
até
com
como
da
das
de
dela
delas
dele
deles
depois
do
dos
e
é
ela
elas
ele
eles
em
entre
era
eram
éramos
essa
essas
esse
esses
esta
está
estamos
estão
estar
estas
estava
estavam
estávamos
este
esteja
estejam
estejamos
estes
esteve
estive
estivemos
estiver
estivera
estiveram
estivéramos
estiverem
estivermos
estivesse
estivessem
estivéssemos
estou
eu
foi
fomos
for
fora
foram
fôramos
forem
formos
fosse
fossem
fôssemos
fui
haja
hajam
hajamos
hão
havemos
haver
hei
houve
houvemos
houver
houvera
houverá
houveram
houvéramos
houverão
houverei
houverem
houveremos
houveria
houveriam
houveríamos
houvermos
houvesse
houvessem
houvéssemos
isso
isto
lhe
lhes
mais
mas
me
mesmo
meu
meus
minha
minhas
muito
na
não
nas
nem
no
nos
nós
nossa
nossas
nosso
nossos
num
numa
o
os
ou
para
pela
pelas
pelo
pelos
por
qual
quando
que
quem
são
se
seja
sejam
sejamos
sem
ser
será
serão
serei
seremos
seria
seriam
seríamos
seu
seus
somos
sou
sua
suas
também
te
tem
tém
temos
tenha
tenham
tenhamos
tenho
terá
terão
terei
teremos
teria
teriam
teríamos
teu
teus
teve
tinha
tinham
tínhamos
tive
tivemos
tiver
tivera
tiveram
tivéramos
tiverem
tivermos
tivesse
tivessem
tivéssemos
tu
tua
tuas
um
uma
você
vocês
vos

View File

@ -0,0 +1,356 @@
a
abia
acea
aceasta
această
aceea
aceeasi
acei
aceia
acel
acela
acelasi
acele
acelea
acest
acesta
aceste
acestea
acestei
acestia
acestui
aceşti
aceştia
adica
ai
aia
aibă
aici
al
ala
ale
alea
alt
alta
altceva
altcineva
alte
altfel
alti
altii
altul
am
anume
apoi
ar
are
as
asa
asta
astea
astfel
asupra
atare
atat
atata
atatea
atatia
ati
atit
atita
atitea
atitia
atunci
au
avea
avem
aveţi
avut
aţi
ba
ca
cam
cand
care
careia
carora
caruia
cat
catre
ce
cea
ceea
cei
ceilalti
cel
cele
celor
ceva
chiar
ci
cind
cine
cineva
cit
cita
cite
citeva
citi
citiva
cu
cui
cum
cumva
cât
câte
câtva
câţi
cînd
cît
cîte
cîtva
cîţi
căci
cărei
căror
cărui
către
da
daca
dacă
dar
dat
dată
dau
de
deasupra
deci
decit
deja
desi
despre
deşi
din
dintr
dintr-
dintre
doar
doi
doilea
două
drept
dupa
după
e
ea
ei
el
ele
era
eram
este
eu
eşti
face
fara
fata
fel
fi
fie
fiecare
fii
fim
fiu
fiţi
foarte
fost
fără
i
ia
iar
ii
il
imi
in
inainte
inapoi
inca
incit
insa
intr
intre
isi
iti
la
le
li
lor
lui
lângă
lîngă
m
ma
mai
mea
mei
mele
mereu
meu
mi
mie
mine
mod
mult
multa
multe
multi
multă
mulţi
mâine
mîine
ne
ni
nici
nimeni
nimic
niste
nişte
noastre
noastră
noi
nostri
nostru
nou
noua
nouă
noştri
nu
numai
o
or
ori
oricare
orice
oricine
oricum
oricând
oricât
oricînd
oricît
oriunde
pai
parca
patra
patru
pe
pentru
peste
pic
pina
poate
pot
prea
prima
primul
prin
printr-
putini
puţin
puţina
puţină
până
pînă
sa
sa-mi
sa-ti
sai
sale
sau
se
si
sint
sintem
spate
spre
sub
sunt
suntem
sunteţi
sus
săi
său
t
ta
tale
te
ti
tine
toata
toate
toată
tocmai
tot
toti
totul
totusi
totuşi
toţi
trei
treia
treilea
tu
tuturor
tăi
tău
u
ul
ului
un
una
unde
undeva
unei
uneia
unele
uneori
unii
unor
unora
unu
unui
unuia
unul
v
va
vi
voastre
voastră
voi
vom
vor
vostru
vouă
voştri
vreo
vreun
zi
zice
îi
îl
îmi
în
îţi
ăla
ălea
ăsta
ăstea
ăştia
şi
ţi
ţie

View File

@ -0,0 +1,151 @@
и
в
во
не
что
он
на
я
с
со
как
а
то
все
она
так
его
но
да
ты
к
у
же
вы
за
бы
по
только
ее
мне
было
вот
от
меня
еще
нет
о
из
ему
теперь
когда
даже
ну
вдруг
ли
если
уже
или
ни
быть
был
него
до
вас
нибудь
опять
уж
вам
ведь
там
потом
себя
ничего
ей
может
они
тут
где
есть
надо
ней
для
мы
тебя
их
чем
была
сам
чтоб
без
будто
чего
раз
тоже
себе
под
будет
ж
тогда
кто
этот
того
потому
этого
какой
совсем
ним
здесь
этом
один
почти
мой
тем
чтобы
нее
сейчас
были
куда
зачем
всех
никогда
можно
при
наконец
два
об
другой
хоть
после
над
больше
тот
через
эти
нас
про
всего
них
какая
много
разве
три
эту
моя
впрочем
хорошо
свою
этой
перед
иногда
лучше
чуть
том
нельзя
такой
им
более
всегда
конечно
всю
между

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,313 @@
de
la
que
el
en
y
a
los
del
se
las
por
un
para
con
no
una
su
al
lo
como
más
pero
sus
le
ya
o
este
porque
esta
entre
cuando
muy
sin
sobre
también
me
hasta
hay
donde
quien
desde
todo
nos
durante
todos
uno
les
ni
contra
otros
ese
eso
ante
ellos
e
esto
antes
algunos
qué
unos
yo
otro
otras
otra
él
tanto
esa
estos
mucho
quienes
nada
muchos
cual
poco
ella
estar
estas
algunas
algo
nosotros
mi
mis
te
ti
tu
tus
ellas
nosotras
vosotros
vosotras
os
mío
mía
míos
mías
tuyo
tuya
tuyos
tuyas
suyo
suya
suyos
suyas
nuestro
nuestra
nuestros
nuestras
vuestro
vuestra
vuestros
vuestras
esos
esas
estoy
estás
está
estamos
estáis
están
esté
estés
estemos
estéis
estén
estaré
estarás
estará
estaremos
estaréis
estarán
estaría
estarías
estaríamos
estaríais
estarían
estaba
estabas
estábamos
estabais
estaban
estuve
estuviste
estuvo
estuvimos
estuvisteis
estuvieron
estuviera
estuvieras
estuviéramos
estuvierais
estuvieran
estuviese
estuvieses
estuviésemos
estuvieseis
estuviesen
estando
estado
estada
estados
estadas
estad
he
has
ha
hemos
habéis
han
haya
hayas
hayamos
hayáis
hayan
habré
habrás
habrá
habremos
habréis
habrán
habría
habrías
habríamos
habríais
habrían
había
habías
habíamos
habíais
habían
hube
hubiste
hubo
hubimos
hubisteis
hubieron
hubiera
hubieras
hubiéramos
hubierais
hubieran
hubiese
hubieses
hubiésemos
hubieseis
hubiesen
habiendo
habido
habida
habidos
habidas
soy
eres
es
somos
sois
son
sea
seas
seamos
seáis
sean
seré
serás
será
seremos
seréis
serán
sería
serías
seríamos
seríais
serían
era
eras
éramos
erais
eran
fui
fuiste
fue
fuimos
fuisteis
fueron
fuera
fueras
fuéramos
fuerais
fueran
fuese
fueses
fuésemos
fueseis
fuesen
sintiendo
sentido
sentida
sentidos
sentidas
siente
sentid
tengo
tienes
tiene
tenemos
tenéis
tienen
tenga
tengas
tengamos
tengáis
tengan
tendré
tendrás
tendrá
tendremos
tendréis
tendrán
tendría
tendrías
tendríamos
tendríais
tendrían
tenía
tenías
teníamos
teníais
tenían
tuve
tuviste
tuvo
tuvimos
tuvisteis
tuvieron
tuviera
tuvieras
tuviéramos
tuvierais
tuvieran
tuviese
tuvieses
tuviésemos
tuvieseis
tuviesen
teniendo
tenido
tenida
tenidos
tenidas
tened

View File

@ -0,0 +1,114 @@
och
det
att
i
en
jag
hon
som
han
den
med
var
sig
för
till
är
men
ett
om
hade
de
av
icke
mig
du
henne
sin
nu
har
inte
hans
honom
skulle
hennes
där
min
man
ej
vid
kunde
något
från
ut
när
efter
upp
vi
dem
vara
vad
över
än
dig
kan
sina
här
ha
mot
alla
under
någon
eller
allt
mycket
sedan
ju
denna
själv
detta
åt
utan
varit
hur
ingen
mitt
ni
bli
blev
oss
din
dessa
några
deras
blir
mina
samma
vilken
er
sådan
vår
blivit
dess
inom
mellan
sådant
varför
varje
vilka
ditt
vem
vilket
sitta
sådana
vart
dina
vars
vårt
våra
ert
era
vilkas

View File

@ -0,0 +1,163 @@
аз
дар
ба
бо
барои
бе
то
ҷуз
пеши
назди
рӯйи
болои
паси
ғайри
ҳамон
ҳамоно
инҷониб
замон
замоно
эътиборан
пеш
қабл
дида
сар карда
агар
агар ки
валекин
ки
лекин
аммо
вале
балки
ва
ҳарчанд
чунки
зеро
зеро ки
вақте ки
то вақте ки
барои он ки
бо нияти он ки
лекин ва ҳол он ки
ё
ё ин ки
бе он ки
дар ҳолате ки
то даме ки
баъд аз он ки
даме ки
ба тразе ки
аз баҳри он ки
гар
ар
ба шарте
азбаски
модоме ки
агар чи
гарчанде ки
бо вуҷуди он ки
гӯё
аз-баски
чун-ки
агар-чанд
агар-чи
гар-чи
то ки
чунон ки
то даме ки
ҳар қадар ки
магар
оё
наход
ҳатто
ҳам
бале
оре
хуб
хуш
хайр
не
на
мана
э
фақат
танҳо
кошки
мабодо
ҳтимол
ана ҳамин
наход ки
ҳатто ки
аз афташ
майлаш куя
ана
ҳа
канӣ
гӯё ки
ҳо ана
на ин ки
ваҳ
ҳой
и
а
о
эҳ
ҳе
ҳу
аҳа
оҳе
уҳа
ҳм
нм
оббо
ӯббо
ҳой-ҳой
вой-вой
ту-ту
ҳмм
эҳа
тавба
ӯҳӯ
аҷабо
ало
аё
ой
ӯим
ором
хом?ш
ҳай-ҳай
бай-бай
аз
он
баъд
азбаски
ӯ
ҳангоми
чӣ
кадом
ин
ҷо
ҳам
ё ки
бояд
аст
чанд
ҳар
бар
чаро ки
агар
то кӣ
бинобар
бинобар ин
ҳаргиз
асло
нахот
нахот ки
кошкӣ
шояд
шояд ки
охир
аз рӯи
аз рӯйи
рӯ

View File

@ -0,0 +1,53 @@
acaba
ama
aslında
az
bazı
belki
biri
birkaç
birşey
biz
bu
çok
çünkü
da
daha
de
defa
diye
eğer
en
gibi
hem
hep
hepsi
her
hiç
için
ile
ise
kez
ki
kim
mı
mu
nasıl
ne
neden
nerde
nerede
nereye
niçin
niye
o
sanki
şey
siz
şu
tüm
ve
veya
ya
yani

Binary file not shown.

BIN
nltk_data/tokenizers/punkt/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,98 @@
Pretrained Punkt Models -- Jan Strunk (New version trained after issues 313 and 514 had been corrected)
Most models were prepared using the test corpora from Kiss and Strunk (2006). Additional models have
been contributed by various people using NLTK for sentence boundary detection.
For information about how to use these models, please confer the tokenization HOWTO:
http://nltk.googlecode.com/svn/trunk/doc/howto/tokenize.html
and chapter 3.8 of the NLTK book:
http://nltk.googlecode.com/svn/trunk/doc/book/ch03.html#sec-segmentation
There are pretrained tokenizers for the following languages:
File Language Source Contents Size of training corpus(in tokens) Model contributed by
=======================================================================================================================================================================
czech.pickle Czech Multilingual Corpus 1 (ECI) Lidove Noviny ~345,000 Jan Strunk / Tibor Kiss
Literarni Noviny
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
danish.pickle Danish Avisdata CD-Rom Ver. 1.1. 1995 Berlingske Tidende ~550,000 Jan Strunk / Tibor Kiss
(Berlingske Avisdata, Copenhagen) Weekend Avisen
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
dutch.pickle Dutch Multilingual Corpus 1 (ECI) De Limburger ~340,000 Jan Strunk / Tibor Kiss
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
english.pickle English Penn Treebank (LDC) Wall Street Journal ~469,000 Jan Strunk / Tibor Kiss
(American)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
estonian.pickle Estonian University of Tartu, Estonia Eesti Ekspress ~359,000 Jan Strunk / Tibor Kiss
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
finnish.pickle Finnish Finnish Parole Corpus, Finnish Books and major national ~364,000 Jan Strunk / Tibor Kiss
Text Bank (Suomen Kielen newspapers
Tekstipankki)
Finnish Center for IT Science
(CSC)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
french.pickle French Multilingual Corpus 1 (ECI) Le Monde ~370,000 Jan Strunk / Tibor Kiss
(European)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
german.pickle German Neue Zürcher Zeitung AG Neue Zürcher Zeitung ~847,000 Jan Strunk / Tibor Kiss
(Switzerland) CD-ROM
(Uses "ss"
instead of "ß")
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
greek.pickle Greek Efstathios Stamatatos To Vima (TO BHMA) ~227,000 Jan Strunk / Tibor Kiss
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
italian.pickle Italian Multilingual Corpus 1 (ECI) La Stampa, Il Mattino ~312,000 Jan Strunk / Tibor Kiss
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
norwegian.pickle Norwegian Centre for Humanities Bergens Tidende ~479,000 Jan Strunk / Tibor Kiss
(Bokmål and Information Technologies,
Nynorsk) Bergen
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
polish.pickle Polish Polish National Corpus Literature, newspapers, etc. ~1,000,000 Krzysztof Langner
(http://www.nkjp.pl/)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
portuguese.pickle Portuguese CETENFolha Corpus Folha de São Paulo ~321,000 Jan Strunk / Tibor Kiss
(Brazilian) (Linguateca)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
slovene.pickle Slovene TRACTOR Delo ~354,000 Jan Strunk / Tibor Kiss
Slovene Academy for Arts
and Sciences
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
spanish.pickle Spanish Multilingual Corpus 1 (ECI) Sur ~353,000 Jan Strunk / Tibor Kiss
(European)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
swedish.pickle Swedish Multilingual Corpus 1 (ECI) Dagens Nyheter ~339,000 Jan Strunk / Tibor Kiss
(and some other texts)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
turkish.pickle Turkish METU Turkish Corpus Milliyet ~333,000 Jan Strunk / Tibor Kiss
(Türkçe Derlem Projesi)
University of Ankara
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
The corpora contained about 400,000 tokens on average and mostly consisted of newspaper text converted to
Unicode using the codecs module.
Kiss, Tibor and Strunk, Jan (2006): Unsupervised Multilingual Sentence Boundary Detection.
Computational Linguistics 32: 485-525.
---- Training Code ----
# import punkt
import nltk.tokenize.punkt
# Make a new Tokenizer
tokenizer = nltk.tokenize.punkt.PunktSentenceTokenizer()
# Read in training corpus (one example: Slovene)
import codecs
text = codecs.open("slovene.plain","Ur","iso-8859-2").read()
# Train tokenizer
tokenizer.train(text)
# Dump pickled tokenizer
import pickle
out = open("slovene.pickle","wb")
pickle.dump(tokenizer, out)
out.close()
---------

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More