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
5dc302b53efecf19fdd99ec5da54bce0c1043b9a
665c805ab880b244b4d9c999c8d8c006bf07701a
/store/admin.py
9fed598f8916fea3ff0c4ecd3e3359d143deb2dd
[]
no_license
I-Am-Vishal/Vrs-Blogs
9e23c10d2475c58b478c42bf5967f12f3e8141b9
f639e197503f523d71eec2adba05332b6a6a4390
refs/heads/master
2023-08-06T12:23:12.738464
2021-09-30T06:33:30
2021-09-30T06:33:30
411,947,719
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
from django.contrib import admin from .models import (Customer,Product,Order,OrderItem,ShippingAddress) # Register your models here. admin.site.register(Customer) admin.site.register(Product) admin.site.register(Order) admin.site.register(OrderItem) admin.site.register(ShippingAddress)
[ "rajvish7566@gmail.com" ]
rajvish7566@gmail.com
1572c366875a4642b2d7c21bfb9f74157e01ed4a
7848f98dec83fe6a27a463692dc6d4391d5962be
/gen_pass.py
4e8bb4876d264bf9fc11cb9e9fd0c10f751d1ee2
[]
no_license
BlitzYp/password-manager
838e3485ae57b093dcf087d31d45965d73818168
1a03d4c84ff2e791183bae25cdb878617c2d5bae
refs/heads/main
2023-05-28T10:13:18.051370
2021-06-04T20:39:45
2021-06-04T20:39:45
371,749,483
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
import random letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'] numbers = ['0', '1', '2', '3', '4...
[ "noreply@github.com" ]
noreply@github.com
0735d7763173df54da284bebf061ef6586bbd1ff
baba754eacbefa362ff11059f94400502dfc41da
/Card.py
59182ba47ca7cafe8902510754f0f9a94f22fe51
[]
no_license
gdennany/Intro-AI-Final-Project
1085d2ee02d28420a0c4d34fe57ed62af017c6e8
30c70a83e787a4e5c80ac4427592d9a2bd977e8d
refs/heads/master
2020-11-27T13:34:40.255111
2020-02-21T22:12:57
2020-02-21T22:12:57
229,464,259
1
0
null
null
null
null
UTF-8
Python
false
false
910
py
# B351 final project # Author: Boqian Shi, Sophia Beneski, & Grant Dennany # This class is the structure of the card class Card: def __init__(self, number, suit): self.number = number self.suit = suit # return the number of this card def get_number(self): return self.number #...
[ "gdennany@purdue.edu" ]
gdennany@purdue.edu
73528effd3405cec4c0c31ee4b91dc01f9668e5d
4cb6d1f2ca29e8bfdb491d38e88f91cbdf3c5572
/app/views.py
c7b6694cddf0e5cf5aa5a82443f49a32c860ff01
[]
no_license
Shreya027/Helper-Tool-for-the-aged
cf23cf2569c6613a1b94997f5bb7df2842472308
dcc3138dd8e3acb068baf54c581539289d9e3545
refs/heads/master
2022-03-13T05:07:34.813546
2019-09-07T11:31:02
2019-09-07T11:31:02
69,998,106
1
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
from django.shortcuts import render from app.models import Link # Create your views here. def index(request): return render(request,'index.html') def events(request): return render(request,'events.html') def about(request): return render(request,'about.html') def ent(request): return render(requ...
[ "shreya_naik@Shreyas-MacBook-Pro.local" ]
shreya_naik@Shreyas-MacBook-Pro.local
a8cbc3f0aa3f853cbffa3e982adbf90c3358c8c6
204508edbce606b9235d97a1eea1384eab952f17
/3day/example_12.py
68d946b967ac885b80e8cf584ec8356171cd3877
[]
no_license
kang9317/python3_ICDL
7008fc62cc5fa1b567d53c7e4e97b93934227823
db9d3741f4dfe8721399e71cb446c2a18f53a524
refs/heads/master
2021-08-22T21:55:38.113595
2017-12-01T10:47:29
2017-12-01T10:47:29
111,400,101
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
print(""" ============================== %15s ============================== 제목: %s 가격: %d 설명: %s """ % ('컴퓨터 개론','컴퓨터 개론',20000,'컴퓨터의 기초에 대해서 설명하고 있다.'))
[ "noreply@github.com" ]
noreply@github.com
b5154d3b28de342ab35f9722751bd5bfdef085e3
3d438e0df8c66b8cc3c846d570fe4ed8867314b7
/lookups.py
48cbf7dcba67afcd3b1b4609a8794e26a5d62fab
[]
no_license
patrick112358/volume_ai_analyzer
73b341ec470d9d6b1758e1836c50aed3063ed6a3
881c68dcf542225eba0a742a617cd6f949ffd549
refs/heads/master
2020-12-26T08:52:19.110395
2020-01-28T13:52:01
2020-01-28T13:52:01
237,454,999
0
0
null
2020-01-31T15:12:59
2020-01-31T15:12:58
null
UTF-8
Python
false
false
721
py
from enum import Enum class ModelType(Enum): YOLO = 1 YOLO_TINY = 2 RES_NET = 3 class DetectionSpeed(Enum): NORMAL = "normal" FAST = "fast" FASTER = "faster" FLASH = "flash" class ClassType(Enum): CLASS_A = "SMALL" CLASS_B = "CAR" CLASS_C = "BIGGER CAR" CL...
[ "noreply@github.com" ]
noreply@github.com
0f167f765247de1c9e3d36d42acae20c7e8a161d
f1b7fb014b2646c66a19b942ad47f6772bf681f1
/apitools/gen/gen_client_lib.py
9e23485312244cd24ec51027d207935f9c852351
[ "Apache-2.0" ]
permissive
rrnewton/apitools
1e0132efb4dd05a9daa4cb9e853b3b8ef580973d
498872fb4877fb309e3ad2e753efe20ec296524c
refs/heads/master
2021-01-17T21:22:22.460102
2013-10-21T08:12:20
2013-10-21T08:12:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,792
py
#!/usr/bin/env python """Simple tool for generating a client library. Relevant links: https://developers.google.com/discovery/v1/reference/apis#resource """ import json import logging import urlparse from apitools.base.py import base_cli from apitools.gen import command_registry from apitools.gen import message_re...
[ "craigcitro@google.com" ]
craigcitro@google.com
4b30a25b385385c71e8926fa718c40be8aa20a05
8b5ca1c63102a7ae0d13d804557a8e3e653e7a94
/src/epp/ui/create_saver_ui.py
c33189ed8ef32a712a3bfd569a8a2cd36231a9ac
[ "BSD-2-Clause" ]
permissive
museroom/epp
9ddc3ab0d52a2f5a66cc85d3dd5dd6875851d5e3
a7d1f2463e45f44c59b0856b44528f915ac43fd2
refs/heads/master
2021-01-16T19:53:50.870905
2013-06-18T17:16:03
2013-06-18T17:16:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,354
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'D:\eyeon\repos\epp\src\_ui\create_saver.ui' # # Created: Fri Mar 01 13:01:15 2013 # by: pyside-uic 0.2.14 running on PySide 1.1.1 # # WARNING! All changes made in this file will be lost! from PySide import QtCore, QtGui class Ui_dlgCr...
[ "private@bfloch.com" ]
private@bfloch.com
c2615df1c73b8edf1406f870f6e2f819b8bd4f9f
25d4c31d5ebe470118b14beb84f3cd1e53d99c15
/01_Tutorials/Udemy Kurs Ehical Hacking/06_Praxisprojekt_Firefox_Daten_auslesen/48_Profilordner_Firefox_Alle_OS_Call_function.py
a59ecffd3590e860a7e464367aafb21873f9b8a1
[]
no_license
daltdoerfer/Python_Templates-1
ea4b59489feb7b7617e81b7c94d4375dbf25def3
c2471cebeaf20bbfdfd3fd263d458e5a67ad8d1e
refs/heads/master
2023-05-10T15:07:10.109280
2021-06-08T06:45:53
2021-06-08T06:45:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
# Doku places.sqlite https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Places/Database # z.B: Bookmarks in moz_boookmarks import os import sqlite3 # Datenbankspaket zum auslesen der Datenbank import pandas as pd from get_firefox_path import get_firefox_path # Alternativ: import get_firefox_path as gfp # -> Hier nüs...
[ "daltdoerfer@yahoo.com" ]
daltdoerfer@yahoo.com
0ec4a9ef8efd77219754a27e4cab6eb9619289e7
7e1915602b2a7d3625369ed0deec8e19953290df
/mysite/blog/models.py
6172d63a8e42fd3666fadda2f8a3fe2403529718
[]
no_license
Nath05/my-first-blog
ca3eecca30aaba275c6bbd2aaa68da67d0a518a5
a7edcb2b80f35f6c7faefb8508f616d5034a6090
refs/heads/master
2021-01-22T01:14:17.002667
2017-09-02T22:09:40
2017-09-02T22:09:40
102,213,143
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): author = models.ForeignKey('auth.User') title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField( default=timezone.now) published_dat...
[ "nathy.cumbicos@gmail.com" ]
nathy.cumbicos@gmail.com
21cc562421e8537b6b2c0fd36c4bed6b83717e85
b4a3fa31790cd6cc531439ceebf327bf5b23ff9d
/星光大道.py
3af48be0230640b86bfe6538908a09c9a14c6861
[]
no_license
hiouo/Python-Minecraft
b3f24694d5d08577c234ea715db4c3ab32378495
2eca7d2622e84a709ea2230edcd01c1888669ff7
refs/heads/master
2022-11-23T21:38:35.019160
2020-07-30T08:53:51
2020-07-30T08:53:51
283,154,441
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 29 13:41:00 2020 @author: appedu """ from mcpi.minecraft import Minecraft mc = Minecraft.create() x,y,z = mc.player.getPos() for i in range(20) : mc.setBlock(x+i,y-1,z+i,46) mc.setBlock(x+i,y-1,z+i+1,46) mc.setBlock(x+i,y-1,z+i+2,46) mc.setB...
[ "noreply@github.com" ]
noreply@github.com
9da2c5bec7e7fdc84f23405c7f408d367734a31e
a7624c6e0c827c19ba47586e801159a1e1c11c3f
/gen_testset.py
7360520040dd3fa5f2f64638390724ac6e1d2ec2
[]
no_license
khanhbrandy/vnmese_name_correction
a727fba1f806e400dac17b6f439ec5a2b12e117b
5f7eeffaf4b981894dae4d9269317f12e8e3df46
refs/heads/master
2022-12-20T06:52:45.031625
2020-06-08T09:34:45
2020-06-08T09:34:45
264,075,396
0
1
null
null
null
null
UTF-8
Python
false
false
884
py
""" Created on 2020-05-15 """ import os.path import pandas as pd import pickle def get_data(directory, filename): file_path = os.path.join(directory, filename) names = pd.read_csv(file_path, sep = '|', header = None, encoding='utf8') GT = names[1].map(lambda x: x.replace('GT=','').strip()) PR = name...
[ "khanh.brandy@gmail.com" ]
khanh.brandy@gmail.com
96e4a464f28ea32ea10659b96280a779800c24fe
1f3ae1ea365821d1be66702cbd1b9d7e6f93ffd6
/test.py
6486fbefe735856e64b746b1830c65c602a7f67c
[]
no_license
SyedaArshia2021/simplyfi_projects
f6002270119335ed277f49f6d7f536d8b3bdabeb
e0902f70a8c5665b310b49d2f394135d112853be
refs/heads/master
2023-04-22T04:08:46.190543
2021-05-13T07:40:13
2021-05-13T07:40:13
335,396,058
0
1
null
null
null
null
UTF-8
Python
false
false
428
py
from urllib.request import urlopen from bs4 import BeautifulSoup import unittest class Test(unittest.TestCase): bs = None def setUpClass(): url = 'http://10.0.2.15:8082' Test.bs = BeautifulSoup(urlopen(url), 'html.parser') def test_titleText(self): pageTitle = Test.bs.find('h1').get_text() ...
[ "noreply@github.com" ]
noreply@github.com
7d93c02984a1e62a56c2f10b07b6d92a5d26d02b
ebfb91c00e53f811b696173c868ca74e6dc63c44
/ServerREST/venv/bin/rst2xml.py
10e4008ac6f1e28ce2ba77613505cdb3861eb995
[]
no_license
osvaldo14/IoT_basics
970fc005e0ff61708536eb4827d10b1849785a53
98234a08d0d9c5099431ad62391850c1e1194259
refs/heads/master
2020-08-30T03:57:15.124710
2019-10-29T09:54:22
2019-10-29T09:54:22
218,254,841
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
#!/home/itopie/PycharmProjects/ServerREST/venv/bin/python # $Id: rst2xml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Docutils XML. """ try: import lo...
[ "osvaldo" ]
osvaldo
bd5e4997bb0c3e02480b1d1c0c9fa0581edf3442
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/davison.py
c3e85a811b86444a5ada880723d58cfd45457d4f
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
238
py
ii = [('WilbRLW4.py', 1), ('PettTHE.py', 3), ('ChalTPW2.py', 1), ('GellWPT.py', 2), ('ClarGE2.py', 2), ('GellWPT2.py', 1), ('FitzRNS4.py', 1), ('RoscTTI.py', 1), ('JacoWHI2.py', 2), ('JacoWHI.py', 1), ('ClarGE3.py', 1), ('RogeSIP.py', 2)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
42bdef0732d27f0abddd55debe105b004788c027
cd472119f57925d9fd38b7b072f5105f700dc0eb
/python_matplotlib_1.py
7ada767f6d7c12bd1a5adfacfc4fe47e663224ce
[ "MIT" ]
permissive
Yash0411/SDL-Assignments-TE-Comp
72814ec5595351d9daa1fbc5bc9558ba3468bd61
95e1d4214d8cc810a244da669bf0e58646bab31d
refs/heads/master
2023-01-06T23:50:21.781178
2020-11-08T09:38:50
2020-11-08T09:38:50
288,430,800
0
0
null
null
null
null
UTF-8
Python
false
false
2,530
py
# TECOB220 # Yash Morankar import matplotlib.pyplot as plt import numpy as np import csv # write Data into CSV file # Scatter Plot Unemployment_Rate = [6.1,5.8,5.7,5.7,5.8,5.6,5.5,5.3,5.2,5.2] Stock_Index_Price = [1500,1520,1525,1523,1515,1540,1545,1560,1555,1565] data = list(zip(Unemployment_Rate, Stock_Index_Pric...
[ "noreply@github.com" ]
noreply@github.com
4e8fe283bbf0aeb85edf719255144a710ac71c4a
5cdeadb7e999903306f3c37ad1f37dee02193275
/eldora_script.py
7a6bef6a1143359822a2c56f4a3ef496698cd05b
[]
no_license
austinsteamboat/eldora_project
368ebdce95630673553e625a86cfeb28c21f7bee
3bc7ded1381f0a44a8308edc8beb9328c303fb12
refs/heads/master
2021-01-25T10:43:45.720094
2015-02-28T23:24:32
2015-02-28T23:24:32
31,478,319
0
0
null
null
null
null
UTF-8
Python
false
false
2,687
py
import urllib import time import datetime import smtplib # from __future__ import print_function # Begin Helper Functions # Update Next Check Time def get_next_time(): seconds_in_day = 86400 cur_time = time.time() tomorrow_time = cur_time+seconds_in_day t_tomorrow = time.localtime(tomorrow_time) #...
[ "austin.m.anderson@colorado.edu" ]
austin.m.anderson@colorado.edu
625bb4a31024f640e7fa7266eb4f851d90565495
09c6bfa90fb6aef6282e85dcd77fc1c723da8276
/thesis/feature_extraction/handcrafted.py
87791047b9c88d3fc4a615eeb92e249643550525
[ "MIT" ]
permissive
crscardellino/thesis
d3a88945374264ee0f564757569d14d4a61befcd
079649cee05c1f6aa6b533ef4a41e6658b29b324
refs/heads/master
2021-01-12T03:32:44.523436
2017-09-19T13:00:57
2017-09-19T13:00:57
78,228,145
0
1
MIT
2018-09-13T16:36:30
2017-01-06T18:16:23
Python
UTF-8
Python
false
false
6,459
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import numpy as np from collections import defaultdict from itertools import chain from sklearn.feature_extraction import FeatureHasher _NOT_VALID_DEP_RELATIONS = {'modnorule', 'modnomatch'} class HandcraftedFeaturesExtractor(object...
[ "crscardellino@gmail.com" ]
crscardellino@gmail.com
92db94bc10a440740bf4ed75aa1dddc131fbe499
f806a26061471ec9d417fa74e71422b172b082e5
/blog/tests/test_models.py
fffc2b0656b099f45595e14f9150831ae350f508
[]
no_license
ellisist/simple-django-blog
3ae500f8cb50adc484651090ddd144b26ca5249d
567e2e4e46c01e6ea2063fcaed13581d7a40c44d
refs/heads/master
2020-03-11T20:31:46.129497
2018-04-24T20:11:31
2018-04-24T20:11:31
130,238,719
0
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
from django.test import TestCase from django.contrib.auth.models import User from blog.models import Author class TestAuthorModel(TestCase): def setUp(self): test_user1 = User.objects.create_user(username="testuser", password="pass@1234") test_user2 =...
[ "matt.ellis012@gmail.com" ]
matt.ellis012@gmail.com
0449d4c62ddb39cc85b3001fb43a97131e558164
d2094d50b21c95c8ddab2700783c88e306fa408a
/TP1/exo1/exo1.py
8dbe5b4502fb716fd880da0cf6d099891bf981d7
[]
no_license
kiragaara/progres
5e25328ae6bd389f4281dbde71eb9008511fcd67
13212f410ce755a9be5c6f782a02e6cc014c0b21
refs/heads/master
2021-05-02T18:23:43.254863
2018-02-17T20:39:21
2018-02-17T20:39:21
120,662,528
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
#/usr/bin/python3 from socket import * import time if __name__ == '__main__': serverName = "10.4.0.7" serverPort = 8081 clientSocket = socket (AF_INET,SOCK_DGRAM) try : message = "azeaze" t = time.process_time() clientSocket.sendto (message.encode('utf-8'),(serverName,se...
[ "root@kira-SATELLITE-L50-B.lan" ]
root@kira-SATELLITE-L50-B.lan
2161634a0e2af1ab9faf5d212a1b368ac877045f
4bb4a2af036356c589f5861eb5b8032f564ab5c5
/BHP/server/util.py
6668426c3eae8b75268bc552c654e06209624f13
[]
no_license
yash1311/Projects
62e6bc33bfaf05dc2daf0791be3221a837d77c19
2e28d9ca95e2f2d4adf3988233e54259530d06f6
refs/heads/master
2023-02-28T03:02:31.595904
2021-02-02T11:33:46
2021-02-02T11:33:46
334,487,605
0
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
import json import pickle import numpy as np __locations = None __data_columns = None __model = None def get_estimated_price(location,sqft,bhk,bath): try: loc_index = __data_columns.index(location.lower()) except: loc_index = -1 X = np.zeros(len(__data_columns)) X[0] = sqft X[1] ...
[ "yashpatel0013@gmail.com" ]
yashpatel0013@gmail.com
9f07bc70a10e986a92fd1741d57c4a3290de1e6f
4dc0357a3995460947225653453caf0af9636ae1
/myblog_post/migrations/0003_auto_20171020_1033.py
003ef8ec54bf719279a2afe48140f5307ccae1b4
[]
no_license
justcodedroid/mybog
cc5e532767405e92e2e541e7662866e6f14c48a4
5d10af715064d7755471130a9286801fa516f8b7
refs/heads/master
2021-08-08T10:03:37.298287
2017-11-10T02:55:59
2017-11-10T02:55:59
107,665,745
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-10-20 02:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myblog_post', '0002_post_content'), ] operations = [ migrations.AlterField( ...
[ "justcodepy@gmail.com" ]
justcodepy@gmail.com
bf37e282c19f3ab33b7c956f5dedfcec75a0150e
e4516bc1ef2407c524af95f5b6754b3a3c37b3cc
/answers/leetcode/Reverse Nodes in k-Group/Reverse Nodes in k-Group.py
61359d0c9f51bbab0b11cde5816d9d7b1e9a354d
[ "MIT" ]
permissive
FeiZhan/Algo-Collection
7102732d61f324ffe5509ee48c5015b2a96cd58d
9ecfe00151aa18e24846e318c8ed7bea9af48a57
refs/heads/master
2023-06-10T17:36:53.473372
2023-06-02T01:33:59
2023-06-02T01:33:59
3,762,869
4
0
null
null
null
null
UTF-8
Python
false
false
841
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def reverseKGroup(self, head, k): """ :type head: ListNode :type k: int :rtype: ListNode """ current...
[ "dog217@126.com" ]
dog217@126.com
4e10eac91084153cc536425f96e080401d2b33d9
6679fd1102802bf190294ef43c434b6047840dc2
/openconfig_bindings/bgp/neighbors/neighbor/graceful_restart/config/__init__.py
9dc0f15194dac761e4f0d1481680c9a59d024546
[]
no_license
robshakir/pyangbind-openconfig-napalm
d49a26fc7e38bbdb0419c7ad1fbc590b8e4b633e
907979dc14f1578f4bbfb1c1fb80a2facf03773c
refs/heads/master
2023-06-13T17:17:27.612248
2016-05-10T16:46:58
2016-05-10T16:46:58
58,091,515
5
0
null
null
null
null
UTF-8
Python
false
false
14,255
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "rjs@jive.com" ]
rjs@jive.com
62b9b76e0db18717aa702f85a3dd9c2662d7f75e
d555fdf4b2bb807e93b6562a7e19f49ba294109c
/BurgerApi/views.py
a558b8573204d57ec295c9f5e68ad8a2deeb2464
[]
no_license
touhidulislamkhan/BurgerBuilder-backend
2a94377a4ffa51976b421812b12a0d8c8b9eccf1
da39b17e6f7244e7c94c09d843496ca85e32fbf5
refs/heads/master
2023-04-14T14:18:08.661013
2021-04-23T20:46:40
2021-04-23T20:46:40
361,004,565
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
from django.shortcuts import render from rest_framework import viewsets, permissions from .serializers import UserProfileSerializer, OrderSerializer from .models import UserProfile, Order # Create your views here. class UserProfileViewset(viewsets.ModelViewSet): serializer_class = UserProfileSerializer quer...
[ "touhidikhan0@gmail.com" ]
touhidikhan0@gmail.com
64ac3dd167397bcf6a754ed61cb273e26ff28706
a26c6a4ed61440b3b62771aeea31ef467f51fab3
/trainNetwork.py
bd46d65b08ff7ff50a4c91ffbb0af14f9e828954
[ "MIT" ]
permissive
pcorrado/DL-Vessel-Localization
929b47d710718fb7b824e99c5c34de696a77b272
0d5658e7b50ac162b7301515ea1a9f31bc4415a8
refs/heads/master
2023-06-24T23:20:02.720783
2021-07-16T19:41:30
2021-07-16T19:41:30
350,889,056
4
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
import sys import os import csv from math import sqrt import numpy as np import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers from common.utils import readPlaneLocations import OneShotCNN.Model as oneShotModel import ReinforcementCNN.Model as reinforcementModel import OneS...
[ "pcorrado2@wisc.edu" ]
pcorrado2@wisc.edu
f43f62b75be3669fa13fd546a3da7b28077e0652
735d5609e9cefae7b9d78cb9f13b8ad72924923e
/DashboardUtilities/DashboardUtilities/urls.py
27f1ddd89a31f1e8d916b796402d34c9bb263d18
[]
no_license
prateek-iiitd/energy-dashboard
239a4d8b71b492551765e61ec4d7923277877bbf
8edb6ed58c8775e5cb4ead5d224135847aae9de9
refs/heads/master
2021-01-02T23:14:44.070488
2014-04-05T14:00:59
2014-04-05T14:00:59
11,561,642
1
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
from django.conf.urls import patterns, include, url from RateChangeUtility import views # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'DashboardUtilities.views.home', name='home'), # url(r'^Dash...
[ "prateek11077@iiitd.ac.in" ]
prateek11077@iiitd.ac.in
d6ce039183ab3fb9b81c9fe4d0ca0001ead03c91
5fe8980a3b3012e478e7626c9005b0a31d8c2f76
/daily_hw/1979 어디에 단어가 들어갈 수 있을까.py
f364aaccf518114cf409473264143fc2aa693c10
[]
no_license
hsy118/TIL_algorithm
759c184045a55d3ffdb76221e72b58a8dd7a4d9e
cbfe3462be0ad4bc6c4156ca7cfcd9418c2edb82
refs/heads/master
2023-01-09T12:40:34.802595
2020-11-02T09:58:22
2020-11-02T09:58:22
293,713,613
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
T = int(input()) for tc in range(1, T+1): N, K = map(int, input().split()) arr = [list(map(int, input().split())) for _ in range(N)] word = 0 count = 0 #가로 for i in range(N): for j in range(N): if arr[i][j] == 1: count += 1 elif arr[i][j] == 0: ...
[ "hsy118@hotmail.co.kr" ]
hsy118@hotmail.co.kr
6ebfb1d8575ea8abb1779ea8c6589cce50ae0ce0
9f22e75b7e15df15198063f73b126d5219bed754
/venv/Scripts/pip3-script.py
173055ee2946911d969ceb38d4cc98e42908d8c9
[]
no_license
MoisesMondragon/aprendiendo-error
2e77f8b0cf90a03b16dc025413e04c076255b2f2
4d5ec2ea44b9d7073eea97b8513659099f2dc67f
refs/heads/master
2020-03-29T12:53:05.823730
2018-09-21T15:41:28
2018-09-21T15:41:28
149,925,687
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
#!C:\Users\DAVID\PycharmProjects\Memoria_Dinamica\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __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)?$', '', ...
[ "moisesmondragon600@gmail.com" ]
moisesmondragon600@gmail.com
588febfa722b31897bf3d467b92e6075fff0bc42
f40eb34809b736bfa5be77f599de9b2268374e97
/src/transfer_factory.py
fb846b1bffafec5c9f68c1ed35c89efc28c077bf
[]
no_license
manjavacas/sistemas-distribuidos
67627f018230da67c293d17cb62e3606baf671c9
592cdbaee43592a2b932648b1549829392666b21
refs/heads/master
2022-04-01T23:29:00.170149
2020-01-16T19:24:24
2020-01-16T19:24:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,185
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' File transfer factory ''' import binascii import sys import os import Ice Ice.loadSlice('trawlnet.ice') import TrawlNet DOWNLOADS_DIRECTORY = '/tmp/trawlnet_cache/downloads' class TransferServer(Ice.Application): ''' Transfer server ''' def run(...
[ "Antonio.Manjavacas@alu.uclm.es" ]
Antonio.Manjavacas@alu.uclm.es
e9a3a151af43d1676b0769b79a57bf27a1e18850
aa2dd16890366264aeb97d6f61004e1e38d09217
/TaniaFoto/apps/gallery/migrations/0002_auto_20191002_2127.py
4843dbb5c6afd3c8a400c7025255217300b6889d
[]
no_license
strelss/Foto_Strela
5cc2faabc942729d55f87326c48428bc5dd32c05
ec88ec2f15dbdec393837238fd3c22d7d830aa6e
refs/heads/master
2020-08-05T15:18:08.196562
2019-10-03T14:13:40
2019-10-03T14:13:40
212,593,184
0
0
null
null
null
null
UTF-8
Python
false
false
3,979
py
# Generated by Django 2.2.4 on 2019-10-02 18:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gallery', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='gallery_famyly', options={'verbose_n...
[ "pravohranitel@yandex.ru" ]
pravohranitel@yandex.ru
8059e2221a6b3e4b92c235ed1583b765ddf5db0e
1f2a4e6127ceb0f8581f0f028085650d23fe95e6
/tokenizer.py
7ba7cea63c57c226bacf7e4970322226c5cfdb96
[]
no_license
jaskaranbhatia/Disaste-Response-Classifier-Pipelines
ac7b6940e81607686bd22592961dbf48039df6dd
134e13ff680ea353ba10e33e11475fd677b3132f
refs/heads/master
2023-09-04T23:03:27.511720
2021-11-21T07:04:08
2021-11-21T07:04:08
430,192,227
1
0
null
null
null
null
UTF-8
Python
false
false
814
py
from nltk.stem import WordNetLemmatizer from nltk.tokenize import word_tokenize import re import nltk nltk.download('stopwords') from nltk.corpus import stopwords def tokenize(text): """ Tokenizes text data Args: text str: Messages as text data Returns: words list: Processed text after normali...
[ "jaskaransingh.singh77@gmail.com" ]
jaskaransingh.singh77@gmail.com
936742f5c3bf01bf8c2a49de4f83366f6d456f01
9d8d4d5cd8adcb2b6a0ff1555a74d41eb1ae57a8
/DES/funzioni.py
f3616fa1a6b1dcf0f3e0e24ee635a6dcddf0f6aa
[]
no_license
francescoBassi2002/SISTEMI
44e27d858c938a0512c0cb0431440505f4154319
b7b0cfd9e29211ff20ebe68b084a236112773005
refs/heads/main
2023-03-12T13:46:59.559034
2021-03-04T14:48:25
2021-03-04T14:48:25
344,507,943
0
0
null
null
null
null
UTF-8
Python
false
false
3,254
py
import socket as sck N_chiavePubblica_passaggioChiavi = 9973 g_chiavePubblica_passaggioChiavi = 9949 def passaggio_key_invia(N,g): ip = '127.0.0.1' port = 8080 s = sck.socket(sck.AF_INET, sck.SOCK_STREAM) s.connect((ip,port)) while(1): a = int(input(f'inserisci a (minore...
[ "noreply@github.com" ]
noreply@github.com
84106aaad3865ec294af88fd2510184e956d3c23
a409b3035250c8625c71a7d77b93a9812f144cae
/tests/helpers/schemas.py
19780c5fcf02925d2802c25dcb7739cb302959c4
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
ourresearch/jump-api
b1f11b55b435a631b33218db37b146ff9d5b735a
4d491c784336e5d493c0bc82df59e6ebe9fd5d11
refs/heads/master
2023-05-13T03:54:10.809858
2023-03-08T22:12:46
2023-03-08T22:12:46
217,143,818
19
2
MIT
2023-05-01T23:29:41
2019-10-23T20:06:13
Python
UTF-8
Python
false
false
13,347
py
from marshmallow import Schema, fields class ScenarioDetailsJournalsSchema(Schema): top = fields.Dict() fulfillment = fields.Dict() apc = fields.Dict() cost = fields.Dict() debug = fields.Dict() impact = fields.Dict() num_papers = fields.Dict() num_papers_forecast = fields.Dict() oa...
[ "sckott@fastmail.com" ]
sckott@fastmail.com
dc9b6e85ac1f989b9e3c27186d6573723bb92abf
6d42c3fe34012b22f8e7828310694d579da29e9d
/polynomial.py
efa7bf55efa98a3897b8676759de4fe6f8f4e807
[ "MIT" ]
permissive
sarthak25/Regression_ML_Models
860e5131d00aa6a6a4258ad39adf0769dbaa9f1b
5f0b963cf592ffcb56be8150b6b01f5a53a160cb
refs/heads/master
2021-07-15T22:15:32.751463
2020-06-02T17:14:59
2020-06-02T17:14:59
163,104,108
0
0
null
2019-10-26T22:38:49
2018-12-25T18:34:53
Python
UTF-8
Python
false
false
2,182
py
# Polynomial Regression # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Position_Salaries.csv') X = dataset.iloc[:, 1:2].values y = dataset.iloc[:, 2].values # Splitting the dataset into the Training set and T...
[ "noreply@github.com" ]
noreply@github.com
323426e2d6454bbf5d729fdaf61c78754843f0b6
a2b2842d81e1aa9e8540b2bee941fdb10ad0d3e6
/purbeurre/admin.py
bde5d921bb8317c7c2d54154ce759902492d3053
[]
no_license
shequet/PurBeurre
8cc2a864f508d5d19d26c734f8e86426c23ff1aa
b0e32a44f94363a7a47406e4314e1c5e1ada633b
refs/heads/main
2023-04-11T01:48:39.561941
2021-04-19T18:50:48
2021-04-19T18:50:48
328,472,898
0
0
null
2021-04-19T18:50:49
2021-01-10T20:28:56
CSS
UTF-8
Python
false
false
429
py
""" Used to register models into admin view """ from django.contrib import admin from . import models class ProductAdmin(admin.ModelAdmin): """ Admin product """ search_fields = ['name', 'code', ] admin.site.register(models.Product, ProductAdmin) class CategoryAdmin(admin.ModelAdmin): """ ...
[ "shequet@gmail.com" ]
shequet@gmail.com
d9a7f7e7bc166bb6f1556dbcbf9c4e875c736b66
e4dd3e5d76073b2ba2c8a06a713582a7b8fd6983
/eveauth/models/role.py
2bf7e073cbbce0bddcd8bc43d7af18ff587e8483
[]
no_license
extraquoo/avrse-auth
792f1f217c682dfdace1467d81f2225976078750
5c94ac5e61954e37cc52dda0e884977b01eeff2a
refs/heads/master
2020-05-20T00:24:58.466016
2018-10-17T22:40:53
2018-10-17T22:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
from django.db import models from .character import Character class Role(models.Model): character = models.ForeignKey(Character, related_name="roles") name = models.CharField(max_length=128, db_index=True) def __str__(self): return "%s on %s" % (self.name, self.character.name)
[ "skylinerspeeder@gmail.com" ]
skylinerspeeder@gmail.com
965bc7e325875ed234ebf3d269bc9a012f110885
c987e888b0ccd9051e26335b3641cbd80aa14e2a
/tests/circular/template/test_context.py
5db0e9c17d97674ab5b8c8d6f013bfc57113b782
[ "MIT" ]
permissive
jonathanverner/circular
fa47eef5f2914da8540d0c0c50f3fe5d2d87d598
e29bb9cc846566943febd8ba85104d796943819c
refs/heads/master
2020-12-04T11:49:48.587539
2017-08-17T11:12:58
2017-08-17T11:12:58
66,577,154
7
2
null
null
null
null
UTF-8
Python
false
false
882
py
import asyncio import pytest from src.circular.template.context import Context def test_extension(): base = Context() base.a = 10 base.c = 30 child = Context(base=base) # Child should have access to parent assert child.a == 10 # The _get method should work for accessing parent asse...
[ "jonathan.verner@matfyz.cz" ]
jonathan.verner@matfyz.cz
2fa976110420da0fb716332293445a4641ea489f
579087d8b93d9a999d1f63215eb9a1333d8e31c2
/createMatrix.py
fecdaa53f058545888e79c949748c73fa08729a3
[]
no_license
SaVa111/LSA
d82bb1047213c3716ce6d7f1808ad992866bb58f
e77c198966cd231dc6ce863411afbbf455624e4f
refs/heads/master
2020-04-17T23:35:12.776117
2019-01-22T21:53:58
2019-01-22T21:53:58
167,041,208
0
0
null
null
null
null
UTF-8
Python
false
false
1,544
py
import os import math import numpy as np import numpy.linalg as linalg import matplotlib.pyplot as plot loadpath = 'F:\\LDA\\formatatednews\\' items = os.listdir(loadpath) files = [] for name in items: if name.endswith(".txt"): files.append(name) f = open('F:\\LDA\\dict.txt', 'r') text =...
[ "noreply@github.com" ]
noreply@github.com
1f13c9a6851e201ce77d18d72a179309527f0a64
59c603a1066219f35aaf3948990c24a2d4c85ba8
/LTDE/EcoPlates/Python/getData.py
438890761d750bd0d1322a9e577e7de3d2bf143f
[]
no_license
MURI2/Task2
8a0e2cdbb968fc766d662914cc11d8e165d1e74f
40d28969165d33d336ac99c8034d79e79f39d33c
refs/heads/master
2021-07-05T14:33:55.640633
2020-08-21T01:59:17
2020-08-21T01:59:17
40,257,657
0
4
null
2020-08-21T01:59:22
2015-08-05T16:58:08
Python
UTF-8
Python
false
false
4,195
py
from __future__ import division import pandas as pd import os, re # read it in, reshape to a 3 x 32 matrix and spit out as a .txt file mydir = os.path.expanduser("~/github/Task2/LTDE/EcoPlates/") def rawToLabelles(strains): resources = ["Water", "Pyruvic.Acid.Methyl.Ester", "Tween.40", \ "T...
[ "shoemakah@gmail.com" ]
shoemakah@gmail.com
3bac30346127c0b3168d94d1fec21f106be62ccd
da6863c90ee854ceba9ae4f4d75c2c04df394dfd
/contest/January/check.py
692268a2904c450e1fedda8e4b241719e3c0cbf1
[]
no_license
iamrakesh28/Competitve-Programming
a9db8df3d4a90ea34bad982a5c9ff90da4f9708e
c7aec676acfee8d506e5cfbbd010bdb913d880e4
refs/heads/master
2021-06-11T03:27:31.364670
2021-04-04T11:54:55
2021-04-04T11:54:55
180,629,170
1
0
null
null
null
null
UTF-8
Python
false
false
185
py
file1 = open("1.txt", "r") file2 = open("2.txt", "r") data1 = file1.readlines() data2 = file2.readlines() for i in range(len(data1)): if data1[i] != data2[i]: print("ERROR") break
[ "111701024@smail.iitpkd.ac.in" ]
111701024@smail.iitpkd.ac.in
c465e6a5a2a84300e357330fad02f32ef8990b88
db78741cfea17372f31b04fe41512160b6d24204
/server/api/watchlist_routes.py
6b4da8856c1dd04c940e0ccc2d0a2a47f94c8fd3
[]
no_license
Kmcgee92/Netflix-Clone
ed61b0ff4675a1c38a3ae1f1f4b86847870c1419
f3813344691fc248173074b3b002ccba0f6bae0f
refs/heads/main
2023-02-10T23:05:51.430247
2021-01-07T22:48:03
2021-01-07T22:48:03
309,010,837
0
1
null
2021-01-07T22:48:05
2020-11-01T02:42:29
JavaScript
UTF-8
Python
false
false
1,370
py
from flask import Blueprint, request, jsonify from server.models import db, Watchlist watchlist = Blueprint('watchlist', __name__) # accepts user id @watchlist.route('/<id>') def get_watchlist(id): all = Watchlist.query.filter_by(user_id=id) return {"watchlist": [item.to_dict() for item in all]} # accepts u...
[ "kaseycmcgee@gmail.com" ]
kaseycmcgee@gmail.com
849b32d2fcd949455db3a36008791d6efce5cab2
9a16d90aec52f253115695a2b6946e6f8a83f3ca
/venv/bin/easy_install-2.7
c311431cdaa534ea6eb17293c3a127c78dc01bfb
[]
no_license
zssum/LineFollower
c2117674d756cccdbd4c5e54743fcba40bf603b0
a4ee9882fd0c9a9690b118b7d590d056e5ee6d06
refs/heads/master
2021-01-20T14:24:07.250974
2017-07-07T07:52:42
2017-07-07T07:52:42
90,606,447
1
0
null
null
null
null
UTF-8
Python
false
false
248
7
#!/home/pi/Robot/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sumzhanseng@hotmail.com" ]
sumzhanseng@hotmail.com
4f442defc3e20cd08d0d0bd1c7cfecc372987eaf
f52997ac7e1b41f34018c3a0028ced8638072b2b
/src/feedback/migrations/0002_migrate_search_feedback.py
99e69225ca6320d0a38a794a12ad8bb49a371897
[ "MIT" ]
permissive
uktrade/digital-workspace-v2
49fae1fca819b625c6f6949fb5ce51b89fbcab96
7e328d0d55c9aa73be61f476823a743d96e792d0
refs/heads/main
2023-09-03T12:03:47.016608
2023-09-01T12:07:55
2023-09-01T12:07:55
232,302,840
6
0
MIT
2023-09-13T15:50:24
2020-01-07T10:41:18
Python
UTF-8
Python
false
false
999
py
# Generated by Django 4.1.10 on 2023-08-08 14:35 from django.db import migrations def migrate_search_feedback(apps, schema_editor): Feedback = apps.get_model("django_feedback_govuk", "Feedback") SearchFeedbackV1 = apps.get_model("feedback", "SearchFeedbackV1") for feedback in Feedback.objects.all(): ...
[ "noreply@github.com" ]
noreply@github.com
eb6054634055d16844d5b9c49b71ca3fb77c34db
63c7a6680055c3f0dbb774d979b27eb183bbcebb
/euler/problem_0050.py
13fadb4fdbce8e364aad99f2f4403b0ab25f1bbc
[]
no_license
Vignesh-Durairaj/Python-Exercises
4699c569fb12619812766e8aa4783c3c68679d05
669ab9687d46f0f2817b1eb065c8828fb6636db6
refs/heads/master
2020-04-09T22:32:48.340749
2019-06-06T03:53:50
2019-06-06T03:53:50
160,631,188
1
1
null
2019-06-06T03:53:51
2018-12-06T06:43:18
Python
UTF-8
Python
false
false
1,045
py
# Consecutive prime sum # # The prime 41, can be written as the sum of six consecutive primes: # # 41 = 2 + 3 + 5 + 7 + 11 + 13 # This is the longest sum of consecutive primes that adds to a prime below one-hundred. # # The longest sum of consecutive primes below one-thousand that adds to a prime, contains 21 terms, an...
[ "vignesh87.srkv@gmail.com" ]
vignesh87.srkv@gmail.com
5772a4c76be72a0c329bb835b32d2cdbdf939bb7
cc274ad0f1ce4e9a968fd6057f4fb0fd8a08f988
/days_to_seconds.py
2c2e638946880789e4b89c05465dc5545860c329
[]
no_license
MikaPY/HomeworkPY
51b216de30d7b2b33aa8847cd3ae46e421ea6db4
c1ecc0f718ededb60aa375dd1a7a6231a7668a32
refs/heads/master
2023-01-22T11:51:30.248030
2020-11-22T17:25:28
2020-11-22T17:25:28
304,744,214
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
class Converting: def __init__(self): self.days = 1 self.hours = 24 self.minutes = 60 self.seconds = 60 def convert(self): res = self.days * self.hours * self.minutes * self.seconds return f"In one day {res} seconds." result = Converting() print(result.convert())
[ "72929883+MikaPY@users.noreply.github.com" ]
72929883+MikaPY@users.noreply.github.com
d7e64bf2c327d71a38fa87caa47d1fd3c1ab6b32
7393f257db6a25ec4a15546c2d5a44549db51c36
/mebsuta_api/views.py
1cf9113fb079c7ed1fae936b0487da62e94ae641
[]
no_license
shahcompbio/mebsuta-django
140d0ccc8027f18be74e15f10d54d94975eca785
4f28891adcd817fc51cd573fb41a5b8377c19b4f
refs/heads/main
2023-01-23T13:25:34.953062
2020-12-04T16:15:08
2020-12-04T16:15:08
318,265,404
0
0
null
null
null
null
UTF-8
Python
false
false
14,475
py
from django.contrib.auth.models import User, Group from rest_framework import viewsets, permissions, filters from mebsuta_api.serializers import UserSerializer, GroupSerializer, Cell_ImageSerializer, CellSerializer, AnnotationSerializer, Mebsuta_UsersSerializer, DebrisSerializer, LibrarySerializer, CellsAnnotationSeri...
[ "kn1120@nyu.edu" ]
kn1120@nyu.edu
38266e94738978d1505b3df6c4d2172be521e137
bafa15fc57a597234281759abe0b75d4c78d45c0
/compfirm/app/views.py
5d2a9a22ad14ee4d9c07ca9bd4e3e68d1e7f1f32
[]
no_license
aphex2/computer_firm
efefcceca0bd4f85dd18ebf265c6612b8dabcfe5
78487f35c4e444b8c21e2389146ccec7aba1335b
refs/heads/master
2016-08-12T04:23:31.880695
2015-12-04T14:44:04
2015-12-04T14:44:04
47,409,192
0
0
null
null
null
null
UTF-8
Python
false
false
4,306
py
from __future__ import division from itertools import chain from django.shortcuts import render from django.views.generic.base import View from django.db.models import Count from app.models import Product, PC, Printer, Laptop class HomeView(View): """ Class based home view """ template = 'home.html' d...
[ "firestarter993@gmail.com" ]
firestarter993@gmail.com
7a5f2c55c36a06658250b34cb109fbd1e78770d3
46279163a543cd8820bdc38133404d79e787c5d2
/caffe2/python/operator_test/instance_norm_test.py
fb4f3c935ba8e1014e403825550754eddd382d98
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
erwincoumans/pytorch
31738b65e7b998bfdc28d0e8afa7dadeeda81a08
ae9f39eb580c4d92157236d64548b055f71cf14b
refs/heads/master
2023-01-23T10:27:33.628897
2020-12-06T01:22:00
2020-12-06T01:23:40
318,930,000
5
1
NOASSERTION
2020-12-06T01:58:57
2020-12-06T01:58:56
null
UTF-8
Python
false
false
9,926
py
import numpy as np from hypothesis import given, assume, settings import hypothesis.strategies as st from caffe2.python import core, model_helper, brew, utils import caffe2.python.hypothesis_test_util as hu import caffe2.python.serialized_test.serialized_test_util as serial import unittest import os class TestI...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
64811b756a4e41173c5e5898912f0448a3f966dc
1a3e6ff7b86fa34e4ef88f3e0fe7e1472f7f6821
/vortex-methods/vel_integration.py
7700104a2b37c85b4b1ae011fe0449ca7db1b4e2
[]
no_license
rbonvall/tesis
0c901746c1b93aa300c928104455e23ef93bcf87
a93a07965387fc5a944a39eb734cfc34d0c09404
refs/heads/master
2020-05-30T22:09:38.621467
2011-07-04T14:47:33
2011-07-04T14:47:33
213,789
3
0
null
null
null
null
UTF-8
Python
false
false
912
py
#!/usr/bin/env python from numpy import zeros_like import functools import vm def euler(x, y, circ, dt, squared_blob_size): u, v = vm.eval_velocity(x, y, circ=circ, squared_blob_size=squared_blob_size) return u, v def runge_kutta(x, y, circ, dt, squared_blob_size): u, v = ze...
[ "rbonvall@gmail.com" ]
rbonvall@gmail.com
77d34437f80af1b3b3525de6381c3bae422a7d89
010825abc102377c361b6caacc05a9f762ea7b02
/opencv/opencv/1.py
63d94565693e4c2ab756b706606a34182d639709
[]
no_license
guojingeran/python
72f15f627e167158fb6a4a47a927f532bf9580db
9a0f31e338313a2b0520b396b32972cf25853004
refs/heads/master
2022-02-17T12:46:19.249442
2019-09-07T08:52:15
2019-09-07T08:52:15
197,805,301
0
1
null
null
null
null
UTF-8
Python
false
false
864
py
import cv2 # 加载图片 image = cv2.imread('C:/Users/Administrator/Documents/script/NeuralNetwork/opencv/girl.png') # 转换成灰度,提高计算速度 gray = cv2.cvtColor(image,cv2.COLOR_BGR2GRAY) # 加载Haar特征分类器 face_cascade = cv2.CascadeClassifier('C:/Users/Administrator/Documents/script/NeuralNetwork/opencv/haarcascade_frontalface_...
[ "noreply@github.com" ]
noreply@github.com
78f03f5c04e5f245bd5523691466d16fc7affeb2
de6b4fa2271ec5233c22bb87e4e192fe728f384a
/no11.11.py
585d6e3394ea3143c4531de04396bd795f137176
[]
no_license
ZerkoDeV/practicee
f75c9c1be94147e30c4a0b6b02ad4280aa09515e
35a29e1f9f8edd36d72042cf5285950e8cc0500d
refs/heads/master
2020-09-17T13:59:26.214788
2019-11-27T05:09:08
2019-11-27T05:09:08
224,094,665
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
def char_freq(string): list = {} for c in string: if c in list: list[c] = list[c] + 1 else: list[c] = 1 for char_item, freq in list.items(): print(char_item + ": " + str(freq)) char_freq("hello")
[ "noreply@github.com" ]
noreply@github.com
2133df1439201b57a56f37d436f337a7811eb13c
b5ea73b4a00495c53c4ecad2534b3c7e3edfb50b
/PickWord.py
92400634929d575d53436814e0598ad9d41edbd3
[]
no_license
KKlassified/Hangman
e7bd005b91146ba701284dd13222121750933672
1c279c9e1cfce3e269671cbab6b71d4ce7212da0
refs/heads/master
2022-04-24T02:12:14.073944
2020-04-23T02:57:37
2020-04-23T02:57:37
258,078,181
0
0
null
null
null
null
UTF-8
Python
false
false
4,729
py
import random import turtle drawHang = turtle.Turtle() #global turtle to draw game def get_word(): # function that pulls a random word from txt file a = random.randint(1, 10) # choose a random number to find random word a1 = str(a) word = "" # set a string to hold the word with open("C:\\Us...
[ "noreply@github.com" ]
noreply@github.com
fdbbe1a18c72a3a255858c00d1c01d4f7c4100a6
1df9132892b9f65c953e56ac0d635b6dcb0c4252
/exercises/4-Numpy/numpy2-matrix-order-solution.py
322ea9237504f919774107de99ebcd0d6eea02cc
[]
no_license
robertobecchiniWR/python-math
5cadafb5215253c7538deb79b277133ad705e7e1
753e54f953caa21fc362ac60b1783d46c254114f
refs/heads/master
2023-08-18T13:44:02.326919
2019-04-10T08:47:46
2019-04-10T08:47:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Exercise 4.2: Numpy matrix order - Solution # # Complete the function order to find the order of a 2x2 matrix modulo n. # Assume that the matrix has nonzero determinant. # Use the function np.array_equal(M1, M2) for matrix comparison. import numpy as np def order(M, n...
[ "athena@athena.fritz.box" ]
athena@athena.fritz.box
2c0f075b310ca92bcdb9734578e5d72e1085c28f
029f30a6d564e445a5a3991bcc1ba4330460a338
/intro/variables/list_exercise.py
e2938c8e35842ddbefb24ca9751679985989387d
[]
no_license
Benson-leepingshu/IBCS2023
5af6a046a7c0ede62900db12f07575524fc6d51b
d60afd9f08f014798d7cc94f959104a725e11298
refs/heads/main
2023-08-23T04:39:05.800475
2021-09-28T02:16:48
2021-09-28T02:16:48
403,794,462
0
0
null
null
null
null
UTF-8
Python
false
false
3,153
py
# lisy_exercise.py # 01. Sum of all elemets in one list mylist = [1, 2, 3, 4, 5] answer = 0 # answer = sum(mylist) for i in range(len(mylist)): answer = answer + mylist[i] print(answer) # 02. Write a program that removes all duplication from a list mylist = [1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5] answer = ...
[ "61y982@ms.mingdao.edu.tw" ]
61y982@ms.mingdao.edu.tw
821fd4f3941c3016fc767da9f978015d7ee9d854
416e303e3c64fbc3571f204c3b3b281b4ce642be
/examples/1.3/special_batch_compo/list_dataset.py
4d37a894ac6da61939269cd7c3d88ef00cef73b7
[ "Apache-2.0" ]
permissive
fastestimator-util/fastestimator-misc
6cba0f25ee5e9ace30bef392adc8081777db510f
c46e901d84745f35b7b49bdbb7b7121d39759b3f
refs/heads/master
2023-08-09T13:58:27.846807
2023-07-27T01:27:32
2023-07-27T01:27:32
208,510,459
8
9
Apache-2.0
2023-07-27T01:27:41
2019-09-14T22:14:56
Python
UTF-8
Python
false
false
1,455
py
import pdb from os import pipe from torch.utils.data import Dataset import fastestimator as fe from fastestimator.architecture.tensorflow import LeNet from fastestimator.dataset import BatchDataset from fastestimator.dataset.data import mnist from fastestimator.op.numpyop.univariate import ExpandDims, Minmax from fas...
[ "shawnmengdong@gmail.com" ]
shawnmengdong@gmail.com
9fddfe802c88fd6baaeb70990c5db78b02168899
7a1d72368489030e7bad0da66dd5dbdf7158cb14
/src/vmc/vulnerabilities/utils.py
992f352b953bf77a3c2964b9a8c4877a64beefa0
[ "Apache-2.0" ]
permissive
muchrons/vmc
0a2336594612b9e53978223a00b5ebcb23c8f818
abd5c33011cd6074277d2f122f32ec52db4fefcf
refs/heads/master
2020-09-30T14:44:17.540425
2019-12-11T07:45:55
2019-12-11T07:45:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,747
py
""" * Licensed to DSecure.me under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. DSecure.me licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this file ex...
[ "mi.walkowski@gmail.com" ]
mi.walkowski@gmail.com
a17c086363b68c6e7e789dff8df7ac58faf6d688
a48f286eca1f5c697642b7159fe90eb9c9f267ea
/mace/pseudocode_dag.py
f201083d168314a731a1c0b1758492c2b06c3b2b
[]
no_license
summerspringwei/HOPE-Scheduler
70dcc67e91e859a3aac75ff8c9c11ce32e8f1c01
31ce5849b25063dc763f2b6613677aba3039496b
refs/heads/main
2023-01-30T16:44:36.734286
2020-12-14T11:29:46
2020-12-14T11:29:46
321,325,404
0
0
null
null
null
null
UTF-8
Python
false
false
2,385
py
input: netdef, input_node_name def greedy_device_placement: CPU_end_point = 0 GPU_end_point = 0 # Need to record the execute order op_execute_order = list() # Used to maintain the ops that all his parents has been executed # thus it can be assigned to devices ready_to_assign_list...
[ "120237776@qq.com" ]
120237776@qq.com
bdc3df8f4e675387177e4c1e95dbfe2ce8ad0c84
a46b064486b703b5424a5e59fb6d567a0c08d480
/scripts/pushmsg
fed86e723478dbd82c088dc2756750e5c891a332
[ "MIT" ]
permissive
nick-youngblut/pushmsg
1dd3ca23dbfa8277f92b7261c5eabeb6ea5bd3c6
389cd22476077198593bd4b4af3900fd1644da65
refs/heads/master
2022-07-23T14:52:46.886835
2020-05-23T19:21:22
2020-05-23T19:21:22
71,820,460
3
1
null
null
null
null
UTF-8
Python
false
false
530
#!/usr/bin/env python import sys import argparse import pushmsg parser = argparse.ArgumentParser( description='Send messages with Pushbullet', epilog='For all options, see the line magic help' ) parser.add_argument('msg', help='Message to send via Pushbullet') parser.add_argument('--version', action='version'...
[ "nicholas.youngblut@tuebingen.mpg.de" ]
nicholas.youngblut@tuebingen.mpg.de
57e3464578970c186bbf72034ecffedcb4f1e8e3
2b6ca87b32c18a1e48ffb64675abc97fda3bc6f6
/src/onecontainer_api/routers/ai.py
c017be766571aee37b503baa3b212c8fb8a5d995
[ "BSD-3-Clause" ]
permissive
gabrielbriones/oneContainer-API
7882b86ff1c0b4fb4461de09deb96633e7fbed51
ea81ed31b921711d38d352ee3a9e56bd4231bf43
refs/heads/main
2023-01-22T17:45:20.345662
2020-12-04T20:50:18
2020-12-04T20:50:18
318,630,019
0
0
null
2020-12-04T20:39:23
2020-12-04T20:39:23
null
UTF-8
Python
false
false
2,008
py
"""AI vertical entrypoint.""" from typing import List from fastapi import APIRouter, Depends, File, UploadFile import databases from onecontainer_api import models, schemas, errors from onecontainer_api.routers import services, drivers import re router = APIRouter() @router.get("/ai/{service_id}/usage", desc...
[ "gabriel.briones.sayeg@intel.com" ]
gabriel.briones.sayeg@intel.com
698bdeeb48ab9e92ecab93669f2d8d302bc0673a
abd7504f6562babf79fb4e86af7529b2cb40fb54
/tests/pyre.pkg/descriptors/dataDescriptor_set.py
7d7a5fd65cabe1f2c11b54febcf9ac6f7623788f
[]
no_license
aivazis/p2
266c1728554b3f7a89e72f09ba2d9e5ff8d4447d
fd9a82d7dafa815dd68f679eb2b4b1a6287d02ea
refs/heads/main
2022-01-08T12:45:16.646028
2022-01-01T17:31:10
2022-01-01T17:31:10
225,452,981
2
0
null
null
null
null
UTF-8
Python
false
false
2,247
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # # michael a.g. aïvázis <michael.aivazis@para-sim.com> # (c) 1998-2022 all rights reserved def test(): """ Verify that the {__set__} method behaves as expected """ # get the descriptor class from p2.descriptors.DataDescriptor import DataDescriptor ...
[ "michael.aivazis@para-sim.com" ]
michael.aivazis@para-sim.com
487a6cba227881b051690e18f580cda7c3918873
e77cbe31ed7eb052571a41cd7d68d110d3ca20ad
/procurement_request/wizard/procurement_request_wizard.py
b6a19b8f2dcd61f67039a71e4d929959d90cfdde
[]
no_license
lopin123/falinwa_branch
237fa59d934e0672d1c55b95e619a7f4c97eb3b4
051821ec3d2691338953a38a5aed64a60c35113e
refs/heads/master
2021-01-02T22:34:36.390758
2015-04-08T07:58:27
2015-04-08T07:58:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,316
py
# -*- coding: utf-8 -*- from openerp.osv import fields, orm from openerp.tools.translate import _ import openerp.addons.decimal_precision as dp from dateutil.relativedelta import relativedelta from datetime import date class procurement_request_wizard(orm.TransientModel): _name = "procurement.request.wizard" _...
[ "hans.yonathan@falinwa.com" ]
hans.yonathan@falinwa.com
837d43285238ae7faf2b3dc82fd9032b4ec53140
cf1537d3a277a636192f5b19f6d3da43b8931d9e
/submit/__init__.py
6d49e6cfd3b0eea6730e167c2ca1982679f09dd3
[ "MIT" ]
permissive
arXiv/arxiv-submission-ui
145449366c368371fa7022e08fe75678621ddfbe
5cd67e15db72bb8aa4acf686fb3aa8b41727580a
refs/heads/develop
2021-08-08T05:44:02.944380
2020-08-25T19:05:12
2020-08-25T19:05:12
135,458,512
4
3
MIT
2021-06-23T16:35:28
2018-05-30T14:56:12
Python
UTF-8
Python
false
false
22
py
"""Main submit UI."""
[ "eaw82@cornell.edu" ]
eaw82@cornell.edu
a93fc3f0be0be1f60835a0cd9da64f30436028d7
68303ded32ec3fc4ca6cd343a3fe6a3b79c3143c
/djangotango/urls.py
d63f96f85de6a6456ff03e6d8e8843d43b07dae1
[]
no_license
AnnesteDev/djangotango
1f034dd2f5e7f82f1cab05f18423288e132a850d
8ec3ff3aed298d4343cf912791af1a2f2d38c2a2
refs/heads/master
2023-02-19T01:26:17.412859
2021-01-21T14:11:39
2021-01-21T14:11:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
"""djangotango URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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') Class-b...
[ "stepdev@icloud.com" ]
stepdev@icloud.com
9814950516db9ba9bb772ad323f3ccd46b929a7a
b72c37e3ccda507b231649cddd5c7845c6c34ba1
/PythonBasic/Day10/eval.py
7f3920d20dfe006d406b4920d5251b7016469ca2
[]
no_license
ljrdemail/AID1810
51c61c255b5c5efc1dc642b46691a614daedd85e
b417bd831bc1550ab953ce7ca23f54e34b8b2692
refs/heads/master
2020-04-24T09:45:14.781612
2019-02-21T11:26:49
2019-02-21T11:26:49
171,866,267
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
s = "1+2*3" print(eval(s)) x = 100 y = 200 v2 = eval("x+y") print(v2)
[ "root" ]
root
3afe8d493630028fce662a467aaffebaccb5d824
9704a98a5799fe82c7a35e5c5bd18ca56a5ca573
/detection_demo.py
b1baacdcbf9b98f99ad774fdb7c15535d160e23c
[]
no_license
ncic-sugon/OODA-FLOW-SDK-LIB
bb380e8f357f4c25385b504c576d188844c7ed50
a87cd8696e06d88560a349a1e3b59dd40677eac1
refs/heads/master
2022-12-30T16:08:58.580404
2020-10-15T08:59:06
2020-10-15T08:59:06
278,526,237
186
146
null
null
null
null
UTF-8
Python
false
false
4,541
py
import kfp import kfp.dsl as dsl import random from kubernetes import client as k8s_client print('Start client!!!!2019-11-24') client = kfp.Client() # EXPERIMENT_NAME = 'liu1234' print('start exp!!!!') # exp = client.create_experiment(name=EXPERIMENT_NAME) class ReadyData(dsl.ContainerOp): def __init__(self, d...
[ "noreply@github.com" ]
noreply@github.com
cdb8f26fffc54a8d39244ff158bc3460a7178aff
0e997ef031f5f2d7569b25f27f2c74ea31b9d2b0
/features.py
f075bc556cd3b1c3bbafab269f714e7a58678c07
[]
no_license
Shakshi3104/tf-DA-and-HCF
de84b3a20f98b9310d625a96f180d4a60c0d35cb
329ccb9164f512c3a2d776401141f5f4c7f0149f
refs/heads/master
2023-07-08T19:23:20.302217
2021-08-19T01:08:31
2021-08-19T01:08:31
387,653,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,717
py
import numpy as np import scipy.stats as sp import tensorflow as tf from augmentation import flipping, swapping def extracting_features(x, axis=1): """Extract features from 3-axis sensor data, shape=(batch, window_size, 3) Parameters ---------- x: channel-last 3-axis sensor data, shape=(batch, window...
[ "watchosastrom3104@gmail.com" ]
watchosastrom3104@gmail.com
6cf1014ce60dbc8ae7505b3d9a75e4852b1a3698
8f1c3c76bf8514818b733ba29fe575d8a5243add
/eduerp_attendance/models/__init__.py
e27612b75f471c9162dd01c4529d7609eddb4edc
[ "Apache-2.0" ]
permissive
westlyou/eduerp
27f1c7dcd0d2badf50cb6c69f5e761d7f0c6a898
968d79b5adc729bc81192604f1fc223517d38ccf
refs/heads/master
2021-06-04T05:11:13.858246
2016-09-12T07:21:17
2016-09-12T07:21:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
# -*- coding: utf-8 -*- ############################################################################### # ############################################################################### from . import attendance_line from . import attendance_register from . import attendance_sheet # vim:expandtab:smartindent:tabstop=...
[ "huysamdua@yahoo.com" ]
huysamdua@yahoo.com
62d8257135dc42d92640ae0772a91142d020e3c9
319a1091f202ab76151f96dedfe2a48f22516ef7
/hw1/hw1_3/2_Parameters/Plot.py
861a5b06e378dfda3e13fa2edc1cdcdb1c13d6c5
[]
no_license
Milorin/MLDS2018SPRING
594a286ea494021ab1fa00a526c95d5149f17670
fe4771ca49c3f866350c3ca40b9b9b4c896f04d9
refs/heads/master
2020-07-24T17:13:35.480377
2019-04-19T13:40:16
2019-04-19T13:40:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import matplotlib.pyplot as plt # Force matplotlib to not use any Xwindows backend. plt.switch_backend('agg') import numpy as np if __name__ == "__main__": # Load parameter, loss and Acc. from npy file. model_parameters = np.load('model_parameters.npy') train_loss = np.load('train_loss.npy') train_acc...
[ "noreply@github.com" ]
noreply@github.com
0d5b7d435e2794c64185da16d19a4a167cedfd70
0ca16e1512276cc2112efc3e8a828ff9d8194e7c
/predict.py
683ee344b36ae62bba12d2d333f8e636429b381a
[]
no_license
xiangchao2018/Tensorflow2.0-FasterRCNN
bc5de8fa4cc799a5448f6122daf05cebca4a7468
bdd30d8b7e3865ab3f7ff7efc67b890cd655809d
refs/heads/main
2023-02-09T06:42:08.523155
2020-12-30T16:15:53
2020-12-30T16:15:53
325,594,287
3
2
null
null
null
null
UTF-8
Python
false
false
487
py
import tensorflow as tf from PIL import Image from frcnn import FRCNN gpus = tf.config.experimental.list_physical_devices(device_type='GPU') for gpu in gpus: tf.config.experimental.set_memory_growth(gpu, True) frcnn = FRCNN() while True: img = input('Input image filename:') try: image = Image.op...
[ "424236969@qq.com" ]
424236969@qq.com
ad1eb3c47546ebc43d79128bfbd2e164155cc83e
220793d6f8c4238fb70d2a6e6a6f26c1eb658f19
/utils.py
920059beb8ca54008427c0a7342ec4ec786f1033
[]
no_license
fengjixuchui/goodROPbadROP
5b4e2b5e4a3355e60d2e19ddcf7a18b624887b87
11ed9ca09b328566f1b9f342d02671a13d4fbd82
refs/heads/master
2021-05-17T10:27:10.014826
2018-12-17T05:49:09
2018-12-17T05:49:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,494
py
from sets import Set import random def check_gadget(gadget, config): inst = gadget.split(" ; ") if len(inst)==0 or len(inst)>config["MAX_GADGET_LENGTH"]: return False for i in inst: ops = i.split(" ") if ops[0] not in config["implemented"]: return False for w in ...
[ "nv3le@uwaterloo.ca" ]
nv3le@uwaterloo.ca
7c2cb3082ec7eaddf7438f908abcec37474ce1a9
e2978023741f2a5db52dd66531f3b0ea8c27c36e
/WCN.py
ba9b54c74e3599362956e821ae5be3c9a73b239d
[]
no_license
YuxuanXiu/LinkPrediction
4bd6aa40a6cc337505b35192124ca5e3444a5d73
b761e66e6ee898eede8d5a39fbf14054a2ebb4af
refs/heads/master
2023-03-27T09:28:39.744801
2021-03-25T12:28:04
2021-03-25T12:28:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 31 21:46:30 2018 @author: xsjxi """ import networkx as nx import matplotlib.pyplot as plt def weight_common_neighbors_index(G): #print("one time") node_num = nx.number_of_nodes(G) edge_num = nx.number_of_edges(G) # print (node_num) # print (edge_num)...
[ "xushijin0421@163.com" ]
xushijin0421@163.com
ba3c6caa0afcd57a5c3a640ab1ecee5226541f10
102f7353f255f232ba797dd75ca7d130ae83eb93
/python/name.py
66229aabb031d7115fdee2715faa0a82b396fed9
[]
no_license
beautc14/myrepo
7dba17b8317b28a43070df7ae138448c7e862586
642d2486798509bb5b0ceee512cd0051ca30e040
refs/heads/master
2020-04-14T07:26:50.327572
2019-03-21T01:42:57
2019-03-21T01:42:57
161,627,853
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
name = input("이름을 입력하세요:") while name[0:1] != ('김' or '이' or '박') : print ("wrong sirname!") name = input ("Name again:") print (name)
[ "beautc14@gmail.com" ]
beautc14@gmail.com
54902efb2e961b3c0e80bfdb0b26efaa72d60f79
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_313/ch54_2020_03_31_00_22_57_884915.py
d4a200b530199c65a717529b916d673f8331f920
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
def calcula_fibonacci(n): fibonacci = [0]*100 fibonacci[1] = 1 fibonacci[0] = 1 n=2 while(n<100): fibonacci[n] = fibonacci[n-1]+fibonacci[n-2] n = n + 1
[ "you@example.com" ]
you@example.com
894b65e24be5bbe3bb8ae5de43cf5a4301381c52
7cc141beb2948f64e1b187862108b883f09bf71c
/NotasCorretagens/chromedriver.py
66a8495368cc630687cbb1b08c9fedc457e3a6c0
[ "MIT" ]
permissive
felipemaion/scraping_xpi
5829a83d67da398cccd4d91c096108fe6f3cf0a7
522a5955c05a7da1e70055f7668f0e5e3593cf72
refs/heads/master
2020-05-02T15:39:59.604808
2019-04-01T07:58:05
2019-04-01T07:58:05
178,048,850
6
1
null
null
null
null
UTF-8
Python
false
false
1,578
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait, Select from selenium.webdriver.support.expected_conditions import presence_of_element_located class Scraper: def __init__(self, *args...
[ "felipe.maion@gmail.com" ]
felipe.maion@gmail.com
e3a292441f1962e474bd358f71425ba3ac374a99
8f48d12b88048e424ebb0d72ca6dfab5cf12ae0f
/1500_1999/1910.py
05f3524ffd5384049fc271225340944a7db37961
[]
no_license
renjieliu/leetcode
e1caf13c18a8107ed9252588b339fb76bcb1b246
4668b64fcb9320b6c316d8608fc61911ce43b6c7
refs/heads/master
2023-03-18T18:16:06.187741
2023-03-14T20:31:59
2023-03-14T20:31:59
128,823,819
7
0
null
null
null
null
UTF-8
Python
false
false
467
py
class Solution: def removeOccurrences(self, s: str, part: str) -> str: output = "" for c in s: output += c while len(output) >= len(part) and output[-len(part):] == part: output = output[:-len(part)] return output # previous approach # class Solution:...
[ "anlrj@qq.com" ]
anlrj@qq.com
c640c6e1a6916b603b9fe0c429ee3381fecf3b1d
44ece5e51f41a42e858fe2384678ea2541c346cb
/lib/core/zoomeye.py
1fed8d6cee836e825ee96688f11b6ab2ba643c1f
[]
no_license
Vincebye/Unlimited-Blade-Works
91b307481ae682cdd061ba6815d33734d9c73e77
1a7f178afd3715899b1e1c57d9d347a83ac35194
refs/heads/master
2020-05-27T16:10:28.921360
2020-01-09T06:40:36
2020-01-09T06:40:36
188,694,767
3
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
from lib.core.data import cfg from lib.utils.debug import compare import requests import json import re class ZoomEye(): def __init__(self,keyword,num=20): self.username=cfg.get('zoomeye','zoomeye_username') self.password=cfg.get('zoomeye','zoomeye_password') self.keyword=keyword ...
[ "704336673@qq.com" ]
704336673@qq.com
f5078022cc898d06f8cbc6021ceb1e248ab19b02
d0f3dcb3b3e5179952acbcba1780e061c7dd8c7b
/charity/views/aboutus.py
a67960fafa14fdefbafd94db4acfae230a235fdc
[]
no_license
ajay9679/career_stimulus
30d3de315d3298a19aa98dbbc2a54fa96c92f6b7
f96891d06468fda7da7aad21b447ce7cac5c2a15
refs/heads/master
2023-09-04T11:45:05.351277
2021-10-10T13:33:47
2021-10-10T13:33:47
407,861,180
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from django.shortcuts import render from charity.models import Aboutus def aboutus(request): about = Aboutus.objects.all()[:1] context = {'about':about} return render(request, 'charity/aboutus.html', context)
[ "ajay.katlyn@gmail.com" ]
ajay.katlyn@gmail.com
712a5af356fef6735780ef7f3fb2bedb1ac34f89
8787d7525efea93fb5a8b184ebc6de10af9e3826
/games/catastrophe/ai.py
cf2261cd0f3644de51922b577f2579f2caab2e44
[ "MIT" ]
permissive
griffin962/MegaMinerAI-20
ab514bada70208a6327eb418264a2664e7e0bfaf
37d1328dc520be27dc328e6bfe8a10a6ce68e96d
refs/heads/master
2021-08-09T02:28:02.630816
2017-11-11T23:24:42
2017-11-11T23:24:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,673
py
# This is where you build your AI for the Catastrophe game. from joueur.base_ai import BaseAI # <<-- Creer-Merge: imports -->> - Code you add between this comment and the end comment will be preserved between Creer re-runs. # you can add additional import(s) here # <<-- /Creer-Merge: imports -->> class AI(BaseAI): ...
[ "maverick@r01cmm4hf.device.mst.edu" ]
maverick@r01cmm4hf.device.mst.edu
f9a52da70f400cadaddf780a7db144d291e1f193
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/iotcentral/_inputs.py
037588016bbe804fa5963d69b4ae4f963d2bd3ef
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilities, _tables from ...
[ "noreply@github.com" ]
noreply@github.com
22a6850b69290ff4d6844d883b99a54acb7d0493
af4395f67242e97f5f163069703c5f7484f1e7f4
/ws.py
4ecf332fc77d437b331a1f4cc7454cf5a97cccf8
[]
no_license
tomm/foostiepie
d93d42e6cac4d21047ff1d6604b1d676792307c9
f87ee1ba0228f0de30959d282cf8da203aca6361
refs/heads/master
2021-01-10T02:41:59.908297
2019-09-23T10:54:46
2019-09-23T10:54:46
50,388,449
1
0
null
null
null
null
UTF-8
Python
false
false
3,082
py
#!/usr/bin/env python ...
[ "tomm@riseup.net" ]
tomm@riseup.net
a40f569c0390563f4e004f01a52154197ae537a0
535aba8ae0c4bc8dfa872551b448de417fe22b5b
/DateTime.py
89c1c76af6f2a8e11a88e7845642027c88af75be
[]
no_license
munyeenC/munyeen-kl-oct18
07620c36b7206e8806c385acf9340142c5d48a43
a1a161e1865a745b139f92713475b32fa3ce2299
refs/heads/master
2020-04-03T14:19:29.696801
2018-11-23T01:57:12
2018-11-23T01:57:12
155,318,001
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
# -*- coding: utf-8 -*- """ Created on Wed Oct 31 11:07:47 2018 @author: munyeen.chong """ import datetime currentTime = datetime.datetime.now() print (currentTime) print (currentTime.hour) print (currentTime.minute) print (currentTime.second) print (datetime.datetime.strftime(currentTime,'%H:%M')) print (datetim...
[ "munyeen.chong@pslgroup.com" ]
munyeen.chong@pslgroup.com
ffe89322345a1d7dac6cd485041047156a27776f
87c58ec88dfc70d7bc32702b39e0d648332335b9
/grafos/python/set.py
8a5abe896e337ab1e24bee3a1e29fbf4c4d6b74f
[]
no_license
everaldo/aed_ii
1b83e12634a2af3d2530eced206ed183e83f06ce
31dc6426463737193536a98f59abe6cb0f077697
refs/heads/master
2021-01-10T12:09:11.877720
2015-11-06T19:29:29
2015-11-06T19:29:29
44,832,653
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
# Everaldo Gomes - 23/10/2015 # everaldo.gomes@pucpr.br # # Demonstra o uso da função set # para geração conjuntos # # Conjuntos podem ser utilizados para vértices, arestas # e em diversos algoritmos de grafos # https://docs.python.org/3/library/stdtypes.html#set # https://docs.python.org/3/library/stdtypes.html#frozen...
[ "everaldo.gomes@gmail.com" ]
everaldo.gomes@gmail.com
81f2858581aeddee8d0342e21d1ce3c9479530e8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02262/s141204203.py
4d4e0e7ed1cedd407f0385ff3cc2d2558a5c8cde
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
cnt = 0 m = 0 g = [] def insertion_sort(a, n, g): # cnt+=1 のときにローカルスコープの外を見にいくようにするため global cnt for i in range(g, n): v = a[i] k = i - g while k >= 0 and a[k] > v: a[k+g] = a[k] k -= g cnt += 1 a[k+g] = v def shell_sort(a, n): global m, ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4016835924c889c2ef390dd8f82ba30088442636
0cd799684098c374ec6d0806410f2077814b2e9e
/advisor/migrations/0002_booking.py
7e9a8232b8d404a10fdf566e1ecff43de219c083
[ "MIT" ]
permissive
diyajaiswal11/User_Advisor
bc2e6828f899e08dcf3a1ef0fbe041a8013c43b4
332001e874add115b19cccd2fb0b6622321f32c2
refs/heads/main
2023-04-17T07:48:24.801798
2021-04-25T11:25:30
2021-04-25T11:25:30
361,345,324
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
# Generated by Django 3.2 on 2021-04-25 09:56 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), ('advisor', '0001_initial'),...
[ "shubhijaiswal2000@gmail.com" ]
shubhijaiswal2000@gmail.com
b128f4b63be0c2db040c5cc75d272eabd3a9cc65
1a2c582a9fa765c060006d90f40c62f46b5a9269
/cram/migrations/0003_subscription_enabled.py
72296b9603d66668fcb7eae8d4027843931fa6e3
[ "Apache-2.0" ]
permissive
mdebono/covid-risk-area-monitor
27898999045c6a173df15bf6390b803177cac99a
40f25d8dfb9ed0cbd5da9c3d780d3c4604885cec
refs/heads/main
2022-12-24T13:02:23.408311
2020-10-04T10:46:32
2020-10-04T11:01:54
300,372,914
1
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 3.1.2 on 2020-10-03 15:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cram', '0002_auto_20201003_1706'), ] operations = [ migrations.AddField( model_name='subscription', name='enabled', ...
[ "michael@debonomrđen.eu" ]
michael@debonomrđen.eu
5d9ff9bc57138038de1e8f3e1a2d8c4aef88fe40
54aa07da0a4872dd4c6ef292512c658d9b3d66f3
/bitesite/shortener/templatetags/shortener_tags.py
ba1a1038e36e754f2d3ef221aba1f280dbb99d5a
[]
no_license
k3xs/link_shortener
cf868ecc9bbfdd0919d6bceff1ecbcde36f448f4
3ddb0a7f75979a990eaf3d39790822d22d7a1da6
refs/heads/master
2023-07-13T14:11:35.209707
2021-08-15T05:45:36
2021-08-15T05:45:36
396,230,751
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from django import template from shortener.models import Links register = template.Library() @register.simple_tag() def get_links(): return Links.objects.all()
[ "kexs888@yandex.ru" ]
kexs888@yandex.ru
3e439ae8454afc8a677657435ca9e6aa7819fae8
c38b72d9003283979e5902735bb123643ba4fba9
/backend/home/migrations/0002_load_initial_data.py
58c76493163b4c675b73dd1999db358280227029
[]
no_license
crowdbotics-apps/hugz-club-22211
e486a1588d6a3e6f2e1ffa9466c3dcc46fe13176
3b5b344a49254f2d95d5780d1c8171d3d774133b
refs/heads/master
2023-06-30T21:45:53.007449
2020-11-02T13:56:53
2020-11-02T13:56:53
309,385,160
0
1
null
2021-08-03T20:05:12
2020-11-02T13:53:57
JavaScript
UTF-8
Python
false
false
1,290
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "hugz club" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
23495c8203860fae627a8100b1b8e2e9ba365996
e58b3b41505eea2848624c69282327b8531c5a9d
/apps/operations/adminx.py
10c0907278f8e6753f7998be043e6b8374d71df9
[]
no_license
GoYMS/mxonline
9d4a9624921a389308896ddba9a817282e910532
3b9e27aaaf8f47a89083806cb8f885a5b8c31c36
refs/heads/master
2022-12-13T11:50:24.218015
2020-02-21T07:25:34
2020-02-21T07:25:34
242,054,819
1
0
null
2022-12-08T06:19:00
2020-02-21T04:34:42
JavaScript
UTF-8
Python
false
false
1,608
py
import xadmin from apps.operations.models import UserAsk,CourseComments,UserCourse,UserFavorite,UserMessage,Banner class BannerAdmin(object): list_display = ['title', 'image', 'url', 'datetime','index'] search_fields = ['title', 'image', 'url','index'] list_filter = ['title', 'image', 'url', 'datetime','...
[ "1789353033@qq.com" ]
1789353033@qq.com
55009a523785b802eb9123318b78c3ade8830b8b
294be1e7339e715c7842655b510d89b7819bca98
/rooms/management/commands/seed_facilities.py
0962d7e97b43298241e691ee697e25d4ffb60200
[]
no_license
sjl-git/airbnb-clone
ef09d4a7438f68343e33b765e9323089f4d3b4da
d163eb36c1029cfd348dc8bc839c6f731634412b
refs/heads/master
2022-12-16T15:43:47.741130
2020-02-17T05:44:59
2020-02-17T05:44:59
233,671,698
0
0
null
2022-12-10T18:28:24
2020-01-13T19:06:33
Python
UTF-8
Python
false
false
737
py
from django.core.management.base import BaseCommand from rooms.models import Facility class Command(BaseCommand): help = "seeding facilities" """ def add_arguments(self, parser): parser.add_argument( "--times", help="This command tells you that how many times he loves me" ) "...
[ "arsenals1017@gmail.com" ]
arsenals1017@gmail.com
537ea782435fb47f81c6431c0278bb50ccfe0c70
d8afb2e678d9da745a114e8feffee930218716b4
/backend/adv_test_3_23538/settings.py
ae68df3785b6f69fbc2d8f0ca426a63043c5a8f4
[]
no_license
crowdbotics-apps/adv-test-3-23538
fd03929a6a4d8e984c2daad895d0c20fd80b4df5
e2af927fa78de374384d9d6b59a74207f4209bba
refs/heads/master
2023-02-12T15:18:53.318287
2020-12-24T19:38:53
2020-12-24T19:38:53
324,224,353
0
0
null
null
null
null
UTF-8
Python
false
false
7,035
py
""" Django settings for adv_test_3_23538 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ imp...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
dc7f6dc1274cb873d060f059d18019b950be535f
5053c1f52b7a18daf0e51ece8f6bbf8a8268e2e8
/app/seeding/tipo_seeder.py
5c4b9893a532692a143a946f887583aa41ad042c
[]
no_license
crislmfroes/trabalho-ds2
b2faf14bb49a8c3e664fecd2c9b3dcef92b2b44b
63a40eeaa193f9e52d27e6a9db3382d96dbbfc42
refs/heads/master
2021-06-28T11:56:37.311677
2019-11-26T04:17:02
2019-11-26T04:17:02
221,302,492
0
0
null
2021-03-20T02:10:51
2019-11-12T20:08:50
HTML
UTF-8
Python
false
false
224
py
from app import db, TipoProduto if len(TipoProduto.query.all()) == 0: db.session.add(TipoProduto(nome='bolo')) db.session.add(TipoProduto(nome='doce')) db.session.add(TipoProduto(nome='salgado')) db.session.commit()
[ "cris.lima.froes@gmail.com" ]
cris.lima.froes@gmail.com
5773fc84b1f97f5e6110b8d2214eb16c8e973663
169d5742fe79119ba60dd16b07485b4d1904af74
/src/qc.py
d173eec6d34ec34dcfaefc3bb1a55c7019f69624
[]
no_license
sigmachirality/Characterize-It
b2e749009ef0542818a36462803d0e4b579a3b7c
f86f6d61111e1269919abf86b0e88e352d13c306
refs/heads/master
2020-05-04T14:18:34.573408
2019-05-08T14:56:44
2019-05-08T14:56:44
179,191,245
0
1
null
null
null
null
UTF-8
Python
false
false
2,467
py
# Quality Control Module import pandas as pd import sys import csv def quality_control (infile, outfile="out.csv"): # read in input file, adjective dictionary inp = pd.read_csv(infile) adj_dictionary = pd.read_csv("adj.txt", names=['adj'])['adj'].tolist() dictionary = [x.lower() for x in adj_dictiona...
[ "rthiart@seas.upenn.edu" ]
rthiart@seas.upenn.edu
7b5ae7a463fe2b8befc89ed882e53999749da2ac
a8a6ccf7695906cad013009d08c7b49f9e8b86dd
/Week2-Quiz-4.py
6ffeee7860e78cfd280958ea60566a0aa251f17f
[ "MIT" ]
permissive
Pravali07/ANLP
7f7ff792ad63dbe9b70d24deb210d118003081e1
3052b12d307e4b2c8e192f3ac3b6e393932a0d77
refs/heads/master
2022-03-12T22:49:07.564743
2019-11-16T05:11:07
2019-11-16T05:11:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 13 18:39:22 2019 @author: yuvaraja manikandan """ """ Rank the documents with respect to the query q=[0.1 0.001 0.0 0.2]Tusing cosine similarity using cosine similarity D1 D2 D3 car 0.1 0.0 0.1 comprehensive 0.1 0.1 0.1 th...
[ "gymk.tech@gmail.com" ]
gymk.tech@gmail.com
68181ca723256bffe383c1225f671c2b4715f68a
e51519d9efea4b07adb8b7c91a8e073c99878d44
/pythonscrapy/pythonscrapy/spiders/Googlesearch.py
a83b1e7e0bd0fe07f7869205c135ec97c7530c5c
[]
no_license
InduArul/scrapycode
4cebf6baa8ec03ca87ed38bda88cf9d0aa36133f
f531cef879b5cd07d1284d6fdc7a7761cc4c5be8
refs/heads/master
2020-06-13T10:06:31.560458
2019-07-01T07:45:30
2019-07-01T07:45:30
194,622,153
0
0
null
null
null
null
UTF-8
Python
false
false
2,930
py
import scrapy from ..items import pythonscrapyItem from googlesearch import search from bs4 import BeautifulSoup from scrapy.linkextractors import LinkExtractor class firsttest(scrapy.Spider): name="CNA" def start_requests(self): #searchq = open("input.txt","r") data = 'Digital...
[ "indumathy.kannan@outlook.com" ]
indumathy.kannan@outlook.com
522e5b132004c3d48e67850fe1344c2a8bfab8d4
19090cedb60965e331ea19904ffad7621b6b197a
/kiauhoku/utils/eep.py
cdca378c2d9f68a2ae76e68c2c52f2c629063766
[ "MIT" ]
permissive
zclaytor/kiauhoku
11351784f93d080cdab47fb21c188e53024204fa
4723eeeb29011635966a9e1ee51b43c47f295256
refs/heads/main
2022-10-26T20:28:41.735355
2022-08-20T03:07:25
2022-08-20T03:07:25
196,656,969
14
3
MIT
2022-10-03T12:28:58
2019-07-12T23:22:38
Python
UTF-8
Python
false
false
14,056
py
''' eep.py Utilities to downsample stellar evolution tracks to Equivalent Evolutionary Phase (EEP) basis, according to the method of Dotter (2016). The default EEP functions are contained in eep.default_eep_functions. They are default_eep_functions = { 'prems': get_PreMS, 'zams': get_ZAMS, ...
[ "zclaytor@hawaii.edu" ]
zclaytor@hawaii.edu
166a8018dc1968aca179d7c7e667c1f322ee1a1b
fce29685619c2484ba6d3134724cbe9fcaa48845
/CONDA/Coppelia/DEP/CloseLoop_2RobotSinc.py
4fc55c97ac3c35567e55e8a8e55f2648c25bf8ae
[]
no_license
EUQIRNE-94/MasterThesis
8f0b288b464610fc397823580392ae4ca302a137
57e103cd8e8cb360c97f09d6330a6ff33001d946
refs/heads/main
2023-09-03T16:44:46.563814
2021-11-11T04:06:20
2021-11-11T04:06:20
426,856,222
0
0
null
null
null
null
UTF-8
Python
false
false
10,481
py
# -*- coding: utf-8 -*- """ Created on Sat May 1 13:44:07 2021 @author: Enrique Benavides Prueba de open loop con 2 Lumibot en Coppelia Sim """ import sim import time import sys import numpy as np import funciones as fx import matplotlib.pyplot as plt from math import pi print("Iniciando Programa") ##### Variable...
[ "enrique.b.tellez@gmail.com" ]
enrique.b.tellez@gmail.com
0e9c96225354db31c9a8139f522aad70b5f643cd
7246b95d7048373c1e3198167f9add2200b76cb5
/career/models.py
59b115c488cc0559d64d6a3ae71d42ca85fd93c4
[]
no_license
prakashbist546/Basic-Website-using-Django
512e4e276457333b9cd0a1dfa5ddd69c32b0267d
52665f40286577877275ae3830ff734463d7f65b
refs/heads/master
2021-07-08T05:55:53.792680
2020-11-18T05:54:34
2020-11-18T05:54:34
209,941,177
1
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
from django.db import models class Vacancy(models.Model): title = models.CharField(max_length=50) JOB = 'Job' INTERN = 'Intern' VACANCY_TYPE_CHOICES = ( (JOB, 'Job'), (INTERN, 'Intern'), ) type = models.CharField( max_length=10, choices=VACANCY_TYPE_CHOICES, ...
[ "prakashbist11@gmail.com" ]
prakashbist11@gmail.com
0225659a3ac4d6fae1378a3ae96277d48b151778
90ac59561ea8f74c32d7eb58376ba400274e1550
/Rapid_M_Classes/RapidProfile.py
3c6af2be5754ae0f7c4e6d9f2e6e0e8cea45abd6
[]
no_license
niuye8911/rapid_m
f99a8ed7967f8d781e9409bed8fa847467beefd9
b1103c10e36c62873dd59f33fcd948c3f6b4b8af
refs/heads/master
2022-04-09T06:05:58.935246
2020-03-05T16:39:54
2020-03-05T16:39:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,905
py
# The base class for profiling data in RAPID_M from functools import reduce from pathlib import Path import pandas as pd from sklearn import preprocessing from sklearn.externals import joblib class RapidProfile: # pre_determined excluded system footprint that won't affect perf EXCLUDED_FEATURES = { ...
[ "niuye8911@gmail.com" ]
niuye8911@gmail.com
bf04856635fdece6feda6bcb77c0a276dc9ed995
cb82effff0a6918c27b757ec45190cc989013a62
/Hello.py
a98f1b16cfa641f45fb2a2d2d6555ac87eafe789
[]
no_license
sumanth82/realpy-proj
0db3c943d5edd1195907fb9df73435e702d9a5f7
227685a1a97eb5e30c9a17d2efc2f4a79e4ae693
refs/heads/master
2021-05-20T14:09:15.707933
2020-06-29T02:51:37
2020-06-29T02:51:37
252,327,161
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
#!/usr/bin/env python3 # This is a sample comment """ This is NOT a multi block comment in Python This is a multi line string """ import os print('Hello') print('Hello Python') my_str='This is a string' print(my_str) my_num=8 print(my_num) print(type(my_num)) full_name='Sumant'+'\nRenukarya' print(full_name.l...
[ "sumanth82@gmail.com" ]
sumanth82@gmail.com