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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
898d3d53a9099c0e07097c9a03539f243ab5c965 | d1377b1246fe0b8bab1f71a4f6ff247299c72b91 | /ginortS.py | 8448b515518224f0b1c1d55cc704d0642f3ee1fe | [] | no_license | m-bansal/build_up | 7a7c16e4fe695280b1d8d0271ef9f5cbe87242f6 | 5dc1bbc48fd3adbbeb1ae51429a9e725a6a08ecf | refs/heads/master | 2022-12-24T19:58:21.792903 | 2020-10-08T09:43:48 | 2020-10-08T09:43:48 | 276,450,614 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 193 | py | l,u,o,e=[],[],[],[]
for i in sorted(input()):
if i.isalpha():
x = u if i.isupper() else l
else:
x = o if int(i)%2 else e
x.append(i)
print("".join(l+u+o+e))
| [
"noreply@github.com"
] | m-bansal.noreply@github.com |
4f72ee67e49904ac8a1776ec39f2e3ca2e040f48 | f9b2b55e919a2ddf2a3d2c3bc72619a36f60f645 | /leetcode/insertion_sort.py | 01c5c1a594d02e1c00410be184f8a04911c0e495 | [] | no_license | gwuah/ds-algorithms | ff47adf377096316bfd50bd8e0625d7e88b29e27 | 657b20a648525a7328297faea6774110f2eb6ad5 | refs/heads/master | 2022-04-25T05:13:55.511328 | 2020-04-25T14:54:20 | 2020-04-25T14:54:20 | 228,055,544 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 992 | py | # def insertion_sort(nums):
# length = len(nums)
# for i in range(length):
# for j in range(i):
# element_at_i = nums[i]
# element_at_j = nums[j]
# if element_at_i < element_at_j:
# nums[i] = element_at_j
# nums[j] = element_at_i
# ... | [
"griffithawuah15@gmail.com"
] | griffithawuah15@gmail.com |
7ef4a109667ebf6592fdaee6d46b9b761ad1caf6 | 166b7f1047838a0fc50667adafc4cce239d2bac7 | /4.py | 2a2a005458bb7627a84b7152d914f35b2359b678 | [] | no_license | RuwanRanaweera/python_2 | c0482744b0ddcc9eeae9fe1974fbbef019009fbd | c452b25347f776cfb166747fdcb995e233f5f169 | refs/heads/master | 2023-02-28T11:38:15.023565 | 2021-02-08T10:01:00 | 2021-02-08T10:01:00 | 337,030,720 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 103 | py | var = 10
while var> 0:
print('Current Number : ',var)
var = var-1
if var==5:
break
| [
"rwnranaweera@gmail.com"
] | rwnranaweera@gmail.com |
adecfa8e509cf00629988a9d6177bebdf22800ec | e46a62faa757340a05feb1eaa1dd31b2c010d0d5 | /Scripts/scram/plotObsStatus.py | 46dccf2409a001836293287022baab4b07e64b30 | [] | no_license | miao0305/alfaburst-survey | 59ca42ade467c9fc153c99faca551fbe237a121c | e1c571197f2bc13baaf419f6afa463ce67de90e0 | refs/heads/master | 2022-01-09T23:25:52.011105 | 2018-05-17T07:50:26 | 2018-05-17T07:50:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,695 | py | #!/usr/bin/env python
"""
Return Arecibo status based on a MJD or Unix timestamp, and HDF5 directory output of buildHDF5.py
"""
import sys,os
import numpy as np
import pandas as pd
import glob
#from astropy.time import Time
from astropy import units
from astropy.coordinates import Angle
from astropy.coordinates import... | [
"griffin.foster@gmail.com"
] | griffin.foster@gmail.com |
1477a124a0ad09140985594aa29e424ca3c7a864 | a9195a0272b215f1495f596cd856514a9948d487 | /src/clustering_analysis.py | 09d60eb9801739bfae693acdc0c47f2d522f89ec | [] | no_license | tonca/PWguessing | f8b143e564e521b243bfc757bb79cedbadfdda9e | e605f8436bc38daf84c0a002bbf6abbfaad44fc1 | refs/heads/master | 2021-01-01T19:48:18.914976 | 2017-07-28T21:43:46 | 2017-07-28T21:43:46 | 98,690,574 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,610 | py | import numpy as np
import matplotlib.pyplot as plt
import csv
import pandas as pd
from sklearn.metrics.pairwise import pairwise_distances
from sklearn.cluster import KMeans
from sklearn.cluster import dbscan
from sklearn.cluster import AgglomerativeClustering
from sklearn.cluster import AffinityPropagation
import dis... | [
"istsamtonca@gmail.com"
] | istsamtonca@gmail.com |
7790803d582e5e4aa27c50140cc07eda2cc21f14 | d49a4e86138f1d4089dc75507efe19d718c60dc7 | /multiple_inheritance.py | b9daf90f290ca237669f097638e27e7a2d00ff11 | [] | no_license | udaykumarbhanu/algo | 5580075bc522df86ab94e93180e7762d596238a7 | c1ff336749ac66234756549ab9b05dfc6e0f9470 | refs/heads/master | 2021-01-10T02:04:06.075645 | 2017-05-25T05:55:37 | 2017-05-25T05:55:37 | 43,909,540 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 443 | py | class A(object):
def __init__(self):
pass
def print_hello(self):
print "Hello from class A"
class B(object):
def __init__(self):
pass
def print_hello(self):
print "Hello from class B"
class B2(B):
def __init__(self):
pass
def print_hello(self):
print "Hello from class B2"
class C(B2, A):
def __... | [
"udaykumarbhanu@gmail.com"
] | udaykumarbhanu@gmail.com |
08ee64a3abfaa80af0362f984d4b169035ad8946 | ca88fc26aa17d26a405d3daf928809ab2c0d196a | /简单/122.py | 16d5699bc45bca3938e6b43213c0a35eaf8a4942 | [] | no_license | Liujiuzhen/leetcod | d65f745a81bdd501d4424002c2e640a261a3a2f4 | 6e2e610f8f4471ccd48377d99a26c120f9cc4d1f | refs/heads/master | 2023-06-16T18:09:21.983731 | 2021-07-11T12:34:13 | 2021-07-11T12:34:13 | 384,936,663 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 306 | py | class Solution:
def maxProfit(self, prices):
res=0
for i in range(len(prices)-1):
if prices[i+1]-prices[i]>0:
res=res+prices[i+1]-prices[i]
return res
if __name__ == '__main__':
so=Solution()
lists=[7,1,5,3,6,4]
print(so.maxProfit(lists)) | [
"1574285142@qq.com"
] | 1574285142@qq.com |
c4397dba28cc82e40e2139258eef8020658eee5f | b462e3d4e9145d29f410b32227663150e1c28bc0 | /python/app/wechat_subscriptions/wechat_msg_util.py | 6e020684feb50c078fb6f677d0eb74c128be7a55 | [
"Apache-2.0"
] | permissive | lsieun/web_scraping | 4d29770f90c39798b5dcdbce56849df519aafae2 | ab69c2add7d8cec92d76529039dca7a067d4af9a | refs/heads/master | 2020-03-22T10:38:33.417932 | 2018-07-24T05:49:10 | 2018-07-24T05:49:10 | 139,916,722 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,214 | py | import time
from urllib import parse
def current_milliseconds():
timestamp = time.time()
milliseconds = int(round(timestamp * 1000))
return milliseconds
def parse_querystring_dict(url):
parsed_url = parse.urlparse(url)
qs_dict = parse.parse_qs(parsed_url.query)
return qs_dict
def parse_qs(... | [
"331505785@qq.com"
] | 331505785@qq.com |
11bca878aa5063c41f11550c4a9cc2585e8ac6f9 | 45320f0f22c21ea55ed843e4aecc0ae37ea1f7d5 | /bootcamp/authentication/migrations/0004_auto_20161105_0236.py | a32c2c1bf037c9c1f510777417b12d6dea2833f0 | [
"MIT"
] | permissive | krishnajaju/ApartmentSocialNetwork | 9cd042516c7e609e565fb08040e52cc1499797c2 | d6d18682d6793e7208d748dd01cb4c3ea5aa4552 | refs/heads/master | 2022-12-11T07:28:10.271629 | 2022-11-22T18:10:59 | 2022-11-22T18:10:59 | 72,892,512 | 0 | 0 | MIT | 2022-11-22T18:11:01 | 2016-11-04T23:20:55 | JavaScript | UTF-8 | Python | false | false | 440 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.8 on 2016-11-04 21:06
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('authentication', '0003_auto_20161105_0219'),
]
operations = [
migrations.RenameField... | [
"krishna.jaju24@gmail.com"
] | krishna.jaju24@gmail.com |
31a75b0e1666fc8c547df4149c074212f79b1a22 | 2892083b0ca34d4c0f8ebb959805cc51c3730345 | /TODO_app/migrations/0004_auto_20181118_1615.py | a0fb6404667bf94125980ebdb4e73393459744f8 | [] | no_license | atthipatikumar/TO-DO-TASK | b9eb3b4f3962b9124125e22f4568746dcd02c3aa | 79dcd202581013090e025bede1c90bef6fa76bc3 | refs/heads/master | 2020-04-07T06:01:41.143590 | 2018-11-18T19:44:24 | 2018-11-18T19:44:24 | 158,119,623 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 822 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('TODO_app', '0003_auto_20181118_1542'),
]
operations = [
migrations.AlterField(
model_name='register',
... | [
"atthipatikumar@outlook.com"
] | atthipatikumar@outlook.com |
35cea6f477b99f6f8a7cc26fbc10717219904709 | 063a236ba52e596d2871abaf43992d57337215b9 | /orkut_communities/wsgi.py | e2d1f0814f19101834235f47c685ebe2d3ef5a72 | [] | no_license | matheusdemicheli/orkut_communities | 2c277412dc929ebb48477ea523667607e405bdd5 | 7e2414e1b2c0791c34f93f95f3c6dfd2148d2eac | refs/heads/master | 2016-09-06T01:03:01.454509 | 2015-12-23T14:24:52 | 2015-12-23T14:24:52 | 29,220,327 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 409 | py | """
WSGI config for orkut_communities project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "orkut_communities.settings")... | [
"matheusdemicheli@gmail.com"
] | matheusdemicheli@gmail.com |
708491272c2a93f6a37acf259817f7eaeb82e257 | 333cb73b0fcbba984f0c23f7056e9670ffd3d599 | /reservations/views.py | 261108a923dc4c3e5e186141859d72952392f473 | [] | no_license | wy0353/airbnb-clone | 4736cfb808b2f6a47991c888380bf26f94b90e6a | a53718e8d3437ee4ac0765c7361b599e9dcda55b | refs/heads/master | 2021-07-21T01:09:44.267252 | 2021-01-31T08:56:24 | 2021-01-31T08:56:24 | 239,310,121 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,512 | py | import datetime
from django.http import Http404
from django.shortcuts import render, redirect, reverse
from django.views.generic import View
from django.contrib import messages
from . import models as reservation_models
from rooms import models as room_models
from reviews import forms as review_forms
class CreateErro... | [
"wy0353@gmail.com"
] | wy0353@gmail.com |
d8af869514e85bb7f90c8dcc16396d6126bc46f2 | 32f0b0de3bb2b96d968696ca94754b4a0c3f0be7 | /sikuli/examples/test_helper.sikuli/display_log.py | be5b75a62948b17bde7a30cee505e72f07ccac2a | [
"MIT"
] | permissive | rrmhearts/Integration-Testing-Framework | 5db9be018f6f69022b90eaba6aae224e264890f6 | f477b3cd857d51326f59da3ea41c0761894f419c | refs/heads/master | 2022-10-20T01:30:26.890594 | 2022-10-14T20:16:52 | 2022-10-14T20:16:52 | 37,489,963 | 0 | 1 | MIT | 2022-10-14T20:16:53 | 2015-06-15T20:37:26 | HTML | UTF-8 | Python | false | false | 3,295 | py | from __future__ import with_statement
import glob
import os
import platform
import sys
import webbrowser
import subprocess
try:
if "lin" in platform.platform().lower():
sys.path.insert(0, '/home/vagrant/Integration-Testing-Framework/sikuli/examples/test_and_log')
from yattag import Doc
except ImportErr... | [
"jess.n.dawson@gmail.com"
] | jess.n.dawson@gmail.com |
107893fb2b15ddc0c6eb0ec97b753cd841c8c0ad | f1227f4fd0ba762e71be08d24b0c2ee9c05e724d | /syncdiff/adapter/adapter_ae.py | 0df4cd9ce335d4936ab981da5011dc2c92ae15c8 | [] | no_license | Lydia5477/sdtcm | 2981a63316545db2aa2abe7f7588f54c04e7feeb | 6ccf93c19f30aec47afe8b6dcbcbac447dd560f5 | refs/heads/master | 2022-07-12T19:03:26.993616 | 2020-02-27T05:48:54 | 2020-02-27T05:48:54 | 243,439,216 | 0 | 0 | null | 2022-06-22T01:17:29 | 2020-02-27T05:32:01 | Python | UTF-8 | Python | false | false | 858 | py | from torch.utils.data import Dataset
import os
import json
import torch
class AESet(Dataset):
def __init__(self, data_folder: str):
super(AESet, self).__init__()
self._data_folder = data_folder
self._input_size = 0
self._data = []
self._load_data()
def _load_data(self)... | [
"Lydiady5477@gmail.com"
] | Lydiady5477@gmail.com |
16c26985278c7fa1cb832ab6e6ecc01fb8ce15cd | f4f1aefc32072b15c573651bca7928490ef78d6b | /codingenv/Scripts/pilprint.py | e390db2a608bccce6db52439171713e7226dc3c1 | [] | no_license | MarcStocker/Billing-Site | f32cabaa5d14b829f94818b81d3706fa695380d6 | dcd23391f153092cd775885515ede1d856614dba | refs/heads/master | 2021-01-11T12:18:39.660902 | 2017-01-24T17:50:19 | 2017-01-24T17:50:19 | 76,473,459 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,709 | py | #!c:\dropbox\school\2016-2017_school_year\cins_465_web_programming\assignments\first-website-project\codingenv\scripts\python.exe
#
# The Python Imaging Library.
# $Id$
#
# print image files to postscript printer
#
# History:
# 0.1 1996-04-20 fl Created
# 0.2 1996-10-04 fl Use draft mode when converting.
# 0.3... | [
"mstocker.gbit@gmail.com"
] | mstocker.gbit@gmail.com |
72ede8035d37cd5a94867f3819ebc02093493b9d | 956a665a3e4b2d2112e001b6576ed14c8ab9a3d6 | /blog/urls.py | e4ae10194f6c258ace4ec127aede61a0ce112e8e | [] | no_license | UBegimai/python11_blog | bab03066ad3da10ce124e66b13dd8647b157184f | 5ef5e8c8da73433ec25c4b5554d35cb5915d685a | refs/heads/master | 2023-05-02T16:47:48.084709 | 2021-06-10T11:29:20 | 2021-06-10T11:29:20 | 375,338,468 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,174 | py | """blog 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-based vi... | [
"umeibegimai@gmail.com"
] | umeibegimai@gmail.com |
cf781f9f57b15754c829f24e953344d81ac9fd5c | c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c | /cases/pa3/sample/object_attr_set_none-70.py | e1073d079a8e28f1b7e3a1afa8aedb78621abe09 | [] | no_license | Virtlink/ccbench-chocopy | c3f7f6af6349aff6503196f727ef89f210a1eac8 | c7efae43bf32696ee2b2ee781bdfe4f7730dec3f | refs/heads/main | 2023-04-07T15:07:12.464038 | 2022-02-03T15:42:39 | 2022-02-03T15:42:39 | 451,969,776 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 203 | py | class A(object):
a:int = 42
class B(A):
b:bool = True
def __init__(self:"B"):
print("B")
a:A = None
b:B = None
$Target = B()
print(a.a)
b.a = 1
b.b = False
print(b.a)
print(b.b)
| [
"647530+Virtlink@users.noreply.github.com"
] | 647530+Virtlink@users.noreply.github.com |
8ec2a713ac10633fd0ef75c47bb6352c308d1574 | 6ce7bdfec6c2f27c9be190d53b53a7772ebb65f0 | /venv/Scripts/pip3.6-script.py | 70459eef8f18445bc59dc969216d90213ff0e650 | [] | no_license | nesdown/CowRendering | 50918de022ea225014a04596f8c4b63739b576cf | c8c47c3a607ff4bd0e3c6c353a068daf2510b402 | refs/heads/master | 2020-03-19T16:08:47.571747 | 2018-06-09T12:37:51 | 2018-06-09T12:37:51 | 136,702,584 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 394 | py | #!D:\Study\CowRender\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3.6'
__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])
sys.exit(
... | [
"newsdownloads12@gmail.com"
] | newsdownloads12@gmail.com |
e33a73a2c566351605bb2880bb00de100fb20805 | 485cb6c597463b16f745644ff331cc61c670a545 | /quick_sort.py | f10d8cc25c1c16bcac01741ca64b91b7c1675f84 | [] | no_license | huangyue312/algorithm | aca3e630c92e503899e89090674c241fb2ba77bc | 9333e786a9050cb7d840431a88401665c172f1e9 | refs/heads/master | 2022-07-29T00:57:42.180894 | 2020-05-14T06:13:37 | 2020-05-14T06:13:37 | 263,830,973 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,067 | py |
def quick_sort1(l,start,end):
if start >= end:
return
flag=l[start]
left=start
right=end
while left<right:
while left<right and l[right]>=flag:
right = right - 1
l[left]=l[right]
while left<right and l[left]<=flag:
left = left + 1
l... | [
"huangyue312@163.com"
] | huangyue312@163.com |
d66383b7ddda80247fe89a5eff7d18e9c69bcc3b | 33804b6a6c4a476410a819684b734890124841a0 | /tester.py | 2c4bd2ac6423e114f66a0c07e8105c162dbb98c4 | [] | no_license | WycliffeAssociates/8woc2018_reversi | 310a31ee59fbee49ef2fb6ba5a41b5c04ef2c207 | e03f0072085c518ef4ed822c2d9c1aa593f96302 | refs/heads/master | 2022-04-08T10:58:17.640734 | 2020-03-05T14:30:19 | 2020-03-05T14:30:19 | 109,281,289 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,400 | py | #!/usr/bin/python3
""" Tests an executable for correct reversi states """
# Libs
import argparse
import json
import subprocess
import sys
def main():
""" Tests the given executable for correct reversi states """
args = parse_arguments()
tests = json.load(args.test_file)
results = execute_tests(tests... | [
"craig.robert.oliver@gmail.com"
] | craig.robert.oliver@gmail.com |
8273d2ebcfc280a59543693813c5eadf1926658c | fd0411915468c3b3fe16d29bca2747ddd785cf8a | /sketch.py | eb979e6d229e3e6d455e7942d0845058ced2a140 | [
"MIT"
] | permissive | timothydmorton/fpp-old | 31f5f9a0084dd465870298203d253312e01f7379 | 6a2175d4bd9648b61c244c7463148632f36de631 | refs/heads/master | 2021-01-19T02:23:18.360514 | 2016-07-10T21:31:28 | 2016-07-10T21:31:28 | 63,019,168 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,860 | py | """
A module for visualizing Kepler data.
The idea is to keep it rough.
"""
import atpy
from numpy import *
import glob
import matplotlib.pylab as plt
from matplotlib.pylab import *
from matplotlib import rcParams
from matplotlib.gridspec import GridSpec,GridSpecFromSubplotSpec
from keptoy import *
import keptoy
impo... | [
"tim.morton@gmail.com"
] | tim.morton@gmail.com |
b2f4cea09f35c57c0a0b1a27e31cde3747cfc379 | 0cc2272755f051e1758facaaa7e7ade948a2d20f | /orcid_api/models/source.py | 4dc7c4dfc619b56c8d69aa6d977380d2c38fcdff | [
"MIT"
] | permissive | Royal-Society-of-New-Zealand/NZ-ORCID-Hub | f10b34bfb9823fffdb5bbde434b5aa71ea365089 | 98c3320c3663efa5e46aa0d262ece9d9b5029499 | refs/heads/master | 2023-07-08T03:36:36.867612 | 2023-03-18T08:00:07 | 2023-03-18T08:00:07 | 80,788,800 | 16 | 7 | MIT | 2023-03-23T03:32:41 | 2017-02-03T02:07:02 | Python | UTF-8 | Python | false | false | 4,354 | py | # coding: utf-8
"""
ORCID Member
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: Latest
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import r... | [
"nad2000@gmail.com"
] | nad2000@gmail.com |
f1fcb2dc427b1be364386487f375a7ca3c2eea49 | 55c250525bd7198ac905b1f2f86d16a44f73e03a | /Python/Games/Conqueror of Empires/project/game/calculations.py | 18cac829dd2315ea7c9cda18bc6a98acccd1743d | [] | no_license | NateWeiler/Resources | 213d18ba86f7cc9d845741b8571b9e2c2c6be916 | bd4a8a82a3e83a381c97d19e5df42cbababfc66c | refs/heads/master | 2023-09-03T17:50:31.937137 | 2023-08-28T23:50:57 | 2023-08-28T23:50:57 | 267,368,545 | 2 | 1 | null | 2022-09-08T15:20:18 | 2020-05-27T16:18:17 | null | UTF-8 | Python | false | false | 128 | py | version https://git-lfs.github.com/spec/v1
oid sha256:bbc46d12b635a6a06be7a7479e276101e201315e628ef6a050fe99e5561a6532
size 466
| [
"nateweiler84@gmail.com"
] | nateweiler84@gmail.com |
bcf8e579e306bd3b6fd3400f4b0ae78666be7bff | 9b6895363cb512105b8d8f5c15616e09bc7bb0e6 | /models.py | ca53242e9ac94a644b1f28744ecd99dc8ed1d671 | [] | no_license | sudheersam/Edyoda-lets-meet-project | 15329703391091d5ef1dea528ee2daa78d165a1a | d089e80b081e7d873082ea5f87d0cf0679597a1f | refs/heads/main | 2023-03-17T14:04:24.026960 | 2021-03-15T13:55:09 | 2021-03-15T13:55:09 | 347,942,616 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 922 | py | from django.db import models
from django.contrib.auth import models as django_models
from django.contrib.auth.models import User
# Create your models here.
class UserProfile(models.Model):
user = models.OneToOneField(User, on_delete = models.CASCADE)
is_manager = models.BooleanField(default= False)
... | [
"noreply@github.com"
] | sudheersam.noreply@github.com |
379ccd4a0da9061c9567adae0e5cc506a2c925fb | 8b3776414128eb17607b3c0f1b6745371af5ec12 | /discovery/tweets/migrations/0004_tweet_user.py | 9a7dd5dd78bbd7a8ccbb1b327fbb2bb9b1563358 | [] | no_license | ShiroshT/tweetX | 7fda7ba46e11342a66a0bb0a4bb23f6a63b580b4 | b6836b8555f8c39d168c629c4e390fec23de4b28 | refs/heads/master | 2021-07-20T02:16:13.669533 | 2017-10-29T08:58:28 | 2017-10-29T08:58:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 649 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-10-22 11:12
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_depende... | [
"devwork.rocketbox@gmail.com"
] | devwork.rocketbox@gmail.com |
8f99be10dd9404253f9f15b06055a89fc3f771ee | 9668e961d5aabd2cfa103a9b8f25d20e1700d400 | /constants/game_loop_states.py | 10b2ca4b1fe1afe8d14d65689dcb5b0ef3575fe4 | [] | no_license | Sam-Macpherson/1920 | d79df3f8cdcda68fb0d0b6bb888ba80feb1d4824 | d6f5da4d2b3a3f0bb1e78f0f14af7e113189f084 | refs/heads/master | 2022-07-28T13:21:34.654400 | 2020-05-25T12:25:06 | 2020-05-25T12:25:06 | 256,360,034 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 606 | py | # The different phases in the game loop
import constants.scenes as scenes
LISTENING_TO_RADIO = scenes.ALARM_CLOCK_SCENE
GOING_TO_WORK = scenes.GOING_TO_WORK_SCENE
AT_WORK = scenes.RESTAURANT_SCENE
MANAGE_BOOKS = scenes.MANAGE_BOOKS_SCENE
LEAVING_WORK = scenes.LEAVING_WORK_SCENE
# The initial game loop is ordered her... | [
"sam.macpherson15@gmail.com"
] | sam.macpherson15@gmail.com |
31820bbd46117310b0b76e8a4adb2a19182660a5 | 81b7126cb2622edfcc2f8c11e5124b95b07683ee | /bin/lean | badf37bd83f8bc3112bea1c3982f0b61c9372a74 | [
"MIT"
] | permissive | Julian/dotfiles | f902c96c67ad83f56aeb4e8e25242d88365fb0cf | e8567440eef36dcc98687cbd06bb27573c845080 | refs/heads/main | 2023-08-28T14:09:24.244528 | 2023-08-10T12:50:39 | 2023-08-10T12:50:39 | 2,197,724 | 37 | 5 | null | null | null | null | UTF-8 | Python | false | false | 1,650 | #!/usr/bin/env python3
from pathlib import Path
import os
import re
import subprocess
import sys
LEAN3_MARKER = re.compile(r'"leanprover(?:|-community)/lean:(.*)"')
LEANPKG = Path("leanpkg.toml")
LEAN3_DIR = Path(
os.environ.get("LEAN3_DIR", os.path.expanduser("~/.local/share/lean/")),
)
LEAN4_DIR = Path(
o... | [
"Julian@GrayVines.com"
] | Julian@GrayVines.com | |
7c255d5fc398aa48637961bbfa8a5626ea5fc7bd | f3b233e5053e28fa95c549017bd75a30456eb50c | /ptp1b_input/L79/79-bp_wat_20Abox/set_4.py | 243ef874827bee179687512fa8cdb959f8f21467 | [] | no_license | AnguseZhang/Input_TI | ddf2ed40ff1c0aa24eea3275b83d4d405b50b820 | 50ada0833890be9e261c967d00948f998313cb60 | refs/heads/master | 2021-05-25T15:02:38.858785 | 2020-02-18T16:57:04 | 2020-02-18T16:57:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 739 | py | import os
dir = '/mnt/scratch/songlin3/run/ptp1b/L79/wat_20Abox/ti_one-step/79_bp/'
filesdir = dir + 'files/'
temp_prodin = filesdir + 'temp_prod_4.in'
temp_pbs = filesdir + 'temp_4.pbs'
lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078]
for j in lamb... | [
"songlin3@msu.edu"
] | songlin3@msu.edu |
34c8ce587fd06c0637ab8c39b7b5c855aa9614e9 | 526c5e67fa653b0046586a069a2ed9b59d189a71 | /kivy/kivymd/MDIcons.py | 9770aa724d81662ad21cf78381d46c772c2dcfb0 | [] | no_license | vps4618/buildwithpython | 6a55064f2c9e333a6fd4742fd985aa6bce0df685 | a16abb9ed3425a3fc5925fa45e83f13b12955d76 | refs/heads/main | 2023-08-07T13:26:47.762322 | 2021-09-27T17:48:13 | 2021-09-27T17:48:13 | 409,471,481 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 617 | py | from kivymd.app import MDApp
from kivymd.uix.label import MDIcon
from kivymd.uix.boxlayout import MDBoxLayout
class IconApp(MDApp):
def build(self):
layout = MDBoxLayout()
icon1 = MDIcon(icon='account-cash', halign='center')
icon2 = MDIcon(icon='account-child', halign='center')
... | [
"noreply@github.com"
] | vps4618.noreply@github.com |
15d9796422807d6d1ef08b7b70e4682a52ec0b77 | 8fb5ca43ac38f6241a1b8693419148509db8613d | /broker/broker/wsgi.py | 75226026f1faad0e9e1c631e4ea2dd1cd3ceb3f5 | [] | no_license | lorenzotan/brokerV2 | 0e07760ad2b57f2b204e0d43d088c0f79efb172b | 23120f4c2a29e56452191680c1c47424f9f66d5e | refs/heads/master | 2020-04-02T06:58:43.375618 | 2019-02-25T01:29:46 | 2019-02-25T01:29:46 | 154,176,419 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 389 | py | """
WSGI config for broker project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTIN... | [
"lorenzo.tan@gmail.com"
] | lorenzo.tan@gmail.com |
83df72e7016f36def68c8278a636e0ca9aa3a0f4 | 874d2d734dfe9e13bede7ec60c146e9ac9a90be9 | /energypy/envs/flex/flex.py | ff6ee957506f983d13088f79bee70ca88f0bce92 | [
"MIT"
] | permissive | daleyuda/energy-py | 9e19c5c750a6f2a0d3a05f880294f4126fc15899 | 52553870a4c454fb36151a55b59f7715fcacff73 | refs/heads/master | 2020-03-28T15:17:30.416988 | 2018-09-13T00:04:38 | 2018-09-13T00:04:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,973 | py | """ v3 of a price responsive flexible electricity asset
TODO
Add units onto all of the info dict lists
"""
from collections import deque
import logging
import numpy as np
from energypy.envs import BaseEnv
from energypy.common import ContinuousSpace, DiscreteSpace, GlobalSpace
logger = logging.getLogger(__name__)
... | [
"adam.green@adgefficiency.com"
] | adam.green@adgefficiency.com |
6af9c2ef36096d3ebeeefd45291472877aabdc5d | 47ae678aa432deb0eb4f99b6a9787853315ab899 | /qikan/spiders/SAGE150.py | 3ec3cf0fa807faeb520fadb2327f9da5e2fe66c8 | [] | no_license | RoggerLuo/python-scrapy-journal | 1f3fb2ac41d90d25a0b635932600ff2327bf22d1 | 38d8e714f346e5951bcb55487fc0056a834f30d8 | refs/heads/master | 2020-04-05T20:32:42.201876 | 2018-11-13T06:35:59 | 2018-11-13T06:35:59 | 157,185,106 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,251 | py | # -*- coding: utf-8 -*-
# 于丽美
# http://journals.sagepub.com/toc/bnaa/2
import scrapy
from qikan.items import QikanItem
import re
import time
from .config import Config,postItemWithPdf,postItem,proxyRequest
class Sage150Spider(scrapy.Spider):
name = 'SAGE150'
# url = input('请输入网址:')
start_urls = ['http://jo... | [
"luojie.5408@163.com"
] | luojie.5408@163.com |
d0b5c147e5772ec9cb099d566c35eb532ab75c4e | 4518699229752baea849a53264033010997bb3ed | /graph_peak_caller/__init__.py | 368911282687569e68ea0ea6b5ecabb3444f1fb8 | [
"BSD-3-Clause"
] | permissive | cgroza/graph_peak_caller | 09926bce71ef0d3c35a7b315499814be9f06db35 | 52c48ed30bbfac859594c6f5b2cfb191b7191481 | refs/heads/master | 2022-02-11T21:04:00.547375 | 2022-01-28T14:19:52 | 2022-01-28T14:19:52 | 203,458,900 | 0 | 0 | null | 2019-08-20T21:43:53 | 2019-08-20T21:43:53 | null | UTF-8 | Python | false | false | 69 | py | from .callpeaks import CallPeaks, Configuration, CallPeaksFromQvalues | [
"ivar.grytten@gmail.com"
] | ivar.grytten@gmail.com |
3df1ccfcd66c67fa11c7694478c2e22377c2fadb | e607cf6c01b25a2c454f9421081a230caba1cfcc | /order_photo_locations.py | c28a2ca9d38ac84ee4b10f1fe07ceb1046e0c736 | [] | no_license | walterdevalk/order_photo_locations | 2cef7e540eaa111d061aa1f5e407be9457268632 | 6944d04133693bc71041dc4eff4927ae478d4b0d | refs/heads/master | 2021-01-01T19:42:40.736081 | 2015-02-18T22:47:33 | 2015-02-18T22:47:33 | 21,285,447 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,250 | py | #! /usr/bin/env python
"""
This script will reorganize the pictures in the given folder recursive and resort them
based on the date, found in the ExifTag DateTimeOriginal.
Example:
vacation/spain/1234422.JPG with date 2012:03:03 11:11:00
will be moved to 2012/03/03/1234422.JPG
"""
__author__ = "Walter de Valk"
__vers... | [
"walterdevalk@gmail.com"
] | walterdevalk@gmail.com |
7c7d3d1d6c523924117004403ed9dceb23fe920b | e298eb03912283655a034472aefb349d975a6def | /src/dcos_migrate/system/backup.py | aef0175ef9019cd89bf44484deb52daa1dd61f14 | [
"Apache-2.0"
] | permissive | fatz/dcos_migrate | b0303bd770b574aa4567ed97ec0b4eb775b0ce7b | 0310c93b76dd0cd7149dbac335de870a30956a68 | refs/heads/master | 2023-02-24T10:01:12.851596 | 2021-01-12T14:30:46 | 2021-01-12T14:30:46 | 322,659,694 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,175 | py | import json
class Backup(object):
"""docstring for Backup."""
def __init__(self, pluginName: str, backupName: str, data={}, extension='json'):
super(Backup, self).__init__()
self._plugin_name = pluginName
if "/" in backupName:
raise AttributeError(
"backupN... | [
"julferts@d2iq.com"
] | julferts@d2iq.com |
183f355e89e5b4ac180269cf4f73b56a2122333e | df2cbe914f463ad050d7ed26194424afbe3a0a52 | /addons/hr_fleet/__manifest__.py | 7d0575750ec9ca1481ce367a05e4944a8f8f018a | [
"Apache-2.0"
] | permissive | SHIVJITH/Odoo_Machine_Test | 019ed339e995be980606a2d87a63312ddc18e706 | 310497a9872db7844b521e6dab5f7a9f61d365a4 | refs/heads/main | 2023-07-16T16:23:14.300656 | 2021-08-29T11:48:36 | 2021-08-29T11:48:36 | 401,010,175 | 0 | 0 | Apache-2.0 | 2021-08-29T10:13:58 | 2021-08-29T10:13:58 | null | UTF-8 | Python | false | false | 500 | py | # -*- encoding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Fleet History',
'version': '1.0',
'category': 'Human Resources',
'summary': 'Get history of driven cars by employees',
'description': "",
'depends': ['hr', 'fleet'],
'data': [
... | [
"36736117+SHIVJITH@users.noreply.github.com"
] | 36736117+SHIVJITH@users.noreply.github.com |
bf0f592e4454651e39c035714b612d4bef7edce6 | 25aa34dc6464833005838a31333cd1ea3d02f1de | /TAMUCTF/2020/crypto/eternal_game/solver.py | ba48557a634eb8216031ef3156ce3d97ee0152a2 | [] | no_license | ChaO-0/WriteUps | 4af54d347f0c2452c0dce4c728e6c6b8f30360dc | 3ae188c1b8b2040c65377557d0495a704108d800 | refs/heads/master | 2022-12-23T17:09:44.254508 | 2020-10-14T00:39:04 | 2020-10-14T00:39:04 | 173,588,941 | 10 | 1 | null | 2022-12-13T16:52:10 | 2019-03-03T14:56:03 | Python | UTF-8 | Python | false | false | 624 | py | from pwn import *
from hashpumpy import hashpump
def solve():
p = remote("challenges.tamuctf.com", 8812)
# p = process(["python", "chall.py"])
p.sendline("1")
p.sendline("3")
p.recvuntil("quit\n")
known_hash = p.recvline()[:-1]
log.info("Known Hash: {}".format(known_hash))
for ke... | [
"christophergin88@gmail.com"
] | christophergin88@gmail.com |
163c9397b93227ba72dfe3d6f69453fbc88814af | 7956e2e7db011bcaf90fb3a55c6fb729f7a4ea5b | /mmdet/models/detectors/cascade_rcnn.py | f76bdc53293370348449f0c204d8a0b535a23791 | [
"Apache-2.0"
] | permissive | ducminhkhoi/FAPIS | 152381e5c88f60e62a48a182a5752bef5637aedf | c89703006a2a5250f4d1c71e0aad958d72526885 | refs/heads/main | 2023-08-24T03:22:01.855636 | 2021-10-16T02:29:52 | 2021-10-16T02:29:52 | 417,691,302 | 5 | 1 | null | null | null | null | UTF-8 | Python | false | false | 15,882 | py | from __future__ import division
import torch
import torch.nn as nn
from .base import BaseDetector
from .test_mixins import RPNTestMixin
from .. import builder
from ..registry import DETECTORS
from mmdet.core import (build_assigner, bbox2roi, bbox2result, build_sampler,
merge_aug_masks)
@DETE... | [
"nguyenkh@oregonstate.edu"
] | nguyenkh@oregonstate.edu |
c1a835cb1801ffcaeac3c32f72535c16876255c1 | 161fd6370ffa0b35ecd50719d6266224da597ee0 | /Python/Flask_Fundamentals/Ninja/server.py | f182eceadfc0fa9291b6b6c33e43ff646036d848 | [] | no_license | ebergstein/DojoAssignments | a30fd8b36442bff2a4253902a591ad11f191fc12 | 3ad9ac65073c733ead32b93ce4be19af5369fccf | refs/heads/master | 2021-06-19T09:48:23.100713 | 2017-06-30T04:24:35 | 2017-06-30T04:24:35 | 82,743,546 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 717 | py | from flask import Flask, render_template, request, redirect, session
app = Flask(__name__)
app.secret_key = 'ThisIsSecret'
@app.route('/')
def index():
return render_template("index.html")
@app.route('/ninja/')
def none():
session['image'] = "all"
return redirect('/result')
@app.route('/result')
def show():
... | [
"ebergstein@sbcglobal.net"
] | ebergstein@sbcglobal.net |
37a6cf00779213d897f049130db765b418d9d2df | 6be59c81f3f6a17c14b812be0de3346a82eb33dd | /cv/image_similarity/cnn/deep_ranking.py | 96d8025db491549a135a0a262ce980ed7011dad4 | [] | no_license | chunhuizhang/bilibili_vlogs | 6851fdcd43f08fcf7195e345b0bc85d99c0b9128 | 0efd921b24f2af43f5972ea6909deb2fc069d305 | refs/heads/master | 2023-08-17T15:47:04.299072 | 2023-08-14T13:46:31 | 2023-08-14T13:46:31 | 220,612,967 | 170 | 70 | null | null | null | null | UTF-8 | Python | false | false | 1,806 | py |
import tensorflow as tf
from tensorflow.keras.applications.vgg16 import VGG16
from tensorflow.keras.applications.inception_v3 import InceptionV3
from tensorflow.keras.applications import Xception, ResNet50
from tensorflow.keras.utils import plot_model
from tensorflow.keras.layers import *
from tensorflow.keras impo... | [
"zch921005@126.com"
] | zch921005@126.com |
543f1382f2f9737cded78261595edeb2e5d82885 | be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1 | /Gauss_v45r10p1/Gen/DecFiles/options/12135000.py | 899b37e0cb4bf6dced24a52398718e191cd12450 | [] | no_license | Sally27/backup_cmtuser_full | 34782102ed23c6335c48650a6eaa901137355d00 | 8924bebb935b96d438ce85b384cfc132d9af90f6 | refs/heads/master | 2020-05-21T09:27:04.370765 | 2018-12-12T14:41:07 | 2018-12-12T14:41:07 | 185,989,173 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,777 | py | # file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/12135000.py generated: Wed, 25 Jan 2017 15:25:32
#
# Event Type: 12135000
#
# ASCII decay Descriptor: [B+ -> (D- => K+ pi- pi-) pi+ pi+ ]cc
#
from Configurables import Generation
Generation().EventType = 12135000
Generation().SampleGenerationTool = "... | [
"slavomirastefkova@b2pcx39016.desy.de"
] | slavomirastefkova@b2pcx39016.desy.de |
a498f6e74476c80f37f9a23e7ce25b3099d4ae25 | c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c | /cases/synthetic/tree-big-6223.py | e684d511e215eb2534e0c570c9e4aa081bc71b72 | [] | no_license | Virtlink/ccbench-chocopy | c3f7f6af6349aff6503196f727ef89f210a1eac8 | c7efae43bf32696ee2b2ee781bdfe4f7730dec3f | refs/heads/main | 2023-04-07T15:07:12.464038 | 2022-02-03T15:42:39 | 2022-02-03T15:42:39 | 451,969,776 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 23,288 | py | # Binary-search trees
class TreeNode(object):
value:int = 0
left:"TreeNode" = None
right:"TreeNode" = None
def insert(self:"TreeNode", x:int) -> bool:
if x < self.value:
if self.left is None:
self.left = makeNode(x)
return True
else:
... | [
"647530+Virtlink@users.noreply.github.com"
] | 647530+Virtlink@users.noreply.github.com |
1287f543ed12683499d95fffd74dafee2c0cf86b | 4f3a4c194451eae32f1ff7cf3b0db947e3892365 | /342/main.py | c7002a28e418d4ff9b0c3ff3d06e037f88380d8f | [] | no_license | szhongren/leetcode | 84dd848edbfd728b344927f4f3c376b89b6a81f4 | 8cda0518440488992d7e2c70cb8555ec7b34083f | refs/heads/master | 2021-12-01T01:34:54.639508 | 2021-11-30T05:54:45 | 2021-11-30T05:54:45 | 83,624,410 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 261 | py | """
Given an integer (signed 32 bits), write a function to check whether it is a power of 4.
Example:
Given num = 16, return true. Given num = 5, return false.
Follow up: Could you solve it without loops/recursion?
"""
# TODO: NEEDS CODE FROM BEFORE | [
"shao.zhongren@gmail.com"
] | shao.zhongren@gmail.com |
7a8904d160c29ba67ffed19d22eeb72699e2fc0b | 32df6d2f71bf8fbc1d2e6db834d3a4980c8b1348 | /backend/settings.py | 6d7c01c2e412980117508a419b42f273fef820ee | [] | no_license | allilk/milkbox-js | e9fb458b32db127d6f048b6b07f596d562d8a0d3 | 998a958ea9d92f9391e2437b97677b9a582686cb | refs/heads/master | 2023-01-29T17:20:38.375678 | 2020-04-16T20:01:38 | 2020-04-16T20:01:38 | 256,255,410 | 0 | 0 | null | 2020-12-12T14:20:07 | 2020-04-16T15:29:06 | Python | UTF-8 | Python | false | false | 3,709 | py | """
Django settings for milkbox project.
Generated by 'django-admin startproject' using Django 3.0.5.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.0/ref/settings/
"""
import os
fr... | [
"milk@developer.lgbt"
] | milk@developer.lgbt |
1eedc5acffffa6daed86d008c97fc137d4004b7b | 482e28dccb663459e50ac601e8cc376f2441b0f7 | /src/ch05/instructions/stores/Istore.py | 4c7115d1daea3912011fa3f5f1214933164872fe | [] | no_license | wlj5240/JVMByPython | 1487d4f4b8367e9e31d71b60a9d06ff4996ad1b7 | 53502f10f4f19741646d871c46014e023ccad4a5 | refs/heads/master | 2022-10-05T19:55:50.381307 | 2019-10-20T05:03:38 | 2019-10-20T05:03:38 | 270,003,703 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 831 | py | #!/usr/bin/env python
# encoding: utf-8
"""
@author: HuRuiFeng
@file: Istore.py
@time: 2019/9/15 19:25
@desc: int类型变量存储指令
"""
from instructions.base.Instruction import Index8Instruction, NoOperandsInstruction
def _istore(frame, index):
val = frame.operand_stack.pop_numeric()
frame.local_vars.set_numeric(index... | [
"huruifeng1202@163.com"
] | huruifeng1202@163.com |
dff218fc396c0c3506b94d5ed333a84f16c3c22c | e10a6d844a286db26ef56469e31dc8488a8c6f0e | /pvn/networks.py | 18d517d58d9cb1babb6b29af43e7a6360dc961a9 | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | Jimmy-INL/google-research | 54ad5551f97977f01297abddbfc8a99a7900b791 | 5573d9c5822f4e866b6692769963ae819cb3f10d | refs/heads/master | 2023-04-07T19:43:54.483068 | 2023-03-24T16:27:28 | 2023-03-24T16:32:17 | 282,682,170 | 1 | 0 | Apache-2.0 | 2020-07-26T15:50:32 | 2020-07-26T15:50:31 | null | UTF-8 | Python | false | false | 5,984 | py | # coding=utf-8
# Copyright 2022 The Google Research Authors.
#
# 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 applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
a8f47240d377c2a56a6e5d98886f69e10546b8b7 | 550a1121d81a9ca2fff4855b1d07da7479246917 | /module/functions.py | b508de3452b2e83d8892e29463d8e55c145b8bf0 | [] | no_license | omribahumi/pycharm-bug | a018f0fe1a93fd47172023898c1650da6140b1c3 | 683cfde7892de945953a3131b2d5ccbab8fdc3b9 | refs/heads/master | 2020-07-25T15:48:00.606443 | 2014-11-19T14:49:13 | 2014-11-19T14:49:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 32 | py | def dummy_function():
pass
| [
"omrib@everything.me"
] | omrib@everything.me |
2df4b279ab495b5dbe6dce329409cf7046330746 | 6689e6e7993e28ae189da07ecc965bd3e22a699c | /AsynchronousWrite.py | c5ac37907067fd819f7832b7ece7f78129825a35 | [] | no_license | abhishekSen999/getblock_implimentation | b723b0490de1c010fa71e3a0b2968a20d5a9865b | 83217f200b44e3e1670d794a7af35668744acd89 | refs/heads/master | 2020-05-17T11:36:19.127705 | 2019-08-06T05:16:42 | 2019-08-06T05:16:42 | 183,688,830 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,001 | py | import multiprocessing
import BufferHeader
import time
import os
def _writeAsynchronously(lock,bufferDataStructure,blockNumber):
#locking as this is supposed to be a
#lock.acquire()
print("************ Asynchronous Writing of Block number-",blockNumber," ***************")
time.sleep(4) #sleep for 4... | [
"abhishek.sen999@gmail.com"
] | abhishek.sen999@gmail.com |
9ae5354fde676db014c198da65188091357a2463 | 310829324890c4ae4fabe36181038f121ee9ee53 | /test_place.py | 365e0a2849c23e9d7061e4241780011a9a0dadb3 | [] | no_license | kreshezy/Travel-Tracker-Final | ba8458ab63f72882a0cb38946f38331df3e8fde1 | fa97dcbce75883b0556a44e69f2fb6de3b4c74f7 | refs/heads/master | 2022-12-26T22:15:17.958426 | 2020-09-27T06:06:34 | 2020-09-27T06:06:34 | 298,151,183 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 920 | py | from place import Place
def run_tests():
"""Test Place class."""
print("Test empty place:")
default_place = Place()
print(default_place)
assert default_place.name == ""
assert default_place.country == ""
assert default_place.priority == 0
assert not default_place.is_visited
# Test ... | [
"noreply@github.com"
] | kreshezy.noreply@github.com |
c876c16d0a0ea296e728c6933d5b894de063bf2a | 45aea658416c2d00bcb5d57eb05c793fa5d660fa | /sql_queries.py | 6d35f136985b9d9eb4f60e62a4c25419c8d98ce0 | [] | no_license | pseudogram/udacity-data-modeling-postgres | fb7c4c83a4ce41793742cd78c04ee3c8fe5d6f32 | 9393d1180e1ea64dd8bf26d2f6d891630b1b2990 | refs/heads/master | 2022-04-19T13:03:49.931631 | 2020-04-13T19:47:30 | 2020-04-13T19:47:30 | 255,244,101 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,910 | py | # DROP TABLES
songplay_table_drop = "DROP TABLE IF EXISTS songplays;"
user_table_drop = "DROP TABLE IF EXISTS users;"
song_table_drop = "DROP TABLE IF EXISTS songs;"
artist_table_drop = "DROP TABLE IF EXISTS artists;"
time_table_drop = "DROP TABLE IF EXISTS time;"
# CREATE TABLES
songplay_table_create = ("""
CREATE ... | [
"pseudogrammer@gmail.com"
] | pseudogrammer@gmail.com |
1a68df4f2c767747d4962ef0255bcfaff0ec6a26 | fd27390a80a64de82b0505dff5b7a8f656dc6000 | /mrBlue/base_F.py | 3e3f8d90e49fe2683a40122e59ed6cb755734452 | [] | no_license | t3fox/HighHBOT | 0cc6bfade9a9b79359761e3af8bbc0f37decad7a | 12ef074716eb77d03943d231c31054d491ba7f5c | refs/heads/master | 2022-12-08T13:46:51.057105 | 2020-08-07T02:17:55 | 2020-08-07T02:17:55 | 285,690,160 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 705 | py |
def executeBot():
input_email_id = "benitocamelo4vcs@gmail.com"
input_passw = "desig654?"
driver.get('https://www.facebook.com/login.php?login_attempt=1&lwv=110')
print("...Facebook is open...")
#email = driver.find_element_by_xpath("/html/body/div[1]/div[3]/div[1]/div/div/div/div[2]/form/div/div[1]/input")... | [
"noreply@github.com"
] | t3fox.noreply@github.com |
0c3ba08e7a764797288a746b8455a0129df23cbe | 72611197a42ef6cba75a2ad682dea5e2c8506548 | /HBM/examples/chlorophyl_layers.py | 3a749d82c3beadf324c9a76a45ecbd94a022881e | [] | no_license | asbjorn-christensen/GridWetData | 6e11247faed414d86371f1d5c40c3126582afabc | c94bc71c2e32ea834d2d1902c3b37ade29ac44d5 | refs/heads/master | 2020-05-21T23:19:21.979715 | 2019-09-06T13:40:35 | 2019-09-06T13:40:35 | 56,060,298 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,505 | py | #!/usr/bin/env python
#######################################################################################
#
# Extract misc chlorophyl attributes (strat front, bottom, surface, vertical average)
# by looping with GridWetData.HBM.DataManager.loop_over(...)
#
# If GridWetData is not in default search path, then (in b... | [
"asc@aqua.dtu.dk"
] | asc@aqua.dtu.dk |
d7c5fc8f4f253d5933902ec0333e9a30f480a39f | 8ef36062d9215d53afbc3584fb0eccae8a48c670 | /C to F converter.py | 85a406ed574d89d73d81314de65cddc3cb3590d2 | [] | no_license | sbo97t/BootCamp | c1bcf2ee3b570e4d42e5c231126e81451c862848 | 3bf27ba2e51d45cdf52af3412b80eefedd8bc501 | refs/heads/master | 2022-06-16T17:09:53.337368 | 2020-05-10T02:42:54 | 2020-05-10T02:42:54 | 252,709,856 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 427 | py | # C to F converter
print("Enter a temp in Celsius to convert to Fahrenheit")
temp = float(input("Celsius "))
print((temp * 9/5) + 32)
print("Would you like to convert from Farhneheit to Celsius? (Y or N) ")
answer=input()
if answer=="Y":
print("Enter a temp in Fahrenheit to convert to Celsius")
tempF ... | [
"noreply@github.com"
] | sbo97t.noreply@github.com |
35794bba74cad8910ae9c4a15b5203edb84dcfb6 | b352178349036ad5cccc4cb973d7240e99c0fa3f | /ProduceAZ_1/goodsApp/migrations/0015_contactus.py | 06e5ab386989e412229c443878406edb5003e017 | [] | no_license | RaminCH/final_proj_techacademy | 8467729d9acabf6dab26dde6efee857c282cf7fd | af7b763c23c698aea1bb7d3b38a5607bc9c9916f | refs/heads/master | 2022-12-02T02:04:25.866305 | 2020-02-04T17:50:45 | 2020-02-04T17:50:45 | 238,266,063 | 1 | 0 | null | 2022-11-22T05:17:27 | 2020-02-04T17:37:17 | CSS | UTF-8 | Python | false | false | 706 | py | # Generated by Django 3.0.2 on 2020-01-25 15:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('goodsApp', '0014_backgroundimage_headermodel'),
]
operations = [
migrations.CreateModel(
name='ContactUs',
fields=[
... | [
"ramin.chopurov@gmail.com"
] | ramin.chopurov@gmail.com |
462b4661effed19ab49cf3cae360488074cec925 | 71ed7467f0ee53a6589867a9b54eedf8f4d27cf1 | /unit6/unit6.2.py | 41207679011fa2cfb741951f1f8ac15f14b053db | [] | no_license | EricSeokgon/dojangPython | 46f7c7ee8762749f79eb0981cde901cacb0c5439 | 4b81cef2738f4f5457eb968bd9d99aea2241a29a | refs/heads/master | 2020-04-13T13:59:23.501146 | 2019-01-01T23:47:15 | 2019-01-01T23:47:15 | 163,248,266 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 146 | py | a = 10
b = 20
c = a + b
print(c)
a = 10
print(a + 20)
print(a)
a = 10
a = a + 20
print(a)
a = 10
a += 20
print(a)
x = -10
print(+x)
print(-x)
| [
"leesk55@gmail.com"
] | leesk55@gmail.com |
f56516ce958b9557cfa1faae1b3efa4f89917394 | 3d5062883ea4fc446f51146adee8970ce9e6d2ae | /ProjectWeb/wsgi.py | 014019eee07a58f19e1d63c1ce68a40589acefb5 | [] | no_license | Marvin-Fiedacan/ProjectWeb | b32f564b81aa5bf8e11318221e5dd8c28c4e3fd9 | e104f72672384d01f5b764ae8ea5d7ae624c8c03 | refs/heads/main | 2023-07-03T13:53:42.738377 | 2021-08-06T04:13:46 | 2021-08-06T04:13:46 | 392,547,581 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 397 | py | """
WSGI config for ProjectWeb project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SE... | [
"marvinfiedacan@gmail.com"
] | marvinfiedacan@gmail.com |
87c85a9c698b6e3970fa33ac7f05bc41cd3236b7 | 4d50855fd42b4ea585b2f4f7fd56b1966e0fd42f | /cms/apps/settings/migrations/0004_settings_left_column_text.py | 31b27c2054ac2aa7eb364f02016558fc7ea660dc | [] | no_license | C6H6/django-cms | d1b43a6bc7ae441ea78e4071c906af50114f985a | 2e8e05b5c5276514af67773bc017f6a1354596c0 | refs/heads/master | 2020-04-03T07:27:03.724286 | 2019-03-05T20:14:35 | 2019-03-05T20:14:35 | 155,103,237 | 1 | 0 | null | 2019-03-05T20:14:36 | 2018-10-28T18:39:04 | Python | UTF-8 | Python | false | false | 434 | py | # Generated by Django 2.1.2 on 2019-01-12 16:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('settings', '0003_settings_mourning_mode'),
]
operations = [
migrations.AddField(
model_name='settings',
name='left_c... | [
"c3c3h3h3@gmail.com"
] | c3c3h3h3@gmail.com |
d4f0b74ea6a91c0ea9ec118c096f874f88485adc | 4424017efe8265f2e304619b179e03082a5e0833 | /server/grok/db/mongo.py | 44f919b67eea74af8ab46848627bc1740a8481f3 | [] | no_license | rganchev/grok | d26bc0670538aa239ca1883263fe79e259a817be | ad9dfb81519ac0d1ad18bcf809ef60ef00b5721d | refs/heads/master | 2021-01-20T02:29:19.120062 | 2017-06-10T10:46:01 | 2017-06-10T10:46:01 | 83,817,784 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 557 | py | import json
from pymongo import MongoClient
from bson.objectid import ObjectId
class DB(object):
client = MongoClient()
"""Represents a Mongo database with the given name"""
def __init__(self, name):
self._db = self.client[name]
def __getitem__(self, key):
return self._db[key]
d... | [
"radan.ganchev@gmail.com"
] | radan.ganchev@gmail.com |
f392d1cadd9417da7f977acdd9a94adcc2f31a67 | c6a959125c09ff0d1ae8ceae5d66849b9879805d | /chapter_04/4-12 . More Loops.py | a59ac7ee58124f3999f8a9d590328e6e21684bf8 | [] | no_license | schartun/pythoncrashcourse | 44775977916cd60d9d36634d70c748f3f3f1ccf4 | 0f4238f78c507911bd83d7c049dc2015764ba729 | refs/heads/master | 2020-04-28T01:18:57.470300 | 2019-08-21T21:49:16 | 2019-08-21T21:49:16 | 174,850,636 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 431 | py | # All versions of foods.py in this section have avoided using for loops when printing to save space .
# Choose a version of foods.py, and write two for loops to print each list of foods .
my_foods = ['pizza', 'falafel', 'carrot cake']
friend_foods = my_foods[:]
print("My favorite foods are:")
for pizza in my_foo... | [
"schartun@gmail.com"
] | schartun@gmail.com |
6c09095197e24db6aa4f6e31283dd1213e9a9520 | f463414357cf70d156205b189f93121bb3c25a44 | /pet_ct/learn/dataloaders.py | 5764d844562a867fe4607d90cbdf899b92cc202f | [
"Apache-2.0"
] | permissive | geoffreyangus/pet-ct | 6e83e146e56a79a6c7f889c4fbb650b214ed1075 | fa96a07734afade475f6a1e1587ec14965fe2de3 | refs/heads/master | 2021-04-11T21:31:11.022315 | 2020-03-21T21:14:17 | 2020-03-21T21:14:17 | 249,056,432 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 21,599 | py | """
Defines DataLoader classes to use.
"""
import logging
from collections import defaultdict
from itertools import groupby
import torch
import torch.nn as nn
import numpy as np
from torch._six import int_classes as _int_classes
from torch.utils.data import DataLoader
from torch.utils.data.sampler import WeightedRando... | [
"gdlangus@gmail.com"
] | gdlangus@gmail.com |
2e02acf34dd5d480147613f233ac22a65a757b24 | a43dd2a0d87cc3344b4878ce10473f9a04c90ab4 | /Lib/ConfParams/__init__.py | f2b2766638cb1fdaed6bf055a34cae397ccc28e9 | [] | no_license | spigad/GangaCRAB3 | ad027549418b5fd513f0bce48223dab727bff7bf | 19280afdbdd8fc6e0f85e85ad896cedcf09b4c2e | refs/heads/master | 2020-12-07T13:32:37.855684 | 2014-03-07T09:58:01 | 2014-03-07T09:58:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 98 | py | from CMSSW import *
from CRAB import *
from GRID import *
from USER import *
from TASK import *
| [
"vale.mancy@gmail.com"
] | vale.mancy@gmail.com |
e1f0588ca4007cacbd8e69dbf5e288398f24eb62 | f95d2646f8428cceed98681f8ed2407d4f044941 | /a-T-biji/day19/code/mylist.py | 6af18978dfed1c59323153a37b1218cb56b4ec9e | [] | no_license | q2806060/python-note | 014e1458dcfa896f2749c7ebce68b2bbe31a3bf8 | fbe107d668b44b78ae0094dbcc7e8ff8a4f8c983 | refs/heads/master | 2020-08-18T01:12:31.227654 | 2019-10-17T07:40:40 | 2019-10-17T07:40:40 | 215,731,114 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 394 | py |
class MyList:
def __init__(self, iterable=()):
self.data = [x for x in iterable]
def __repr__(self):
return "MyList(%s)" % self.data
def __len__(self):
return len(self.data)
L = []
L.append({1, 2, 3})
L.append(("A", "B", "C"))
L.append(MyList([4, 5, 6]))
s = 0
for x in L:
... | [
"C8916BA958F57D5A740E38E94644A3F8@i-search.com.cn"
] | C8916BA958F57D5A740E38E94644A3F8@i-search.com.cn |
df192875fb351a853e6859bc87d918027df660a8 | d37a19ab3bcaba6e808a18df411c653c644d27db | /Year2/CA268/Week06/student.py | c2189723899ed611ef2287bccb76956591250ba5 | [] | no_license | Andrew-Finn/DCU | 9e7009dac9a543aaade17e9e94116259dcc1de20 | 013789e8150d80d3b3ce2c0c7ba968b2c69a7ce0 | refs/heads/master | 2023-02-21T05:13:42.731828 | 2022-02-14T12:39:20 | 2022-02-14T12:39:20 | 157,438,470 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,557 | py | from Node import Node
#
# Function to add an item to a tree.
#
# This is not good object oriented coding. It's not even very polite. It directly interferes with the tree's innards.
#
def add(tree, item):
""" Add this item to its correct position on the tree """
# This is a non recursive add method. A recu... | [
"git@afinn.me"
] | git@afinn.me |
f90db0d1572923a61ff028d06924ad3675160b02 | 9d9220ac3abc0aa316d1ce3653afe2c6d1a0593e | /sqlalchemy/schema.py | ebcc9a7ed373cbe00d20adb25547332f2e57f2f3 | [
"MIT"
] | permissive | sauloal/PiCastPy | 016733b597f8b15f2bc2fb6e6bc5f0f9aef95e70 | c907a5ba72ccd576b2c7ae78af25abb741327cee | refs/heads/master | 2020-06-04T21:34:45.015707 | 2013-08-09T17:18:29 | 2013-08-09T17:18:29 | 11,934,825 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | false | 135,458 | py | # sqlalchemy/schema.py
# Copyright (C) 2005-2013 the SQLAlchemy authors and contributors <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""The schema module provides the building blocks for database metadata.
Each el... | [
"sauloal@gmail.com"
] | sauloal@gmail.com |
10e2f5cde32a9b9a30b9c539d66cde75c7c68ada | 3365672d406501563b28b2c797408b3b5118780f | /scripts/utils.py | 91aff96518474cffee4359e905afb7212095c9e6 | [] | no_license | KKrajevska/ComputerVision | bd5f74f0500c5c044fc25be66587e8b7256532e0 | 89a341257a2bdca604bfc32c67f4f59e7a1290ef | refs/heads/master | 2022-12-08T14:30:43.226733 | 2020-08-28T14:08:07 | 2020-08-28T14:08:07 | 289,524,056 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,529 | py | from __future__ import print_function
from collections import defaultdict, deque
import datetime
import pickle
import time
import torch
import torch.distributed as dist
import errno
import os
class SmoothedValue(object):
"""Track a series of values and provide access to smoothed values over a
window or the... | [
"krajevska.kristina98@gmail.com"
] | krajevska.kristina98@gmail.com |
34fad3d4b52079c5e76aa19962797d9e983fc97c | bd741a6f3c3e1d09ee903a8025460f44c76497c9 | /venv/bin/django-admin.py | 6c750b890b673ec76de6690b718ea7d033bba763 | [] | no_license | kosuke-taniguchi/MY-SNS-APP | 3add5478b6cc04433f995a6127fc176164677eb3 | 33d71c305b05e91ba8b27b1c334cdbed5e77636c | refs/heads/main | 2023-02-04T18:35:13.714107 | 2020-12-26T11:45:48 | 2020-12-26T11:45:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 684 | py | #!/home/kosuke/work/boardproject/venv/bin/python3
# When the django-admin.py deprecation ends, remove this script.
import warnings
from django.core import management
try:
from django.utils.deprecation import RemovedInDjango40Warning
except ImportError:
raise ImportError(
'django-admin.py was deprecate... | [
"applekkttegg@yahoo.co.jp"
] | applekkttegg@yahoo.co.jp |
13f2511761bcf657cdb23154f404dad6b8ed9891 | 1445f86cb460d4dc17a14ba1ccd666e8cd9ac976 | /ThunderViper/program_mapper.py | d58d0ea9195526f5f0126948264ff7675e164564 | [] | no_license | DinoZAR/Dinosaur-OS | d8a606ef5cc6aa365641a587b445758f31e0b894 | 52ca12bb2e31e91efb46966de55b49b832e2a212 | refs/heads/master | 2016-09-05T21:54:58.567898 | 2012-02-14T22:59:56 | 2012-02-14T22:59:56 | 2,552,318 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 433 | py |
class ProgramMap:
def __init__(self):
# Current line in question
currLine = ''
# List of program objects
# Each object will be represented as [parent, obj]
# The list will not be nested, but instead, everything is referenced to another, from
# which the tree structure can be generated.
#
# The ... | [
"sgraffe@gmail.com"
] | sgraffe@gmail.com |
5eec5ecb79cf809a75874db406c4748b9d76491e | 13ce77f9beb41aee1d23f51d18c690776ed02d6d | /TPSoporte.pyde | 187a35a641fab495676bae50cc6301100b9f296b | [] | no_license | brunocaracini/SpotiPy | cec35e12b54e3537fd2cd04f24bfbebdf72c3c47 | 17d4236203a0ad9ff44b27fb6ea40ddf27400e3e | refs/heads/master | 2023-08-19T06:39:58.365677 | 2021-09-20T13:30:48 | 2021-09-20T13:30:48 | 216,396,489 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 46,251 | pyde | import json
import os
import sys
import math
import re
from collections import Counter
mousex = 0
mousey= 0
refresh = False
config = False
salir = False
busca_recomend = False
artista_recomendaciones = ''
recomend = False
op = 0
scroll = 0
estado = 0
usuario = ''
password = ''
password2 = ''
uri... | [
"noreply@github.com"
] | brunocaracini.noreply@github.com |
ca81bbb63f589c7380edf18d24d9a69bc95f3f91 | 560a4b3673137d10f46062ed20e6a5e976889a9f | /indexacion.py | 64459c6265fb4f7d1cd20c5cf0499e34bd539cde | [] | no_license | PiaNgg/t08.chunga_huatay | 87f853b838df706dc2c8d68aa12973798e7b5abb | ce818f73e67f89e2740c0444eae35d14f9192507 | refs/heads/master | 2020-09-30T11:01:18.990114 | 2019-12-12T01:02:52 | 2019-12-12T01:02:52 | 227,274,638 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,425 | py | #ejercicio 01
tipo_arbol="MADERA ROBLE" #asignacion del valor a la variable tipo de arbol
print(tipo_arbol[0]) #se imprime la primera letra de la cadena
print(tipo_arbol[5]) #se imprime la sexta letra
print(tipo_arbol[9]) #se imprime la decima letra
print(tip... | [
"noreply@github.com"
] | PiaNgg.noreply@github.com |
67c0e243b2247c0dc834c42885c6269733ffb4c0 | 0539dc99967bb279a30e3d463d871c8843fe2b62 | /mysite/urls.py | bc7368917da892bd0201a1490b1f642154f9350b | [] | no_license | helloreuben/Django-Tutorial-1.11-mysite | 29c84b08cb35980b5ee93a8fbfbafc73107e1135 | e55f868ecfc6d9d7185daf65ca4abdb3e0fbf2b5 | refs/heads/master | 2021-05-01T12:08:30.212963 | 2018-02-10T22:17:13 | 2018-02-10T22:17:13 | 121,059,201 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 853 | py | """mysite URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-bas... | [
"Sharlene@MacBookPro.home"
] | Sharlene@MacBookPro.home |
acc9cd8c5c022c9eae765a729d6837248be3ddfe | 06fcc38b7907e6e32bf7a20418c31b5346199b69 | /catalog/urls.py | 6dc828553e0ef925f1fe8d73a1893078588d42d2 | [] | no_license | kmoniker/Spark-Mowers | 2dac709b75c54d11ab386dd4163edc873723bac0 | 91881e3c68e098aceb10e4e826eea5f70cf34e13 | refs/heads/master | 2020-03-20T20:42:00.108449 | 2018-12-01T19:20:33 | 2018-12-01T19:20:33 | 137,701,351 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,448 | py | from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('services/', views.ServiceTypeListView.as_view(), name='services'),
path('contact-us/', views.contactus, name='contact-us'),
path('about-us/', views.aboutus, name='about-us'),
path('for-sale/'... | [
"caseywchristensen@gmail.com"
] | caseywchristensen@gmail.com |
dccad00638cd7e0f33bd1ad3134664488f3e91a9 | c861d2aea4f7207373f95e42093b2baa15f102ef | /muswarmlogger/__main__.py | 654eb6c4bb714a89396b7642e38a69f8a454c295 | [] | no_license | big-data-europe/mu-swarm-logger-service | 04190ffa7f7fc1d6744220ad5756b6f38765d7ab | bf526d6ad2cf3296daf7d9d7f3438463f1c2dceb | refs/heads/master | 2021-01-19T03:48:45.619298 | 2017-11-23T08:53:58 | 2017-11-23T08:53:58 | 84,416,441 | 1 | 3 | null | 2017-11-23T08:53:59 | 2017-03-09T08:20:01 | Python | UTF-8 | Python | false | false | 390 | py | import asyncio
from muswarmlogger.main import run
loop = asyncio.get_event_loop()
task = loop.create_task(run())
try:
loop.run_until_complete(task)
except (SystemExit, KeyboardInterrupt):
exit(0)
finally:
if not task.done():
task.cancel()
try:
loop.run_until_complete(task)
... | [
"cecile.tonglet@gmail.com"
] | cecile.tonglet@gmail.com |
5c633f8440a2ae0e0fd1de149e56467ea186482b | 27c29ffc06c57e63ae39b5ffefd5b60258b2e454 | /P2P-Decentralized-Network/tracker.py | eb3537fdd71d1a8ac90558c00aeb147beb3c2227 | [] | no_license | yogeskc/P2P-Transmitter | 621654d02aa92e4762c5a0d4bd470fe67329a0c0 | 817a7b9b2432a638692f39ff53ff1d14d962ee24 | refs/heads/master | 2023-07-15T19:14:57.221940 | 2021-08-15T09:59:16 | 2021-08-15T09:59:16 | 396,293,168 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,701 | py | from server import Server
from torrent import Torrent
import socket
import bencodepy
import threading
class Tracker:
def __init__(self, server, torrent, uuid, announce=True, dht_port=6000):
self.DHT_PORT = dht_port
self.server = server
self.torrent = Torrent(torrent)
self... | [
"ycasey71@gmail.com"
] | ycasey71@gmail.com |
c632f2cc5d52b6e234ad5f4a3a9f929cdce8a71c | b98e52565574c1e270cef787db46db34be982aea | /srwr/normalizer.py | 1dfdc6a4140aa74a3a13465fab9582fc6f17c966 | [
"MIT"
] | permissive | feng-123/srwr | a4e8a254ce3f60dc324fac766ce9db8ff92f0cc0 | 025a4bf35aaa8c2f6885aa11cc274315ebb97fc3 | refs/heads/master | 2020-11-29T11:42:11.013641 | 2019-04-14T15:46:57 | 2019-04-14T15:46:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 889 | py | import numpy as np
from scipy.sparse import csr_matrix, spdiags, find
def semi_row_normalize(A):
'''
Perform the semi row-normalization for given adjacency matrix
inputs
A: csr_matrix
adjacency matrix of given graph
outputs
nAp: csr_matrix
positive semi row-no... | [
"jinhongjung@snu.ac.kr"
] | jinhongjung@snu.ac.kr |
a683c8325a452af35737ced132f309b3faf98ed9 | e967ded85d4062380e7d5af249874c6e944be775 | /products/views.py | 3a2a52237d9712d27dbb66e57d631dd9743bb3fd | [] | no_license | russel-coder/Pyshop | a85865b41c1e97b508a9cb18313b66848981e9d3 | 8142d9b4a643cc8563531d542372d0c170647a09 | refs/heads/master | 2023-03-06T19:59:04.316230 | 2021-02-17T01:42:12 | 2021-02-17T01:42:12 | 339,567,725 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 296 | py |
from django.shortcuts import render
from .models import Product, New
def index(request):
products = Product.objects.all()
return render(request, 'index.html', {'products': products})
def new(request):
new = New.objects.all()
return render(request, 'new.html', {'new': new})
| [
"rassyxmk0240@gmail.com"
] | rassyxmk0240@gmail.com |
539d4f8e768214e82aa97dbd762103324402686f | cda47cf8f49427be28f02d7a6aa0d2b43a41b5a2 | /MainFile.py | 393d165af89bbe1aa7e7e90f41d844b341a5e053 | [] | no_license | WIA2005-Algorithm/Delivery-GENIX-Project---Algo | d1264116b6eae653f4c73da615878d314f1bc0f9 | 37efc0977b8bbe099f1f97c93214c5afda0f272b | refs/heads/main | 2023-06-04T14:20:15.256797 | 2021-06-20T14:04:39 | 2021-06-20T14:04:39 | 359,398,275 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,511 | py | import collections
import time
import RawData
from Algorithms import NormaliseDataRanking
from ConclusionPlot import PlotSentimentConclusion
from CusHubsMap import HubDeliveryMap, PreProcess
from RawData import CourierCompanies, CustomerData, Articles
from Sentimental_Analysis import AnalyseArticles, AnalyseWordsCatego... | [
"kamal20012011@hotmail.com"
] | kamal20012011@hotmail.com |
61fa05259f809321d6cd70f6ac7be3186250d9e5 | b6ea1c40b000e3d341d4627b31a1130525cf9e2f | /weather_app/migrations/0003_remove_city_user.py | a71479cc62d2b82381b218c51e119970d6e6e153 | [] | no_license | SlavaGolovatskyu/DjangoWeatherApp | 4baddac7d121f5491a87d34a22089c93fb07b2a5 | 850680354dcfd0e493fcb06beeb71585b025cc79 | refs/heads/main | 2023-08-15T21:52:18.188868 | 2021-09-27T18:32:37 | 2021-09-27T18:32:37 | 410,944,441 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 328 | py | # Generated by Django 3.1.3 on 2021-09-27 10:29
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('weather_app', '0002_auto_20210927_1249'),
]
operations = [
migrations.RemoveField(
model_name='city',
name='user',
)... | [
"slavik.golovatskyu@gmail.com"
] | slavik.golovatskyu@gmail.com |
87275507fe32f56b680e0a0ffd71b2cde87de45a | 6c816f19d7f4a3d89abbb00eeaf43dd818ecc34f | /apps/project/migrations/0018_task_showname_202101138_1632.py | a8a015cf95e1c0442bf6cf61678282606e464030 | [] | no_license | reo-dev/bolt | 29ee6aa7cfc96bd50fa7a7dae07fbaafc2125e54 | d1a7859dd1ebe2f5b0e6e295047b620f5afdb92e | refs/heads/master | 2023-07-13T04:05:57.856278 | 2021-08-27T09:07:03 | 2021-08-27T09:07:03 | 382,195,547 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 458 | py | # Generated by Django 3.0.8 on 2021-01-18 07:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('project', '0017_comment_update_20210113_1741'),
]
operations = [
migrations.AddField(
model_name='task',
name='showN... | [
"75593016+reo-dev@users.noreply.github.com"
] | 75593016+reo-dev@users.noreply.github.com |
76498d6976b71f444f3aff14a25fad78cbeb2624 | 02c461d1e8c4dc69e79b4c51f798620b6d190b08 | /analyzer/linux/analyzer.py | e8052c417b63b419df9f22f778322d389e2a6c3a | [] | no_license | ksmaheshkumar/cuckoo | bd63ecba062da7777ec1a2cc8368efefd66c55b3 | d8bdd9c696ac4e34a6a7bd189c1a8ccd0983c1c3 | refs/heads/master | 2021-01-14T11:41:02.298149 | 2015-07-15T14:06:44 | 2015-07-15T14:06:44 | 39,197,757 | 1 | 0 | null | 2015-07-16T13:16:19 | 2015-07-16T13:16:18 | null | UTF-8 | Python | false | false | 13,942 | py | # Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import sys
import socket
import struct
import random
import pkgutil
import logging
import tempfile
import xmlrpclib
import traceback
import t... | [
"ms@mwcollect.org"
] | ms@mwcollect.org |
e0963f0ca71eba28fd07f500981d49ffd28ca696 | 50008b3b7fb7e14f793e92f5b27bf302112a3cb4 | /recipes/Python/533135_Synchronizaticlasses_using/recipe-533135.py | 30da0a5e1771de474b7d1fb2b5babee4505086ac | [
"MIT",
"Python-2.0"
] | permissive | betty29/code-1 | db56807e19ac9cfe711b41d475a322c168cfdca6 | d097ca0ad6a6aee2180d32dce6a3322621f655fd | refs/heads/master | 2023-03-14T08:15:47.492844 | 2021-02-24T15:39:59 | 2021-02-24T15:39:59 | 341,878,663 | 0 | 0 | MIT | 2021-02-24T15:40:00 | 2021-02-24T11:31:15 | Python | UTF-8 | Python | false | false | 5,885 | py | # Synchronization classes using decorators. Provides synchronized, semaphore
# and event classes which provide transparent decorator patterns for
# Lock, BoundedSemaphore and Event objects in Python.
from threading import Thread, Lock, BoundedSemaphore, Event, currentThread
from time import sleep
from random import ra... | [
"betty@qburst.com"
] | betty@qburst.com |
1e64071508337af2ff756a094edaaaac397e1533 | 9d49c31d0200377c70303620036ecf0353455212 | /simplechat/__init__.py | 8faabc2f3ccea9d6dd724d4a8f057d7e6fb03e83 | [
"Apache-2.0"
] | permissive | drowolath/simplechat | abf8e59384aace20eab8dffedaf3555077f336bf | 8ae66e54ec12c022604463d4b1d0e2e0802eb6ee | refs/heads/master | 2021-01-19T23:44:16.360585 | 2019-05-08T15:02:04 | 2019-05-08T15:02:04 | 89,024,059 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 49 | py | #!/usr/bin/env python
from core import *
# EOF
| [
"thomas.ayih-akakpo@gulfsat.mg"
] | thomas.ayih-akakpo@gulfsat.mg |
749da7ed5446bf3545755d8c752163c4a1e78d6f | 99c9f2fc9e91a18d770d6975a14a994994e1d487 | /main_model/src/const.py | ca959d7b10edd49c2109ebd148d733136341d8b0 | [] | no_license | kato-mahiro/arnold13 | ba37c4485199d0d9c0e6ca39d54ed818cf9a3760 | 0c3c5ff6463005909dcbcde26b5550187a54cde1 | refs/heads/master | 2022-02-01T02:08:31.321216 | 2019-04-25T07:15:21 | 2019-04-25T07:15:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 140 | py | FIELD_RANGE = 20
VIEW_RANGE = 7
PREY_NUM = 40
INPUT_NUMBER = 39
ECHO_NUMBER = 39
HIDDEN_NUMBER = 16
OUTPUT_NUMBER = 4
MODURATORY_NUMBER = 6
| [
"katomasahiro10@gmail.com"
] | katomasahiro10@gmail.com |
4c5e166956aaa4f0b3bd3edb11e39eda37916b5f | 37a65dcdf94883df26d7fdbe93258fc7c7357f95 | /ops/settings.py | a7f8aeeb5e4fde4e6166afa000ffb6412d01f585 | [
"Unlicense"
] | permissive | rfukui/ops | 05ba7a9954e177e19d007b00b252de76f311c7e6 | 7e3324bd3d70c8da687ab4fca9a031a1c92b0ec1 | refs/heads/master | 2020-12-30T15:08:57.172620 | 2017-05-12T20:09:49 | 2017-05-12T20:09:49 | 91,112,657 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,085 | py | """
Django settings for ops project.
Generated by 'django-admin startproject' using Django 1.10.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import os
# Bu... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
d802d7fc075b0b80d1629437c51bca824f4f8c7f | 25b9f27e2037d42b76699c76e3234e0be85463ca | /test1.py | 8242f6caa184cf87a7898fb2d3d3a0720db0e440 | [] | no_license | saputromfs/saputromfs | eaf9469bc8c632f1892838a6ee490c7a287a20bb | d782c8307b48236416c654da06f310db28f0313c | refs/heads/main | 2023-08-15T11:25:18.636782 | 2021-10-07T07:04:25 | 2021-10-07T07:04:25 | 414,475,162 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 51 | py | a = 10
b = 5
c = a-b
print("Hasilnya adalah : ",c)
| [
"noreply@github.com"
] | saputromfs.noreply@github.com |
8de065b2041c6cc6c1b890e344fc958fbea1c0d7 | 2a9b0d4cb6f4676cc3d53105890a64767cc655fd | /src/test/__init__.py | 7df92765099e27a96abd3b8a91c95d601308e48c | [] | no_license | adrielyeung/job-ad-compare | dce11eb147ac7ea0abfa7ddd6647d8874bed1894 | ef4c7d4dc531705c71c075355b2890c59e7717e9 | refs/heads/main | 2023-03-29T23:08:07.403559 | 2021-04-07T13:25:50 | 2021-04-07T13:25:50 | 313,361,308 | 1 | 0 | null | 2021-04-07T13:21:25 | 2020-11-16T16:25:22 | Jupyter Notebook | UTF-8 | Python | false | false | 93 | py | # -*- coding: utf-8 -*-
ROOT_PATH = 'C:\\Users\\Adriel\\Documents\\PythonScripts\\Scraping\\' | [
"tsunyeung1997@gmail.com"
] | tsunyeung1997@gmail.com |
15b164e0717c4d81028e32a8bb630dfe1d31819a | 8aacef4d656d5cc133931947ba8ae06f04e27aa8 | /dit/other/__init__.py | 4bb7feedc0c504097593ca78f47ddcd38d154e01 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kokokostation/dit | 6468c4f7e7bc5355f929111ef62e760706ee2884 | f4ed11d68b2667109c7eefe1cdcf598e38f5d6e3 | refs/heads/master | 2021-05-05T00:54:03.278706 | 2018-01-30T17:16:36 | 2018-01-30T17:16:36 | 119,562,080 | 0 | 0 | null | 2018-01-30T16:22:27 | 2018-01-30T16:22:27 | null | UTF-8 | Python | false | false | 317 | py | """
Esoteric measures of information, typically fairly divorced from Shannon's
measures.
"""
from .cumulative_residual_entropy import *
from .disequilibrium import *
from .extropy import extropy
from .perplexity import perplexity
from .renyi_entropy import renyi_entropy
from .tsallis_entropy import tsallis_entropy
| [
"ryangregoryjames@gmail.com"
] | ryangregoryjames@gmail.com |
faba04f593e203adb5e7da15b1781b7a3b4624d5 | 89b53495ee194003087a385993a599b3ba0dbcd1 | /src/participants/models.py | c2f5b2249148d0e8ee53f861f0590bb4e51067f2 | [
"MIT"
] | permissive | leopiresgoss/django-etest | 1b4657184a63ac1342965c7a4adb6daef135a479 | 55ec087999b53fc734c32e6b6a6d73885f224af5 | refs/heads/main | 2023-07-13T04:30:39.966382 | 2021-08-19T00:33:36 | 2021-08-19T00:33:36 | 396,576,436 | 6 | 0 | null | null | null | null | UTF-8 | Python | false | false | 843 | py | from django.db import models
from tests.models import Test, Question, Option
# Create your models here.
class Participant(models.Model):
name = models.CharField(max_length=120)
email = models.EmailField(max_length=254)
test = models.ForeignKey(Test, on_delete=models.CASCADE)
finished = models.BooleanFi... | [
"61767582+leopiresgoss@users.noreply.github.com"
] | 61767582+leopiresgoss@users.noreply.github.com |
dcb373da6e790d29bcdee050c566e80757b0b0aa | 3515df48b3bc5a4049f2d23f386a18573048f3ef | /Harvard-CS50x/pset6/ceaser.py | 5516ad5f12bf55149b47707858dda0b3f8d96382 | [
"Apache-2.0"
] | permissive | Mudasirrr/Courses- | 5fe0662716e6afd1d1a228b6133d0dee432c9723 | fa566235d6b9751f73c69d0d46351a14fcdeb585 | refs/heads/master | 2021-05-19T03:51:02.033688 | 2020-03-29T16:17:32 | 2020-03-29T16:17:32 | 251,515,774 | 2 | 0 | Apache-2.0 | 2020-03-31T06:11:16 | 2020-03-31T06:11:15 | null | UTF-8 | Python | false | false | 1,076 | py | import sys
import cs50
def main():
if len(sys.argv) != 2:
print("missing command-line argument")
exit(0)
if sys.argv[1].isdigit() == False:
print("only digits allowed!")
exit(1)
key = int(sys.argv[1])
#key = sys.argv[1]
#keylen = len(sys.argv[1])
... | [
"noreply@github.com"
] | Mudasirrr.noreply@github.com |
6e75f6dee4b2c27f33f3de6ef61836f7bb3a43e7 | 1f0026465e5f1c1e81def763ac508d8f9b353adf | /dictionaryPractice.py | e1a23324604ea5fd4c9c8fec51e9240d2f621410 | [] | no_license | ryanlott168/Scrabble-Game | 383c9f5d644fc36777cb972b8246c276cbb3cc6c | c42f2f78f855e93f10eec4e2146cf2e43f703151 | refs/heads/master | 2020-04-08T10:26:42.783732 | 2018-11-27T03:16:13 | 2018-11-27T03:16:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,111 | py | 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"]
points = [1, 3, 3, 2, 1, 4, 2, 4, 1, 8, 5, 1, 3, 4, 1, 3, 10, 1, 1, 1, 1, 4, 4, 8, 4, 10]
letter_to_points = {key:value for key, value in zip(letters, points)}
letter_to_points[" ... | [
"toranlyt@gmail.com"
] | toranlyt@gmail.com |
d12d85280708831eabbca47a35ae966c4f133fdd | 040477088d73d786411fe8e051163899eebdf1e2 | /tests/test_cookie_error.py | 03a84d42cf2a4575a97fde3d22589744f4381493 | [
"BSD-3-Clause"
] | permissive | Tessares/libconvert | e9f63767bcfc454667cd95d05087d1540d78b6b2 | 948053cdfe31ce4b3f5543663f2ce22bdfddb1c8 | refs/heads/master | 2022-03-10T05:40:16.687136 | 2022-01-11T19:15:23 | 2022-01-11T19:15:23 | 172,021,690 | 7 | 9 | BSD-3-Clause | 2022-06-07T07:49:46 | 2019-02-22T08:04:34 | C | UTF-8 | Python | false | false | 576 | py | #!/usr/bin/env python3
from converter_mock import *
from test_lib import *
class TestCookieError(TestInstance):
def run(self):
converter = Convert(tlvs=[ConvertTLV_Error(error_code=3)])
print(converter.build())
cookie = self.get_cookie()
class MockConverterCookieError(MockConvert... | [
"pol.nicolai@tessares.net"
] | pol.nicolai@tessares.net |
074bcf9c2af5b96e81d964e97fe897ad73bd83d7 | 295efbd5b466d246ff51c3849cea5ff637df6211 | /read102715.py | ce7e0b76309b8309d84155630c77a7f0b1ef61a1 | [] | no_license | allenjianzhe/mip_heuristic | 75b15ce9d9735fdc0f5381bfef8cded4d5348a12 | 1365b63b2b3a3814b271e3bb95fb6671486e84fc | refs/heads/master | 2020-09-26T08:41:57.244645 | 2016-10-12T22:43:09 | 2016-10-12T22:43:09 | 66,394,534 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,219 | py | import csv
import sys
import math
def getArcC(nodes, modes, departure):
arc_C={}
for i in nodes:
if i != 4:
for k in modes:
for s in departure:
arc_C[i,1,s]=200
arc_C[i,2,s]=200
arc_C[i,3,s]=200
... | [
"allenjianzhe@yahoo.com"
] | allenjianzhe@yahoo.com |
cefd3787c7ef134f91fb967caf03cf84fb516757 | f9d6b975ba48ce4c390e9b6713e5f0080ba42231 | /django_app/settings.py | cde0895d281c0f0a1b740205b2d4db18505e04c6 | [] | no_license | nattesharan/django_app | fae16a6d4aba447bfe7bfc34131276c8d6cebfdf | b25041efd86bcc9b803be937ac23e575cacf6c5e | refs/heads/master | 2022-12-03T01:50:20.117259 | 2020-08-16T18:46:39 | 2020-08-16T18:46:39 | 175,052,229 | 4 | 2 | null | 2022-11-22T03:45:15 | 2019-03-11T17:38:46 | Python | UTF-8 | Python | false | false | 8,142 | py | """
Django settings for django_app project.
Generated by 'django-admin startproject' using Django 1.10.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import o... | [
"nattesharan@gmail.com"
] | nattesharan@gmail.com |
ae86bd205c7f858831151f1dffba292ecf6e87d1 | fceef863fe5ba229f01162c3fce7ba96f277fccf | /azure.py | d2e43af257fce03150872188b96c566f02096211 | [] | no_license | SureshBolla/Suresh-Dummyrepo | 13570c927c6d792104249f52fe0a69cdf2680564 | 33a73b8befb177fde7e9ea521c22f9835a7089eb | refs/heads/master | 2023-06-08T13:05:44.721077 | 2021-07-03T06:52:38 | 2021-07-03T06:52:38 | 359,087,343 | 0 | 0 | null | 2021-04-21T04:18:43 | 2021-04-18T08:31:39 | Groovy | UTF-8 | Python | false | false | 32 | py | azure.py azuremigration.groovy
| [
"sureshbolla4@gmail.com"
] | sureshbolla4@gmail.com |
52916b19582fc73b317267448b682e7796f91584 | 8a3dfe493abbddf222cc98efc61ba6b9917f1601 | /blender_implementations/perlin_ps_sca_decentralised/sca_brancher.py | 2fdd2679908a4a1785bd69bd774fdb6bc18cf7c0 | [] | no_license | lorentzo/Growth_models | fa95f80547a545374ab0fb738c5fddff9d5b4d19 | fbc4cab2fd4d5cdeade2492407a80fdc5d585a51 | refs/heads/master | 2020-04-28T22:41:07.006889 | 2019-07-04T11:20:33 | 2019-07-04T11:20:33 | 175,626,424 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 7,944 | py |
#
# This source file is part of Growth_models.
# Visit https://github.com/lorentzo/Growth_models for more information.
#
# This software is released under MIT licence.
#
# Copyright (c) Lovro Bosnar
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated docum... | [
"lovro.bosnar1@gmail.com"
] | lovro.bosnar1@gmail.com |
df19e899be82303369d712875194a24a32db8150 | b9d7ef5f2985fa4c545af5f537d703c471602c42 | /apps/trade/migrations/0008_auto_20180122_1013.py | 48f780d86708f52d89a162e1492cd600ddda34be | [] | no_license | ZhangXiaoD/shop | 226fc3f37743c25f09cbb1879259b22014050622 | 35a0ec14f1fa35d019716b782db270f0e44efc05 | refs/heads/master | 2021-09-06T01:08:03.760340 | 2018-02-01T06:28:11 | 2018-02-01T06:28:11 | 111,665,122 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 811 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2018-01-22 10:13
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('trade', '0007_auto_20180122_0952'),
]
operations =... | [
"156678702@qq.com"
] | 156678702@qq.com |
b26f245123a85aed99869e51155650695eca1b5e | 21af59d1213528111b78c44dd3ac0be68d9e8880 | /day12-20/tuple.py | 815135877f08283e86c02f03a0d09a05dfaa4121 | [] | no_license | luchaoet/python-test | 68caf2bcf02d20ad99463a9d869e44f5ccc55362 | ceb60c8232027f8100ff8da625f6d8c07d756936 | refs/heads/master | 2022-12-17T22:18:31.181347 | 2020-09-23T09:13:37 | 2020-09-23T09:13:37 | 113,461,793 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 144 | py | # tuple 将序列转化为元组
a = tuple([1,2,3,4])
b = tuple('abcd')
print(a,b)
# 元组基本操作
c = (1,2,3,5)
print(c[2])
print(c[1:3]) | [
"550502661@qq.com"
] | 550502661@qq.com |
ccec286398e46c7aabb41c1a2f32a9eb00292d55 | 76f43cf1276f96ba963d9d11b1a047bfef46bb86 | /code-guild/demo/blog/migrations/0008_remove_blogpost_comments.py | e9860f1e2e04972786b2323729b02610df869046 | [] | no_license | grantholly/code-guild | 1192e14380d7fcbb7b36f72f3eb5c898918b1982 | 85d5e6c2eefdcd458165cadaa087acd0a0744378 | refs/heads/master | 2021-01-10T22:04:08.339812 | 2015-08-25T05:18:09 | 2015-08-25T05:18:09 | 23,163,257 | 1 | 3 | null | null | null | null | UTF-8 | Python | false | false | 340 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('blog', '0007_merge'),
]
operations = [
migrations.RemoveField(
model_name='blogpost',
name='comments... | [
"gdholly@gmail.com"
] | gdholly@gmail.com |
4af322a8843cb332539f410c45a104449c904e40 | 43e480685c9b872d1d68564d89e4befabbccaf3b | /client_src/security.py | dfdfb590601c5f30b8534cd2556f304921aeb54d | [
"MIT"
] | permissive | davendiy/QWERTY_messenger | d15d55affe6cfab9b8cd9e57eb551b71cbaf7700 | 6bfa5a6ceb7b63f3e57d3d7779a1cda26cd55616 | refs/heads/master | 2020-09-16T15:53:07.400698 | 2019-12-11T19:36:31 | 2019-12-11T19:36:31 | 223,820,020 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,385 | py | #!/usr/bin/env python3
# -*-encoding: utf-8-*-
# created: 02.12.2019
# by David Zashkolny
# 3 course, comp math
# Taras Shevchenko National University of Kyiv
# email: davendiy@gmail.com
from Crypto.PublicKey import RSA
from Crypto.Signature.pkcs1_15 import PKCS115_SigScheme
from Crypto.Hash import SHA256
from Crypto... | [
"davendiy@gmail.com"
] | davendiy@gmail.com |
1f1ffd5eb27b1397ebb012d6a0a8b8c4621d6bd3 | e9b93ac365d88366d3e3ebf39214173e6457daa2 | /analizadorDeRegistros.py | ee9c1dda73d38723d897a307e005a4b04ecb2592 | [] | no_license | adevesa/stevetricks | 57a60279cb8cd36620d5d705b9d97f31b7444888 | ccc7823d47e531d20a7a8c586e25dc081535b0e2 | refs/heads/master | 2020-03-11T16:11:08.182579 | 2018-10-08T01:36:28 | 2018-10-08T01:36:28 | 130,108,656 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,820 | py | ''' Analizador de registros vía archivo
Dado un path de un archivo con multiples registros, los analiza y devuelve un string con:
el tamaño de sus requests y responses con su codigo de ResponseEnd y la cantidad de registros
ejemplo:
STRING = analisis_de_registros("C:\\Users\\adevesa\\Documents\\Certius Info\\... | [
"noreply@github.com"
] | adevesa.noreply@github.com |
1109e548b2e556ab75ee86333919fff894bc4a80 | a46d135ba8fd7bd40f0b7d7a96c72be446025719 | /packages/python/plotly/plotly/validators/layout/scene/annotation/_visible.py | b2c5d8326b717c6c3200d02290e1474c15b5ad94 | [
"MIT"
] | permissive | hugovk/plotly.py | 5e763fe96f225d964c4fcd1dea79dbefa50b4692 | cfad7862594b35965c0e000813bd7805e8494a5b | refs/heads/master | 2022-05-10T12:17:38.797994 | 2021-12-21T03:49:19 | 2021-12-21T03:49:19 | 234,146,634 | 0 | 0 | MIT | 2020-01-15T18:33:43 | 2020-01-15T18:33:41 | null | UTF-8 | Python | false | false | 427 | py | import _plotly_utils.basevalidators
class VisibleValidator(_plotly_utils.basevalidators.BooleanValidator):
def __init__(
self, plotly_name="visible", parent_name="layout.scene.annotation", **kwargs
):
super(VisibleValidator, self).__init__(
plotly_name=plotly_name,
pare... | [
"noreply@github.com"
] | hugovk.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.