blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 69 | license_type stringclasses 2
values | repo_name stringlengths 5 118 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 63 | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 2.91k 686M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 213
values | src_encoding stringclasses 30
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 2 10.3M | extension stringclasses 246
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
63508df4d0df451b9d0818de91691ffcd18a74bb | f5a53f0f2770e4d7b3fdace83486452ddcc996e1 | /env3/lib/python3.6/site-packages/django_rq/workers.py | b6f23d91a3623ea4116dcd4691f19e56d13e2a11 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | fireman0865/PingBox | 35e8fc9966b51320d571b63967e352a134022128 | 0f00eaf88b88e9441fffd5173a1501e56c13db03 | refs/heads/master | 2023-01-20T07:55:59.433046 | 2020-03-15T13:36:31 | 2020-03-15T13:36:31 | 247,466,832 | 1 | 0 | Apache-2.0 | 2022-12-26T21:30:32 | 2020-03-15T12:59:16 | Python | UTF-8 | Python | false | false | 1,796 | py | from rq import Worker
from rq.utils import import_attribute
from django.conf import settings
from .jobs import get_job_class
from .queues import get_queues
def get_exception_handlers():
"""
Custom exception handlers could be defined in settings.py:
RQ = {
'EXCEPTION_HANDLERS': ['path.to.handler'... | [
"fireman0865@gmail.com"
] | fireman0865@gmail.com |
3adee2598ee3c396212afb528a7c34b97b70c797 | e84500cf19894b20787bd2bdb4d896769b2db4ea | /Transformer1Stage/transformer_imputation_taxi.py | ad41343eb5fd7777469e9aa9459fa17f343faa4c | [] | no_license | pbansal5/contextualised_outlier_detection | 040cad064a067d4fcef1988f5d522fca05c9ef8e | 52d17b83cfc26458125e5063e4df4a5177dc7014 | refs/heads/master | 2023-02-04T03:18:17.469823 | 2020-12-03T14:57:06 | 2020-12-03T14:57:06 | 292,353,363 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,968 | py | import torch
import numpy as np
import argparse
import torch.nn as nn
from torch.utils.tensorboard import SummaryWriter
import os,copy
import matplotlib.pyplot as plt
import _pickle as cPickle
from transformer_imputation_helper import *
torch.backends.cudnn.benchmark = False
torch.backends.cudnn.deterministic = True
to... | [
"pbansal@cat.cse.iitb.ac.in"
] | pbansal@cat.cse.iitb.ac.in |
2a9e904f25c5709fdad6907360013198b414556b | 0bf27c92ccd48bdcb93556fad564e9d3dee5e281 | /data_structures/utils_sorted.py | b44ed8a192f98de67960f3c0a4949fb2775eb9dc | [] | no_license | alltej/kb-python | 3150a8a7deee781c3ffaf2736de6dfd9d83cf7d9 | f1d262aadc12922dc48feb5d475feb37447c179f | refs/heads/master | 2020-05-15T05:45:29.109687 | 2019-06-17T21:22:47 | 2019-06-17T21:22:47 | 182,109,843 | 0 | 0 | null | 2019-04-23T19:16:56 | 2019-04-18T15:09:34 | Python | UTF-8 | Python | false | false | 851 | py | import unittest
class TestSorted(unittest.TestCase):
# Return a new sorted list from the elements of a sequence O(n log n):
def test_sorted(self):
seq = sorted([2, 5, 1, 8, 7, 9])
self.assertEqual([1, 2, 5, 7, 8, 9], seq, "sorted integers")
def test_sorted_string(self):
seq = sor... | [
"allan.tejano@gmail.com"
] | allan.tejano@gmail.com |
27f257de46027fbb7dd49506eec18129cc15f0fa | de1a88a61b2916e2edccd7713eba09eba76f860c | /toLowercase.py | 15d3cb01a58d0b5a58c554768073083c8fe41c65 | [] | no_license | veiserath/Leetcode | 36314c8432bb1dfccefffa1571de997d40c98fef | 6e5f0fd2111e3c3533d5482a01db2516d6078539 | refs/heads/main | 2023-01-01T20:26:14.792063 | 2020-10-26T16:44:20 | 2020-10-26T16:44:20 | 307,440,176 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 109 | py | def toLowerCase( str: 'str') -> 'str':
str = str.lower()
return str
str = "LOVELY"
print(toLowerCase(str))
| [
"kacpermlodkowski@Kacpers-MacBook-Pro.local"
] | kacpermlodkowski@Kacpers-MacBook-Pro.local |
008a89b319ed4a9211ee9d2d65f96c9467356a4a | 6424a74f9400b8e3584b90ad214fd304446d6efe | /max_heap/test_max_heap.py | 8043db0af1f37c8f772a3d0c06a394c0e8d3d1ee | [
"MIT"
] | permissive | nitinbhojwani/lods | f8a131728d01c08d7e29555110144e0efdf5a020 | bd8e71d55d315bc5e0921183d7dae8e7087681a4 | refs/heads/master | 2021-01-22T11:04:14.803371 | 2018-06-11T05:28:45 | 2018-06-11T05:28:45 | 59,009,481 | 0 | 0 | MIT | 2018-06-11T05:28:46 | 2016-05-17T09:36:37 | Python | UTF-8 | Python | false | false | 1,161 | py | import unittest
from max_heap import max_heap
class TestMaxHeap(unittest.TestCase):
def setUp(self):
self.max_heap = max_heap.MaxHeap(100)
self.max_heap.heap = [i for i in range(100, 90, -1)]
self.max_heap.heap_size = 10
def test_get_max(self):
self.assertEqual(self.max_heap.g... | [
"nitinbhojwani1993@gmail.com"
] | nitinbhojwani1993@gmail.com |
0c27a868d331fa34f492ead654686ad2ed3aa133 | ca9bf050a13ef01a6d47f58d6a935361be94d11f | /Subscription Record in Text File.py | 48628f6b0e165b9b0d1682597c001903359478b7 | [] | no_license | viswaspal/PalRepository | ae98de5d6205d12d6915085f9035eb459ed729ec | 29394245f01f2e9f2abe371a29e6e00e366f691c | refs/heads/master | 2021-03-01T06:38:54.293489 | 2020-03-15T14:39:40 | 2020-03-15T14:39:40 | 245,761,506 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,596 | py | import tkinter as tk
from tkinter import ttk
win=tk.Tk()
win.title('SUBSCRIBTION RECORD TO A TEXT FILE')
#create Labels
name_label=ttk.Label(win,text='Enter your name:')
name_label.grid(row=0,column=0,sticky=tk.W)
age_label=ttk.Label(win,text="Enter your age")
age_label.grid(row=1,column=0,sticky=tk.W)
email_l... | [
"noreply@github.com"
] | viswaspal.noreply@github.com |
d7b812c4e3569b9347b0e42e8398bfb64a6ec5b9 | 8df729c46a215884c440e846cf479f97040b40f1 | /wrokshoppro/wrokshopapp/views.py | e2626feb6ba63da87eaa2e6c10c8284b38c48498 | [] | no_license | WWWKumar/dj6pm | 511209cd1ff3b3871c7f2303ac9927b2c5ab9395 | 343193414e7bd7f883753169ea2113c65a72ea20 | refs/heads/master | 2020-06-01T04:11:15.900524 | 2019-06-03T04:05:53 | 2019-06-03T04:05:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 547 | py | from django.shortcuts import render
def main_page(request):
return render(request,'base.html')
def home_page(request):
return render(request,'home_page.html')
def contact_page(request):
return render(request,'contact_page.html')
def courses_page(request):
return render(request,'courses_page.html')
... | [
"noreply@github.com"
] | WWWKumar.noreply@github.com |
d9a5963fb110e739372a2e710c698e92a0122df3 | 05d82a2d64944083676bd4f8339fb0dab8d643b5 | /astar.py | c01e1c1b100cc8f1c937e6996596319f9ccfddaa | [] | no_license | Mostafa-Ebrahim/AI-Maze | 2bc12458bb85c9ad7cd030940d80fd8ed1dcbcff | d91220ffda467ce0ad9fd5459a52b24be5e7ea6d | refs/heads/main | 2023-05-14T19:19:52.307564 | 2021-06-09T21:25:32 | 2021-06-09T21:25:32 | 369,823,614 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,650 | py | from data_structure import *
from publicFunctions import *
def astar(self):
self.num_visitedNodes = -2
h=heu(self, self.start)
startNode = Node(state=self.start, parent=None, action=None, heuristic=h, cost=0)
availableNodes = []
self.visitedNodes = set()
availableNodes.append(startNode)
... | [
"mostafa-ebrahim@outlook.com"
] | mostafa-ebrahim@outlook.com |
5db77f5c0ccc08e6f16c479642688f934e405b8b | 6757339759559cc741178ed4236b449ff27df221 | /chrZ_make_seq_for_ldhelmet.py | 5833cc08ecd26ce0740ee512fb400e2178dbabf0 | [] | no_license | anandksrao/postdoc | 18095f675cc5d67bc6e6a1b70bdc7dca29ac880d | a09e2d810bc4b562dc0e6de2999c063f5bd59cf8 | refs/heads/master | 2020-04-22T23:28:03.482966 | 2015-09-08T16:40:24 | 2015-09-08T16:40:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,695 | py | import re
import glob
import sys
import subprocess
import os
import copy
import argparse
import gzip
import time
def get_vcf_var(vcf_file, min_allele):
site_freq = {}
vcf_f = gzip.open(vcf_file, 'r')
for l in vcf_f:
if not re.search('^#', l):
d =... | [
"sonal.singhal1@gmail.com"
] | sonal.singhal1@gmail.com |
3a23b26701ccfc73af6fef97637eab76dab9b738 | 0a43afbcba776ed8ada0fef5425b1507aa4d51c1 | /smartbook/smartbook/web/migrations/0016_auto__del_ownercompanyname__add_ownercompany.py | b443dac4b4ee2cee94af23d6f41f3b7c34b366fb | [] | no_license | geethusuresh/inventory-systems | c76d6d10429f483499594df8c8f34d780531f18c | fd4211d29042776fa47da92162cbbbe8220090cd | refs/heads/master | 2021-01-02T08:51:31.278578 | 2014-09-28T07:35:54 | 2014-09-28T07:35:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,583 | py | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Deleting model 'OwnerCompanyName'
db.delete_table(u'web_ownercompanyname')
# Adding model 'OwnerC... | [
"geethu@technomicssolutions.com"
] | geethu@technomicssolutions.com |
c80c3d0f5067b464b6e8113440175e74d3543dd2 | 1950ade9ea5c8b43762125ce335a2d7a32cac32c | /Hello-producer/producer_sync.py | b60da5003d613382b4342dc089e1dbc60a629cc8 | [
"MIT"
] | permissive | mydevground/ApacheKafkaPython | a5cfd3ea9cc09b6e311bd88cc5a5f8164b743680 | 96da0e5d0294a9823776f9622fca6a3b46ff06bb | refs/heads/main | 2023-08-17T08:05:52.526064 | 2021-09-26T06:26:15 | 2021-09-26T06:26:15 | 410,462,259 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 574 | py | from confluent_kafka import Producer
import socket
if __name__ == '__main__':
print("Starting Kafka Producer")
producer_config = {'client.id': socket.gethostname(),
'bootstrap.servers': 'localhost:9092'}
print("Creating Producer")
producer = Producer(producer_config)
print... | [
"noreply@github.com"
] | mydevground.noreply@github.com |
8122fbca7f34ed4c0b55cc6a3446e18f48de974f | d22512059dd8e36125af332d24dad949e3367186 | /demo9/demo2.py | ab865b12183f3c4c68a60fb1dcd884cf398f86b7 | [] | no_license | hbbaly/python-learn | 4a2019a03b0251fd7aeeba09b5f2a9f2696ae2e2 | 00a8aefa29f8492ef9ac842cb1eeb0fd4237e7cd | refs/heads/master | 2020-04-15T01:19:00.978659 | 2019-07-22T05:09:56 | 2019-07-22T05:09:56 | 164,271,947 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 362 | py | # Python内置的logging模块可以非常容易地记录错误信息:
import logging
def foo(s):
return 10 / int(s)
def bar(s):
return foo(s) * 2
def main():
try:
bar('0')
except Exception as e:
logging.exception(e)
main()
print('END')
# 同样是出错,但程序打印完错误信息后会继续执行,并正常退出 | [
"1422699902@qq.com"
] | 1422699902@qq.com |
15d1147265a3c559d8787dd4859e5118dc217b23 | bba80af47cc4136f623c846bfa4d8cedbdb2d59a | /currency_rate_update/__init__.py | 952ce0feafdd2f74e85875f493b972f1e203fc5f | [] | no_license | TimLai125/cip-custom | 5cbec5dc959f102769a3fd48a370754db159038a | fb9c268d8074f596ab55f8cdd3a5bcbeda59f32e | refs/heads/7.0 | 2021-01-21T09:34:26.124681 | 2017-03-19T08:19:44 | 2017-03-19T08:19:44 | 91,659,099 | 0 | 0 | null | 2017-05-30T06:22:03 | 2017-05-18T06:51:17 | Python | UTF-8 | Python | false | false | 1,167 | py | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2008 Camtocamp SA
# @author JB Aubort, Nicolas Bessi, Joel Grand-Guillaume
# European Central Bank and Polish National Bank
# invented by Grzegorz Grzelak
# Banxico implemented by Agus... | [
"tashiro@roomsfor.hk"
] | tashiro@roomsfor.hk |
c17337b34e6a12393f145b985d5855df7dd0433c | af8fe43f94fb133ac6bc4ea3d024e9d7335016e9 | /BackEnd/app/service/lcypytools/mongo.py | de24eb6fe25669bf8424c73d69656872a4a582d7 | [
"MIT",
"Apache-2.0"
] | permissive | ResearcherInCS/Service-Wrapper | c1089d673b3f6fc28b769e110a36bd6f09c4f8ca | 181fd00d26fc3856ea4533c81466a91c4bda5226 | refs/heads/master | 2022-10-08T22:27:16.385837 | 2022-09-26T05:45:16 | 2022-09-26T05:45:16 | 185,415,543 | 4 | 1 | null | 2022-09-26T06:12:27 | 2019-05-07T14:11:53 | JavaScript | UTF-8 | Python | false | false | 1,699 | py | import pymongo as pm
class Mongo:
SEQS = "sys_seqs"
def __init__(self, db="test", server='localhost', port=27017):
self.client = pm.MongoClient(server, port)
self.db = self.client[db]
def __check_seq(self, col):
if self.db[self.SEQS].find_one({'col': col}) is None:
se... | [
"wangnaibo@vip.qq.com"
] | wangnaibo@vip.qq.com |
ec8b553ae8cb5eaa7db3fa145415818ceb91d1fc | d1a546a51fe785e37a17df74e4c16a5e83c393d0 | /src/credentials.py | e4d2000a26b7cf44b478172c0574fb41b2419824 | [] | no_license | ramo16/resourceMonitorOpenStack | d37cf1ddc769639692ab2c701cc1db17193c3cb1 | c8fda2e41dcefaff3b18a63af830a167872ba16e | refs/heads/master | 2020-04-06T09:32:20.101982 | 2018-10-06T21:38:04 | 2018-10-06T21:38:04 | 157,346,656 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 152 | py | auth_url1="http://172.16.0.3:5000/v3"
username1="admin"
password1="admin"
project_name1="admin"
user_domain_id1="default"
project_domain_id1="default"
| [
"vamsi_mogallapu@yahoo.in"
] | vamsi_mogallapu@yahoo.in |
dc88161b5d8d500e6690c009b412a3ae97a3d9ef | b141f9ca341747dc9620cd808d2b863f874f577f | /ECE 568/Ride Sharing Web-App/docker-deploy/web-app/users/models.py | 2c904c8c61ddd445996600592bf6cf08887d0123 | [] | no_license | YunheWang0813/Duke-Repository | 4b22da0629581c5cccac62e4c88780d29c781fa2 | 75a33b43543dd716f61096f19e5463e936bb6b57 | refs/heads/master | 2022-01-26T19:11:22.012376 | 2019-05-24T04:41:50 | 2019-05-24T04:41:50 | 169,663,564 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,257 | py | from django.db import models
from django.contrib.auth.models import User
from django.core.validators import MaxValueValidator, MinValueValidator
from django.db.models.signals import post_save
from django.dispatch import receiver
from django.core.exceptions import ObjectDoesNotExist
class Profile(models.Model):
us... | [
"41502154+YunheWang0813@users.noreply.github.com"
] | 41502154+YunheWang0813@users.noreply.github.com |
b1c8ee50621b39521bfad65285e3a363f2bc8815 | 86544002e3b294b25422be9075b5ee1fde317406 | /templado/views.py | 71de47e6fd2fee40377855511567ea13ca50aaad | [
"BSD-2-Clause"
] | permissive | nnkps/templado | 5fecaf68175da3e17c64e4480790a16f64cc21a4 | 660bb430b06d34286ecb9d21ae88279277bf92fc | refs/heads/master | 2021-08-19T15:39:00.149708 | 2015-06-03T11:48:50 | 2015-06-03T11:48:50 | 31,314,543 | 0 | 2 | BSD-2-Clause | 2021-06-10T17:24:03 | 2015-02-25T13:23:24 | Python | UTF-8 | Python | false | false | 7,525 | py | import os
from django.conf import settings
from django.http import HttpResponse
from django.shortcuts import render, get_object_or_404, redirect
from django.views.generic import View
from django.views.generic.list import ListView
import errno
from models import Report, ReportTemplate
from .modelforms import ReportTempl... | [
"kups@student.agh.edu.pl"
] | kups@student.agh.edu.pl |
24093bae9dc7c1e7280719ba3c1cc7df4b73b899 | b958d189d1a2db61401009304d8be51eb893bc85 | /1098.py | 8d34b3078cfcf598aed110d32c9453c96bc57319 | [] | no_license | bergamojoao/URI-EXERCICIOS | 6f110b42fef884f01f0838542b060fc39c4567f3 | 469f4169b51dfc2d8784c37bc3fb5388b49916ab | refs/heads/master | 2022-12-05T03:36:48.273395 | 2020-01-22T15:45:29 | 2020-01-22T15:45:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 233 | py | i=0.0
j=1.0
cont=0
while(i<=2):
if i==0 or i==1 or (i>1.9 and i<2.1):
print("I=%.0f J=%.0f"%(i,j+i))
else:print("I=%.1f J=%.1f"%(i,j+i))
cont+=1
j+=1
if(cont==3):
j=1
i+=0.2
cont=0
| [
"44981295+joao-alex@users.noreply.github.com"
] | 44981295+joao-alex@users.noreply.github.com |
530e6e1ec75713dcd70337cd30e7b026850d8a84 | ffd52dcc43c291f1161a2773399944cdb1f73af6 | /venv/Scripts/pip-script.py | 54648cc6bb1f39d5395a0fc6029a97d11c3a0d0d | [] | no_license | SilverOwnz/BizPage | a3f5ff96914fe9c71e2a9cbe0ba622dc6ba4d635 | 41d67311db823ecb2cd49f4f76498f635de03c99 | refs/heads/master | 2020-04-19T06:18:51.744202 | 2019-01-28T18:33:00 | 2019-01-28T18:33:07 | 168,013,924 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 404 | py | #!D:\School\S2\OO\ProjecT\BizPage\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip'
__requires__ = 'pip==10.0.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
... | [
"titusnyz@hotmail.com"
] | titusnyz@hotmail.com |
4c083d6d78644db66a42639c3cda79d2b1ac0645 | d7db35beeff7a69d45991e6bb81b047dbc8484f6 | /Ex1 Code V2.py | 430b1740f27637d94e628aa3ed75603d3f8ed703 | [] | no_license | angus-101/arctan-expansion | 1905f7f9e7508993ffba64a4600bf99b2e8b525a | 2b70375f51aa56bfa16ec40988e97e8c1b19f1aa | refs/heads/main | 2023-06-12T11:59:47.286998 | 2021-07-03T14:24:41 | 2021-07-03T14:24:41 | 382,633,112 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,263 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Sep 26 18:25:02 2018
"""
import math
def MyArcTan(x,N): #Lines 10 - 37 are the creation of the function MyArcTan
arctan = float(0) ... | [
"noreply@github.com"
] | angus-101.noreply@github.com |
b5409dd8b4fda91b947887fcbd702807706906e9 | f12cba36c65d327969744c8234c229e1c2cf96b0 | /train_ssd.py | 8c851ccc959f5799bd10af72f251f33d38d291a6 | [
"MIT"
] | permissive | cooparation/detection_pytorch | 7440d63542a61a94ea1dc68131fc7cf0d6da9827 | fea3b5a04a13eba060406845a65ac07f177b6112 | refs/heads/master | 2020-04-08T22:51:50.482006 | 2019-04-01T12:10:14 | 2019-04-01T12:10:14 | 159,803,030 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,147 | py | import argparse
import logging
import os
import torch
import torch.distributed as dist
from torch.utils.data import DataLoader
from ssd.config import cfg
from ssd.data import samplers
from ssd.data.datasets import build_dataset
from ssd.engine.inference import do_evaluation
from ssd.engine.trainer import do_train
fro... | [
"sanjunliu@sina.com"
] | sanjunliu@sina.com |
a3288f602eee49e3ec3a58ab82a0fded41ac85e2 | 0d034e8175974848672ac07bad9b531609a0c11f | /algorithmes/methodesApprochees.py | fdb671c3bafeff7890c375c8883b68069b4b9e6e | [] | no_license | Jean-BaptisteLy/Vertex-Cover | 8f50379ef606431546d65e22353c782df99981f2 | b27a8cce7d05870ab7f3f3c65d1da4e63d946d0f | refs/heads/master | 2022-09-22T06:21:53.838527 | 2020-05-30T11:36:23 | 2020-05-30T11:36:23 | 268,060,152 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,663 | py | import networkx as nwx
import numpy as np
import matplotlib.pyplot as plt
import time
from operator import itemgetter
import math
import sys
sys.path.append('../')
from algorithmes import graphes as gr
# III. Méthodes approchées
# Méthode du couplage maximal
'''Renvoie les sommets d'un couplage.'''
... | [
"noreply@github.com"
] | Jean-BaptisteLy.noreply@github.com |
48392241eae6089cfe00445e0f8f0ec1f1fed27e | b744483f325154dd49ca881e312f6b5a4135c0ce | /serialTest.py | a5bf23d3573ae4bcd8300e85fe89be44015bc565 | [] | no_license | soycoder/aqi-collect-data | 0ff261b4715b1e8c8cba69977c55793023999dc2 | 2b4aa1d607c4e7927b84702ab40b54c798a8097c | refs/heads/master | 2023-05-09T15:56:12.390232 | 2021-06-01T10:25:34 | 2021-06-01T10:25:34 | 241,322,891 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 601 | py | dict_aqi = {
'TIME': "hndhgnghn","pm25":str(34)
}
minute = '00'
# ------Send DB----
sText = "aqi:"
for key, val in dict_aqi.items():
print(key, "=>", val)
if key == 'TIME':
pass
sText = sText + ":" + val
# print(sText)
sTest = sText.encode('utf-8')
print(sText)
# sendDB(sTest)
# ------Hourly-... | [
"43911669+soycoder@users.noreply.github.com"
] | 43911669+soycoder@users.noreply.github.com |
939183e4c42f3a69fbd15190cec51760a9430334 | 11e0a1eb41c2f848012ef7037308249f2c4e9cc8 | /pmnspy/pca_demos/pmns_plotmags.py | 1255686ed2416d3613f7beee2881ef916505ff51 | [] | no_license | astroclark/BayesPMNS | 06e3187c787bed6f7c65f8a9b183b2a9fe1b5eb3 | af7106280756b8edcd404d8ded157cc3669c37d6 | refs/heads/master | 2021-03-24T14:01:34.266118 | 2018-03-08T21:13:10 | 2018-03-08T21:13:10 | 22,357,110 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,005 | py | #!/usr/bin/env python
# -*- coding:utf-8 -*-
# Copyright (C) 2015-2016 James Clark <clark@physics.umass.edu>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or... | [
"james.clark@ligo.org"
] | james.clark@ligo.org |
17d69db0e36609e6fa29e23c6e325a9f2dc5501a | b249a5c94a8d9f0a24380e5c9eb3ae6d1d15080b | /profiles_api/urls.py | f50beb45b42219eb07b5902962ab727633c30ae0 | [
"MIT"
] | permissive | SanjayBhattacharya/profiles-rest-api | 64ee947a477b533b514c41fc579289f732849098 | 00dc79501175b665e8b9deafa7569871827f67a3 | refs/heads/master | 2020-12-03T21:56:27.012342 | 2020-01-05T15:27:03 | 2020-01-05T15:27:03 | 231,498,665 | 0 | 0 | MIT | 2020-01-03T20:39:07 | 2020-01-03T02:41:53 | Python | UTF-8 | Python | false | false | 387 | py | from django.urls import path, include
from rest_framework.routers import DefaultRouter
from profiles_api import views
router = DefaultRouter()
router.register('hello-viewset', views.HelloViewSet, basename='hello-viewset')
router.register('profile', views.UserProfileViewSet)
urlpatterns = [
path('hello-view/', v... | [
"sanjay.bhattacharya@aegeanllc.com"
] | sanjay.bhattacharya@aegeanllc.com |
6c340cf04b054bb75cdfb63b9fbdf78c10395714 | fa93e53a9eee6cb476b8998d62067fce2fbcea13 | /build/pal_statistics/catkin_generated/generate_cached_setup.py | 91044b831264767383d53fe4fda54ceccbaa6122 | [] | no_license | oyetripathi/ROS_conclusion_project | 2947ee2f575ddf05480dabc69cf8af3c2df53f73 | 01e71350437d57d8112b6cec298f89fc8291fb5f | refs/heads/master | 2023-06-30T00:38:29.711137 | 2021-08-05T09:17:54 | 2021-08-05T09:17:54 | 392,716,311 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,355 | py | # -*- coding: utf-8 -*-
from __future__ import print_function
import os
import stat
import sys
# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')):
sys.path.insert(0, ... | [
"sandeepan.ghosh.ece20@itbhu.ac.in"
] | sandeepan.ghosh.ece20@itbhu.ac.in |
8b92d801b14bce7463cefb8954677a9b0694325a | 415920616d5efccee4667126c4bb29f91f1d5321 | /blood/donor/urls.py | f4eb33826ecb67e2f4cedf717f45045d210213b2 | [] | no_license | ManogaranArumugam/blood | 6c779b3bfe308a95d52cb730be65b25cb2c3eda6 | bb6ef86bfeaf67ed70eafa97dcb6b6c1da0c9f4f | refs/heads/master | 2020-03-25T22:43:31.004539 | 2018-08-09T12:43:50 | 2018-08-09T12:43:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 164 | py | from django.conf.urls import url
from blood.donor.views import DonorRegistrationView
urlpatterns = [
url(r'^$', DonorRegistrationView.as_view(), name='home'),
] | [
"palashpatidar51@gmail.com"
] | palashpatidar51@gmail.com |
85c05c9f8feb5a30e0fb05f45c7f31e82f6e6ab8 | 8bff9e80f325511e5b555a6ae9234d9df18efb35 | /register.py | 98df6de8c92b2272e2c34ba1c058ee64d08ad955 | [] | no_license | renizoo/md5_bruceforce_Login | a1a134eb4202ef45e6bd35b75ad1e51a0e3340c0 | e5f6362e60fd570edda633c64a9171b9feaf7408 | refs/heads/master | 2020-08-28T01:17:54.201730 | 2019-11-01T19:59:55 | 2019-11-01T19:59:55 | 217,544,810 | 0 | 1 | null | 2019-10-26T03:38:56 | 2019-10-25T13:53:28 | Python | UTF-8 | Python | false | false | 741 | py | import hashlib
class Register:
def __init__(self, file_name):
self.file_name = file_name
def new_user(self):
with open(self.file_name, 'w+') as file:
file.write("user;password\n")
while True:
user = input("Enter username: ")
password = ... | [
"matheus.henrique@pgmais.com.br"
] | matheus.henrique@pgmais.com.br |
2fb79ba640f6125fff6232eb090cdfcf9eb51092 | 4c1bbc8029af3e0df677931520a095f3f1d9f47d | /docker.py | 15dc71f4d3b248b026fe57b8dc0fc3fba923c696 | [] | no_license | Arth2020-11-3/task-8 | 76f6051e7015d3138a067d07a32ab1dcbc86ae70 | d1ba67add8fba8f40bb8a0defd285983142ee360 | refs/heads/main | 2023-01-22T12:38:11.353712 | 2020-11-12T17:44:47 | 2020-11-12T17:44:47 | 311,077,576 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 5,641 | py | import os
import getpass
os.system("clear")
print("---------------------------------------------------------------------------------------------------------------------------------------")
print(" Welcome in the Devops World... !!!")
print("------------------------------... | [
"noreply@github.com"
] | Arth2020-11-3.noreply@github.com |
8fb6a618d979f02da357b2a96dc5af00e9993ecc | fedbe94287058c89cdadd356cb0a97379900ab09 | /PID_BENCH/pid_test.py | 27df96a7184f864751574b13caabfb82ca080444 | [] | no_license | sarthak171/PID_Bench | 9546872d84729d8dfa73a1c716d49f0b93c7ba65 | 4bd1fd759e7fe32195e4eec0b9c257c3bccc86a3 | refs/heads/master | 2020-05-29T11:20:16.871506 | 2019-05-28T22:44:36 | 2019-05-28T22:44:36 | 189,113,301 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,363 | py | import matplotlib.pyplot as plt
import random
setpoint = 100.0
initvalueR=0
initvalueL=0
maxpwr = setpoint/100
if maxpwr>.8:
maxpwr =.8
kp=.8/setpoint
ki=1/1000000.0
t_error=0
position1 = []
position2=[]
changes = []
R_diff = []
L_diff = []
diff=[]
time = []
time2 = []
a=0
def PID(inputva... | [
"noreply@github.com"
] | sarthak171.noreply@github.com |
623fa8a31fe179cc5de5d93455b1af1d8a915197 | 47f6c4805fc5d54cf8de6291ded64ff00e61c605 | /DataPreProcess.py | 363ebe8fa6229968b4885225795dbb5ffdf0924b | [] | no_license | ConorFyfe98/AI-Emotion-Recogntion | 94511fd04a604edc4135b7f66c3837bb84ce987f | 9c284c555dc44f96c93112342b881454e4a354dc | refs/heads/master | 2022-07-05T10:55:25.534530 | 2020-05-19T02:55:45 | 2020-05-19T02:55:45 | 265,125,370 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,764 | py | import cv2
import glob
#initalise classifiers
faceDetectionOne = cv2.CascadeClassifier("haarcascade_frontalface_default.xml")
faceDetectionTwo = cv2.CascadeClassifier("haarcascade_frontalface_alt2.xml")
faceDetectionThree = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml")
faceDetectionFour = cv2.CascadeClassif... | [
"43172506+ConorFyfe98@users.noreply.github.com"
] | 43172506+ConorFyfe98@users.noreply.github.com |
6512219c982a4ccb0632ebdebd5af0276328a901 | ee8463752b3ba509d48770ff5c3866015dd3112b | /NCID.py | a4e0290cb922ca060ca766bc9e6434e19d641fce | [] | no_license | sweeneyd/NCID | 24f2cb7619a49596ad715669ee35fd1303ba895a | 7ffade63c0a5b086d73e1e4d36984168497e20fa | refs/heads/master | 2020-07-22T01:05:41.561409 | 2015-01-27T23:00:12 | 2015-01-27T23:00:12 | 29,795,361 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,724 | py | # -*- coding: utf-8 -*-
"""
Created on Wed Jan 21 13:08:53 2015
@author: Dan
"""
import os
import cv2
import numpy as np
import csv
class NCID(object):
def __init__(self, root_directory='/Users/Dan/Desktop/ALDH+/', write2File=False, TOLERANCE=50):
self.directory = root_directory + 'RGB/'
self.TOL... | [
"sweeneyd@vt.edu"
] | sweeneyd@vt.edu |
55565979bd9e9ceb8e3a4424587b82a4a4a0688a | b94ab99f9c1f8bbb99afd23e1bfcd2332060b4bd | /library/migrations/0012_auto_20170805_0851.py | 050383e317e1d09ac7e3c45f3c1ea4e50db4dfca | [] | no_license | georgecai904/bookshelf | e54ccae00d4ee48e91ca1564a425ba4586b52d93 | 0002207dc8ca586ce1127d3ea98bb53102d043df | refs/heads/master | 2021-01-02T22:52:26.046535 | 2017-08-05T15:32:13 | 2017-08-05T15:32:13 | 99,409,971 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 597 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-08-05 08:51
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('library', '0011_auto_20170805_0850'),
]
operations = [
migrations.AlterFiel... | [
"georgemail608@gmail.com"
] | georgemail608@gmail.com |
d990085ee1de82a9028c0cdb73722cd26095f533 | ffe0372fb35509b2e1297adc8d4bdc30d9871574 | /web-application/acceptance_tests/features/check_result.py | ab3b2e79db14c8f877057f42fdbf92dea2e7a4f4 | [] | no_license | AttractorSoftware/educationkg | cf3dcfdb664fa2cdf05ece2d979bd2bf3ac72143 | 0a155f65ca83eed9c0f0fab29b3ce0277cde41ea | refs/heads/master | 2021-06-10T15:35:39.543000 | 2016-10-01T03:37:18 | 2016-10-01T03:37:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,074 | py | # coding=utf-8
from time import sleep
from lettuce import step, world
from selenium.common.exceptions import StaleElementReferenceException, NoSuchElementException
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support.wait import WebDriverWait
from acceptance_tests.test_data i... | [
"me@nikitakoval.com"
] | me@nikitakoval.com |
23f070696de85a6f7dbf990a5158be571dd1cd7f | 579be1210e2e99dfcda7017f2fb21f16cd567b21 | /Academica/admin.py | a96613555ac9d132d9988a9e578ef6c1e7b44209 | [] | no_license | ccanasj/Taller2 | a8a1282b8a062bbfd98e62ef1c48377a2cefc054 | 2c2855894ae4ba8fe1c9da481205a7f4918c3cfc | refs/heads/master | 2023-08-22T21:15:41.434444 | 2021-10-21T17:13:24 | 2021-10-21T17:13:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 214 | py | from django.contrib import admin
from Academica.models import *
# Register your models here.
admin.site.register(Carrera)
admin.site.register(Estudiante)
admin.site.register(Curso)
admin.site.register(Matricula) | [
"ccanasj@eafit.edu.co"
] | ccanasj@eafit.edu.co |
3f107a7c392a10a0025e3ec44b70abd605cd31cd | 523072f12729c1f30b12b2b686bc4958960b5988 | /payshare/purchases/migrations/0023_purchase_weights.py | 05db2b6958e1e1981d6d3a35bbfb32e8e21816c8 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cb109/payshare | 6e1d37433d0f1feb4655049c4275f5e2d3704643 | 2d5653e7b61bb699f5539cb6fa89168279fcea03 | refs/heads/develop | 2023-07-25T02:42:57.606180 | 2022-09-22T19:28:19 | 2022-09-22T19:28:19 | 141,352,898 | 198 | 49 | MIT | 2023-07-18T23:19:57 | 2018-07-17T22:43:54 | Python | UTF-8 | Python | false | false | 638 | py | # Generated by Django 2.2.10 on 2022-09-17 06:14
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
("purchases", "0022_purchaseweight"),
]
operation... | [
"buelter.christoph@gmail.com"
] | buelter.christoph@gmail.com |
c01eaa6d706a016f0c92220a931f8a6dedefc1ed | e1d8b0bbd95aefb402b50b36afce4d6a5c6b492a | /Junk/MNIST_dataset_downloader.py | 991d7595f7b519d2aa4205f2d072c98c7230d31c | [] | no_license | himanshubabal/Google-Street-View-House-Numbers | b4e95426a9352a540115590c3e6e6f5f8f4f60da | bead00a11d065be74cec54f22fb3537dbdd17c90 | refs/heads/master | 2020-06-14T23:07:20.711057 | 2017-09-15T23:22:27 | 2017-09-15T23:22:27 | 75,401,703 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,207 | py | from __future__ import print_function
import os
import sys
import gzip
from six.moves.urllib.request import urlretrieve
from sklearn.preprocessing import OneHotEncoder
import pickle
import scipy.io
import idx2numpy
import numpy as np
url = 'http://yann.lecun.com/exdb/mnist/'
last_percent_reported = None
'''
This File ... | [
"babal.himanshu@gmail.com"
] | babal.himanshu@gmail.com |
29d5910c8769ba7ace6e3addb4595a53b082e938 | c9b9f48c99a17e98f3b5f7e5a52106b87d8e2317 | /xgboost_Minh_220916.py | c1b42066a62ecb7cb1760a851ed7829e197822f8 | [] | no_license | minhpth/Kaggle-RedHat_Sep16 | da459852981af53410495a610b72f1ce1f5bc0dd | 97dc3dd6216401f647d6d2355d6bf63ced17c78c | refs/heads/master | 2021-06-11T20:01:31.414310 | 2016-09-23T06:06:45 | 2016-09-23T06:06:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,176 | py | # -*- coding: utf-8 -*-
"""
Created on Wed Sep 14 15:05:02 2016
@author: mphan
"""
#---------------------------------------------------------------------------
# KAGGLE - RED HAT COMPETITION
#---------------------------------------------------------------------------
from __future__ import print_function,... | [
"noreply@github.com"
] | minhpth.noreply@github.com |
542650ec2698610417fd1074ecee715e3a7ecf4e | 55d6de252e61c4b60688ebd8b1f637807acc1e7c | /sale_report/wizard/aged_customer_list.py | 6bee3ea9ef1268815749ad4cfb0996f5175cc12b | [] | no_license | mosadiqit/eerna_erp_uslbd | b707a1d49a4fce7c1543b63e0120e8f9b77b26ce | 73e3994a9e32df7809d244eb6592513162ab7853 | refs/heads/main | 2023-06-30T14:53:04.837197 | 2021-08-04T11:30:46 | 2021-08-04T11:30:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,133 | py | # -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DATE_FORMAT
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT as DATETIME_FORMAT, BytesIO, xlsxwriter, base64
class AgedCustomerReportWizard(models.TransientModel):
_name = 'aged.customer.r... | [
"ibrahimalazhar264@gmail.com"
] | ibrahimalazhar264@gmail.com |
d66ee899cae8064d4341eae698a940e437626826 | 48997954c0e4af29dd8ae17cbfde6081fc225dcc | /PROJ_COD/Machine/kwon/UI/CKfolderOPEN.py | 9105e186c2c158c4344d5777306c917c7449bf67 | [] | no_license | annie522/kitri | 7c7fd9e6ab015a94051b398704d39df09ba8966d | 5ae2e8f5ee7e15cd1b0e828ee63e30a320746317 | refs/heads/master | 2021-01-22T10:57:01.778072 | 2017-07-26T00:40:25 | 2017-07-26T00:40:25 | 92,664,260 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 516 | py | import sys
from PyQt5 import QtCore, QtGui, QtWidgets
from test import *
class XWindow(MainWindow, QtGui, MainWindow.Ui_MainWindow):
def __init__(self):
MainWindow.__init__(self)
self.setupUi(self)
self.initData()
self.
QtGui.QtWidgets.__init__(self,parent)
self.ui=Ui_MainWindow()
self.... | [
"zzabzz21@naver.com"
] | zzabzz21@naver.com |
4c0ac46f1d84771dc353dc57195fde968e23467e | 630fe47bb5aa5e49b45ab101d87c2dd2c53d180f | /Bubble_soft_json.py | 4670c4958ea3d09c64e4879c8e4c5913ea0222f9 | [] | no_license | shrivastava-himanshu/Leetcode_practice | 467497a58d82ff3ae2569d5e610dc6f27a1f31d6 | 4c59799947c2b17bfd22ca2a08707ef85e84a913 | refs/heads/main | 2023-06-12T13:14:45.381839 | 2021-07-05T04:09:05 | 2021-07-05T04:09:05 | 367,546,005 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 856 | py | def bubble_sort_json(elements,key='name'):
size = len(elements)
for i in range(size-1):
swapped = False
for j in range(size-1-i):
a = elements[j][key]
b = elements[j+1][key]
if a > b:
tmp = elements[j]
elements[j] = elements[j+... | [
"Himanshu.Shrivastava@vce.com"
] | Himanshu.Shrivastava@vce.com |
8aa8349d9f1213a364dd5a5713676193303f913c | 159aed4755e47623d0aa7b652e178296be5c9604 | /data/scripts/templates/object/draft_schematic/chemistry/shared_medpack_disease_action_a.py | 20a75b8ac4bc4329cb51b260ec5349043fb09d4a | [
"MIT"
] | permissive | anhstudios/swganh | fb67d42776864b1371e95f769f6864d0784061a3 | 41c519f6cdef5a1c68b369e760781652ece7fec9 | refs/heads/develop | 2020-12-24T16:15:31.813207 | 2016-03-08T03:54:32 | 2016-03-08T03:54:32 | 1,380,891 | 33 | 44 | null | 2016-03-08T03:54:32 | 2011-02-18T02:32:45 | Python | UTF-8 | Python | false | false | 463 | py | #### NOTICE: THIS FILE IS AUTOGENERATED
#### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY
#### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES
from swgpy.object import *
def create(kernel):
result = Intangible()
result.template = "object/draft_schematic/chemistry/shared_medpack_disease_action_a.iff"
result.attr... | [
"rwl3564@rit.edu"
] | rwl3564@rit.edu |
dcf9767daf6e0fcdef74961d8ba14fc6d42716a6 | 56271368a783ddea6e19013cbf265e75fcbc6d91 | /blog/urls.py | f0affec62ee6c023c41c111e20997040045fa013 | [] | no_license | zhennnnnn/myblog | 2c3b6828831e6afbd83276e85d72892fe36bcf24 | 4cc4bf075045ea7b27c0379523264a3caee84c39 | refs/heads/master | 2020-04-24T16:25:49.819321 | 2019-05-11T14:07:05 | 2019-05-11T14:07:05 | 172,106,019 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 478 | py | from django.urls import path,re_path
from django.contrib import admin
from . import views
urlpatterns = [
path('list', views.post_list, name='post_list'),
path('create', views.post_create, name='post_create'),
path('index/',views.index),
path('login/',views.login),
path('logout/',views.log... | [
"z@z.z"
] | z@z.z |
fd8c684dae8a103507e41eb9bd9c3c7324dd0b4b | 168f821d04431e113c655217f1c2904ec6c95af1 | /users/migrations/0004_auto_20180506_1315.py | ad7bc36dd4eb58ed0c3e936ad4d6ab840ee20b36 | [] | no_license | pratiksinghchauhan/lambda-player | e641a9de76d0fa238d9e9ac202e57fa0e1933b1d | f863052c777494e857e36b642e230183d85d23f7 | refs/heads/master | 2020-03-14T02:31:17.550214 | 2018-05-07T07:13:15 | 2018-05-07T07:13:15 | 131,400,552 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 599 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2018-05-06 13:15
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0003_auto_20180502_1358'),
]
operations = [
migrations.AlterField(... | [
"pratiksingh773@gmail.com"
] | pratiksingh773@gmail.com |
17d135b5162c6228ca2c1f628ff2746cdd76d2a8 | f394772a44665353a9a9ab8469bd3fd8e6b5bc34 | /Baekjoon_code/venv/Scripts/easy_install-script.py | 78842504432ccea3bc4e66d08b3d3a8819a5c667 | [] | no_license | john980302/study | 5091d2f1264875093cf765809c6a488cf3593b3c | 0434e95b3289cb49ffa3a9d143f6d12c7a14f51e | refs/heads/master | 2021-06-07T06:29:13.505100 | 2019-12-26T05:26:23 | 2019-12-26T05:26:23 | 138,966,928 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 438 | py | #!E:\git\study\Baekjoon_code\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install'
__requires__ = 'setuptools==39.1.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',... | [
"john1920@naver.com"
] | john1920@naver.com |
f883b8fafe96e0c111db9c142081f87620e1e00e | 7ae01924dab7c8d5eb07d42d0b76f5950cfdcfc3 | /tools/workspace/common_robotics_utilities/package.BUILD.bazel | 1dfc563d7a742d178387e65731b6313e1397a54d | [
"BSD-3-Clause"
] | permissive | sammy-tri/drake-franka-driver | a1c78a01de6be414219acc9bfc68dc6ec50f187c | 35c12fcab4db12d65b0717882eebe8ad48617dcb | refs/heads/master | 2021-07-10T17:12:14.017272 | 2021-05-20T22:02:03 | 2021-05-20T22:04:09 | 244,988,275 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 500 | bazel | # -*- mode: python -*-
# vi: set ft=python :
package(default_visibility = ["//visibility:public"])
cc_library(
name = "common_robotics_utilities_base",
srcs = [
"src/common_robotics_utilities/serialization.cpp",
],
hdrs = [
"include/common_robotics_utilities/print.hpp",
"includ... | [
"sam.creasey@tri.global"
] | sam.creasey@tri.global |
4bb69e2085d85a79021f6f8e3514bb1ba342a548 | 68793e4a07a7f157a19bdba60c8abd8e740ede37 | /TIDALDL-GUI-CROSS/tidal_gui/viewModel/taskModel.py | cb6c06bb3c7d9bc69a44b1c35f5de2858e59bb29 | [
"Apache-2.0"
] | permissive | gggf007/Tidal-Media-Downloader | 7e8e875de2919e96ecd18678d9ad2378ad86c29f | e84185febb68fff92558ad1acbbf2fb40c623ed6 | refs/heads/master | 2023-07-29T03:22:40.575893 | 2021-09-15T08:55:50 | 2021-09-15T08:55:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 586 | py | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
@File : taskModel.py
@Date : 2021/8/17
@Author : Yaronzz
@Version : 1.0
@Contact : yaronhuang@foxmail.com
@Desc :
"""
from tidal_dl import Type
from tidal_gui.view.taskView import TaskView
from tidal_gui.viewModel.taskItemModel import TaskItemModel
fro... | [
"yaronhuang@foxmail.com"
] | yaronhuang@foxmail.com |
5ca94b90b0ae7e87df133bf128176b47a4b0e783 | 135ec4b69c6abc44a364e419177a230619dc8d3a | /code/featureextractor.py | db685bafd54d376cd6a3da1628b9f19a7c846ed7 | [] | no_license | ad1407/multilingual-dependency-parser | b1cf6c40e8c6f703d7d8615df175f16d96ae9ac8 | 17c49fa39cc71e6a19fd66dfc1761c37b08295d0 | refs/heads/master | 2021-01-11T18:40:29.111429 | 2017-01-20T20:45:08 | 2017-01-20T20:45:08 | 79,596,405 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,319 | py | from nltk.compat import python_2_unicode_compatible
printed = False
@python_2_unicode_compatible
class FeatureExtractor(object):
@staticmethod
def _check_informative(feat, underscore_is_informative=False):
"""
Check whether a feature is informative
"""
if feat is None:
... | [
"priyadarshi.a@husky.neu.edu"
] | priyadarshi.a@husky.neu.edu |
456a1505cb7f3525e46948bb661ce4d624bb51f8 | de9367e74d7723a480928b6dea472743974bad50 | /Scripts/followgrabber_arun.py | 445f413cabf79dae14172f7af5b9a40c2892c960 | [] | no_license | masoodbai/Hadoop-TwitterAnalysis | 3c13af68e542530cfb04a9bec31b98a9e2ca83a2 | 7400c5dc400861069a9a53a08117cad4097d149c | refs/heads/master | 2021-01-17T21:33:39.138989 | 2014-09-22T01:25:54 | 2014-09-22T01:25:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,386 | py | from tweepy import API
from tweepy import OAuthHandler
from tweepy.streaming import StreamListener
from pdb import *
from tweepy.utils import import_simplejson as json
from time import sleep
import sys
#Arun
ckey = "kJYFQA18ICfjquVkk3T1w"
csecret = "93DacQPIt97M9895E4tP4zw0EPj4r9SxKDn1MRmUyE"
atoken = "131783295-vMI4... | [
"arunnagendran89@gmail.com"
] | arunnagendran89@gmail.com |
3b5792356a3fb44e3e25b986468fffbace4eb07c | cd128ed7445bec274a46bf02fb0f7b780d24d09f | /EGAN/KDD.py | d2a771e232f697d8bca0d47c3f3bebc2e3d976a6 | [] | no_license | crazybirl/GANs_AD | a1df8c036815bf5ab0a418bcce21268d62b06e19 | 96c7ca8cd136ebc597aa2d3a91f35cff75380106 | refs/heads/master | 2020-05-22T13:09:18.166278 | 2019-02-07T14:25:09 | 2019-02-07T14:25:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,080 | py | import logging
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import MinMaxScaler
logger = logging.getLogger(__name__)
def get_train(*args):
"""Get training dataset for KDD 10 percent"""
return _get_adapted_dataset("train")
def get_test(... | [
"u6304568@anu.edu.au"
] | u6304568@anu.edu.au |
075b2c4a4881cb3b268418a7976f88c895d6b4ff | 45bc6915b1f2d94544f9fc401200bfb592ea231b | /enocean/consolelogger.py | 53073366a909ec8d6c3af968f190dcaa9056cf24 | [
"MIT"
] | permissive | relihanl/enocean | 25345af232c768b319151cf0ef114a924705fb7b | 470874f3a46d073f4a91c99617037ef77b72042d | refs/heads/master | 2021-01-24T19:51:59.122235 | 2015-11-23T11:02:13 | 2015-11-23T11:02:13 | 46,991,879 | 1 | 0 | null | 2015-11-27T17:20:12 | 2015-11-27T17:20:12 | null | UTF-8 | Python | false | false | 438 | py | # -*- encoding: utf-8 -*-
from __future__ import print_function, unicode_literals, division
import logging
def init_logging(level=logging.DEBUG):
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
logger = logging.getLogger('enocean')
logger.setLevel(logging.DEBUG)
... | [
"kipenroskaposti@gmail.com"
] | kipenroskaposti@gmail.com |
99801dbffdcedf8bbf90c8f0aa02aed8b07ac7ff | 67b542e2b05a72fa05a7e22e41a2958a8d24b50d | /blog_blog/migrations/0005_comment.py | d7251c68d30c590b4a166336c4e2634020994dfe | [
"MIT"
] | permissive | hossshakiba/Django-Personal-Website-Blog | 4bac43bd26eeafbf1b46a0d1d3ac91c5bbcd232c | 6f75a7b7d8778e556305a883f23b04d526a8d5fd | refs/heads/master | 2023-04-16T17:32:11.519977 | 2021-04-10T09:06:44 | 2021-04-10T09:06:44 | 312,868,006 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,125 | py | # Generated by Django 3.1 on 2020-08-26 14:01
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('blog_blog', '0004_auto_20200824_1902'),
]
operations = [
migrations.CreateModel(
name='Comment',
... | [
"hossshakiba@oulook.com"
] | hossshakiba@oulook.com |
bc561abdea74935ef33496aae69072868fe91e05 | 53dcb86c506dfa4b747f82466527c548bc05a609 | /crawler/crawler.py | f23290d816538893b56e08dd6228b9a9bf8d2f61 | [
"MIT"
] | permissive | hexid26/2019nCoV | a895aa96a2d3dfd35dfe8f9ac6190cc8e82d7297 | 96080584d8304a22d7bead97e81a599317c2df8c | refs/heads/master | 2020-12-21T01:36:13.077174 | 2020-02-10T07:57:41 | 2020-02-10T07:57:41 | 236,266,848 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 12,323 | py | #!/usr/bin/env python
# coding:utf-8
"""crawler.py"""
import argparse
import os
import re
import logging
import datetime
import requests
import csv
import json
import time
from bs4 import BeautifulSoup
# def set_argparse():
# """Set the args&argv for command line mode"""
# parser = argparse.ArgumentParser()
# p... | [
"hexid26@outlook.com"
] | hexid26@outlook.com |
7706993e5292860e7fd177ec8ff6b5a420023395 | e86bbc185f78cf59f0c15e4c41f63b42e60d2533 | /lists/models.py | 2f6628e08967e46efaf4b33e0d14049d167bc43d | [] | no_license | jjbillings/superlists | 94b536b6599cae03d63aea0377b598e94547ba81 | 12213cc3edd934b1e338c76fd5ccb5cce92d8977 | refs/heads/master | 2021-04-29T11:09:13.083835 | 2017-01-07T01:57:18 | 2017-01-07T01:57:18 | 77,854,779 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 184 | py | from django.db import models
class List(models.Model):
pass
class Item(models.Model):
text = models.TextField(default='')
list = models.ForeignKey(List,default=None)
| [
"jjbillings@noctrl.edu"
] | jjbillings@noctrl.edu |
b86ed9ea92f011c572e9d53af6322b9d79242597 | e06af38caaef4131c6bb6d0eb1543605567c5277 | /unit_tests/test_biomolecule_annotation.py | 92fdb679b5b813a5d11dad841cf4c1cbeb5a18c0 | [
"MIT"
] | permissive | highdxy/api_python_3decision | 17bb8081995b15cd3b5106e27c4d2b697de8494c | 322bdf8b5fdb5ed01b51fd58e4f5c044946d97a9 | refs/heads/master | 2023-02-24T14:04:22.778989 | 2021-01-28T15:36:29 | 2021-01-28T15:36:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,793 | py | import unittest
from api_python_3decision import api
import json
class AnnotationTests(unittest.TestCase):
annotationJson={"biomolecules": [{"general": {"biomoleculeCode": "HS90A_HUMAN"},"annotations": [{"value": {"AnnotationValueString": "test annotation"}}]}]}
annotationJson2=json.loads("""
{
"biomo... | [
"peter.schmidtke@discngine.com"
] | peter.schmidtke@discngine.com |
efaeae158142d783d0c4d3c5f624d9fbd08615b8 | 6f151b64427d47571ff8d02a24a98c9cbd8c68a5 | /[leetcode-08]strings-to-integer-atoi.py | 17245f772a1bae021abee1832c545d882e0b4cb2 | [
"MIT"
] | permissive | Menah3m/leetcode-Python | 50c0a0e518274cfa9a5ce939c37c075ce226dd04 | 212cae16ae868e5f031d3aeb8f614c539c1a27f1 | refs/heads/master | 2021-04-02T03:24:35.855185 | 2020-12-15T09:39:03 | 2020-12-15T09:39:03 | 248,238,533 | 0 | 0 | null | 2020-12-15T09:39:05 | 2020-03-18T13:25:55 | Python | UTF-8 | Python | false | false | 2,470 | py | """
请你来实现一个 atoi 函数,使其能将字符串转换成整数。
首先,该函数会根据需要丢弃无用的开头空格字符,直到寻找到第一个非空格的字符为止。接下来的转化规则如下:
如果第一个非空字符为正或者负号时,则将该符号与之后面尽可能多的连续数字字符组合起来,形成一个有符号整数。
假如第一个非空字符是数字,则直接将其与之后连续的数字字符组合起来,形成一个整数。
该字符串在有效的整数部分之后也可能会存在多余的字符,那么这些字符可以被忽略,它们对函数不应该造成影响。
注意:假如该字符串中的第一个非空格字符不是一个有效整数字符、字符串为空或字符串仅包含空白字符时,则你的函数不需要进行转换,即无法进行有效转换。
在任何情况下,若函数不能进... | [
"568200065@qq.com"
] | 568200065@qq.com |
d0db36ca03329247eed514520d46ac166ce9229e | 1a73ccd606b7c4aa0560854cb6fa1311a560bc14 | /basic/__init__.py | c1c0e43b8aba348c1f76364fe318866f95a13c39 | [] | no_license | pranavtbhat/SocialGraphs | 9d33de445f862f572eced8c888ad78ca0f7e8c3d | 6dd36722f7c3fb618aa5f170b01d3d55ed56a742 | refs/heads/master | 2021-01-01T05:53:20.000975 | 2014-12-19T08:03:50 | 2014-12-19T08:03:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 135 | py | import networkx as nx
import numpy as np
import matplotlib.pyplot as plt
G = nx.erdos_renyi_graph(30,.05)
nx.write_dot(G,"data.dot")
| [
"pranavtbhat@gmail.com"
] | pranavtbhat@gmail.com |
993420a46f0bd40bfbf01ac38a94119f133bc724 | d3de2165e486b6cad3351288b9eac78381bf66e8 | /venv/Scripts/pip-script.py | bd217f3a36336496f817328516d9fa1deb7ab479 | [] | no_license | Suchandra125/MyWebsite | 78b792ff92bc42834cc8a6b8eac3312eefe81516 | 583b8972dd8cf53168ded7755a0968c0aa15c308 | refs/heads/master | 2020-05-02T16:22:01.098276 | 2019-03-30T19:15:41 | 2019-03-30T19:15:41 | 177,007,201 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 405 | py | #!C:\Users\user\PycharmProjects\Flask\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip'
__requires__ = 'pip==9.0.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
... | [
"jchandra15696@gmail.com"
] | jchandra15696@gmail.com |
062f2eaf5f880f0947ee0529c9739ae8265f20b9 | 1b859294562750d3020df40ffa71ebc768600c6d | /review_curator.py | 170b81df361f0f5dceeb7d522c8b2b4f01b98675 | [] | no_license | streamlit-badge-bot/lululemon_reviews_NLP_insights | 767abc7189d7537711891ad7ccc67e3c12e194f9 | a66bfc076cde8d74d5aee78a9bc8f87df42366bc | refs/heads/main | 2023-01-23T19:21:13.737690 | 2020-11-28T19:49:58 | 2020-11-28T19:49:58 | 316,810,383 | 0 | 0 | null | 2020-11-28T19:49:47 | 2020-11-28T19:49:46 | null | UTF-8 | Python | false | false | 3,426 | py | import streamlit as st
import pandas as pd
import pickle
from recommender import Review_Recommender
import heapq
st.markdown("""
<style>
body {
background-color: #d7d2cb;
}
</style>
""", unsafe_allow_html=True)
st.markdown("<h1 style='text-align: center; color: #C60C30;'>Lululemon Review Curator</h1>", unsaf... | [
"56279448+ajc356@users.noreply.github.com"
] | 56279448+ajc356@users.noreply.github.com |
c6d667700920179dbd5dda7f106fd694a893ebe8 | b2f91a8ed0f4d1e047d0db30226ff33f23bcc53b | /26-Class and Static Method.py | 863b074ec7ce791b5bedccf34092f6d273a9a23c | [] | no_license | hemantrashimalalu/RestAPI | 585b50be4885ea5db1461cecd5e7f6f4b59d71e9 | b83623f290c50961ea442fde5f3205a8aacc10a1 | refs/heads/master | 2020-05-30T21:20:57.340518 | 2019-06-17T10:41:29 | 2019-06-17T10:41:29 | 189,969,893 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,216 | py | # https://www.geeksforgeeks.org/class-method-vs-static-method-python/
# Class Method
# A class method receives the class as implicit first argument, just like an instance method receives the instance
# fun: function that needs to be converted into a class method
class C(object):
@classmethod
def fun(cls, arg1... | [
"hemant.r@icloud.com"
] | hemant.r@icloud.com |
c6929c51a9359ddba091f24a9843c39e5244e48e | cb8e7b96ba6c485ea68da154b62b32aae2e89fef | /venv/bin/pip | 65a22aaa3e63096a3415e02ba8e95cb447afacf4 | [] | no_license | reklawth/LPTHW-ex47 | 6d5b60d0973f1080352fe079c67db0cd85e1167c | f4c8b51c5c05a0d043ade41b2a34902d8d73f9cd | refs/heads/master | 2021-01-12T09:22:11.165075 | 2016-12-11T03:35:08 | 2016-12-11T03:35:08 | 76,151,793 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 254 | #!/Users/thwalker/OneDrive/Python/projects/ex47-env/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from pip import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"thwalker@Independence.fios-router.home"
] | thwalker@Independence.fios-router.home | |
d12b330c8a86dae7b2e3ff874faa4a0c84278ccd | d697c1d45e96bd440be9c17ab14243a5882b1f52 | /hm/oop/Tool.py | bc86e8847c84a48bbaf2b70702747c4f2cdd6d05 | [] | no_license | ithjl521/python | 9eeda2e60dda97ee36e8764c06400eb12818689f | f4fe50799501c483cb64445fd05ee0f30f56576c | refs/heads/master | 2020-07-12T23:10:53.608276 | 2019-11-08T08:59:35 | 2019-11-08T08:59:35 | 204,931,359 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 215 | py | class Tool(object):
count = 0
def __init__(self,name):
self.name = name
Tool.count += 1
# self.count += 1
tool1= Tool('futou')
tool2= Tool('maoie')
tool3= Tool('fuzi')
Tool.count = 99
print(Tool.count)
| [
"it_hjl@163.com"
] | it_hjl@163.com |
843d08c826f8a29b84e9e209cbd7cf14df5aad5d | bcc199a7e71b97af6fbfd916d5a0e537369c04d9 | /acmicpc/solved/2448_Draw_Stars/solution.py | bd9a9474145925faf28b5b29de95d694d48808eb | [] | no_license | sungminoh/algorithms | 9c647e82472905a2c4e505c810b622b734d9d20d | 1389a009a02e90e8700a7a00e0b7f797c129cdf4 | refs/heads/master | 2023-05-01T23:12:53.372060 | 2023-04-24T06:34:12 | 2023-04-24T06:34:12 | 87,406,513 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 496 | py | import math
base = [' * ', ' * * ', '*****']
n = input()
def get_k(n):
return int(math.log(n/3., 2))
def concat1(a, b):
return [x[0]+' '+x[1] for x in zip(a, b)]
def concat2(a, b):
return [x[0]+x[1] for x in zip(a, b)]
def nth(i):
if i == 0:
return base
else:
child = nth(... | [
"smoh2044@gmail.com"
] | smoh2044@gmail.com |
d046514180a9e37274ac16c00eabafba5f77c479 | 9a9fb43d866dc8fd829211d2b47328ef1f5ed428 | /PI_ROS_WORKSPACES/ros_catkin_ws/build_isolated/rosboost_cfg/catkin_generated/pkg.develspace.context.pc.py | 72b73d066877678ca5a5c6ee1ed6b3c0bdd104c5 | [] | no_license | droter/auto_mow | 326df42a54676079cac61fe63c40d5d04beb049b | 3742cb2ef78bc06d2771ac4c679e5110909774f8 | refs/heads/master | 2022-05-19T20:18:33.409777 | 2020-04-29T00:42:24 | 2020-04-29T00:42:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 397 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "rosboost_cfg"
PROJECT_SPACE_DIR = "/h... | [
"joshuatygert@gmail.com"
] | joshuatygert@gmail.com |
76ba62a559610663ca326ece919f5ec2eb2f0cc0 | 83577b0af69bd89f4cec0621ca66ceaf339f6937 | /2.py | 49a78db147670acbc77414435c3ca3c5dd3abc06 | [] | no_license | engus/web-services | 2b21c851f2986adaeb6a30b74ae113dd6ed3317d | 96b30a4070fdabd1b44f2875bb03ac90920f7e9b | refs/heads/master | 2022-12-09T03:31:36.363389 | 2020-09-04T18:24:14 | 2020-09-04T18:24:14 | 292,918,071 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 464 | py | # from requests import get
# print(get('http://stepik.org/favicon.ico').headers['server'])
import socket
HOST = ''
PORT = 4000
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind((HOST, PORT))
s.listen(1)
conn, addr = s.accept()
with conn:
print('Connected by', addr)
... | [
"engusmail@gmail.com"
] | engusmail@gmail.com |
ab54c3fec9ba07713adc4ae66b5a6cad3fcd046b | 3a32644df62877604b44593267d41d3c664c1867 | /2-MaksimovKA/configs/senet154_gcc_fold1.py | 0a435ddbab501c6e2adeb28f20da1b35af7cf4ea | [
"Apache-2.0"
] | permissive | avanetten/SpaceNet_SAR_Buildings_Solutions | f5872778baf7cd7f7b22f2a4b104a5f680a33a28 | 6a9c3962d987d985384d0d41a187f5fbfadac82c | refs/heads/master | 2023-01-21T01:43:04.626934 | 2020-12-04T00:15:21 | 2020-12-04T00:15:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,539 | py | import albumentations as albu
data_type = 'SAR-Intensity'
train_images = '/data/SN6_buildings/train/AOI_11_Rotterdam/'
masks_data_path = '/wdata/train_masks'
logs_path = '/wdata/segmentation_logs/'
folds_file = '/wdata/folds.csv'
load_from = '/wdata/segmentation_logs/8_3_reduce_1_unet_senet154/checkpoints/best.pth'
mu... | [
"noreply@github.com"
] | avanetten.noreply@github.com |
bd3b3d45311a3acf29007751bcf7d26209d85391 | f445450ac693b466ca20b42f1ac82071d32dd991 | /generated_tempdir_2019_09_15_163300/generated_part000492.py | 7a98b03c8016f65306e467ddfb470f008a62508e | [] | no_license | Upabjojr/rubi_generated | 76e43cbafe70b4e1516fb761cabd9e5257691374 | cd35e9e51722b04fb159ada3d5811d62a423e429 | refs/heads/master | 2020-07-25T17:26:19.227918 | 2019-09-15T15:41:48 | 2019-09-15T15:41:48 | 208,357,412 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,532 | py | from sympy.abc import *
from matchpy.matching.many_to_one import CommutativeMatcher
from matchpy import *
from matchpy.utils import VariableWithCount
from collections import deque
from multiset import Multiset
from sympy.integrals.rubi.constraints import *
from sympy.integrals.rubi.utility_function import *
from sympy.... | [
"franz.bonazzi@gmail.com"
] | franz.bonazzi@gmail.com |
8b9ef356aee7164a6c69cd0f35f1d1d0a435b1cb | eb1a26b1458c488bafdcb4e8a8477ffd73487ba7 | /features/network.py | 8ce3ea08f6749f5810b0c8633643476967cbbc03 | [] | no_license | ishan-chaudhary/Malicious-URL-Classifier | 3f96cc104bb674c801a2352b06031db140b5eeeb | 16fd7023e575e626cbfe08767252663ccdd83e88 | refs/heads/master | 2023-02-01T07:28:52.927668 | 2020-12-05T20:56:26 | 2020-12-05T20:56:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,216 | py | import re
import ssl, socket
import requests
from dnsresponse import host
from useful_methods import unicode_decode
from tld import get_tld
from lexical import subdomain_name
import urllib2
import urllib
import json
def redirect_count_with_warning(url):
url = 'http://' + url
r = requests.get(url)
return (r... | [
"shravya.k14@iiits.in"
] | shravya.k14@iiits.in |
fd9bc4ff7f15ebfda415eb8929506aa3c0e1025e | b1e243e32232ef3cf9432fcdbdbf4771e4da35d3 | /backend/vdoc/migrations/0014_report.py | 48535c821853e624432878c61c2d97a1c2d2ffa6 | [] | no_license | srijannnd/Major-Project | ad9d0a21264ae07c13882f801d6d8fe3d49fe10d | 77007d9f77d1c5ddef0ca97ae5d36a5244655f74 | refs/heads/master | 2022-12-24T08:20:36.557228 | 2018-04-28T05:08:37 | 2018-04-28T05:08:37 | 121,938,968 | 0 | 0 | null | 2022-12-08T00:55:15 | 2018-02-18T09:53:11 | Python | UTF-8 | Python | false | false | 1,020 | py | # Generated by Django 2.0.2 on 2018-03-27 15:41
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('vdoc', '0013_symptomrela... | [
"srijannnd@gmail.com"
] | srijannnd@gmail.com |
35b58001605bb09aa9f45abcf4fa8ce37dc67f07 | 35fbaa56d47be07dc7d12d00dfacebe3951e8799 | /model_test.py | 3e74b6836f858148ae434d76aaf2733a8eb7bd6f | [] | no_license | bhuvneshsaini/Image_Classification | dac7d8810ea2d3f1f926609f0bf590cf901f27b7 | db1306713312995789c4010c5f2c83ba18bc846e | refs/heads/master | 2020-05-21T05:03:57.212163 | 2019-05-10T03:44:32 | 2019-05-10T03:44:32 | 185,731,442 | 0 | 0 | null | 2019-05-09T06:47:30 | 2019-05-09T05:23:13 | null | UTF-8 | Python | false | false | 1,681 | py | from keras.models import load_model
#from keras.preprocessing import image
import numpy as np
import cv2
from keras.preprocessing.image import img_to_array
# dimensions of our images
img_width, img_height = 150, 150
test_data_dir = 'data/test'
# load the model we saved
model = load_model('modelTest.model... | [
"noreply@github.com"
] | bhuvneshsaini.noreply@github.com |
c21ab3f906aa4a61cb47703d6291eb9f9295ab24 | 9ad72bfdd413c08060e6a6858aee6abda39d7abe | /hw1/test2.py | d9af38238393979ce5328ca5da4201d160bb3399 | [] | no_license | sevensail/105SD | 86d3e83d0e7c3a9aadb49e5483ebbb151c82c271 | 6104c16fb5bbc354675e0bc7c4217672377cbf0c | refs/heads/master | 2021-05-01T20:02:35.851158 | 2018-02-22T16:12:31 | 2018-02-22T16:12:31 | 120,957,511 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,802 | py | from problem2 import *
import numpy as np
import sys
'''
Unit test 2:
This file includes unit tests for problem2.py.
You could test the correctness of your code by typing `nosetests -v test2.py` in the terminal.
'''
#-------------------------------------------------------------------------
def test_python_... | [
"chinaqih@163.com"
] | chinaqih@163.com |
50a685613a2a66ffb9e6c3fd21431b38f2ab0249 | 18e1725da4de5a15ead54c77807c920a908b8cd6 | /order/urls.py | 3b01217b6f3d3adb98f306f306ee66b98f920fae | [] | no_license | piertf14/weblota | 2a47424ca168fcb4e8acb58a6ed408033e66f3b6 | 0123cdcb63450d25ef54d45e4a8fab71a1df390e | refs/heads/master | 2022-12-11T22:43:24.521661 | 2019-07-10T02:10:50 | 2019-07-10T02:10:50 | 191,693,978 | 0 | 0 | null | 2022-12-08T05:15:27 | 2019-06-13T05:04:08 | JavaScript | UTF-8 | Python | false | false | 118 | py | from order import views
from django.urls import path
urlpatterns = [
path('order/', views.OrderAPI.as_view()),
]
| [
"piertf14@gmail.com"
] | piertf14@gmail.com |
26f1f046fbcc3e826fb8fa1f586db82a5eadc742 | aea02d626c10396c2220d5ee642cb9c279e5bc37 | /migrations/versions/34c8e6e836da_email_column.py | d039f076f6691862d68521cdf0df979072f894e7 | [
"MIT"
] | permissive | Derrick-Nyongesa/Blog | 5fb176575865a75a02658bc8622fed3b9e05c919 | aff6b97aac958e6f626c934c57fffba1bb1f845d | refs/heads/main | 2023-04-14T12:21:20.890964 | 2021-04-26T07:07:55 | 2021-04-26T07:07:55 | 360,806,456 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 795 | py | """email column
Revision ID: 34c8e6e836da
Revises: 4fb50df0a785
Create Date: 2021-04-23 14:54:17.658067
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '34c8e6e836da'
down_revision = '4fb50df0a785'
branch_labels = None
depends_on = None
def upgrade():
# #... | [
"nyongesaderrick@gmail.com"
] | nyongesaderrick@gmail.com |
2347536eb37a719bc87f0edc137313e5e7eacfe6 | 5b9f9b4ea1494943e6f7f842df55909599ed1304 | /python/onshape_client/oas/models/security_scheme.py | 90cf4db87b065dc49b92d77bf05e8d217d9c5b3c | [] | no_license | jenniferyoung02/onshape-clients | f50534f033428027515b7fc0b801b1caab4d0aec | 8ee31a17d7af32f105b851e45f69fd4a3006e1ba | refs/heads/master | 2020-09-07T06:44:37.682545 | 2019-10-08T18:52:06 | 2019-10-08T18:52:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,638 | py | # coding: utf-8
"""
Onshape REST API
The Onshape REST API consumed by all clients. # noqa: E501
The version of the OpenAPI document: 1.104
Contact: api-support@onshape.zendesk.com
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
class Securit... | [
"ekeller@onshape.com"
] | ekeller@onshape.com |
a6223c3a60b16697d235aa1eeeb4a1c5dda89b26 | 5c254373f6725107931b68704436c2dbcd39d877 | /data_utils/FS_utils/eval_map.py | ff3f00e38f9b4ccfb4a4a595343df50faa23d6c3 | [
"MIT"
] | permissive | JunLi-Galios/unsup_temp_embed_alternating | 22330346094720ecba2e5af305febe586566b92f | 1b054fd82aadcfe1aa219be17beb77c89efd974e | refs/heads/master | 2023-03-21T04:06:16.044321 | 2021-03-20T06:06:06 | 2021-03-20T06:06:06 | 322,737,110 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,472 | py | #!/usr/bin/env python
"""Eval level activity
"""
__author__ = 'Anna Kukleva'
__date__ = 'January 2019'
import os
from ute.utils.arg_pars import opt
import data_utils.FS_utils.update_argpars as fs_utils
fs_utils.update()
actions = ['add_dressing',
'add_oil',
'add_pepper',
'cut',
... | [
"kuklevaanna@gmail.com"
] | kuklevaanna@gmail.com |
03d7464aee1112ae11ab9bc89da55fc90f313435 | e7a036f47d4ba2ecd6d8726b5e634127e1779f84 | /data/state_abbrev.py | deeb85e9f94a7cacc144eebb3afed0be9cbbac58 | [] | no_license | johnyrufus/cartogram-covid19 | ba6009d5ff0e80d9361aacad74c542f1368b5506 | 2ccc82fae2871bd17b6606d89a4a00d232675459 | refs/heads/master | 2022-11-21T21:31:55.703185 | 2020-07-30T19:14:07 | 2020-07-30T19:14:07 | 283,838,213 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,472 | py | state_abbrev = us_state_abbrev[state]
import os
from datetime import timedelta, date
from PIL import ImageColor
from PIL import Image
import math
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
from matplotlib import cm
#from colorspacious import cspace_converter
from collections import Or... | [
"johnyrufus@gmail.com"
] | johnyrufus@gmail.com |
07b1dc0344a5647316639af1cc3e0d015e5e107f | 7a5c9962ee40996a9f24f5493c715d5553052cf7 | /jobs/apps.py | 659d18b194f99c3b388bbaea0e799ca23b237f8c | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | dymaxionlabs/satlomas-back | da6355d1fc90a2e9d4a7795b4751e3ebe043ffa6 | f4568f6535755fd4a2432ecc661a264872206c6c | refs/heads/master | 2023-07-17T17:07:43.037314 | 2021-08-28T15:54:21 | 2021-08-28T15:54:21 | 262,424,687 | 0 | 0 | null | 2020-05-08T20:42:49 | 2020-05-08T20:42:48 | null | UTF-8 | Python | false | false | 132 | py | from django.apps import AppConfig
class JobsConfig(AppConfig):
name = 'jobs'
def ready(self):
import jobs.signals | [
"munshkr@gmail.com"
] | munshkr@gmail.com |
78befbcc094a1c019b67d6b56a7b35cf4e3d6b6b | a89c739589d0ee29ff6fff1a1508a426dfe4489a | /basics/assert.py | b7872ff4b51952a23919213ac3ad863af939f0fd | [] | no_license | macabdul9/python-learning | 107e3533998e3f373b804d6b59152fc41938604b | f0d5e0e37cbed3d846684be80f0f92e5cbb9ceb5 | refs/heads/master | 2020-04-27T04:31:47.907486 | 2020-03-05T16:48:53 | 2020-03-05T16:48:53 | 174,057,604 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 448 | py | """
@author : macab (macab@debian)
@file : assert
@created : Sunday Mar 17, 2019 00:28:58 IST
"""
'''
Python provides the assert statement to check if a given logical expression is true or false. Program execution proceeds
only if the expression is true and raises the AssertionError when it is false. The ... | [
"abdulwaheed1513@gmail.com"
] | abdulwaheed1513@gmail.com |
691fa607d10aae4633b705ab3b936b9e52d14591 | ab62dd7d0e6eef2bb9958cac2d03f99036fdfa00 | /users/forms.py | 378fca9a15e057f85c87522e1c34a79082c1cdbe | [] | no_license | kalugege/Django-blog | ba491682791518bcb801f2c155c0f0e4c0ae2903 | 77014ef7fd9c5152fefd894324a7897bbacc4eee | refs/heads/main | 2023-02-16T12:42:43.534554 | 2021-01-08T11:44:50 | 2021-01-08T11:44:50 | 327,887,152 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 820 | py | from django.contrib.auth.models import User
from django.contrib.auth.forms import UserCreationForm,UserChangeForm
from django import forms
class UserRegisterForm(UserCreationForm):
email = forms.EmailField()
first_name = forms.CharField(max_length=10)
last_name = forms.CharField(max_length=10)
class ... | [
"kalugege@gmail.com"
] | kalugege@gmail.com |
79d111b06bcbb7f38daec395021ab236da6001f6 | 3d9331dd5a4d3020ce36e52025cec34c5037fb33 | /harbour/isc.py | b107ba3fb326f45d120a3f94933496820ff9ab53 | [] | no_license | amar-laksh/Pyrain | 95e651c3313342a0d0aa4d79097c1f4389f88626 | dd9786456b007b5797ba7f0d792a3dc4a0cb865b | refs/heads/master | 2021-01-10T13:44:52.297005 | 2015-12-04T17:38:34 | 2015-12-04T17:38:34 | 46,549,326 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,610 | py |
"""
import requests
headers = {'User-Agent': 'Mozilla/5.0','Content-Type': 'application/html; charset=UTF-8'}
payload = {'courseCode':'ISC','uniqueId':'5537920',''}
link = 'http://www.cisce.org/Results/Result/ShowResult?'
session = requests.Session()
#resp = session.get(link,headers=headers)
cookies = requests.utils.c... | [
"zacnethen@gmail.com"
] | zacnethen@gmail.com |
1512c5e0eb679998a4e4a6f0e9c1605062457898 | 834c00a4bce58d4e7d015fdca1da413f7120023c | /apps/samadhana_app/apps.py | 5152c85a1e469cf31d3ca14750d9dedbbf3a3484 | [] | no_license | sumanth325/samadhana | 74cd07cd7ae5033937cccd743232bc3cb3cf9deb | 89f5ad92d08d0766ff146c4e11d86d5d7e7554da | refs/heads/master | 2020-03-27T05:49:33.476935 | 2018-08-25T01:33:19 | 2018-08-25T01:33:19 | 146,054,975 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 100 | py | from django.apps import AppConfig
class SamadhanaAppConfig(AppConfig):
name = 'samadhana_app'
| [
"sumanth325@gmail.com"
] | sumanth325@gmail.com |
71278916dbae83b487e3df246eb85d8edca2919f | b9e1fd7786a0d319c36c13509a6a43704ac7dde3 | /instrumenter/bigfoot_instrumenter.py | 5b4214579d8e3b2e9121840f8dd86cef0595a545 | [] | no_license | mrchristensen/Censor | 0f5d933b8964f9ff4da74fcc476e970870ae9e79 | 51bd9de9f264545d78c03e3cb75fe1aa2a421444 | refs/heads/master | 2023-08-14T00:24:54.279892 | 2019-06-11T18:42:17 | 2019-06-11T18:42:17 | 412,233,240 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 641 | py | """Bigfoot Instrumenter"""
from instrumenter.instrumenter import Instrumenter
class BigfootInstrumenter(Instrumenter): # pylint: disable=abstract-method
"""Instrumenter that registers minimal set of reads/writes"""
# TODO set up any extra state needed for bigfoot analysis
# in __init__ method
def re... | [
"benjaminogles@gmail.com"
] | benjaminogles@gmail.com |
a07cd8b4b275543aae79e77b2d50e7a705929b97 | 74cf122ffcc6e659801bddb62255bb3513be7933 | /hackthenorth/picapp/apps.py | a08515bd21dd7cb3748619b0083a55061dd284d9 | [] | no_license | NicoleStrel/HacktheNorthArchived | 5a1a31fd981903ae88ad3ede98ec0be748c8d8b3 | 4a7dd66951db5bc3cab540098aad3f778bf400e0 | refs/heads/main | 2023-02-18T09:09:45.354707 | 2021-01-16T15:06:52 | 2021-01-16T15:06:52 | 330,084,573 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 87 | py | from django.apps import AppConfig
class PicappConfig(AppConfig):
name = 'picapp'
| [
"streltsovnicole@gmail.com"
] | streltsovnicole@gmail.com |
3bd99986bac464877fb153fbf0f5e208d0398ab1 | 6b8edda1ba02d18bb27f332eff1ac72704f986fc | /soi_bak/rasperberrypi/arduino.py | f869fd57fcc60783a0a3628053488b4a21886d32 | [] | no_license | kongdej/soi | c7940fa095accc982ff0b85dfc2e43849704c1e5 | f6cd52c1bd1b847a87156bb536aeacb23836dec9 | refs/heads/master | 2021-01-21T09:02:59.638960 | 2017-09-08T02:45:45 | 2017-09-08T02:45:45 | 101,964,697 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,433 | py | #!/usr/bin/python
import microgear.client as microgear
import time
import serial
import RPi.GPIO as GPIO
# Raspery GPIO setup
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BOARD)
relays = [29,31,33,35,37,36,38,40]
for i in range(0,8) :
GPIO.setup(relays[i], GPIO.OUT)
GPIO.output(relays[i], False)
# Arduino Serial po... | [
"kongdejs@gmail.com"
] | kongdejs@gmail.com |
42c40f40eb83c262bfe63c399e68cb393dc3950e | 3199d6fa8bc813969276e24e8ed02e6f5865270a | /contours_from_images_basic.py | 1fcbe2fce83c5e2c7d20cb3f7066b399dd394223 | [] | no_license | jeffreyling/cs283final | d23b7f38e4d46a7bb51366718ae520f556199339 | e01db63f6d045cc7a5037e9d9679c3719552c387 | refs/heads/master | 2020-05-18T11:56:59.333684 | 2014-12-11T04:01:11 | 2014-12-11T04:01:11 | 27,853,327 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,295 | py | import numpy as np, scipy.io
import cv2
from PIL import Image
import os
import pickle
DRAW_CONTOURS = False
path = '/Users/dna/Dropbox/waverley/Jeffrey.Ling/Work Documents/Harvard/Fall 2014/CS 283/Final project/MPEG7dataset'
os.chdir(path)
work_path = '/Users/dna/Dropbox/waverley/Jeffrey.Ling/Work Documents/Harvard... | [
"jling@college.harvard.edu"
] | jling@college.harvard.edu |
f5a18694be1ab6787636793ababa72dd6e8742d2 | c6a69de8890f8c305ef63e4c1d54e09088d3bcea | /10/CompilationEngine.py | d8fb364e7636fb65d4b2ee29808e3f2b2c25b954 | [] | no_license | JohnBii/nand2tetris-project | 9d8ddd44cbe19646ade884f44735e56d506b7dce | a2d428a3717150da37b2ba6dac30082915acb68e | refs/heads/master | 2021-04-14T09:40:21.396841 | 2020-03-22T16:28:06 | 2020-03-22T16:28:06 | 249,223,623 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 20,863 | py | def wrongE(expect, got):
raise SyntaxError("expect " + expect + " but got " + got)
class CompilationEngine:
def __init__(self, tokenizer, outputFile):
self.indentation = 0
self.t = tokenizer
self.oF = outputFile
self.t.constructor()
def nextToken(self):
... | [
"sk90liu@gmail.com"
] | sk90liu@gmail.com |
8144ebb3b0c7b13753fc4942ad35921f02119d5a | 8216c22f3d1c0de869b6f7f4b71bcda39cde57c7 | /ml/data.py | e89a1078182fed6eaaff44fcbf977080a6d77924 | [] | no_license | scottdnz/challenge2020 | 37d1062c0fc3b8f9b684796395e922cc1aa12f9c | 0d69fd27af19ecf23550cb60e0bb6b9823a9194d | refs/heads/master | 2022-12-04T18:21:41.891782 | 2020-08-24T23:25:49 | 2020-08-24T23:25:49 | 288,309,495 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 4,274 | py | import csv
from MySQLdb import _mysql
def safe_cast(val, to_type, default=None):
try:
return to_type(val)
except (ValueError, TypeError):
return default
def add_app_details(db, results):
for job in results:
jid = int(job.get("ID"))
db.query("""SELECT * FROM jobs_app WHERE JID = '%d' AND ... | [
"jonathan.remnant@objective.com"
] | jonathan.remnant@objective.com |
4a4e5bdea8de23edaf036bc86516d16341fe88d4 | 458794a353edbcc6bca7194a2b760be8ff65ad1a | /decode/PNG_tIME.py | c321b5f2c0e7deb0dc6c75c68d1a17ac66052324 | [
"Apache-2.0"
] | permissive | SkyLined/headsup | 00d9159c0f9754e5856ef76ef7a27d01a68527d5 | 8c07c0a4b90c5fad2c208a88bd2b2fc12ecadea4 | refs/heads/master | 2016-09-07T23:56:56.548438 | 2010-10-12T15:23:11 | 2010-10-12T15:23:11 | 40,093,381 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,932 | py | # Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | [
"skylined@chromium.org"
] | skylined@chromium.org |
7a6c254cbc7e0b5d94437a6f0cb3061191327052 | 5942e3e75ef7dc22a67b04fb1f12e14658a2093d | /documentation_files/platform.py | d83912b2d5f5be349492150ecc6894802fff344d | [] | no_license | the-factory/kdevelop-python | 9e94d2a4d4906a31a4d2a8a08300766e02d41a59 | 1e91f2cb4c94d9455a2ee22fef13df680aeed1ab | refs/heads/master | 2021-01-18T08:57:16.707711 | 2012-04-09T22:37:47 | 2012-04-09T22:37:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,818 | py | #!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
""":synopsis: Retrieves as much platform identifying data as possible.
"""
def machine():
"""
Returns the machine type, e.g. ``'i386'``. An empty string is returned if the
value cannot be determined.
"""
pass
def node():
"""
Returns the computer's network na... | [
"svenbrauch@googlemail.com"
] | svenbrauch@googlemail.com |
5b52140b650b1eaf1fa06ca3369752b6bba03eb9 | ef786be9b7c7145d63797cb8c351780059996873 | /watchlist_app/migrations/0001_initial.py | 76d570588a7802ab729017622b43b470dcd0ec1d | [] | no_license | nileshnagarwal/djangorest_course_sarda | 31c27ab625139f632d1121296c981c108301de70 | 933d7b5330d7fda1b17c367d30cb903543eebb02 | refs/heads/main | 2023-07-17T11:49:43.562982 | 2021-08-27T07:19:57 | 2021-08-27T07:19:57 | 394,706,946 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 617 | py | # Generated by Django 3.2.6 on 2021-08-10 07:41
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Movie',
fields=[
('id', models.BigAutoField... | [
"eternalshenron@gmail.com"
] | eternalshenron@gmail.com |
428bd78c26371e93841a86cf15ea344b9b336399 | 50d39f7a91047c7498714fd68958156320efdf5f | /cwr/grammar/record/writer_territory.py | f2dcc1c3454b7d7ebcad3fc23a15bd1c95df4167 | [
"MIT"
] | permissive | toddrimes/CWR-DataApi | a82784ec198e35ab311bf5576d31eefb9269939c | 4d9f504d9032cf1aa1bd86db6efbe26042c6a6ae | refs/heads/master | 2021-01-24T23:00:57.383927 | 2015-03-13T10:04:29 | 2015-03-13T10:04:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,830 | py | # -*- coding: utf-8 -*-
from data.accessor import CWRConfiguration
from cwr.grammar.field import table as field_table
from cwr.grammar.field import special as field_special
from cwr.grammar.field import record as field_record
from cwr.grammar.field import society as field_society
from cwr.grammar.field import writer_t... | [
"programming@wandrell.com"
] | programming@wandrell.com |
da892f7e7f17493f18e65fa0896f5b20776709f2 | 6046a90aa609949821166f615147dd13c3ecc831 | /course/interface_automation/class_0625_unittest_excel/test_cw0625_run_log_2.py | e0b63b33ecee0687144e1c553e12dd06cf3a0413 | [] | no_license | tudaozi/APITest | 9be6973a882cb959e2918450773e058544a74e55 | 4274515b4d5b7589da00eac2639d004789b236f0 | refs/heads/master | 2020-06-27T20:59:17.279477 | 2019-08-01T15:33:23 | 2019-08-01T15:33:23 | 200,048,037 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 715 | py | #!/usr/bin/env python
# coding=UTF-8
"""
@Author: STAURL.COM
@Contact: admin@staurl.com
@Project: python_full_stack_automation_test
@File: test_cw0625_run_log_1.py
@Time: 2019-06-29 22:19
@Desc: S
"""
from interface_automation.class_0625_unittest_excel import HTMLTestRunnerNew
from interface_automation.class_0625_unitt... | [
"1626202029@qq.com"
] | 1626202029@qq.com |
b4528282c5d0f3c4f595fde399e3016578457b11 | b2ff5ac2ef633e41ecec6ff7baae4b89254bf151 | /Hello_World/src/mainapp/profiles/migrations/0005_auto_20201015_1938.py | aa9304e6331f9e2da41aa37edffbcfac7c8524bf | [] | no_license | r3bunker/Python-Projects | 2bda2be348bc4e0aa530cadbf8c26a7f163bcd3f | e8742a9c5ed92424b5aeee0041e6e2267f26ccc6 | refs/heads/master | 2023-01-04T20:30:50.250655 | 2020-10-29T17:41:14 | 2020-10-29T17:41:14 | 300,012,282 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 461 | py | # Generated by Django 3.1.2 on 2020-10-16 01:38
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('profiles', '0004_auto_20201015_1913'),
]
operations = [
migrations.AlterField(
model_name='profiles',
name='prefix',... | [
"r3bunker@gmail.com"
] | r3bunker@gmail.com |
c09be5392593947bc208bbe0f96bf3347b96be9f | b2f736d922eb0bb8f1fc0dd426106ca6ea548257 | /eDobromir/eureka/admin.py | 5509fb6870e31a0ab94f8f3779e8ff739bc8980b | [] | no_license | Stefanoses/eDobromir | 95ff49e52189c9fe7825523c1fb0833ac3f9db7a | a685dd10af80acd2e552da13152f917166082a82 | refs/heads/master | 2020-07-28T04:14:23.135993 | 2019-09-18T12:59:02 | 2019-09-18T12:59:02 | 209,305,355 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 890 | py | from django.contrib import admin
from .models import Eureka, EurekaInstruction, EurekaInstructionStep
from guardian.admin import GuardedModelAdmin
class EurekaAdmin(GuardedModelAdmin):
prepopulated_fields = {"slug": ("title",)}
list_display = ('title', 'slug', 'created')
search_fields = ('title', 'content... | [
"stefan.freespace@gmail.com"
] | stefan.freespace@gmail.com |
c0e8d2a4dd57f7f8365f36b333ff42431805e131 | 6300fcf67d4fcb5387a9f0f7370a8ffe8f4097d9 | /AutoParts/Tests/account_auth/views/sign_out_test.py | 958b55a8fb6505816eee2d92d73bf3c17334b56b | [] | no_license | Borislav-source/Final-Project | e34ac1cbb71e3a32ed490361d3583c2e1e8bfbc9 | 501b258d103c2e1b8947451f4bdf750709d040fd | refs/heads/master | 2023-07-17T15:03:19.390774 | 2021-09-01T14:06:09 | 2021-09-01T14:06:09 | 393,977,540 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 319 | py | from django.urls import reverse
from Tests.base.tests import AutoPartsTestCase
class SignOutTest(AutoPartsTestCase):
def test_sign_out__if_user_is_logged_out(self):
self.client.force_login(self.user)
self.assertTrue(self.user)
self.client.logout()
self.assertTrue(self.user)
| [
"tsv.borislav@gmail.com"
] | tsv.borislav@gmail.com |
c4b8e02e5a8fc6916df1ccfb0975816db60f82f8 | a091a54aeffb93be44a9c144b4b6857085195023 | /bannan.py | 90f08d3989afa9b91c6c00b780653d12a8380da7 | [] | no_license | NanChenXue/1-100.py | 1c5e9103a5f1ffcfb96930ccef3976f91e958341 | a80720b6b3a43f06efabe4117c281cb4e13f4565 | refs/heads/master | 2023-08-21T18:07:31.651051 | 2021-10-20T03:47:44 | 2021-10-20T03:47:44 | 419,171,470 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 604 | py | import pandas as pd
import matplotlib.pyplot as plt
# df = pd.DataFrame(
# {
# "Name": [
# "Braund, Mr. Owen Harris",
# "Allen, Mr. William Henry",
# "Bonnell, Miss. Elizabeth",
# ],
# "Age": [22, 35, 58],
# "Sex": ["male", "male", "female"],
# ... | [
"2955728197@qq.com"
] | 2955728197@qq.com |
ebd5a34e37cd1a3e999bd706c4cfe2074ec7d71c | 2a6b26a6f6924b55cf01bd1c347878d69ec1a7ab | /more_on_numpy.py | 9fd1d7c2d69dd426408b5a630ec230c1a587ab8c | [] | no_license | ebosetalee/path-to-data-science | 53a6be11575c01c943fbfeacc0869fda8bb275d3 | f265d1c14e57c167912bcc18925a9f77c898fe62 | refs/heads/master | 2023-02-24T09:55:42.188901 | 2021-01-25T18:24:41 | 2021-01-25T18:24:41 | 317,281,916 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,356 | py | """
What is Numpy?
Numpy is an open source library in python that used
mathematical, statistical operations, scientificc,
engineering and data science programming.
Operations using numpy:
- calculations etc
- array function `np.array()` # Notice the difference: without commas
- shape - states the rows and columns of... | [
"princess01ella.miley@gmail.com"
] | princess01ella.miley@gmail.com |
c427dc58bfac22d488c289db1488baa39d4a7585 | ca101bfd4269632bb3a3142c9088f19881295bf9 | /laba2/mission_2_4.py | 0ffea41dd7c39244200fb184251b49b05b2d8664 | [] | no_license | ConfickerVik/home_work | 292d2ffb3c5d979f105ce5e2071cefcd5427d886 | 81ddba926ac1a36b41a13cda7582ec946c1cfb96 | refs/heads/master | 2020-07-24T23:34:23.812513 | 2019-12-07T11:03:42 | 2019-12-07T11:03:42 | 208,084,643 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 936 | py | import re
import string
class Search:
def search_sample(self, word_list, word_sample):
for word in word_list:
if word.lower() == word_sample.lower():
with open("result2_4.txt", "w") as file:
file.write(word)
print("")
if __name__ == '__main... | [
"oshepkoviktor@gmail.com"
] | oshepkoviktor@gmail.com |
127d190110247f2de3c2b5160d7fb193e4987b39 | 3b75fce289bbe0d1c4fb4b171dde7861104d9d7f | /drill/drilldeckconf.py | e5b0ddfbfaa9d0453ab3b01323dfe164625f3d77 | [
"Unlicense"
] | permissive | fletchermoore/drill | bead0efc65b078ed1c4c6de4d4b0c69697b8d7ed | 589ce36fc38b42ed89e9a99058c122dd45d52d55 | refs/heads/master | 2022-07-28T08:45:12.245603 | 2020-05-19T00:09:41 | 2020-05-19T00:09:41 | 262,845,726 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,214 | py | # copy-paste of file from qt.aqt dyndeckconf
# Copyright: Ankitects Pty Ltd and contributors
# -*- coding: utf-8 -*-
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import aqt
from anki.lang import _
from aqt.qt import *
from aqt.utils import askUser, openHelp, restoreGeom, saveGeom, sh... | [
"fletcherbmoore@gmail.com"
] | fletcherbmoore@gmail.com |
f6831d6e257111ad564803e73db4bb47ca4bdcf1 | 1a73c506a7528026f9215ccbf0bba55d4a322346 | /python/scrapy/onescrapy/onescrapy/items.py | 3c68ec12b1fbcbe6fd57290e7a41634cfc2382da | [] | no_license | clearLoveKang/myPython | c3b533553067fddaac26d5341e307b521de55944 | 33d437629db498db4e41b48cd233e81a1cb5eaaa | refs/heads/master | 2021-04-09T10:40:08.266133 | 2018-12-10T02:10:37 | 2018-12-10T02:10:37 | 125,455,226 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 278 | py | # -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html
import scrapy
class OnescrapyItem(scrapy.Item):
# define the fields for your item here like:
name = scrapy.Field()
| [
"952472388@qq.com"
] | 952472388@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.