blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
6d0c7b923cd03dc1ebd00d71e3aff652e8fe40fe
6aa8fd438e12e4e285d9b89be15e211e607821e0
/.metadata/.plugins/org.eclipse.core.resources/.history/37/00bbfa0851aa00141441885f3a9b55b3
c8408093efc3ba0346a327c9cdb03e9b5b77b39e
[]
no_license
phoenixproject/python
2aa251c9fe9a3a665043d5f3d29d48c0f95b9273
f8171d31d1d33a269d29374e7605a8f5bce6b5d6
refs/heads/master
2021-03-12T19:15:01.611936
2015-02-04T08:25:27
2015-02-04T08:25:27
30,287,884
1
0
null
null
null
null
UTF-8
Python
false
false
327
#!/usr/bin/python3 def main(): funcao(5) funcao(3) funcao2(4) funcao2() def funcao(inicio): for i in range(inicio,10): print(i, end = ' ') print() def funcao2(inicio = 6): for i in range(inicio,10): print(i, end = ' ') print() if __name__ == "__main__" :...
[ "phoenixproject.erp@gmail.com" ]
phoenixproject.erp@gmail.com
329ea89cee88744fd323d5dcbb08aadd70796f68
cefd6c17774b5c94240d57adccef57d9bba4a2e9
/WebKit/Tools/Scripts/webkitpy/style/checkers/common_unittest.py
8449b989ba3d42b8a46f20b8b30723adffd8dda0
[ "BSL-1.0" ]
permissive
adzhou/oragle
9c054c25b24ff0a65cb9639bafd02aac2bcdce8b
5442d418b87d0da161429ffa5cb83777e9b38e4d
refs/heads/master
2022-11-01T05:04:59.368831
2014-03-12T15:50:08
2014-03-12T15:50:08
17,238,063
0
1
BSL-1.0
2022-10-18T04:23:53
2014-02-27T05:39:44
C++
UTF-8
Python
false
false
5,220
py
# Copyright (C) 2010 Chris Jerdonek (cjerdonek@webkit.org) # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and...
[ "adzhou@hp.com" ]
adzhou@hp.com
2ee9a581a257d326355ccc691e56bb057789ea87
0c0e1f69d7b20fdc7da172a8b352fe8f39a7905a
/tests/unit/environment/test_observation_space.py
448a47db55f2f0867eebf6677436bdb825b27b81
[]
no_license
Hosini/social-distancing-sim
c89a79ce3434cdd60cda247afb97d8ff6f1e2302
9670af42545bb26ae51ba121c20a0e2c94b69c05
refs/heads/master
2022-12-26T10:58:14.053187
2020-09-20T19:15:11
2020-09-20T19:15:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,370
py
import unittest from unittest.mock import MagicMock from social_distancing_sim.environment.observation_space import ObservationSpace from social_distancing_sim.environment.status import Status class TestObservationSpace(unittest.TestCase): _sut: ObservationSpace = ObservationSpace _mock_graph = MagicMock() ...
[ "garethjns4@gmail.com" ]
garethjns4@gmail.com
d56398dbb1e26bfb717c311885a8860155a65cfd
4d89652acca24e0bc653e0b4cb5846ceb5b568e4
/google-cloud-sdk/lib/surface/dataproc/clusters/update.py
803ae61756b08885a8bbbae59bc95a949b7cd71a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
ibssasimon/LyricLingo
410fcec94d2bd3ea75c975c55713f5b8fb913229
0dfc951b270912470b36ce0083afd9d4fe41b10a
refs/heads/master
2021-06-25T10:00:18.215900
2020-01-09T00:35:46
2020-01-09T00:35:46
222,135,399
2
1
null
2021-04-30T20:54:14
2019-11-16T17:32:19
Python
UTF-8
Python
false
false
10,584
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. All Rights Reserved. # # 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 requir...
[ "ibssasimon@gmail.com" ]
ibssasimon@gmail.com
024c549f319392d611692ce42b6b7f4c97d7b21c
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/73da2663a3d0129f1b329995fe72d2e1c74c4aae-<get_host_info_dict_from_instance>-fix.py
428eeea9b87eb087cb4f0cabe245d3e0b822a208
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,024
py
def get_host_info_dict_from_instance(self, instance): instance_vars = { } for key in vars(instance): value = getattr(instance, key) key = self.to_safe(('ec2_' + key)) if (key == 'ec2__state'): instance_vars['ec2_state'] = (instance.state or '') instan...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
9470531e4fc384a3c01b7f152e68a08ed8e02293
f4d3377ec185647d5c9389134fa20437dba5424a
/selfdrive/controls/controlsd.py
df27d6322a01ad700ab66dd83b0b32882f391519
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
collector-m/openpilot
2bd4e1130a0c43670cc0b6dfcc4d9667b5e912c1
432a65963824e7be0f2d25d4bc2ec920ac3ffbd7
refs/heads/master
2021-09-04T00:00:47.794438
2018-01-13T03:35:38
2018-01-13T03:35:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,422
py
#!/usr/bin/env python import json from copy import copy import zmq from cereal import car, log from common.numpy_fast import clip from common.realtime import sec_since_boot, set_realtime_priority, Ratekeeper from common.profiler import Profiler from common.params import Params import selfdrive.messaging as messaging fr...
[ "user@comma.ai" ]
user@comma.ai
036df0aa746ad7fecfa5b6e2cc6a5c8838772084
3b863f7e7efea09f5a120eb8c323e5a3742b82b3
/DNA_Construction/DNA_ConstructionMed/DNA_ConstructionMed.pyde
6eb99e012823392d7ca02dcfead15b85d3f66ccc
[]
no_license
TriceG/DNA_Project
b6096fbc91c35621b659dd5154a1972a9674d881
469df295120fbfe32070fd973c55f36b2af99341
refs/heads/master
2021-01-19T21:32:24.914550
2017-06-20T14:15:27
2017-06-20T14:15:27
88,661,601
0
0
null
null
null
null
UTF-8
Python
false
false
2,540
pyde
from Shape_Classes import* #phosphate group phosphate = Circle(200, 400, 10) #Sugar molecule sugar = Pentagon(375, 400) #amino acid amino = Rectangle(530, 400, 28, 13) minutes = 0 start = True def setup(): size (800, 500) ellipseMode(CENTER) rectMode(CENTER) #create a polygon with s...
[ "none@none" ]
none@none
a92dd447f189a511b8441dbf4801e14097fe467c
c91eac635507950941003dd79a494a95cd39dc77
/src/exceptions/exceptions.py
7f87689399976acf0c1a600242b25e9669cc4a68
[]
no_license
GabrielPenaU3F/confiabilidad-software
29b064cc9f866c06833cf6afc0bc424fd20619c6
c57572ec3f9fba01331718d892d94d720cc5d04d
refs/heads/master
2023-03-19T01:47:40.939503
2021-03-17T02:03:39
2021-03-17T02:03:39
193,144,043
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
class ExceptionWithMessage(Exception): def __init__(self, arg): self.strerror = str(arg) self.args = tuple(arg) super().__init__() class NotAdmittedFormatException(ExceptionWithMessage): pass class InvalidArgumentException(ExceptionWithMessage): pass class InvalidFitExceptio...
[ "gpena@untref.edu.ar" ]
gpena@untref.edu.ar
f9da48dddbc1aefcaba92b272f261c45279c3946
67d8173a716da10a7350213d98938aae9f2115ce
/ProgrammingCourses/CS61A/week04/exam_prep_02.py
ba6e859cb03136814c34b20a47501001049ff505
[]
no_license
jxie0755/Learning_Python
94490d41bdf93acf8396f843328e38b6da310b0f
143422321cbc3715ca08f6c3af8f960a55887ced
refs/heads/master
2021-11-02T22:47:35.790239
2021-09-26T04:26:23
2021-09-26T04:26:23
101,445,132
0
2
null
2019-02-19T15:48:44
2017-08-25T22:00:16
Python
UTF-8
Python
false
false
3,275
py
"""CS61A Exam Prep 02: Recursion & Lamda Functions""" # Express yourself def kbonacci(n, k): """Return element N of a K-bonacci sequence. >>> kbonacci(3, 4) 1 >>> kbonacci(9, 4) 29 >>> kbonacci(4, 2) 3 >>> kbonacci(8, 2) 21 """ if n < k - 1: return 0 elif n == k ...
[ "30805062+jxie0755@users.noreply.github.com" ]
30805062+jxie0755@users.noreply.github.com
fdb2ab950b373515c3e9ecdc1eb3d8c1f1318b75
363f7c43dbbf36cec32c83a8d95d410d5715b39b
/7-kyu/sushi-go.py
819544c231dc73139fab1fd80cbe10ac538ca89d
[]
no_license
artbohr/codewars-algorithms-in-python
cffc7c24d141c8ca1f313405486835cb74616009
1cb87c5b74076556ce649eb615dd2a3d3c51b437
refs/heads/master
2021-06-17T10:11:18.872347
2019-10-29T16:21:32
2019-10-29T16:21:32
104,100,778
2
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
def total_bill(s): num = s.count('r') return num * 2 if num <5 else (num - num // 5) * 2 ''' Sam has opened a new sushi train restaurant - a restaurant where sushi is served on plates that travel around the bar on a conveyor belt and customers take the plate that they like. Sam is using Glamazon's new visual ...
[ "bohrcs@gmail.com" ]
bohrcs@gmail.com
265c489b63e1e6848a68187bb1975bcb6766fd95
efd5d2e831bb9a22a4358f7db3d684f8e0e1e889
/bitwise_and_of_numbers_range_201.py
03062d07d95b581d5b2f29c8d5da146408ba68fe
[ "Apache-2.0" ]
permissive
danielsunzhongyuan/my_leetcode_in_python
b8112bac812fa0ea06121dec2c6c86d0a3d49e84
34d34280170c991ea7a28d74a3f2338753844917
refs/heads/master
2020-12-24T19:46:47.813091
2018-12-05T15:51:22
2018-12-05T15:51:22
56,480,882
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
""" Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this range, inclusive. Example 1: Input: [5,7] Output: 4 Example 2: Input: [0,1] Output: 0 """ class Solution(object): def rangeBitwiseAnd(self, m, n): """ :type m: int :type n: int ...
[ "sunzhongyuan@lvwan.com" ]
sunzhongyuan@lvwan.com
b5c6c510d1192fdfef21a15a7128b8ea522efbf6
8f080c90a6536ce9a66351dbdba7c6c839e31f4e
/server/conf/mssp.py
8606a4a50f29a638a68c280cde78a67221e66605
[ "MIT" ]
permissive
Reilena/arxcode
358e9b21467c187e36cb47cd143d58842a5a6241
e1a2006ee728f76ee0f1a7056d99d2fdfa8e4706
refs/heads/stable_orphan
2022-11-25T09:19:52.324389
2019-06-10T05:25:24
2019-06-14T13:22:06
148,411,502
5
7
MIT
2022-11-04T19:24:39
2018-09-12T02:47:55
Python
UTF-8
Python
false
false
4,777
py
""" MSSP (Mud Server Status Protocol) meta information MUD website listings (that you have registered with) can use this information to keep up-to-date with your game stats as you change them. Also number of currently active players and uptime will automatically be reported. You don't have to fill in everything (and ...
[ "surly.mime@gmail.com" ]
surly.mime@gmail.com
3e48c6dfc2e95ac82c49b0f7df885f1d83ff0582
849a174efea976d4daed419b85668c2ba05fd2b9
/datastructures/linkedlist/singly/sum_last_n_nodes.py
0e861631e4082ce98d56e2d459a94e2fbabaf10a
[]
no_license
samyuktahegde/Python
61e6fedbdd2a94b29e4475621afa6d5e98bf49b8
b02fa6e908661a918e0024f508df0192d5553411
refs/heads/master
2018-09-18T20:27:55.980689
2018-08-09T05:49:33
2018-08-09T05:49:33
116,491,078
0
0
null
2018-02-05T05:33:53
2018-01-06T14:52:16
null
UTF-8
Python
false
false
910
py
class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def __init__(self): self.head = None def print_list(self): temp = self.head while(temp): print(temp.data) temp = temp.next def push...
[ "noreply@github.com" ]
samyuktahegde.noreply@github.com
2741cbf9e67792ce19740948ddc9cc46389b7ba9
e0c56b4d18fa29e181af7751d2bea539a32ae738
/aligulac/teamranks.py
73ba72d12bb306991eeaa2309956544f634ccca1
[]
no_license
Arzar/aligulac
24a8beacd2d80b730633e6e7a15987d5c4c9a09d
12dd057b723c87cb94554c859411c463852ab3e0
refs/heads/master
2021-01-15T18:36:06.783352
2013-07-01T19:59:07
2013-07-01T19:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,644
py
#!/usr/bin/python ''' This script recomputes the team rankings, all-kill or proleague. ./teamranks.py [ak|pl] ''' # This is required to make Django imports work properly. import os, sys os.environ.setdefault("DJANGO_SETTINGS_MODULE", "aligulac.settings") from itertools import combinations from random import shuffle...
[ "evfonn@gmail.com" ]
evfonn@gmail.com
3853e2cd5c8b188154d3e1026ea2415cfec4bbd1
57eb44ce1d84aca3580e28688cf645db483d0d03
/external_tables/models/__init__.py
31c34fc557d212f9337904414e387d6d8de463f6
[ "Apache-2.0" ]
permissive
TheLabbingProject/pylabber
cbfd7a6663d56f779dde96bd6e0281f5c8f06393
4b51065f457ab86ed311f222080187caf1979fea
refs/heads/master
2023-04-08T05:29:08.356479
2023-03-29T09:06:11
2023-03-29T09:06:11
205,411,164
5
3
Apache-2.0
2023-03-29T09:06:13
2019-08-30T15:40:47
Python
UTF-8
Python
false
false
82
py
from external_tables.models.google_sheet import GoogleSheet # flake8: noqa: E401
[ "z.baratz@gmail.com" ]
z.baratz@gmail.com
d5b985c903825c0d293b0b14763b6c66cf856147
0273ff0e05526b52eb96b4960251d685b467ba0f
/test/test_error.py
d205f35b618238dcbdeb5c43f755d9d25a64cefa
[ "Apache-2.0" ]
permissive
velopaymentsapi/velo-python
9ea83209db0161e83960993f47868285c92ef948
59b39555e9714139b4bf697151cc7d15f6dd510e
refs/heads/master
2022-08-19T00:57:28.455431
2021-05-25T02:14:44
2021-05-25T02:14:44
202,158,716
0
0
Apache-2.0
2019-11-04T22:34:30
2019-08-13T14:11:36
Python
UTF-8
Python
false
false
5,391
py
# coding: utf-8 """ Velo Payments APIs ## Terms and Definitions Throughout this document and the Velo platform the following terms are used: * **Payor.** An entity (typically a corporation) which wishes to pay funds to one or more payees via a payout. * **Payee.** The recipient of funds paid out by a payor....
[ "britton@lklabs.com" ]
britton@lklabs.com
a89ab82f48b155c45a67446e90ebee541ce84bae
0049d7959ff872e2ddf6ea3ce83b6c26512425a6
/multiAppProject/multiAppProject/wsgi.py
bb30b29af872e357937d2958a77cf99afa956bd4
[]
no_license
srazor09/Django_projects
9806ab25d966af780cdabe652a1792220c7806a8
8d664ba4c9478bd93c8e5bcbcaf594e8ffe6ce93
refs/heads/master
2023-04-18T02:13:15.993393
2021-05-04T20:34:05
2021-05-04T20:34:05
364,379,605
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for multiAppProject 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJAN...
[ "sourabhaws09@gmail.com" ]
sourabhaws09@gmail.com
b18b2790001d74354419da074d2886b2e2ca2ae8
18b977dccd70e9e5a1b553b28ab0413fb3f54f4b
/SoftUni/Python Developmen/Python-Advanced/lists_as_stacks_and_queues/5_hot_potato.py
4f0020b2adc98b71d47aaefadc69ab4336a89bc6
[]
no_license
stevalang/Coding-Lessons
7203e3a18b20e33e8d596e3dfb58d26c50b74530
2d0060c2268ad966efdcae4e6e994ac15e57243a
refs/heads/master
2023-06-05T08:28:33.290530
2021-06-16T19:37:29
2021-06-16T19:37:29
284,852,565
1
0
null
null
null
null
UTF-8
Python
false
false
279
py
from collections import deque def solve(people, n): players = deque(people) while len(players) > 1: players.rotate(-n) print(f"Removed {players.pop()}") winner = players.pop() print(f'Last is {winner}') solve(input().split(' '), int(input()))
[ "rbeecommerce@gmail.com" ]
rbeecommerce@gmail.com
320011f1755ad3e78df560279a7ee599f455ae8e
4702d2b5aac63b8179b47d946837965664824406
/configs/paa/paa_r101_fpn_1x_minicoco.py
c0a6ea8e0e0e6d0d2766c44700f8daa191b61dbf
[ "Apache-2.0" ]
permissive
ruiningTang/mmdetection
551bf276ee581667703cbe89c2872dc8e7f43bb8
100b0b5e0edddc45af0812b9f1474493c61671ef
refs/heads/master
2021-12-02T05:58:03.301831
2021-11-20T10:58:35
2021-11-20T10:58:35
387,680,731
0
0
Apache-2.0
2021-07-20T05:20:10
2021-07-20T05:20:09
null
UTF-8
Python
false
false
2,201
py
_base_ = [ '../_base_/datasets/minicoco_detection.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] model = dict( type='PAA', backbone=dict( type='ResNet', depth=101, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_c...
[ "tangruining@zju.edu.cn" ]
tangruining@zju.edu.cn
0cbdb4892a93179fc09b69b38c129ce95e1329df
707bd0e873ae25146f1341b40d8efbf5134025af
/ln2xevents/filtermodels.py
7784221527e92664a752719aaabbffe2e2644276
[]
no_license
yosmangel/djangoLn2x
76acd748adfddb5b21ad3e0342e3d7eb19b81bc9
24d068458e8271aacfa98d762c0dc117e65d41cf
refs/heads/master
2021-04-27T07:55:36.488176
2017-06-01T17:48:26
2017-06-01T17:48:26
122,641,881
0
0
null
null
null
null
UTF-8
Python
false
false
3,359
py
from mezzanine.core.models import CONTENT_STATUS_PUBLISHED from django.utils.translation import ugettext_lazy as _ from django import forms from django.conf import settings from django_filters import rest_framework as filters from ln2xevents.models import EventPage, CoursePage, PageContent, \ LEVELS, REGIONFILTER ...
[ "yosmangel_yk@hotmail.com" ]
yosmangel_yk@hotmail.com
396b0fa47098f767cbd5d682614362f84969b99f
d05b260a9f81e708298d907b94610550a39bced2
/Source_Code/DeIdentify.py
d109b7613081512c4a9fad691b980cd4ce1f4621
[ "MIT-0" ]
permissive
aws-samples/serverless-stream-processing-at-scale
4608b08a8304028c19d4d3efde28665e2c27831f
80720f8bfcd4c1f49a90311c421ec5785181a181
refs/heads/master
2020-08-27T12:07:26.999867
2019-12-03T23:17:16
2019-12-03T23:17:16
217,362,247
8
7
null
null
null
null
UTF-8
Python
false
false
1,327
py
import json import boto3 import os from decimal import Decimal print('Loading function') dynamodb = boto3.resource('dynamodb', region_name='us-west-2') firehose = boto3.client('firehose') def lambda_handler(event, context): # print IoT message iot_msg = json.dumps(event) print('Received event: ',iot_...
[ "noreply@github.com" ]
aws-samples.noreply@github.com
f41f71f436f3abb5d5aa16f4c5eab45a7a96ac20
3d7f92b6de3a5dfab7cf4bc14783481124a00233
/sandbox/team_members/pudumula/ros/ros_serial/build/rosserial/rosserial_msgs/catkin_generated/pkg.develspace.context.pc.py
238d518d15808230a7a74c7379a1064549febd88
[ "Apache-2.0" ]
permissive
Project-Heisenberg/quantum
ec24a262df8d39c56432a38c0a32aca5a3d8ee87
f3ad8f4693007e45e80a88f928273adcfdc8529d
refs/heads/master
2021-05-04T10:38:43.692806
2017-05-01T07:09:24
2017-05-01T07:09:24
54,696,027
1
0
null
null
null
null
UTF-8
Python
false
false
469
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/neo/ros/ros_serial/devel/include".split(';') if "/home/neo/ros/ros_serial/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFI...
[ "you@example.com" ]
you@example.com
7f717bdf86af9d795766de8d2aad2f239ca63c9e
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/storage_profile_py3.py
e3b5222965bb916597c0e97b3ab715b046672d8a
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,421
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
e95f0ae0f274cc543657a96ce3d4226adfc38387
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=91/params.py
49c91e254bad8a2701700e2f8791e841eb918bdc
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
{'cpus': 4, 'duration': 30, 'final_util': '3.583905', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'GSN-EDF', 'trial': 91, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
dddd32db56f39b48919d8dcbc8ccb6a515bf949b
714b3afd9089063c88c23c003807af825576c9e6
/tests/test_factories.py
e13dd12e13a18b4642cceda694754ccd813fff12
[ "MIT" ]
permissive
sdementen/piecash
db944267c1b0502ceb3ceda51688d4a75d89f747
ec30cf469198cccf35f7ba968f889d360cfe1824
refs/heads/master
2022-12-30T05:57:06.631198
2021-10-19T08:42:33
2021-10-19T08:42:33
26,486,077
283
93
NOASSERTION
2023-02-28T17:15:03
2014-11-11T13:27:51
Python
UTF-8
Python
false
false
5,752
py
# coding=utf-8 from __future__ import unicode_literals from datetime import datetime from decimal import Decimal import pytest import pytz import tzlocal from piecash import GnucashException, Commodity from piecash.core import factories from test_helper import ( db_sqlite_uri, db_sqlite, new_book, ne...
[ "sdementen@gmail.com" ]
sdementen@gmail.com
ca234ceb876a8bdcce7b154ef0997cb9c4ea66bd
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_interdicting.py
9fa3e465e94cb3647c1f7842c7f360caf13d9762
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
#calss header class _INTERDICTING(): def __init__(self,): self.name = "INTERDICTING" self.definitions = interdict self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['interdict']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
78c0edf508be8ffa63e6a3b89a60f342f0e3aeac
165753d576a230400ba4ae4cc3a4767748b3b5bf
/thespomat/__init__.py
a121004a7664007450088fe6ef5c6b3681b1bc30
[]
no_license
snare/thespomat
3ac792223044ac6fd8f853a254de7fd646c7068a
c9a85bf6e7ff971c8e1fa6f5a99e38d1e92bf60d
refs/heads/master
2020-04-14T07:56:28.103980
2016-09-13T11:19:36
2016-09-13T11:19:36
68,084,925
1
0
null
null
null
null
UTF-8
Python
false
false
262
py
import logging import logging.config import os from scruffy import ConfigFile, File, PackageDirectory from .main import main config = ConfigFile('~/.thespomat.conf', defaults=File('config/default.cfg', parent=PackageDirectory()), apply_env=True) config.load()
[ "snare@ho.ax" ]
snare@ho.ax
818c5776da2ee141af5c96bc55cbd41b4d926b3c
3d589d1c56b55fbd2b45b03564b8a9442ebf142b
/lib/tests/unit/message/test_serializer.py
314beeee5bd13e975a6baf3206dc336e4edf8240
[ "Apache-2.0" ]
permissive
spotify/klio
1aff27412e92c9d699259e5ab1eaeb39dc3e9571
e625565708ed846201d2e05f782c0ce585554346
refs/heads/develop
2023-05-25T14:33:28.348335
2022-03-23T20:34:09
2022-03-23T20:34:09
285,928,366
815
57
Apache-2.0
2023-05-24T21:07:09
2020-08-07T22:02:58
Python
UTF-8
Python
false
false
5,385
py
# Copyright 2019-2020 Spotify AB # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
[ "lynn@spotify.com" ]
lynn@spotify.com
699d3d044d8b9ee067fbeb56484064f83c02587f
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1_neat/16_0_1_Cae_Montenegro_countingSheep.py
082d7af0f162c0f60776ad35b29a6ae4820407eb
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
926
py
def getDigitsFromNum(myinteger): digits = [] number_string = str(myinteger) for ch in number_string: digits.append(ch) return digits def resolveProblem(problem): digitsKnown = [] lastNumber = -1 multiplier = 1 while len(digitsKnown)<10 and problem*multiplier != lastNumber: lastNumber=problem*multiplier #...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
6e508dfee3027b172cba0f14e92d415d305ff62c
1e9ad304868c2bda918c19eba3d7b122bac3923b
/kubernetes/client/models/v1beta1_scale.py
57f00ac181efdcc94b04cc03c85e1ab9c7dc9856
[ "Apache-2.0" ]
permissive
pineking/client-python
c77e5bd3d476ac852e6dffa96056008baa0f597f
74a64d7325518f4298600d4bb300f92843c29347
refs/heads/master
2021-01-22T22:16:27.368406
2017-03-15T08:21:21
2017-03-15T08:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,000
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems im...
[ "mehdy@google.com" ]
mehdy@google.com
afa7787fd570a8f3ee66fce0febfc15478524917
72b5ed231d50ad31859ddd77e2f0ada8b1cdb6c4
/code_new_start_2021/Mar/predictive_text.py
e545fddd7ade0146db8c246798ac56cdffd24d55
[ "Apache-2.0" ]
permissive
dylanlee101/leetcode
bd0f284f5fec5e7a6f528afdd7608990b470cfaa
b059afdadb83d504e62afd1227107de0b59557af
refs/heads/master
2023-04-14T01:55:05.547873
2021-04-21T00:41:16
2021-04-21T00:41:16
259,027,070
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
t9 = "22233344455566677778889999" def letter_digit(x): assert 'a' <= x and x <= 'z' return t9[ord(x) - ord('a')] def word_code(words): return ''.join(map(letter_digit,words)) def predictive_text(dico): freq = {} for words,weights in dico: prefix = "" for x in words: p...
[ "liwenyi@songguo7.com" ]
liwenyi@songguo7.com
02fb1e4db028f9e3a0b4ca1d02fe75ac3d592dcb
43ee54fd20e802c7c4189a2b5c6fde21bcb80115
/kivy example app/service/main.py
d951f85c8d3eca3b4a32b30be901dd2ec88dc11e
[]
no_license
KeyWeeUsr/android-notification-buttons
000fd514639f9a9e21cc96c7b2606e7fc40b0205
8a8491055842dbc03821925aa95253587fbf327c
refs/heads/master
2023-08-26T01:06:28.922620
2016-07-31T14:34:26
2016-07-31T14:34:26
64,793,704
0
1
null
2016-08-02T21:27:46
2016-08-02T21:27:45
null
UTF-8
Python
false
false
3,657
py
from time import sleep from kivy.utils import platform from kivy.core.audio import SoundLoader from kivy.lib import osc from noti_builder.noti_builder import Notification_Builder try: from jnius import autoclass except: pass class M_Player: def intent_callback(self,intent,*arg): ## BroadcastReceiver ca...
[ "atiskr@gmail.com" ]
atiskr@gmail.com
38bd3342a88d766a08f9c382a7e4e0c45c1f49fe
77d6f3a8d4935ca3fff581e0bb3f3f14b7db2e47
/workbench/audit/migrations/0004_auto_20201017_1016.py
ff382a4b1a04d729044d3dac1eaa311b4b1d0f30
[ "MIT" ]
permissive
jayvdb/workbench
192705cf03eaaf96627b1bedde6c7eea6cf54ca7
a591c8a8aa8266e31095fea23f3d541cee68a7f3
refs/heads/main
2023-02-21T16:05:01.855731
2021-01-24T16:44:00
2021-01-24T16:44:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
# Generated by Django 3.1.2 on 2020-10-17 08:16 import io import os from django.conf import settings from django.db import migrations with io.open(os.path.join(settings.BASE_DIR, "stuff", "audit.sql")) as f: AUDIT_SQL = f.read() class Migration(migrations.Migration): dependencies = [ ("audit", "0...
[ "mk@feinheit.ch" ]
mk@feinheit.ch
c2b6bfcb9bdadb5fe6c8e444ad793b0fe3c08e26
a824114fcf7c64667aaaa023b52abac598eb419d
/src/CNN/other_files/conv1_plot.py
b94d16265d40e9ec0c850b212a57dc003f778217
[]
no_license
satti007/FASHION_MNIST
d9195115b18146c284ce04e7f84da7c49500d32a
d71b67a0cafc0b451761f05bf3b818ae83bf0c5c
refs/heads/master
2020-04-08T09:26:50.670371
2018-11-26T19:57:15
2018-11-26T19:57:15
159,224,433
0
0
null
null
null
null
UTF-8
Python
false
false
2,992
py
import os import sys import time import random import numpy as np import tensorflow as tf from data_prep import * import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec def load_weights1(save_dir,epoch): f = np.load(save_dir+"/weights_"+str(epoch)+".npz") initial_weights = [f[p] for p in sorted(f.fil...
[ "gsatishkumaryadav@gmail.com" ]
gsatishkumaryadav@gmail.com
b4d2122b58af506ff68a3cbdd4b2aebf7a93ae9e
f819fe72c5b18b42a25a71dc2900c7fa80e17811
/pandas/tests/extension/test_floating.py
ff0ff7399e3e67ab0fc2ca82e4dbe03d66ee563f
[ "BSD-3-Clause" ]
permissive
JMBurley/pandas
34d101425acb0ac35a53bcf29fbd47c2d4c88fda
b74dc5c077971301c5b9ff577fa362943f3c3a17
refs/heads/master
2022-11-06T00:48:41.465865
2022-06-13T19:30:11
2022-06-13T19:30:11
229,853,377
1
0
BSD-3-Clause
2019-12-24T02:11:54
2019-12-24T02:11:53
null
UTF-8
Python
false
false
5,332
py
""" This file contains a minimal set of tests for compliance with the extension array interface test suite, and should contain no other tests. The test suite for the full functionality of the array is located in `pandas/tests/arrays/`. The tests in this file are inherited from the BaseExtensionTests, and only minimal ...
[ "noreply@github.com" ]
JMBurley.noreply@github.com
b5838054bfd87638af05de60d02a8bdfa4fbf808
62e9fb33329fbefa89287e5bc343cb9c120306a1
/tensorflow_probability/python/internal/backend/numpy/gen/linear_operator_full_matrix.py
e1f669cf0afad23640c95b4c50e195837f655507
[ "Apache-2.0" ]
permissive
npfp/probability
3c103d4b9d7a72d3d16eb79b1e4f648afbaca057
3911f4463cdcca6cc118633742430885fb0c88cb
refs/heads/master
2022-05-01T14:23:40.504258
2022-04-07T20:08:45
2022-04-07T20:10:58
246,853,846
0
0
Apache-2.0
2020-03-12T14:23:04
2020-03-12T14:23:03
null
UTF-8
Python
false
false
8,896
py
# Copyright 2020 The TensorFlow Probability Authors. All Rights Reserved. # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ # THIS FILE IS AUTO-GENERATED BY `gen_linear_operators.py`. # DO NOT MODIFY DIRECTLY. # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
61eb7003ebd0696d8bdf54da27e8399d1642f45b
3f0032fe2eccee8fbe0374d7334fe42b7e592b90
/services/blueprints/summarizer/views.py
fbf8ed13bb7a932552f3d5b17e97a612c1423b7e
[ "MIT" ]
permissive
OpenKnowledgeMaps/headstart-ifs
1264000cc996eda2d86d3d48168aefa8f81ffb84
95c3e7f7384d66c5b13d02ac26a00b30fbed3cb1
refs/heads/master
2021-06-15T07:11:16.867809
2019-02-03T12:52:56
2019-02-03T12:52:56
160,365,546
4
2
null
null
null
null
UTF-8
Python
false
false
6,534
py
import time import uuid import json from flask import Blueprint, request, jsonify from itertools import chain import redis import numpy as np import igraph as ig import pandas as pd from sklearn.metrics.pairwise import cosine_similarity from sklearn.feature_extraction.text import CountVectorizer, TfidfTransformer from ...
[ "web@christopherkittel.eu" ]
web@christopherkittel.eu
81030fc7c53544f0a3448941c05bf3cd34e2c314
5a8214b3a452c574e6c883bf5d90ba58ba87c461
/leetcode/114.py
7979268339f980ff3693f990a01e0ff2ef33e655
[]
no_license
phlalx/algorithms
69a3c8519687816e3c6333ec12b40659d3e3167f
f4da5a5dbda640b9bcbe14cb60a72c422b5d6240
refs/heads/master
2023-02-03T10:30:30.181735
2020-12-26T09:47:38
2020-12-26T09:47:38
129,254,618
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
#TAGS tree, linked list # cool, TODO think simpler + iterative class Solution: def flatten(self, root: TreeNode) -> None: """ Do not return anything, modify root in-place instead. """ if root is None: return def f(root): old_right = root.right ...
[ "phlalx@users.noreply.github.com" ]
phlalx@users.noreply.github.com
da362e1a2ccac6d975e65a115a74bac478977887
a52de6c29280c8c9932f2098acaf7d3c36218801
/calendarApp/calendarApp/settings.py
0bf69257bb8d524ffd9dd21384386a0113280f5e
[]
no_license
Chungking-express/LOTTE_Calendar
dd27ac377d073960a4f8407a492eec1208060281
005485309c3867866306c7196f3d01790953a0d3
refs/heads/main
2022-12-31T18:50:22.271213
2020-10-24T07:22:46
2020-10-24T07:22:46
304,044,664
0
0
null
2020-10-14T14:42:06
2020-10-14T14:42:05
null
UTF-8
Python
false
false
3,207
py
""" Django settings for calendarApp project. Generated by 'django-admin startproject' using Django 3.0.6. 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 o...
[ "jrimit@gmail.com" ]
jrimit@gmail.com
adf79d1b8b14cf47cdcef7a181cc0a4fe8b30661
2110f7f13c20e20a2467ed09e87f86d2ee439cc3
/doc/SConscript
cf0bcbbf989539e6c038d6df1811d3bc4aafe15a
[ "ISC", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
GeekGalaxy/imgcat
8a148312b1bdca8410a3f065b1c72bd4fd1fdb7f
794d2b1ff5bde9d94dad643e101d68409526a736
refs/heads/master
2021-01-18T04:56:11.109633
2014-12-20T13:22:28
2014-12-20T13:22:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
431
import os manpage_builder = Builder(action='pandoc -sw man ' '''-Vdate="$$(date +'%B %d, %Y')" ''' '$SOURCE -o $TARGET') env = Environment(BUILDERS={'Manpage': manpage_builder}) # Build from pandoc only if it exists. if os.system('which pandoc') == 0: ...
[ "easantos@ualberta.ca" ]
easantos@ualberta.ca
684d7f7de6d6fc3a5859e040a6d55f949ffe919b
7d5e694aba546c166004cab8e592a000fb7283ef
/PyQt5_Udemy/03_Advanced_Widgets/18_Paint_Event.py
0396a45c6c4fc951279142c3cba7afe03a3ff489
[]
no_license
OnurKaraguler/PyQt5
45ffe320911f25f2ad0e318de2c7e3851db7be0c
909546b53c0f80c1eae27c660f47cd5ded3ff1a6
refs/heads/master
2022-12-21T09:06:24.063816
2020-09-24T14:54:11
2020-09-24T14:54:11
298,299,258
1
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
import sys, os from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import Qt from PIL import Image class Main(QMainWindow): count = 0 def __init__(self,parent=None): super(Main, self).__init__(parent) self.setWindowTitle('Draw demo') self.setGeometry(500,150,400,4...
[ "onurkaraguler@hotmail.com" ]
onurkaraguler@hotmail.com
974b1e84271f21fdbfc78a9d309b654c2e6ca236
9a14ca300591f15133a1d3aade19bacd89ae5544
/ToCluster_Optimize/OptimalProtocolGenerator_Full_105_15.py
2a00ee055454520f2f3ceec198c538e6eb41d6ed
[]
no_license
StevenLarge/DiscreteControl_PythonCode
68114fff5ec0b9263b9c9b65ab9589dd17e488f7
235bbc107ad313bb60f5355a112a7736e2e85a5c
refs/heads/master
2020-03-16T19:58:26.983188
2018-05-18T19:33:57
2018-05-18T19:33:57
132,936,377
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
#This python script generates the Fully-Optimal protocols Discrete nonequilibrium control simulations # #Steven Large #March 5th 2018 import numpy as np import scipy.optimize import os import OptimizeFull as FullOpt import WriteData WritePathBase = "Protocols_" NumberCPVals = [5,6,7,8,9,10,11,12,13,14,15,16,17,18,...
[ "stevelarge7@gmail.com" ]
stevelarge7@gmail.com
fbd4b941754e32c2a8e4a5685408aff84e66fa37
cc65020ac0a4b42d7cb0b73616c0d1329be0a21a
/questionnaire/management/commands/slugify_questions.py
72e53357003907bdebaf7322c6c891b342ab8a19
[]
no_license
Sashkow/ukrainian-party-policy-constructor
e8c7ed118b6d2ef3ac23326ab8285978e0464c33
8ef7eaae81275681dc1a5547ca9fbca642ae08c8
refs/heads/master
2021-06-12T01:37:44.818950
2019-08-01T12:59:45
2019-08-01T12:59:45
162,290,445
0
1
null
2021-06-10T21:04:09
2018-12-18T13:12:41
JavaScript
UTF-8
Python
false
false
523
py
from django.core.management.base import BaseCommand, CommandError from questionnaire.models import QuestionAnswer from slugify import slugify class Command(BaseCommand): help = 'Closes the specified poll for voting' # def add_arguments(self, parser): # parser.add_argument('poll_id', nargs='+', type=i...
[ "lykhenko.olexandr@gmail.com" ]
lykhenko.olexandr@gmail.com
bdc417757dfec6a243549f94e4a768c0e250cd3d
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/SOLOv1/configs/hrnet/cascade_mask_rcnn_hrnetv2p_w32_20e.py
360bbca22c45514b5db126e447e1d165215ef367
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
9,199
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
d8cd8bc92697bfc2939abe105712ee2065fda300
85574bab97569bae7368dc4e2d2aa73c73743a9b
/MultirateDSP/Lectures/Examples/11_MultirateSigProcTransfasFB/Transform Matrix.py
239810763f195419050739997bd2e31ea965b71f
[]
no_license
saradhimpardha/UdemyDSPFromGroundUpOnARMProcessors
3c0fcd7272e892f222871dc412fc214851477aea
576d4a38992533ed0733278d6b4b6444db58706b
refs/heads/main
2023-05-04T15:45:30.184864
2021-05-28T14:40:46
2021-05-28T14:40:46
458,248,148
1
0
null
null
null
null
UTF-8
Python
false
false
3,573
py
# coding: utf-8 # # Python example for Transform matrix: # ## Take a DFT of size N =4 . Its transform matrix T can be obtained with # In[1]: import numpy as np import warnings warnings.filterwarnings('ignore') T = np.fft.fft(np.eye(4)) T # **Observe that we have complex values in the transform, and hence obtain ...
[ "franco.polo@ii-vi.com" ]
franco.polo@ii-vi.com
77e3dc899fe559151fd510ac34830257a83d6ac5
e6b4cc91077b1ab227a430ef2d6fdce1b4f30529
/blog_tastypie/myapp/api.py
41dbe547923a8dc3bd76ae6189dd555cfe437d09
[]
no_license
werberth/tastypie-tutorial
71bd5683f664b97edda448650ff3d78f17effb06
89eacd78a76787d4d5676ce1a3efe8a97ab27c17
refs/heads/master
2021-04-29T17:45:18.910239
2018-02-15T23:05:12
2018-02-16T17:53:39
121,677,319
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
from django.contrib.auth.models import User from tastypie import fields from tastypie.resources import ModelResource from blog_tastypie.myapp.models import Entry class UserResource(ModelResource): class Meta: queryset = User.objects.all() resource_name = 'user' excludes = [ 'em...
[ "werberthvinicius@gmail.com" ]
werberthvinicius@gmail.com
b4952a963d7ea011b62b131d19cfd7d814cac378
862631b5d9cf251c7067261a8ff5f3a40d382378
/test_tkinter.py
42dc0f24426f5fc8eac8e356b22422515dbe646a
[]
no_license
isakura313/codabra_neuro
ebd7ddd312cbbfd14f3e45413ac5f175c8c7f1e0
14cb6341898ef2a2d5f8608534de973dd264d89a
refs/heads/master
2021-02-07T10:47:42.799156
2020-02-29T18:12:18
2020-02-29T18:12:18
244,016,405
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
from tkinter import * root = Tk() root.title("Codabra Neuro") root.geometry("300x400") def toSquare(): result = int(entry_data.get()) int_arr = [] for i in range(2,10): res = result**i int_arr.append(str(res)) s = ", " final_res = s.join(int_arr) #объединие res_square = Label(...
[ "isakura313@gmail.com" ]
isakura313@gmail.com
076ef348182c86576641e9a1c24dda17bd9bc01b
2644e9c9e55eb5212b182bc1403ea0c67524baab
/because/because_core.py
020b15e588c8f76c2635e733d2835e089a1512be
[ "MIT" ]
permissive
icefoxen/old-sig
21753e08f0f927ac41135b1835604c8cf2bc3256
bb513641ef53d143a886882d100876c979f44e26
refs/heads/master
2020-07-03T12:01:58.998226
2016-11-18T23:36:03
2016-11-18T23:36:03
74,171,352
0
0
null
null
null
null
UTF-8
Python
false
false
12,906
py
# because.py # Sig compiler. Sig is a Forth-like language (somewhat simplified) of my own # design, and this compiles it to NASM assembly. # # # Order to do things in: # Global variables and constants # Floating-point math # If/else/then, and case # begin/loop, do/while, and do/loop. Plus continue and break. # L...
[ "icefoxen@gmail.com" ]
icefoxen@gmail.com
c33af6349fac4324a2cc782f576adb2d203ebb5e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/1125.py
9b069d88d81a582746184f915ca61375d37c3487
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,162
py
#!/usr/bin/python import sys if len(sys.argv) != 2: print "Please run program: python file.py inputFilename" sys.exit() try: f = open(sys.argv[1],'r') count = int(f.readline()) except IOError: print "Input File could not be opened" sys.exit() case = 1 while count > 0: complete = True cou...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
8112918af873a81f416c9e43e9ef631e9c7748c3
d5c89ac3a62093f1b5e7ab892afed771bfbe88b0
/university/c9/NJURescruitment.py
15a55498c498a80a3dfc84a1f0065c2918ea56d7
[ "Apache-2.0" ]
permissive
WallfacerRZD/UniversityRecruitment-sSurvey
14b9197f5f67acd9570a66a69966f32b4262682c
2b7952fc78d7698154ce0f231f4e4eff97a54b8f
refs/heads/master
2021-08-27T22:27:39.856648
2017-12-10T15:22:30
2017-12-10T15:22:30
108,350,617
1
0
null
2017-10-26T02:19:44
2017-10-26T02:19:44
null
UTF-8
Python
false
false
2,514
py
# coding = utf-8 import requests from bs4 import BeautifulSoup from jedis import jedis from util import util table_name = "nju_company_info" # 获取南京大学数据 def get_nju_rescruit(): print("NJU Begin===================================================") base_url = "http://job.nju.edu.cn:9081/login/nju/home.jsp?type...
[ "maicius@outlook.com" ]
maicius@outlook.com
c1739b2ad22895d37350225e7b63c48eed95e0b0
df21c9510edb6bbd325fb432d7f47b2cc0e7afb7
/.history/Shoes/models_20200323120713.py
a75f953aa9f6b39ef9d3cf365a665663f146038e
[]
no_license
Imraj423/drf_shoestore
ff5eb00bfc890c49f2dd3fcd63bcd0479a4a674d
41421a68cba0cabb7916bbddea49f640a2ce42d6
refs/heads/master
2021-04-23T23:52:40.520524
2020-03-25T21:17:21
2020-03-25T21:17:21
250,036,753
0
0
null
null
null
null
UTF-8
Python
false
false
1,462
py
from django.db import models # Create your models here. class Manufacturer(models.Model): name = models.CharField(max_length=150) website = models.URLField(max_length=200) def __str__(self): return self.name class ShoeType(models.Model): style = models.CharField(max_length=50) def __s...
[ "dahqniss@gmail.com" ]
dahqniss@gmail.com
eed162c7d9d433e50103d017d6431475cd6f8621
d3f442a963ab75af3ed310201767b8c113886576
/webnlg/utils_graph2text.py
169f40e6e834e93d4b74eee0631f05ca9e9c45a0
[ "Apache-2.0" ]
permissive
cqsss/plms-graph2text
71afbb32c9d0042988e03ecae445ac95924e21a3
62c522c84aee00ae8aeaa465287b783eb853971e
refs/heads/master
2023-09-03T01:15:34.204916
2021-11-18T10:28:38
2021-11-18T10:28:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,835
py
import re import os def convert_text(text): #return text text = text.lower() text = ' '.join(re.split('(\W)', text)) text = ' '.join(text.split()) return text def eval_meteor_test_webnlg(folder_data, pred_file, dataset): dir_path = os.path.dirname(os.path.realpath(__file__)) folder_data_b...
[ "ribeiro@aiphes.tu-darmstadt.de" ]
ribeiro@aiphes.tu-darmstadt.de
4c9b85c9333e30316e2ddc81da95e00914409219
699a43917ce75b2026a450f67d85731a0f719e01
/using_python/208_trie_tree.py
e353415550d33ab4dfcd2955ad9d96a0f51e3235
[]
no_license
wusanshou2017/Leetcode
96ab81ae38d6e04739c071acfc0a5f46a1c9620b
c4b85ca0e23700b84e4a8a3a426ab634dba0fa88
refs/heads/master
2021-11-16T01:18:27.886085
2021-10-14T09:54:47
2021-10-14T09:54:47
107,402,187
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
class TrieTree(): def __init__(self): self.d ={} def insert(self,word:str): t = self.d for c in word: if c not in self.d: t[c]={} t=t[c] t["end"] = True def search(self,word:str): t =self.d for c in word: ...
[ "252652905@qq.com" ]
252652905@qq.com
fb4e6b6459e6d09ed5087263ac66e7b48cd82123
0dbbbb1dc8065ed0d27d6ef30fd585eafb481e52
/port_xnn_time/load_and_pred.py
f02df8fcd69b350ac7a412f6fd9bb8eda87c822f
[]
no_license
ethan-jiang-1/ANN-HAPT
149549e60544f5b7d2759b415940957133bf4e64
d91175f2b58986146a118a006237137cf24fac3f
refs/heads/master
2023-01-03T18:50:10.027300
2020-11-02T05:22:29
2020-11-02T05:22:29
304,639,314
0
0
null
null
null
null
UTF-8
Python
false
false
2,134
py
import numpy as np import os, sys currentdir = os.path.dirname(os.path.realpath(__file__)) parentdir = os.path.dirname(currentdir) sys.path.append(parentdir) cdr = os.path.dirname(__file__) if len(cdr) != 0: os.chdir(cdr) from dataset_loader import load_dataset rx_train, ry_train, rx_test, ry_test, labels, skip_r...
[ "ethanmac@mac.com" ]
ethanmac@mac.com
27475e4dd82c4907aaa8047080839df7079d8c1c
498e99bae2b0a107a4f1c8563a74470e8516f465
/common/parse_settings.py
b06519ca6f1b8e057a56a2ea0a1be4735a283337
[ "MIT" ]
permissive
xiaoxiaolulu/MagicTestPlatform
91bcf9125c4c7f254bf8aaf425b7c72ca40b7a49
dc9b4c55f0b3ace180c30b7f080eb5d88bb38fdb
refs/heads/master
2022-05-29T00:05:48.030392
2020-01-20T09:16:44
2020-01-20T09:16:44
219,256,372
5
1
MIT
2022-05-25T02:24:22
2019-11-03T05:31:53
Python
UTF-8
Python
false
false
773
py
from tornado.util import import_object from common.storage import storage class Settings(object): def __init__(self): pass def get_settings(self, name): """ :param name: 配置名 :return:配置项 """ global_settings = import_object('settings.base') self._config...
[ "546464268@qq.com" ]
546464268@qq.com
26f41c89d89c34f30ded1f8a1a36420cc7a518b1
186216449b5834830ef979a3c9cdd89ac8e6b0e3
/backend/vr_test_5031/urls.py
fc050338642bcfd7aeceffb784e23dd4f800d730
[]
no_license
crowdbotics-apps/vr_test-5031
df28f2e5b56e08662899201eaf2146d70dae3b1e
06b0655fa3c64d0129cea0d81383b138c02345e0
refs/heads/master
2022-12-10T20:20:29.871847
2019-06-22T17:11:02
2019-06-22T17:11:02
193,259,529
0
0
null
2022-12-09T07:20:45
2019-06-22T17:10:46
Python
UTF-8
Python
false
false
1,021
py
"""vr_test_5031 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
31e8a3bbd1b390162f599cee38aabc820177b162
0be5e52bd25f7bf78275fb7a6bc8de8597ad78b7
/chapter03-functions/guessTheNumber.py
b22287de7a99fedc4137557e5a67d581b763fe43
[ "MIT" ]
permissive
t04glovern/automatingPython
aaecf115212daf138ab1a42e8b1e806680531eb6
c5f310e2c647c6513ab31917645669e10a7853c5
refs/heads/master
2021-01-18T22:26:35.452915
2016-07-19T05:08:42
2016-07-19T05:08:42
62,141,046
1
1
null
null
null
null
UTF-8
Python
false
false
590
py
import random lower = 1 upper = 20 secretNumber = random.randint(1,20) print("I am thinking of a number between " + str(lower) + " and " + str(upper)) for guessesTaken in range(1, 7): print("Take a guess") guess = int(input()) if guess < secretNumber: print("Your guess is too low") elif gues...
[ "nathan@glovers.id.au" ]
nathan@glovers.id.au
e98fe78e04859516cfa0dd4b0930ddf248f912be
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03547/s507686912.py
8c3b96f7a4691ed44e52b07889f8ada81480a9bd
[]
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
62
py
x,y=input().split() print('<' if x<y else '>' if x>y else '=')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b9a692de8ede4d5a96df12f34121b3fc2ff3e44d
66313e23c7a7c4202724efb500c25b009b6a207a
/tests/test_api_example.py
7bf83f3fa6e3218c04560c387d3bb8aed48df419
[ "MIT" ]
permissive
Tomasz-Kluczkowski/Weather-App
5097a2613038321155ed2acb637ababb124b7344
560f6bb84f48618f38da50b94bb19ad73941c596
refs/heads/master
2022-12-23T09:58:05.459246
2018-01-08T22:30:50
2018-01-08T22:30:50
90,778,050
6
3
MIT
2022-11-22T01:52:27
2017-05-09T18:17:26
Python
UTF-8
Python
false
false
507
py
import pytest from unittest import mock from api_example import API @pytest.fixture(scope="module") def api_class(): api = API() return api @pytest.fixture() def mock_response(): response = mock.Mock() response.return_value.status_code = 2100 return response def test_get_stuff(monkeypatch, api_c...
[ "tomaszk1@hotmail.co.uk" ]
tomaszk1@hotmail.co.uk
93cfc322da21e171eac1ebf0353acf2ec9eca6d0
9bb83bf5f6c2b5d2da4dda711591ef9987490c66
/3DdetectionPrototype/Yolo-Pytorch-nms-updated/pruning/l1norm.py
89cac02f44b91d0e9cd7e121cd8ef6e4c5453184
[]
no_license
nudlesoup/DeepLearning
cb5b7039a9de6098194b56143d1a72a564fed1c9
336e415b0353d6e18d106f894a97d8873a55e544
refs/heads/master
2021-06-25T00:50:40.339768
2020-12-23T02:38:58
2020-12-23T02:38:58
172,002,661
2
0
null
null
null
null
UTF-8
Python
false
false
5,382
py
from pruning.BasePruner import BasePruner from pruning.Block import * from models.backbone.baseblock import InvertedResidual, conv_bn, sepconv_bn,conv_bias class l1normPruner(BasePruner): def __init__(self, Trainer, newmodel, pruneratio=0.1): super().__init__(Trainer, newmodel) self.pruneratio = p...
[ "ameyad1995@gmail.com" ]
ameyad1995@gmail.com
8cd0dc8a0badc0b48d9f1277a147dd28fdbfe85d
a59deecc5d91214601c38bd170605d9d080e06d2
/27-iterators-and-generators/04-generator/app.py
3d498d3f72f8667c2d8f8187457450c724001da9
[]
no_license
reyeskevin9767/modern-python-bootcamp-2018
a6a3abdb911716d19f6ab516835ed1a04919a13d
d0234f10c4b8aaa6a20555348aec7e3571e3d4e7
refs/heads/master
2022-12-03T18:48:50.035054
2020-08-09T03:00:55
2020-08-09T03:00:55
286,109,881
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
# * Generator def count_up_to(max): count = 1 while count <= max: yield count count += 1 counter = count_up_to(5) print(next(counter)) print(next(counter)) print(next(counter)) print(next(counter))
[ "reyeskevin9767@gmail.com" ]
reyeskevin9767@gmail.com
751cb3df98c725246e7254643151d9e12a025791
cad999eacee16dc0e001a57f50b5d8b0f4d4ebf6
/p2*.py
8354a4da33be2f8d899d2544041a0abd50d9cc97
[]
no_license
divyanarra0/pythonprogram
8694a41ba3b39eb44a94a693eac3f7f5f18b588b
10d8f59a472ccd4548771bad29be84a1a44854d8
refs/heads/master
2020-03-27T10:32:21.664657
2019-05-14T07:31:00
2019-05-14T07:31:00
146,427,260
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
num = 2 #num = int(input("Enter a number: ") factorial = 1 if num < 0: print("Sorry, factorial does not exist for negative numbers") elif num == 0: print("The factorial of 0 is 1") else: for i in range(1,num + 1): factorial = factorial*i print(factorial)
[ "noreply@github.com" ]
divyanarra0.noreply@github.com
e14b35975410ed918ee3102ed48d7daa49a1ed83
4be5c172c84e04c35677f5a327ab0ba592849676
/python/interviewbit/arrays/first_missing_integer/first_missing_integer_efficient.py
376fca45765107b58a416abf20705b168acf15e2
[]
no_license
niranjan-nagaraju/Development
3a16b547b030182867b7a44ac96a878c14058016
d193ae12863971ac48a5ec9c0b35bfdf53b473b5
refs/heads/master
2023-04-06T20:42:57.882882
2023-03-31T18:38:40
2023-03-31T18:38:40
889,620
9
2
null
2019-05-27T17:00:29
2010-09-05T15:58:46
Python
UTF-8
Python
false
false
3,050
py
''' https://www.interviewbit.com/problems/first-missing-integer/ First Missing Integer Given an unsorted integer array, find the first missing positive integer. Example: Given [1,2,0] return 3, [3,4,-1,1] return 2, [-8, -7, -6] returns 1 Your algorithm should run in O(n) time and use constant space. ''' ''' So...
[ "vinithepooh@gmail.com" ]
vinithepooh@gmail.com
92e56436ec7bbb5068ddb5a99c9fda067380fd8e
e68a40e90c782edae9d8f89b827038cdc69933c4
/res_bw/scripts/common/lib/plat-mac/carbon/windows.py
bf9aec5c0ccf69e06923ae25aeea692cd01dd5d3
[]
no_license
webiumsk/WOT-0.9.16
2486f8b632206b992232b59d1a50c770c137ad7d
71813222818d33e73e414e66daa743bd7701492e
refs/heads/master
2021-01-10T23:12:33.539240
2016-10-11T21:00:57
2016-10-11T21:00:57
70,634,922
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
8,432
py
# 2016.10.11 22:22:00 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/plat-mac/Carbon/Windows.py def FOUR_CHAR_CODE(x): return x false = 0 true = 1 kWindowNoConstrainAttribute = 2147483648L kAlertWindowClass = 1 kMovableAlertWindowClass = 2 kModalWindowClass = 3 kMovableModalWindowClass = 4 ...
[ "info@webium.sk" ]
info@webium.sk
5039f791eb0bfc7385f638947017b537e45d351a
f73a89c29cf95a98efc76aec16c6b59aaa4feffd
/credo/cred_types/amazon.py
3b59d4852e34e25e42e6fbba06e7762e574fadeb
[]
no_license
jonhiggs/credo
9ad7fd30d8b534942bfce12a9fbfd480ce5bffd1
a87efe715bf660c89b33c91f7f6a0f56ba1eb89f
refs/heads/master
2021-01-24T23:42:04.562101
2015-06-23T02:05:52
2015-06-23T02:05:52
37,892,529
0
0
null
2015-06-23T02:29:37
2015-06-23T02:29:37
null
UTF-8
Python
false
false
15,436
py
from credo.errors import BadCredentialFile, NoCredentialsFound, BadCredential, UserQuit from credo.asker import ask_user_for_half_life, ask_for_choice_or_new from credo.amazon import IamPair import logging import sys log = logging.getLogger("credo.cred_types.amazon") class AmazonKey(object): """Represents the in...
[ "stephen@delfick.com" ]
stephen@delfick.com
d66c704541687ca99b889a95adb06548fafbae94
36de14c6b188886df6a284ee9ce4a464a5ded433
/Solutions/0825/0825.py
afacf0d9a45858a176d7e3671a8f9fce69478278
[]
no_license
washing1127/LeetCode
0dca0f3caa5fddd72b299e6e8f59b5f2bf76ddd8
b910ddf32c7e727373449266c9e3167c21485167
refs/heads/main
2023-03-04T23:46:40.617866
2023-02-21T03:00:04
2023-02-21T03:00:04
319,191,720
3
0
null
null
null
null
UTF-8
Python
false
false
554
py
# -*- coding:utf-8 -*- # Author: washing # DateTime: 2021/12/27 10:11 # File: 0825.py # Desc: CV class Solution: def numFriendRequests(self, ages: List[int]) -> int: n = len(ages) ages.sort() left = right = ans = 0 for age in ages: if age < 15: ...
[ "1014585392@qq.com" ]
1014585392@qq.com
fe85ae6997230fb2e31fef2b1763950eb98af560
93e5b82332af9f0d3e203d086e30794fb90a2086
/unrar/unrar.py
8d645265f998ebee2702c42c88aaa8275463ed6b
[]
no_license
swell1009/ex
cfaae0b5fe917f12416170dce60f7dea8194f368
29b274fb51adbdc43af6ebecaec89c97bc58be6f
refs/heads/master
2020-04-04T10:15:20.578932
2018-11-22T06:27:30
2018-11-22T06:27:30
155,848,187
0
0
null
null
null
null
UTF-8
Python
false
false
2,017
py
# 压缩文件破解代码 # https://blog.csdn.net/qq_41262248/article/details/79316385 import os import sys # zipfile是Python标准库 import zipfile # 尝试导入扩展库unrar from unrar import rarfile def decryptRarZipFile(filename): # 根据文件扩展名,使用不同的库 if filename.endswith('.zip'): fp = zipfile.ZipFile(filename) elif filename.en...
[ "swell1009@qq.com" ]
swell1009@qq.com
e3e768710e4872221ede3f6982d4ca13843c7c4b
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/LMJ6HEjMuLpTd6Zzs_24.py
464b536966e33fc136ea3b5096d3396f8e870108
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
import re pattern = "(?P<year>\d+)-(?P<month>\d+)-(?P<day>\d+)"
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e570148bb74539c9bb9e4f7155c054907ec188c5
0e4860fecfdd34a3255003cc8c8df086c14083dd
/program/algorithm/ProgrammerXiaohuiPython/src/chapter6/part4/AStar.py
5a9d918f35d886cf2e2d469ba38b5ab5095fdd6c
[]
no_license
anzhihe/learning
503ab9a58f280227011da5eaa4b14b46c678e6f3
66f7f801e1395207778484e1543ea26309d4b354
refs/heads/master
2023-08-08T11:42:11.983677
2023-07-29T09:19:47
2023-07-29T09:19:47
188,768,643
1,443
617
null
2023-08-24T02:10:34
2019-05-27T04:04:10
Python
UTF-8
Python
false
false
3,581
py
def a_star_search(start, end): # 待访问的格子 open_list = [] # 已访问的格子 close_list = [] # 把起点加入open_list open_list.append(start) # 主循环,每一轮检查一个当前方格节点 while len(open_list) > 0: # 在open_list中查找 F值最小的节点作为当前方格节点 current_grid = find_min_gird(open_list) # 当前方格节点从openList中移除 ...
[ "anzhihe1218@gmail.com" ]
anzhihe1218@gmail.com
b520402a863f0a03e2b8838f352802afe71d727e
bf772ff5616774dfbcace27a9d80ad318409d046
/codenode/twisted/plugins/python.py
3bd798bd6ddd2a46beb468ceedd5c2fee7a86f8a
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jamescasbon/codenode
c51db69f61659ab0459af8eabcb7f2ef04b5df2d
f6402cc5a6405cd906e2c2751a970f3a644a9c30
refs/heads/master
2020-12-25T02:25:28.149849
2010-11-15T18:52:37
2010-11-15T18:52:37
248,694
1
0
null
null
null
null
UTF-8
Python
false
false
576
py
import os from codenode.backend.engine import EngineConfigurationBase boot = """from codenode.engine.server import EngineRPCServer from codenode.engine.interpreter import Interpreter from codenode.engine import runtime namespace = runtime.build_namespace port = runtime.find_port() server = EngineRPCServer(('localhos...
[ "deldotdr@gmail.com" ]
deldotdr@gmail.com
61b1e90f7e2041c22e774b010a6fc728e53f501e
3d4332662fca27b70c7d77998f535cd2325a6d16
/quiz/model/__init__.py
c7f5dbe9f9a5fb1b6e153f982571b52cdeceb5cd
[ "MIT" ]
permissive
Huangkai1008/quiz
1a3438c1e57b840f9373c558410009d6f0b8617e
3da2f7486d24b6d18a064cf8cfb50cfc0fa4ee6f
refs/heads/master
2022-12-14T18:42:16.707700
2020-03-06T13:31:50
2020-03-06T13:31:50
196,193,129
3
0
MIT
2022-12-08T10:55:28
2019-07-10T11:31:23
Python
UTF-8
Python
false
false
143
py
from .user import User from .question import Question, Answer, AnswerVote, Comment, CommentVote from .topic import Article, ArticleVote, Topic
[ "18778335525@163.com" ]
18778335525@163.com
4f658f83bdcba0be5997f78534b1972dfcd2b3a9
da4c71cef520269843aa3daf10d9cb5fcc0da644
/seleniumbase/fixtures/constants.py
1d15d0436001d1cc66ca49d9689cb87bd13548b1
[ "MIT" ]
permissive
mehmetgul/SeleniumBase
ae3e9ba45a285f7ad253170ad6f29cdf61ed775b
205aa70221e858b70a6692b190f8e44f54fcf723
refs/heads/master
2020-08-04T13:22:05.538453
2019-10-01T04:58:12
2019-10-01T04:58:12
212,150,478
0
1
MIT
2019-10-01T16:54:23
2019-10-01T16:54:23
null
UTF-8
Python
false
false
5,647
py
""" This class containts some frequently-used constants """ class Environment: # Usage Example => "--env=qa" => Then access value in tests with "self.env" QA = "qa" STAGING = "staging" DEVELOP = "develop" PRODUCTION = "production" MASTER = "master" LOCAL = "local" TEST = "test" class...
[ "mdmintz@gmail.com" ]
mdmintz@gmail.com
353e9dbac5554af789d2f3f303c4ee0b3abc3ad9
230d492e791726d70b814af601765e2c61cb5387
/home/migrations/0001_initial.py
6ce572fdf6a27156264a040bf0bbf6c5de56713d
[]
no_license
crowdbotics-apps/new-app-001-dev-1322
8e3127c8dc84650ac98cd562effff648809c2fac
e6175e16694cac51383af5bda47d51cc7e0b303a
refs/heads/master
2022-03-29T15:55:02.613917
2019-12-28T00:20:57
2019-12-28T00:20:57
230,536,556
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
# Generated by Django 2.2.9 on 2019-12-28 00:20 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='CustomText', fields=[ ('id', models.AutoFie...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f98f0ae7ad8095b1778616da4f0e09383fa205d2
47d3e3149269277b164fecb176b5d0297d398b2e
/Python_coding_dojang/Unit 21/practice.py
5ea92bf4f5e5a6252de63048d4b18b8cedea1aa7
[]
no_license
heechul90/study-python-basic-1
325e8c81fe35cd0cd22934869413e475b6734652
82d778e5960c0bde102bdc4c52fc61f61ba27745
refs/heads/master
2022-10-31T07:03:54.213599
2022-10-24T10:54:40
2022-10-24T10:54:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
### Unit 21. 터틀 그래픽스로 그림 그리기 ## 21.5 연습문제: 오각별 그리기 ## 다음 소스 코드를 완성하여 오각별이 그려지게 만드세요. ## 각 변의 길이는 100 ## 별의 꼭지점은 72도를 두 번 회전해서 144도 회전 ## 별의 다음 꼭지점을 그릴 때는 72도 회전 import turtle as t t.shape('turtle') for i in range(5): t.fd(100) t.right(360 - 72) t.fd(100) t.right(72 * 2) t.mainloop()
[ "heechul4296@gmail.com" ]
heechul4296@gmail.com
4267cfa167cf839e86c323aa0bff898ae2b2b7a4
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/shuffle-string/376399352.py
10f38707e3fa99e2a8a25a199abcca25cad841c6
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
350
py
# title: shuffle-string # detail: https://leetcode.com/submissions/detail/376399352/ # datetime: Wed Aug 5 16:40:38 2020 # runtime: 108 ms # memory: 13.9 MB class Solution: def restoreString(self, s: str, indices: List[int]) -> str: l = [None] * len(s) for c, i in zip(s, indices): l[i]...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
1b8e6b868d02f908235620ff1799906d5fcf28ee
e904bd56e931e3b06f2542f8c77e579ceaf4270b
/src/src_import.py
30caff366cef0782892e4a6cba76ddca807b0c68
[]
no_license
QMSimProject/trapped_ion_sim
5d3419cdce0373d4fb9067aded691e02c9795912
668821841530cc9055403b00e879edbbd28b297f
refs/heads/master
2021-01-01T18:08:05.632322
2015-06-25T06:17:02
2015-06-25T06:17:02
22,006,635
1
0
null
null
null
null
UTF-8
Python
false
false
342
py
#!/usr/bin/python2.7 # -*- coding: utf-8 -*- # # Author: Mario S. Könz <mskoenz@gmx.net> # Date: 01.05.2014 19:53:33 CEST # File: src_import.py # all central import that are needed in the all src-files are imported here import qutip as q import pylab as pl import numpy as np import copy import cPickle as pickle...
[ "mskoenz@gmx.net" ]
mskoenz@gmx.net
fbdd1c86e4afbd015b8a4f91b7720f00a881b949
a5829ec0c213de2489b73d2a79cd17e62e27d40c
/docs/DSDC/miniprez/miniprez/continuous_integration.py
31e76ef0dddf511d5e363ce2b9c0502413fbe8c1
[ "MIT" ]
permissive
thoppe/Presentation_Topics
13d4ea7a8dd66463f2e37023bf7e986542fd6ee0
e9aba07e9ab087b44e6044c6082ba8e873a9b4fd
refs/heads/master
2021-11-24T18:02:10.944169
2021-10-26T21:11:03
2021-10-26T21:11:03
160,071,657
0
1
MIT
2019-02-19T15:12:23
2018-12-02T17:23:32
null
UTF-8
Python
false
false
1,366
py
import asyncio import os from parser import miniprez_markdown, build_body import logging logger = logging.getLogger("miniprez") async def file_watcher(target_file, sleep_time=0.5): """ Watchs a file. If modified, yield the filename. Yield the filename once to start. """ # Yield the file first ...
[ "travis.hoppe@gmail.com" ]
travis.hoppe@gmail.com
5c8c89e31867e31e5cba92b8c42fc023695a819c
f020d00342311f84376f8b39c09f5c0f7d6b9196
/tratum/document_manager/migrations/0023_document_template_path.py
e860d31dcb878b5e7f79f134ed39bcf19652a7c2
[]
no_license
dmontoya1/minutas
a7aa5e4a652af47b4a70e881d114e241d5bf49cc
e6447cd030e34c0fd3a980021f23624da2d2d5a3
refs/heads/master
2023-05-12T16:48:53.830140
2021-03-26T02:33:43
2021-03-26T02:33:43
371,433,520
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# Generated by Django 2.0.6 on 2018-06-21 22:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('document_manager', '0022_auto_20180619_1635'), ] operations = [ migrations.AddField( model_name='document', name='te...
[ "dcastano@apptitud.com.co" ]
dcastano@apptitud.com.co
2672f76c85956feb7e498612c7eab45fe095ad66
0a2cc497665f2a14460577f129405f6e4f793791
/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/aio/operations/_resource_health_metadata_operations.py
7157905231350867b1d615883b04fd16cd777a07
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
hivyas/azure-sdk-for-python
112158aa9e1dd6e30cf6b3dde19f5db6ea2a577b
8b3258fa45f5dc25236c22ad950e48aa4e1c181c
refs/heads/master
2023-06-17T12:01:26.392186
2021-05-18T19:56:01
2021-05-18T19:56:01
313,761,277
1
1
MIT
2020-12-02T17:48:22
2020-11-17T22:42:00
Python
UTF-8
Python
false
false
23,528
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
hivyas.noreply@github.com
a3df573c4c19c7aceb0f95047d6a1a7da5d4da45
571d36f865b545c0a72134e586fbcddd6953a68b
/tools/pallette/pallette.py
3ed90c377e2e34f1b599e066a115e29e1f7b1fdb
[]
no_license
andrew-turner/Ditto
a5a79faaf31cc44d08ac5f70fa2ac51e51d1b60f
72841fc503c716ac3b524e42f2311cbd9d18a092
refs/heads/master
2020-12-24T14:19:01.164846
2015-05-20T08:42:26
2015-05-20T08:42:26
35,935,568
0
0
null
null
null
null
UTF-8
Python
false
false
3,527
py
import sys import traceback import functools from tkinter import * import tkinter.colorchooser import tkinter.filedialog import tkinter.messagebox import Image import ImageTk def myfunc(event): print("X") class app(): def __init__(self, master): self.master = master print("C") self.fn = tki...
[ "andrew.turner@merton.ox.ac.uk" ]
andrew.turner@merton.ox.ac.uk
a215a3acc6128563bc49d271d002ea4ae0233711
d50685a3f3d612349b1f6627ed8b807f0eec3095
/start/fayuan/selenium/fayuan_download_firefox.py
5dd44f918ecca4b522e3809e69c2a499937ea1d5
[]
no_license
Erich6917/python_littlespider
b312c5d018bce17d1c45769e59243c9490e46c63
062206f0858e797945ce50fb019a1dad200cccb4
refs/heads/master
2023-02-12T23:22:27.352262
2021-01-05T06:21:20
2021-01-05T06:21:20
113,631,826
1
0
null
null
null
null
UTF-8
Python
false
false
6,626
py
# -*- coding: utf-8 -*- # @Time : 2019/4/14 # @Author : ErichLee ErichLee@qq.com # @File : fayuan_download.py # @Comment : # import sys import re import sys import requests import json import time from selenium import webdriver from bs4 import BeautifulSoup from util.file_check_util import * from...
[ "1065120559@qq.com" ]
1065120559@qq.com
8429a1879154030926ba2b938b313d4f4f44f0c2
45520037aa5b1a71764a856ce96cb99c008e437e
/Section 8 Introduction to PyMongo/src/4_counting_documents.py
24d5f2b275eb37f33b5dc50dda70d0bfc2c373c6
[]
no_license
syurskyi/Learn_How_Python_Works_with_NoSql_Database_MongoDB_PyMongo
1a9fabf062b57f36e86a920584b74f350e463906
505d68b3eb16fc5e0d5dd35f64756df1369c11ba
refs/heads/master
2020-09-01T08:09:42.629734
2019-11-06T04:31:29
2019-11-06T04:31:29
218,916,529
1
0
null
null
null
null
UTF-8
Python
false
false
258
py
import pymongo from pymongo import MongoClient # connect to host and server client = MongoClient('localhost', 27017) # connect to database myFirstE db = client.myFirstE # connect to collection stud1 = db.stud results = stud1.find().count() print(results)
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
ba821ab7ffc4db06873819b566c29b3eda27c646
d67aac932b0c1a91bc064884260504e46c526839
/page_objects/CatalogPage.py
242d796358e13163213769082593fd114cf4c106
[]
no_license
maslovaleksandr/opencart_tests
8ad3abc57d2a3e5f26fa41a92fdd35825f43ebe8
a11d3cba601b1282523022cad67c19ac660a1a9a
refs/heads/master
2023-05-07T08:55:45.080737
2020-08-24T20:41:48
2020-08-24T20:41:48
284,944,354
0
1
null
2021-06-02T02:45:07
2020-08-04T10:12:14
Python
UTF-8
Python
false
false
2,021
py
from .DefaultPage import DefaultPage from ..locators.Catalog import Catalog from selenium.webdriver.support.ui import Select from ..locators.Main import Main class CatalogPage(DefaultPage): def open_phones_catalog(self): self._click(Main.main_menu.phones_and_pda) return self def sort_opened_...
[ "a.mslv@outlook.com" ]
a.mslv@outlook.com
daab9dc5727a358eb8f51da3f48cb1743571831e
077c91b9d5cb1a6a724da47067483c622ce64be6
/trigger_priority_mismatch_small_mcs/replay_config.py
104c6f06cb0af0fdbcea1e53bc81c5b86fb3cdae
[]
no_license
Spencerx/experiments
0edd16398725f6fd9365ddbb1b773942e4878369
aaa98b0f67b0d0c0c826b8a1565916bf97ae3179
refs/heads/master
2020-04-03T10:11:40.671606
2014-06-11T23:55:11
2014-06-11T23:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow import Replayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_cmd='./pox....
[ "cs@cs.berkeley.edu" ]
cs@cs.berkeley.edu
b4b375c2227967f88a29066916bb8465946bfb35
511f572c5c6d0e73e3f57495c065af4a3e8b3b76
/4.19.1.py
e4f436847e7b7ae74a880ac8ec310b64be6ecf16
[]
no_license
lancecopper/python_cookbook_exercises
595b1c9dea0b5197ca951f85012821f5d6a25e1f
58f76503f01941b65fa884049b2fa9589e98bc38
refs/heads/master
2021-01-01T04:39:49.823408
2016-05-08T14:34:41
2016-05-08T14:34:41
56,480,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
from ply.lex import lex from ply.yacc import yacc #Token list tokens = ['NUM', 'PLUS', 'MINUS', 'TIMES', 'DIVIDE', 'LPAREN', 'RPAREN'] #Ignored characters t_ignore = ' \t\n' #Token splecifications(as regexs) t_PLUS = r'\+' t_MINUS = r'-' t_TIMES = r'\*' t_DIVIDE = r'/' t_LPAREN = r'\(' t_RPAREN = r'\)' ...
[ "she47637370@gamil.com" ]
she47637370@gamil.com
d42655fa8283cf940e75a46c932581c790b9b33f
d2c92cfe95a60a12660f1a10c0b952f0df3f0e8e
/zz91app/zz91app/myrc.py
dc1c9c4f7f4f8e38ffeda9cd331df5efc145855f
[]
no_license
snamper/zzpython
71bf70ec3762289bda4bba80525c15a63156a3ae
20415249fa930ccf66849abb5edca8ae41c81de6
refs/heads/master
2021-12-21T16:12:22.190085
2017-09-30T06:26:05
2017-09-30T06:26:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
60,515
py
#-*- coding:utf-8 -*- from django.shortcuts import render_to_response import simplejson from django.http import HttpResponse,HttpResponseRedirect,HttpResponsePermanentRedirect import MySQLdb,sys,os,memcache,settings,urllib,re,datetime,time,random,hashlib from django.core.cache import cache from zz91db_ast import ...
[ "2496256902@qq.com" ]
2496256902@qq.com
bb451f850f72923c84366c71aa4b2e63ca0f862f
1c53494183e0011cfa31a31dba366a41ce5e05a7
/Section 3/git_compex_use_case/fabfile.py
92c39c61b6639a9dd353920f4585673b96d95d53
[ "MIT" ]
permissive
abdallahbouhannache/Enterprise-Automation-with-Python-
ff41031469357847de4a680f5579c205b4fba894
8b8de8b56adf7df781578ee110988d915a46cb59
refs/heads/master
2021-09-15T09:46:19.959568
2018-05-30T07:00:22
2018-05-30T07:00:22
null
0
0
null
null
null
null
UTF-8
Python
true
false
829
py
from __future__ import with_statement from fabric.api import * from fabric.contrib.console import confirm env.hosts = ['localhost'] def test(): with settings(warn_only=True): result = local('./manage.py test my_app', capture=True) if result.failed and not confirm("Tests failed. Continue anyway?"): ...
[ "35484449+cleonb-packt@users.noreply.github.com" ]
35484449+cleonb-packt@users.noreply.github.com
9135fd1ce2191d38768aa972cab4f27a65a7a12c
3f66c9877f0c8a394dbc1fa98dedb9273316b175
/services/flow_bigquery.py
a0c15949e805a3fe8739b087b9b76f5c6934b436
[ "MIT" ]
permissive
onejgordon/flow-dashboard
c06f6760d0087cebebe75102b543ac35d7aa8469
b8d85d9313e51cf386f6d2e5944fc958a7d96769
refs/heads/develop
2023-09-03T12:20:57.223724
2023-07-02T15:55:02
2023-07-02T15:55:02
84,657,014
1,801
250
MIT
2023-04-01T02:06:25
2017-03-11T14:46:24
Python
UTF-8
Python
false
false
10,712
py
#!/usr/bin/python # -*- coding: utf-8 -*- # API calls to interact with Google Big Query # TODO: # - Build in push date overlap to handle late-reported data from __future__ import absolute_import from datetime import datetime, timedelta, time from services.gservice import GoogleServiceFetcher from constants import JO...
[ "onejgordon@gmail.com" ]
onejgordon@gmail.com
3fce4c2702fbe130cee125377c3f6d63a96f6558
2e2843ead0186fca5f124743395cf1f65f8e579f
/env/bin/easy_install
138318182b65a8c4ee3c45e4ad925f8df60d8854
[]
no_license
django-spain/django-father-rest-framework
5ce003569d3bdc3d7873de791c25e4a98b6ae57c
0dd1cd61dd1a624f0baa27320fc99388ca7ca620
refs/heads/master
2022-02-21T23:02:23.972257
2019-08-27T00:45:11
2019-08-27T00:45:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
273
#!/home/marlon/Documentos/django/ambientes/env/bin/python3 # -*- 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())
[ "falconsoft.3d@gmail.com" ]
falconsoft.3d@gmail.com
7355f43c3d17c1f39e35428d76ecdd9778bd2102
d2e634676dc1d35f129b1a5c3f4c519c80e5be38
/cross_lingual/pre_process/parse_args.py
18be617d868f508cb9b8abdc5d02ab2adb7ff165
[]
no_license
livelifeyiyi/DLworks
4442b121abb17c0a8daf73c9e23c16527584a34a
6a1d44069f33c9c5a04abe641eb0970b592459a9
refs/heads/master
2020-04-11T15:39:12.291709
2019-11-10T13:47:00
2019-11-10T13:47:00
161,898,477
0
1
null
null
null
null
UTF-8
Python
false
false
4,385
py
import os from collections import OrderedDict def parse_args(args): # Parse parameters params = OrderedDict() params['train'] = args.train params['bi_train'] = args.bi_train params['dev'] = args.dev params['test'] = args.test params['model_dp'] = args.model_dp params['tag_scheme'] = ar...
[ "xiaoya_0922@126.com" ]
xiaoya_0922@126.com
813170ffbc1c200e9d01cd3b6c7fe63ff19c4ce6
aaa4eb09ebb66b51f471ebceb39c2a8e7a22e50a
/Lista 09/exercício 13.py
5b758ff4ae3bf0877f20e01225830517e2e1e44d
[ "MIT" ]
permissive
Brenda-Werneck/Listas-CCF110
c0a079df9c26ec8bfe194072847b86b294a19d4a
271b0930e6cce1aaa279f81378205c5b2d3fa0b6
refs/heads/main
2023-09-03T09:59:05.351611
2021-10-17T00:49:03
2021-10-17T00:49:03
411,115,920
0
1
null
null
null
null
UTF-8
Python
false
false
514
py
#Crie um algoritmo que leia uma matriz A[NxN] (N ≤ 10) e calcule a respectiva matriz transposta At. N = int(input("Digite um valor: ")) if N <= 10: A = [[0 for i in range(N)] for j in range(N)] for i in range(N): for j in range(N): A[i][j] = int(input(f"Digite o valor para o índice ({i + 1}...
[ "89711195+Brenda-Werneck@users.noreply.github.com" ]
89711195+Brenda-Werneck@users.noreply.github.com
87d15f8ee0f387eb5b5b0513d59853680e217b9b
282a4529e74349989b54201cba3be4bcff5349d5
/todo/apps/activity/templatetags/activity_tags.py
8140818a58ca7766d1bdc0fd264af741a3fc2dd8
[ "WTFPL" ]
permissive
arthuralvim/todo
e34c2a92431574bacca76afda5de5dfa40391d51
a159b17f45b002b0bff9bdd70f79b27173865689
refs/heads/master
2016-09-06T09:14:02.116711
2014-06-03T11:56:02
2014-06-03T11:56:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
from django import template register = template.Library() @register.filter def attr(field, arg): s = arg.split(':') attr = s[0] value = s[1] return field.as_widget(attrs={attr: value}) @register.filter def attrs(field, args): el = args.split(';') attrs = {} for e in el: s = e.sp...
[ "afmalvim@gmail.com" ]
afmalvim@gmail.com
cbeacded22e0ac363e3028fad703bdf1b4a84750
e76f6fdb1a2ea89d4f38ac1ed28e50a7625e21b7
/qytdjg_learning/views/DB.py
7ce9dfc397aefc79f1d8899ca6196b489352c7fd
[]
no_license
collinsctk/qytdjg_learning
4d61a2a236f0bc4bf9be8d999352a8e3c1b87408
72a6d6153f6ca6bf9fccad76612450fdaf83d9fd
refs/heads/master
2020-03-24T19:45:31.145059
2018-07-31T06:51:14
2018-07-31T06:51:14
142,943,470
0
0
null
null
null
null
UTF-8
Python
false
false
3,556
py
#!/usr/bin/env python3 # -*- coding=utf-8 -*- # 本脚由亁颐堂现任明教教主编写,用于乾颐盾Python课程! # 教主QQ:605658506 # 亁颐堂官网www.qytang.com # 教主技术进化论拓展你的技术新边疆 # https://ke.qq.com/course/271956?tuin=24199d8a from mt.models import Movie from django.http import HttpResponse def testORM(request): result = Movie.objects.all() name = '' ...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
d85945315cbd2eaeee8a064729d59b1d75757973
f9c59022d1e5c60345f9bc369df5d6a86f6f64e4
/src/synthetic/create_simple.py
e16fbf952c9af26033ffd13841cafe7957a5aca0
[]
no_license
YingjingLu/Music_Onset
3530c78ac1cf370b9cbb8487aeeea829b80eaa06
99af3c6a1f06bb86e3a09375ab2a8a628e6716da
refs/heads/master
2020-05-26T18:12:40.387918
2019-06-06T03:52:55
2019-06-06T03:52:55
188,331,780
0
1
null
null
null
null
UTF-8
Python
false
false
6,075
py
from mido import Message, MetaMessage, MidiFile, MidiTrack from utils import * import numpy as np from random import randint import os import math from midi2audio import FluidSynth import os # store sound fonts in this dir ~/.fluidsynth/default_sound_font.sf2 sound_font = "gs.sf2" fs = FluidSynth( sound_font, sample...
[ "yingjinglu2019us@gmail.com" ]
yingjinglu2019us@gmail.com
02ac0c4c993e42497f95af752fe4e03c17a76bc3
c97af07addfa42c282d6b5d6ae8c05d00f9d8c50
/Lib/asyncio/windows_utils.py
de7b71d809255b9e76caca102cfbf095f86e277c
[ "Python-2.0", "MIT" ]
permissive
khg0712/RustPython
6c5a4842f557e617c36793f9e5a735130e2fc40e
a04c19ccb0f5e7e1774d5e6f267ffed3ee27aeae
refs/heads/master
2020-11-24T05:02:01.820429
2019-12-06T22:30:58
2019-12-06T22:30:58
227,976,324
1
0
MIT
2019-12-14T06:20:46
2019-12-14T06:20:45
null
UTF-8
Python
false
false
6,915
py
""" Various Windows specific bits and pieces """ import sys if sys.platform != 'win32': # pragma: no cover raise ImportError('win32 only') import _winapi import itertools # XXX RustPython TODO: msvcrt # import msvcrt import os import socket import subprocess import tempfile import warnings __all__ = ['socketp...
[ "33094578+coolreader18@users.noreply.github.com" ]
33094578+coolreader18@users.noreply.github.com
38a90db6d164678ec8455e591bfe98bf3218361d
fe096ed06c34ae3adf958760886dd5f2fc64fa90
/reverseInteger.py
926bf94629cb20ed9c275d76abe51bbefa820f53
[]
no_license
harshmalviya7/LeetCode_Coding_Questions
c9d8a93f4a5664dcf57098cd58f3f1d95667b0c0
47edb51e55e390861ed539972d8bf66b41b4cdd7
refs/heads/master
2023-08-23T01:09:40.110710
2021-10-21T12:53:36
2021-10-21T12:53:36
373,072,675
4
0
null
null
null
null
UTF-8
Python
false
false
361
py
# 7. Reverse Integer # https://leetcode.com/problems/reverse-integer/ class Solution: def reverse(self, x: int) -> int: def no(x): a=0 while(x>0): a=a*10+x%10 x=x//10 return 0 if a> 0x7fffffff else a if x<0: return -1*no(abs(x)...
[ "harsh.malviya.9869@gmail.com" ]
harsh.malviya.9869@gmail.com
c766d0590cce8bc6d1c6f198c01824d8154a8701
26dbbed416176ec2e929d54c689d5206357f6fb6
/course/migrations/0003_post_author.py
953378e3d0edbaa11fa3ea9da57ff7b7b4762560
[]
no_license
coderrohanpahwa/dynamic_blog
12084d8f3336525ef400d6891ec231a5260c90f7
081b32691c3edd9208c654a6c101f786ff514a3f
refs/heads/master
2022-12-22T09:46:30.059928
2020-09-15T17:06:48
2020-09-15T17:06:48
295,687,840
0
1
null
2020-09-30T19:15:49
2020-09-15T10:07:25
Python
UTF-8
Python
false
false
382
py
# Generated by Django 3.1 on 2020-09-14 17:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0002_post'), ] operations = [ migrations.AddField( model_name='post', name='author', field=model...
[ "coderrohanpahwa@gmail.com" ]
coderrohanpahwa@gmail.com
ffcae26716030284c8ceff004efda0e5f3cff23d
20da592bc2e37f18e172aa1ad8219b773e30290c
/plotConfiguration/WH_SS/Full2017nanov6/cuts.py
acec7312774cbfe76f166f6eae0f02438edbb52d
[]
no_license
LambdaFramework/Analyzer-Nano
000721114a7f568474406727c2dbf614f49dd81b
39cfd650037ac4e852d5b5cba36f94782c5dcdd9
refs/heads/master
2022-11-27T12:41:31.007899
2020-08-03T09:00:43
2020-08-03T09:00:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,856
py
# cuts supercut = 'mll>12 \ && Lepton_pt[0]>25 && Lepton_pt[1]>20 \ && bVeto \ && PuppiMET_pt > 30 \ ' cuts={} cuts['OSee'] = 'nCleanJet>=2 && nLepton>=2 && isbVeto && ((Lepton_pdgId[0]*Lepton_pdgId[1]==11*-11)||(Lepton_pdgId[0]*Lepton_pdgId[1]==-11*11)) \ && Electron_p...
[ "siew.yan.hoh@cern.ch" ]
siew.yan.hoh@cern.ch
2b600a43cf5e371445358316b0fd5c47d22183da
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/189/29370/submittedfiles/testes.py
61a1f9b2b067f7ce6955f2759012caf516befc2c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# -*- coding: utf-8 -*- import math f=float(input('digite f:')) l=float(input('digite l:')) q=float(input('digite q:')) deltaH=float(input('digite deltaH:')) v=float(input('digite v:')) d=((8*f*l)*(q*q)/((math.pi*math.pi)*(9.81*deltaH)))**(1/5) rey=(4*q)/(math.pi*d*v) k=0.25/(math.log10(0.000002/3.7*d+5.74/reu**0.9))**...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6787d8861d092534356152dbdb92a603032e13df
9a69af2f759f336c039865c3070d6f089b5f99c5
/src/users/urls.py
2920b743c267f900eb4733933316205ab4235c29
[]
no_license
henryfrstr/clarusway_quiz
ae108a7b19713dae0566d31dc35a6d0b221160d6
0788624bc9ec409a6381d2ad2210f0a92d91d5fb
refs/heads/master
2023-02-16T04:51:01.574223
2021-01-16T18:04:27
2021-01-16T18:04:27
329,702,753
1
4
null
null
null
null
UTF-8
Python
false
false
143
py
from django.urls import path from .views import RegisterView urlpatterns = [ path("register/", RegisterView.as_view(), name="register") ]
[ "63148122+henryfrstr@users.noreply.github.com" ]
63148122+henryfrstr@users.noreply.github.com