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
b059b880de3f859a5969b06be9518974df6aa833
f6d08b29b76713165fcdb50f78bd9c74b6b38c22
/Collect/S30/DataAccess.py
b4ea6f8e898d457761a400b8cb3c13d44347eeb3
[ "Apache-2.0" ]
permissive
joan-gathu/watertools
b4b22071897e21d2fb306344f9ace42511e9f3ef
55e383942ed3ddb3ba1d26596badc69922199300
refs/heads/master
2022-04-11T17:49:06.324478
2020-03-13T11:11:16
2020-03-13T11:11:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,459
py
# -*- coding: utf-8 -*- """ WaterSat author: Tim Martijn Hessels Created on Sun Feb 10 18:26:30 2019 """ import datetime import pandas as pd import numpy as np import os import urllib import gdal #S2_tile = "10SGE" #output_folder = "F:\Project_Jain\Case_California\Input_Data\S30" #Startdate = "2018-03-01" #Enddate = "...
[ "timhessels@hotmail.com" ]
timhessels@hotmail.com
6ce225b27e57b222c5803bee8ef647f9c9f5b6e1
aaa762ce46fa0347cdff67464f56678ea932066d
/AppServer/lib/django-1.3/tests/regressiontests/test_client_regress/views.py
c40f34fe563a797d6d3a7c364eeb614697b044db
[ "Apache-2.0", "BSD-3-Clause", "LGPL-2.1-or-later", "MIT", "GPL-2.0-or-later", "MPL-1.1" ]
permissive
obino/appscale
3c8a9d8b45a6c889f7f44ef307a627c9a79794f8
be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f
refs/heads/master
2022-10-01T05:23:00.836840
2019-10-15T18:19:38
2019-10-15T18:19:38
16,622,826
1
0
Apache-2.0
2022-09-23T22:56:17
2014-02-07T18:04:12
Python
UTF-8
Python
false
false
4,115
py
from django.conf import settings from django.contrib.auth.decorators import login_required from django.http import HttpResponse, HttpResponseRedirect from django.core.exceptions import SuspiciousOperation from django.shortcuts import render_to_response from django.utils import simplejson from django.utils.encoding impo...
[ "root@lucid64.hsd1.ca.comcast.net" ]
root@lucid64.hsd1.ca.comcast.net
37b87d12218bc68211a3ef73adb34d6e5eb43721
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnhog.py
7c1879ae52723fe68f6909d57aba4d78d84117a7
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
1,016
py
ii = [('CookGHP3.py', 1), ('LyelCPG2.py', 6), ('RogePAV2.py', 5), ('CoolWHM2.py', 4), ('RogePAV.py', 6), ('SadlMLP.py', 2), ('WilbRLW.py', 1), ('ProuWCM.py', 4), ('MartHSI2.py', 1), ('LeakWTI2.py', 1), ('LeakWTI3.py', 4), ('PeckJNG.py', 11), ('AubePRP.py', 1), ('FitzRNS3.py', 2), ('SeniNSP.py', 1), ('AinsWRR3.py', 2), ...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
81245d58715ad29d167143f1b4294119e1df2941
5a5bcfe21defcaf6b050b0c92e8ec03cee7eb50f
/gencrud/gen/page/forms/__init__.py
7d15d4a929cddb986ec8904a4487e97f10a941fc
[]
no_license
marychev/gencrud
dc146c570a81ed0665f6bec309f106d966be349a
d6dc478b9a079aba5589591fa2e79665179e28a2
refs/heads/master
2023-01-06T18:50:13.417451
2020-10-23T18:05:38
2020-10-23T18:05:38
262,617,213
2
0
null
2020-05-10T18:35:19
2020-05-09T16:55:28
Python
UTF-8
Python
false
false
38
py
from .page_comment import CommentForm
[ "marychevmihail3737@gmail.com" ]
marychevmihail3737@gmail.com
5f0505f36af2d39f955a7c0c374ddee7f52a9465
024ad288e3e8c4407c147d3e5a3cef9c97ddecce
/keras/keras98_randomsearch.py
3188609d3745a71add73ce93d8b27576dc61a945
[]
no_license
keumdohoon/STUDY
a17f62549e5dc59640875970b79b41ba8f62932c
83a1369d8e93767ebc445a443d8f55921cd984ce
refs/heads/master
2022-12-15T17:25:00.809774
2020-09-07T02:00:30
2020-09-07T02:00:30
264,050,749
1
0
null
null
null
null
UTF-8
Python
false
false
5,264
py
#원래는 randomizedSearchCV로 변환, 파일 keras97불러오기. #score 을 추가해준다. from keras.datasets import mnist from keras.utils import np_utils from keras.models import Sequential, Model from keras.layers import Input, Dropout, Conv2D, Flatten, Dense from keras.layers import MaxPooling2D import numpy as np #. 1. 데이터 (x_train, ...
[ "58944180+keumdohoon@users.noreply.github.com" ]
58944180+keumdohoon@users.noreply.github.com
ea0437398c5d2f0e423bd627eaa886ffd929f096
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv2/lib/python3.8/site-packages/ansible/modules/database/postgresql/postgresql_ext.py
97bd549f21b13edb26860e7beac097a8cf22f526
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
5,700
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "sifang@cisco.com" ]
sifang@cisco.com
1657f962a8133600e36bf5a5651983e5160d9d34
9f2f386a692a6ddeb7670812d1395a0b0009dad9
/python/paddle/fluid/tests/unittests/dygraph_group_sharded_stage3_offload.py
5f9ec5c6e708e37b208ed07a321428f056f83a77
[ "Apache-2.0" ]
permissive
sandyhouse/Paddle
2f866bf1993a036564986e5140e69e77674b8ff5
86e0b07fe7ee6442ccda0aa234bd690a3be2cffa
refs/heads/develop
2023-08-16T22:59:28.165742
2022-06-03T05:23:39
2022-06-03T05:23:39
181,423,712
0
7
Apache-2.0
2022-08-15T08:46:04
2019-04-15T06:15:22
C++
UTF-8
Python
false
false
6,441
py
# -*- coding: UTF-8 -*- # Copyright (c) 2022 PaddlePaddle Authors. 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 #...
[ "noreply@github.com" ]
sandyhouse.noreply@github.com
22c8c50b7859ffd0b128c08f3f64b0fcca6754d2
55ab64b67d8abc02907eb43a54ff6c326ded6b72
/scripts/addon_library/local/uvpackmaster3/scripted_pipeline/panels/grouping_panels.py
6e772957a8c34014a5e61cf1284f7cdbd0d6afda
[ "MIT" ]
permissive
Tilapiatsu/blender-custom_config
2f03b0bb234c3b098d2830732296d199c91147d0
00e14fc190ebff66cf50ff911f25cf5ad3529f8f
refs/heads/master
2023-08-16T14:26:39.990840
2023-08-16T01:32:41
2023-08-16T01:32:41
161,249,779
6
2
MIT
2023-04-12T05:33:59
2018-12-10T23:25:14
Python
UTF-8
Python
false
false
9,945
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "tilapiatsu@hotmail.fr" ]
tilapiatsu@hotmail.fr
edf52ab76db2cfd99a0af88763f296ce469be40c
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/SjShRightSide/YW_GGQQ_QLFSJHA_191.py
7b402aecbf55309b2714b38ef26372383e256c92
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,954
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys import json sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/option/service") from OptMainService import * from OptQueryStkPriceQty import * sys.path.append("/home/yhl2/workspace/xt...
[ "418033945@qq.com" ]
418033945@qq.com
0da92cbd0e4ade8ad9bc3e92c2eeb5dba366e385
99d17ddba93db1105e8941b1b592d9d9e22864fb
/superset/dashboards/permalink/exceptions.py
c234d614f1a27fea248bc5ed03cb5599a37c9fc3
[ "Apache-2.0", "OFL-1.1" ]
permissive
apache-superset/incubator-superset
f376dc15d6e2187d0b65a0dc5476d6c6c3378f21
0945d4a2f46667aebb9b93d0d7685215627ad237
refs/heads/master
2023-03-15T04:12:40.478792
2022-07-25T14:44:43
2022-07-25T14:44:43
146,225,581
21
20
Apache-2.0
2023-03-13T16:00:14
2018-08-26T23:56:08
TypeScript
UTF-8
Python
false
false
1,253
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
apache-superset.noreply@github.com
ed3eebeafc63f9ab053b14216164390517280d87
30b5179e32c3f31b56b100238ee9d14449d02071
/tests/components/picnic/test_config_flow.py
b731fce74f9bbc1033373b6eca43f0a513a03586
[ "Apache-2.0" ]
permissive
Verbalinsurection/Home-Assistant-core
e149c13ecae32c34b7cabd0216abcfddd6244bdc
5f69ae436003c75b1eeac2ec488049197e87e9ff
refs/heads/dev
2023-09-01T18:34:53.715026
2023-02-14T21:17:22
2023-02-14T21:17:22
247,318,244
0
0
Apache-2.0
2023-02-22T06:14:24
2020-03-14T17:04:17
Python
UTF-8
Python
false
false
9,501
py
"""Test the Picnic config flow.""" from unittest.mock import patch import pytest from python_picnic_api.session import PicnicAuthError import requests from homeassistant import config_entries, data_entry_flow from homeassistant.components.picnic.const import CONF_COUNTRY_CODE, DOMAIN from homeassistant.const import C...
[ "noreply@github.com" ]
Verbalinsurection.noreply@github.com
985a61e35a1166affcae13bcd6cc900782271bde
9825db945e7bfe68319b086e9fb7091a63645d5c
/transcribe/mommy_recipes.py
69965c1794946191d35991093b0493aa8e916c17
[]
no_license
lupyanlab/telephone
e1ee095d5698dc228deec5ba5878a46b76d43f2d
136f27fb2b41263f53fba6bd44711cf57598a1a4
refs/heads/master
2020-04-12T07:33:05.849287
2017-04-04T01:16:14
2017-04-04T01:16:14
41,316,823
1
1
null
2015-11-17T04:44:40
2015-08-24T17:20:23
Python
UTF-8
Python
false
false
1,059
py
from unipath import Path from django.conf import settings from django.core.files import File from model_mommy.recipe import Recipe, foreign_key, related import grunt.models as grunt_models import ratings.models as ratings_models import transcribe.models as transcribe_models django_file_path = Path(settings.APP_DIR...
[ "pierce.edmiston@gmail.com" ]
pierce.edmiston@gmail.com
48983f1ea96897668bf4f661b7f0605254dc330d
02d1d89ed3c2a71a4f5a36f3a19f0683a0ae37e5
/navigation/sonar/maxsonar_class.py~
fbc039ae23b20329bb3f04d51f235e36260bfd38
[]
no_license
lforet/robomow
49dbb0a1c873f75e11228e24878b1e977073118b
eca69d000dc77681a30734b073b2383c97ccc02e
refs/heads/master
2016-09-06T10:12:14.528565
2015-05-19T16:20:24
2015-05-19T16:20:24
820,388
11
6
null
null
null
null
UTF-8
Python
false
false
2,504
#!/usr/bin/env python import serial import threading import time # need to find best way to search seria ports for find device class MaxSonar(object): def __init__(self): self._isConnected = False self._ser = self._open_serial_port() self._should_stop = threading.Event() self._start_reading() self._data =...
[ "laird@isotope11.com" ]
laird@isotope11.com
bb5bf27549da60b54e5a034ea948dda8c9c4d2d6
eba05d8b5f45c109b68c5d19f7658fe62f9083ec
/client/verta/tests/test_entities.py
839a00dcf025688f0b5b507482ed6082c33d058e
[ "Apache-2.0" ]
permissive
fagan2888/modeldb
4b47d5ded2024ae1f61fda6d2980f8228e3937a5
7182cb9432eeb10b84abc89f925106abf5c43d21
refs/heads/master
2023-01-15T01:01:42.090856
2020-11-21T01:49:54
2020-11-21T01:49:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,592
py
import six import itertools import os import shutil import requests import pytest from verta._registry import RegisteredModels from verta._tracking.deployable_entity import _CACHE_DIR from . import utils import verta import verta._internal_utils._utils import json from verta.external.six.moves.urllib.parse import...
[ "noreply@github.com" ]
fagan2888.noreply@github.com
e10f712169e012afe52d661cee1079d73d473cf5
a4deea660ea0616f3b5ee0b8bded03373c5bbfa2
/executale_binaries/register-variants/vpblendvb_xmm_xmm_xmm_xmm.gen.vex.py
24114f1b5661dc25199fcafb0f1753e89bd770d4
[]
no_license
Vsevolod-Livinskij/x86-64-instruction-summary
4a43472e26f0e4ec130be9a82f7e3f3c1361ccfd
c276edab1b19e3929efb3ebe7514489f66087764
refs/heads/master
2022-02-02T18:11:07.818345
2019-01-25T17:19:21
2019-01-25T17:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
import angr proj = angr.Project('vpblendvb_xmm_xmm_xmm_xmm.exe') print proj.arch print proj.entry print proj.filename irsb = proj.factory.block(proj.entry).vex irsb.pp()
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
73f759e34e0bb373fed5832be2d79bf6a4727643
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/prime-193.py
a9022462728d26ffa25a7f481c9f9b2ca1f06f24
[]
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
571
py
# Get the n-th prime starting from 2 def get_prime(n:int) -> int: candidate:int = 2 found:int = 0 while True: if is_prime(candidate): found = found + 1 if found == n: return candidate candidate = candidate + 1 return 0 # Never happens def is_prime...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
bceb5d5fd70239529410c669bae6ea96ca0148fd
dbaec1262c8966d66512cadd343249786a8c266d
/tests/test_scraper.py
1d196eeb7ad9cd52a2a34f6599ba263fbe8d42da
[]
no_license
andreqi/django-manolo
96e50021a843cff1c223692853993c5dbb685acd
01552875a47c4da90c89db6f0b9c05a269fa07ca
refs/heads/master
2020-04-01T18:00:59.213208
2014-11-20T21:28:04
2014-11-20T21:28:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
# -*- coding: utf-8 -*- """ test_django-manolo ------------ Tests for `django-manolo` models module. """ import datetime from datetime import timedelta as td import unittest import dataset import sqlalchemy from django.conf import settings from manolo.models import Manolo from manolo.management.commands.scraper im...
[ "aniversarioperu1@gmail.com" ]
aniversarioperu1@gmail.com
15eb534642b2dbaf5eb98339e0cd15a18f7b59d6
4c228cca5bfdf3bd34dab2bedd7350ff501230b3
/tools/ex_network.py
daaafecdccaa5dfaf16ca6adbc450de5273af72f
[]
no_license
gauenk/xi_uai18
3575b4b6db3393f4bc6a640a6b3c607a2d6bca6f
c24040f43e3d8779b7c2fff88f8ab787cf22c385
refs/heads/master
2022-02-24T04:29:14.037754
2020-04-04T16:57:17
2020-04-04T16:57:17
234,967,333
0
0
null
2021-03-29T23:13:54
2020-01-19T21:05:51
Python
UTF-8
Python
false
false
2,877
py
import plotly.graph_objects as go import networkx as nx def plot_network(G): # # plot the edges # edge_x = [] edge_y = [] for edge in G.edges(): x0, y0 = G.nodes[edge[0]]['pos'] x1, y1 = G.nodes[edge[1]]['pos'] edge_x.append(x0) edge_x.append(x1) edge_x...
[ "kent.gauen@gmail.com" ]
kent.gauen@gmail.com
52a051a1f273e344066b4ddedd4c4d3304bced08
b21525fdcbb9724d51fd4b317c24f218d05144d2
/FastBridgeApp/data/Latin/cicero_de_provinciis_consularibus.py
ade71b6415b0619a3190b8717db404d9d95ebc33
[]
no_license
HCDigitalScholarship/FastBridge
6202da636bcc2b6a6c7efe7b2a6d067510e7fa57
9037b0d5dee5da7d93ea53538595883559b07cda
refs/heads/master
2023-09-02T02:58:47.683943
2023-06-06T19:20:09
2023-06-06T19:20:09
218,993,365
1
5
null
2023-06-06T19:20:10
2019-11-01T13:45:05
Python
UTF-8
Python
false
false
261,464
py
import text nan="" section_words = {'start': -1, '1.1': 7, '1.2': 16, '1.3': 23, '1.4': 32, '1.5': 40, '1.6': 48, '1.7': 56, '1.8': 64, '1.9': 72, '1.10': 80, '1.11': 89, '1.12': 97, '1.13': 106, '1.14': 112, '2.1': 115, '2.2': 125, '2.3': 133, '2.4': 142, '2.5': 151, '2.6': 160, '2.7': 169, '2.8': 178, '2.9': 187, '2....
[ "carter.langen@gmail.com" ]
carter.langen@gmail.com
2627bc5bee346deeab204fa6ec44e5c9cc13abfc
8b9e9de996cedd31561c14238fe655c202692c39
/hackerrank/hackerrank_AntiPalindromic_Strings.py
e118373c79db90167cc964fa3d7cbc28599314dd
[]
no_license
monkeylyf/interviewjam
0049bc1d79e6ae88ca6d746b05d07b9e65bc9983
33c623f226981942780751554f0593f2c71cf458
refs/heads/master
2021-07-20T18:25:37.537856
2021-02-19T03:26:16
2021-02-19T03:26:16
6,741,986
59
31
null
null
null
null
UTF-8
Python
false
false
1,030
py
"""hackerrank_AntiPalindromic_Strings.py https://www.hackerrank.com/contests/101hack19/challenges/antipalindromic-strings """ def main(): """if n == 1, then there is m antipalindromic string. if n == 2, then there is m * (m - 1) antipalindromic string if n >= 3, then there is m * (m - 1) * (m - 1)... ...
[ "laituan1986@gmail.com" ]
laituan1986@gmail.com
fd9051b479df526f24d4937d65fc91e13c2b0021
837fcd0d7e40de15f52c73054709bd40264273d2
/More_exercise-master/Repeated_element_list.py
db01da889fb9c8d678166fab52513a0e563108a2
[]
no_license
NEHAISRANI/Python_Programs
dee9e05ac174a4fd4dd3ae5e96079e10205e18f9
aa108a56a0b357ca43129e59377ac35609919667
refs/heads/master
2020-11-25T07:20:00.484973
2020-03-08T12:17:39
2020-03-08T12:17:39
228,554,399
0
1
null
2020-10-01T06:41:20
2019-12-17T07:04:31
Python
UTF-8
Python
false
false
477
py
list1 = [1, 342, 75, 23, 98] list2 = [75, 23, 98, 12, 78, 10, 1] index=0 new=[] while index<len(list1): if list1[index] in list2: new.append(list1[index]) index=index+1 new.sort() print new #"-------------------" # without in operator index=0 new=[] while index<len(list1): var1=0 ...
[ "nehai18@navgurukul.org" ]
nehai18@navgurukul.org
e6c242f7656466c344365678cdf6869daa23683b
8dbb2a3e2286c97b1baa3ee54210189f8470eb4d
/kubernetes-stubs/client/models/v2beta2_metric_target.pyi
e58a49afa7ff802b89fffd13f6b7a5441e8e92a4
[]
no_license
foodpairing/kubernetes-stubs
e4b0f687254316e6f2954bacaa69ff898a88bde4
f510dc3d350ec998787f543a280dd619449b5445
refs/heads/master
2023-08-21T21:00:54.485923
2021-08-25T03:53:07
2021-08-25T04:45:17
414,555,568
0
0
null
2021-10-07T10:26:08
2021-10-07T10:26:08
null
UTF-8
Python
false
false
694
pyi
import datetime import typing import kubernetes.client class V2beta2MetricTarget: average_utilization: typing.Optional[int] average_value: typing.Optional[str] type: str value: typing.Optional[str] def __init__( self, *, average_utilization: typing.Optional[int] = ..., ...
[ "nikhil.benesch@gmail.com" ]
nikhil.benesch@gmail.com
9f4ade293e4deed7bf08590e33fecbb9a8b287d9
35b58dedc97622b1973456d907ede6ab86c0d966
/Test/2020年4月29日/001.py
c8895768d64c6ebb9f086308a28346ccff33c6e5
[]
no_license
GithubLucasSong/PythonProject
7bb2bcc8af2de725b2ed9cc5bfedfd64a9a56635
e3602b4cb8af9391c6dbeaebb845829ffb7ab15f
refs/heads/master
2022-11-23T05:32:44.622532
2020-07-24T08:27:12
2020-07-24T08:27:12
282,165,132
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
# import re # import json # sss = '{"testfan-token": "${neeo_001>data>data}$"}' # # find = re.findall('\${.*?}\$',sss) # # for i in find: # find = i # print(find) # # print(re.sub(find,'1',sss)) import requests # response = requests.request(method='get', url='http://www.neeo.cc:6002/pinter/bank/api/query2',params...
[ "1433880147@qq.com" ]
1433880147@qq.com
f373f7fb41cef8b368430594ebbdee6e8ea6d030
30ab9750e6ca334941934d1727c85ad59e6b9c8a
/zentral/contrib/nagios/events/__init__.py
32a043fbbf1aebc95d5d5f0da9196c0e025d5d16
[ "Apache-2.0" ]
permissive
ankurvaishley/zentral
57e7961db65278a0e614975e484927f0391eeadd
a54769f18305c3fc71bae678ed823524aaa8bb06
refs/heads/main
2023-05-31T02:56:40.309854
2021-07-01T07:51:31
2021-07-01T14:15:34
382,346,360
1
0
Apache-2.0
2021-07-02T12:55:47
2021-07-02T12:55:47
null
UTF-8
Python
false
false
1,158
py
import logging from zentral.core.events import event_cls_from_type, register_event_type from zentral.core.events.base import BaseEvent logger = logging.getLogger('zentral.contrib.nagios.events') ALL_EVENTS_SEARCH_DICT = {"tag": "nagios"} class NagiosEvent(BaseEvent): tags = ["nagios"] class NagiosHostEvent(N...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
a5febbe7a5eedfbbabe6af1b6c0a253823fdc6b5
16b389c8dcace7f7d010c1fcf57ae0b3f10f88d3
/docs/jnpr_healthbot_swagger/test/test_topic_schema_variable.py
d8cf50a23cf30844a79d2a6d4c4d3e87e9c010c1
[ "Apache-2.0" ]
permissive
Juniper/healthbot-py-client
e4e376b074920d745f68f19e9309ede0a4173064
0390dc5d194df19c5845b73cb1d6a54441a263bc
refs/heads/master
2023-08-22T03:48:10.506847
2022-02-16T12:21:04
2022-02-16T12:21:04
210,760,509
10
5
Apache-2.0
2022-05-25T05:48:55
2019-09-25T05:12:35
Python
UTF-8
Python
false
false
955
py
# coding: utf-8 """ Healthbot APIs API interface for Healthbot application # noqa: E501 OpenAPI spec version: 3.1.0 Contact: healthbot-feedback@juniper.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagg...
[ "sharanyab@juniper.net" ]
sharanyab@juniper.net
60154971e033303df3ec37c5af4870bd330cbc8c
aabcf7b509608af70ce9fa6e7665837f6b6984b0
/bincrafters_envy/main.py
14ef7546bb5c5216fd5a45f5e21aae151fb2df3d
[ "MIT" ]
permissive
bincrafters/bincrafters-envy
2573177e83c8ec0687eff9c76cbc0c79b1a4135c
584ea39c16927ca3d1ffc68b32ec8d77627c27e0
refs/heads/develop
2023-06-08T10:55:37.920810
2019-07-26T08:35:48
2019-07-26T08:35:48
113,282,817
1
0
MIT
2023-06-01T12:24:40
2017-12-06T07:21:00
Python
UTF-8
Python
false
false
266
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys if sys.version_info.major == 3: from bincrafters_envy import bincrafters_envy else: import bincrafters_envy def run(): bincrafters_envy.main(sys.argv[1:]) if __name__ == '__main__': run()
[ "uilianries@gmail.com" ]
uilianries@gmail.com
c867e8178c3e307027a310c680b5dc60c0a7aeba
7395af9906200bb7135201ede8e238c0afb46c65
/public_api/api_requests/create_transaction.py
6edaac4ade0a40754dce2345e1b754c36cfb54fa
[]
no_license
bellomusodiq/public-api
6fd21d91f9df4e1ef75d2f43f3d2ad59afc1f30c
20b59ecc67ac6c969a9c47991f385e538762c2a6
refs/heads/master
2023-01-02T05:30:53.797873
2020-10-27T20:19:51
2020-10-27T20:19:51
305,782,966
0
0
null
null
null
null
UTF-8
Python
false
false
1,364
py
import requests import json import random import string from .config import base_url def generate_random_string(): choices = string.ascii_letters + string.digits string_ = '' for _ in range(20): string_ += random.choice(choices) return string_ url = "{}/test/transactions".format(base_url) ...
[ "bmayowa25@gmail.com" ]
bmayowa25@gmail.com
77c35e61da685b86d7d099062b817c4d4650011c
aee144770c8f4ec5987777aebe5b064e558fc474
/doc/integrations/pytorch/parlai/tasks/mnist_qa/agents.py
df1f01e28be9434fde8528ad3cb0ea9b583c46d5
[ "CC-BY-SA-3.0", "MIT", "Apache-2.0", "AGPL-3.0-only" ]
permissive
adgang/cortx
1d8e6314643baae0e6ee93d4136013840ead9f3b
a73e1476833fa3b281124d2cb9231ee0ca89278d
refs/heads/main
2023-04-22T04:54:43.836690
2021-05-11T00:39:34
2021-05-11T00:39:34
361,394,462
1
0
Apache-2.0
2021-04-25T10:12:59
2021-04-25T10:12:59
null
UTF-8
Python
false
false
2,362
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ This is a simple question answering task on the MNIST dataset. In each episode, agents are presented with a ...
[ "noreply@github.com" ]
adgang.noreply@github.com
0be675f1f85ba5f732fc877fca398ee196184613
52b5773617a1b972a905de4d692540d26ff74926
/.history/fibo_20200709155400.py
3b16f98c3d18b786e0d8adc98afc754847029ae4
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
# solving the fibonaci sequence using recursion and dynamic programming # Recursion # Base case if n = 1 || n == 2 then fibo is 1 def fibo(n): if n == 1: result = 1
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
d6f72acbd5a87945e02e30a1fbc7fa53ce292903
724317c256e3c57e8573f74334be31f39ba34eb9
/scripts/graphquestions/insert_to_db.py
08cadc30d76f276e8821af87e44558d87e2df6ee
[ "Apache-2.0" ]
permissive
pkumar2618/UDepLambda
a36662014fc23465aff587761810b986e4dad6dd
08f00b7dc99bb06c6912e9e83f47c32ebdd38eff
refs/heads/master
2022-11-25T09:22:41.444891
2020-08-01T08:56:52
2020-08-01T08:56:52
282,916,873
0
0
Apache-2.0
2020-07-27T14:09:32
2020-07-27T14:09:32
null
UTF-8
Python
false
false
474
py
#!/usr/bin/python import MySQLdb # connect db = MySQLdb.connect(host="rudisha.inf.ed.ac.uk", user="root", passwd="ammuma1234", db="gq_german") cursor = db.cursor() # execute SQL select statement cursor.execute("SELECT * FROM sentences") # commit your changes db.commit() # get the number of rows in the resultset nu...
[ "siva@sivareddy.in" ]
siva@sivareddy.in
e019f16db7ba4fbd11cc190bd1425769fda97daa
9d5b0bcc105f7a99e545dd194d776a8f37b08501
/tf_quant_finance/math/integration/simpson.py
d011b774ef2f030af974719aec196bfd567db508
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
priyalorha/tf-quant-finance
ab082a9bd6d22fd3ea9a3adcf67a35dc23460588
72ce8231340b27b047279012ffe97aeb79117cdf
refs/heads/master
2023-02-23T11:08:30.161283
2021-02-01T13:57:43
2021-02-01T13:58:14
334,980,881
1
0
Apache-2.0
2021-02-01T14:45:14
2021-02-01T14:45:14
null
UTF-8
Python
false
false
3,828
py
# Lint as: python3 # Copyright 2019 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
[ "tf-quant-finance-robot@google.com" ]
tf-quant-finance-robot@google.com
46914611421331bc8c3b99a2f18da0e2a7b11766
eb3c6e228a05e773fad89b42da0f54a1febbd096
/plenum/bls/bls_bft_utils.py
67d709cfdbd21e7a593db606e4930394d7383904
[ "Apache-2.0" ]
permissive
amitkumarj441/indy-plenum
1f45e0c095b9aa27e8306e29c896aa1441a20229
7cbcdecd5e6e290530fe0d5e02d9ea70ab1c9516
refs/heads/master
2021-07-21T02:19:24.219993
2017-10-27T08:48:03
2017-10-27T08:48:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
def create_full_root_hash(root_hash, pool_root_hash): """ Utility method for creating full root hash that then can be signed by multi signature """ return root_hash + pool_root_hash
[ "alexander.sherbakov@dsr-company.com" ]
alexander.sherbakov@dsr-company.com
5f3ef402e43e381527b710f81ee8970f9ac7c5a1
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/tests/system/providers/google/marketing_platform/example_analytics.py
0d8f94ec38e552ad8bfc9ef564376ae17a7b7d4e
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
3,724
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
cfei18.noreply@github.com
f706c41962f21c4b764b0b4ccea05a2eed8290b9
881ca022fb16096610b4c7cec84910fbd304f52b
/libs/scapy/contrib/__init__.py
d1ce31ce09076bfc086bfb4b8be14c6235ba16f5
[]
no_license
mdsakibur192/esp32_bluetooth_classic_sniffer
df54a898c9b4b3e2b5d85b1c00dd597d52844d9f
7e8be27455f1d271fb92c074cb5118cc43854561
refs/heads/master
2023-07-31T14:29:22.989311
2021-09-08T11:18:21
2021-09-08T11:18:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
# This file is part of Scapy # See http://www.secdev.org/projects/scapy for more information # Copyright (C) Philippe Biondi <phil@secdev.org> # This program is published under a GPLv2 license """ Package of contrib modules that have to be loaded explicitly. """
[ "mgarbelix@gmail.com" ]
mgarbelix@gmail.com
a693f848a13454a6cfa0984f201bdd2971733ff4
a39d0d1f0e257d0fff5de58e3959906dafb45347
/PythonTricks/DataStructures/arays.py
4dd812657bd50c08d6dda6321c7d0a1f08ba79a0
[]
no_license
Twishar/Python
998d7b304070b621ca7cdec548156ca7750ef38e
1d1afa79df1aae7b48ac690d9b930708767b6d41
refs/heads/master
2021-09-23T14:18:36.195494
2018-09-24T12:33:36
2018-09-24T12:33:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
import array arr = ['one', 'two', 'three'] print(arr[0]) print(arr) # Lists are mutable: arr[1] = 'hello' print(arr) del arr[1] print(arr) # Lists can hold arbitrary data types: arr.append(23) print(arr) # Tuple - immutable containers arr = 'one', 'two', 'three' print(arr[0]) print(arr) # arr[1] = 'hello' # del...
[ "stognienkovv@gmail.com" ]
stognienkovv@gmail.com
f704cf61cb51810d863d902fd775d9cbbf0da782
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02238/s136410577.py
efae5c2b562906dd438512222d9cbfb70501d96a
[]
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
744
py
#coding: utf-8 n = int(input()) color = ["white" for i in range(n)] d = [[] for i in range(n)] global t t = 0 M = [[False for i in range(n)] for j in range(n)] for i in range(n): data = list(map(int,input().split())) u = data[0] k = data[1] if i == 0: start = u for v in data[2:2+k]: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
aa4a7a7bec6c8d765c3e813b46ac392fb2f243d9
98032c5363d0904ba44e1b5c1b7aa0d31ed1d3f2
/Chapter10/ch10/race_with_lock.py
5b939cb8db37805feba1ecc83d58524902c0916b
[ "MIT" ]
permissive
PacktPublishing/Learn-Python-Programming-Second-Edition
7948b309f6e8b146a5eb5e8690b7865cb76136d5
54fee44ff1c696df0c7da1e3e84a6c2271a78904
refs/heads/master
2023-05-12T08:56:52.868686
2023-01-30T09:59:05
2023-01-30T09:59:05
138,018,499
65
44
MIT
2023-02-15T20:04:34
2018-06-20T10:41:13
Jupyter Notebook
UTF-8
Python
false
false
576
py
import threading from time import sleep from random import random counter = 0 randsleep = lambda: sleep(0.1 * random()) def incr(n): global counter for count in range(n): with incr_lock: current = counter randsleep() counter = current + 1 randsleep() ...
[ "33118647+romydias@users.noreply.github.com" ]
33118647+romydias@users.noreply.github.com
d448574fb3725a8d6dc5fef6401a51fda2584702
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/googlecloudsdk/command_lib/error_reporting/exceptions.py
0ff475910503910e5c0b0a043a2e41e2f0aa50de
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
1,036
py
# -*- coding: utf-8 -*- # # Copyright 2016 Google Inc. 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...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
9ca578dfa4481209f802f09fe1f2d284c66c4342
86fc644c327a8d6ea66fd045d94c7733c22df48c
/scripts/managed_cpe_services/customer/single_cpe_site/single_cpe_site_services/cpe_lan/end_points/end_points.py
c1ba06f6470036abac86a2fa5229dae0de42c9a8
[]
no_license
lucabrasi83/anutacpedeployment
bfe703657fbcf0375c92bcbe7560051817f1a526
96de3a4fd4adbbc0d443620f0c53f397823a1cad
refs/heads/master
2021-09-24T16:44:05.305313
2018-10-12T02:41:18
2018-10-12T02:41:18
95,190,459
0
0
null
null
null
null
UTF-8
Python
false
false
16,803
py
# # This computer program is the confidential information and proprietary trade # secret of Anuta Networks, Inc. Possessions and use of this program must # conform strictly to the license agreement between the user and # Anuta Networks, Inc., and receipt or possession does not convey any rights # to divulge, reproduce,...
[ "sebastien.pouplin@tatacommunications.com" ]
sebastien.pouplin@tatacommunications.com
91b849e900044ed54bf41ef89839d496d7edea56
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_gunslinger.py
05089d95d9ae89b34ed5d0ce0aaa83ee93969be4
[ "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
414
py
#calss header class _GUNSLINGER(): def __init__(self,): self.name = "GUNSLINGER" self.definitions = [u'especially in the past in North America, someone who is good at shooting guns and is employed for protection or to kill people'] self.parents = [] self.childen = [] self.properties = [] self.jsondata ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
748ba57cf89dcdd66b898d345938928ec78c11b0
523f8f5febbbfeb6d42183f2bbeebc36f98eadb5
/32_best.py
99e35e658b452b484a3f56877cf8d1ea52efde61
[]
no_license
saleed/LeetCode
655f82fdfcc3000400f49388e97fc0560f356af0
48b43999fb7e2ed82d922e1f64ac76f8fabe4baa
refs/heads/master
2022-06-15T21:54:56.223204
2022-05-09T14:05:50
2022-05-09T14:05:50
209,430,056
2
0
null
null
null
null
UTF-8
Python
false
false
594
py
class Solution(object): def longestValidParentheses(self, s): """ :type s: str :rtype: int """ if len(s) == 0: return 0 dp = [0] * len(s) for i in range(len(s)): if s[i] == "(": dp[i] = 0 else: ...
[ "noelsun@mowennaierdeMacBook-Pro.local" ]
noelsun@mowennaierdeMacBook-Pro.local
4888153745ea34d4c15768a4a8e942d57823c159
71e324d2e7c9557a9cfec01997a44a66539ac2e6
/Chapter_08/object_3_seperate.py
bc01ecd017f07f5efe52cb0fb90a2fb4a449db82
[]
no_license
ulillilu/Python_Practice
2706a72b22243f4d76bf239f552bd7da2615c1ef
f2b238176f7e68b3fa0674ce4951aaa4206c15d3
refs/heads/master
2022-11-29T17:58:52.035022
2020-08-13T17:01:49
2020-08-13T17:01:49
287,334,050
0
0
null
null
null
null
UTF-8
Python
false
false
1,047
py
#객체를 처리하는 함수 def create_student(name, korean, math, english, science): return{ "name": name, "korean": korean, "math": math, "english": english, "science": science } def student_get_sum(student): return student["korean"] + student["math"] + student["englis...
[ "noreply@github.com" ]
ulillilu.noreply@github.com
d0fb24f28c2ec27cd9e6e2a7952e61012fa0dc50
1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc
/venv/lib/python2.7/site-packages/ansible/modules/cloud/azure/azure_rm_routetable.py
1dc6180ba8335b5645e02e1f39d13a54a3e496bc
[ "MIT" ]
permissive
otus-devops-2019-02/devopscourses_infra
1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c
e42e5deafce395af869084ede245fc6cff6d0b2c
refs/heads/master
2020-04-29T02:41:49.985889
2019-05-21T06:35:19
2019-05-21T06:35:19
175,780,457
0
1
MIT
2019-05-21T06:35:20
2019-03-15T08:35:54
HCL
UTF-8
Python
false
false
6,015
py
#!/usr/bin/python # # Copyright (c) 2018 Yuwei Zhou, <yuwzho@microsoft.com> # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "skydevapp@gmail.com" ]
skydevapp@gmail.com
afc8f2bf08df0703f759b13e99e9b4c3ff9e26a4
e2255da9f41a3ca592f5042c96ec8dc1f5ceba21
/google/appengine/ext/mapreduce/api/map_job/__init__.py
9347a8bdc947888f6886b093371cbbe34aac3d61
[ "Apache-2.0" ]
permissive
KronnyEC/cliques
2a2b1eb0063017f3dbe7de6a42a98d21a7cffb37
2fd66c4c4ea4552ab8ef6d738613f618a1a74fc7
refs/heads/master
2021-01-24T05:05:49.142434
2014-08-18T06:30:32
2014-08-18T06:42:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "josh@pcsforeducation.com" ]
josh@pcsforeducation.com
8c18a2515beac0972d4760bcf73d68aec9f59e15
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02702/s763305864.py
c1f2a064512072f127149a2d43913b8cc8dc8cd7
[]
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
370
py
S = input() dp = [0]*(len(S)+1) cur = int(S[len(S)-1]) mod_10 = 1 count_num = [0]*2019 count_num[0] += 1 for i in range(len(S)): dp[len(S)-i-1] = cur count_num[cur] += 1 mod_10 = (mod_10*10)%2019 if i <= len(S)-2: cur = (cur+int(S[len(S)-i-2])*(mod_10))%2019 ans = 0 for i in range(2019): ans...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e13fe5af3a9acaff486417fedd87270c31830d4c
396f93d8e73c419ef82a94174815a2cecbb8334b
/.history/tester2_20200321232603.py
3011254a2f67dbc34040fee7f27f648bd06eec26
[]
no_license
mirfarzam/ArtificialIntelligence-HeuristicAlgorithm-TabuSearch
8c73d9448b916009c9431526864a4441fdeb682a
90b2dca920c85cddd7c1b3335344ac7b10a9b061
refs/heads/master
2021-03-26T21:16:42.561068
2020-04-17T21:44:26
2020-04-17T21:44:26
247,750,502
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
import os import subprocess import re from datetime import datetime import time from statistics import mean numberOfTests = 10 tabuIteration = '10' tabuDuration = '0' numberOfCities = '50' final_solution = [] list_coverage = [] print(f"\n\nTest for Tabu Search with this config: \n\tIterations : {tabuIteration} \n...
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
10d81e12691ea7edbbac63eee7f183d1e0842d8a
fc746b644a2f4d07508e84b0d162c0f2ef07076d
/build/orocos_kinematics_dynamics/catkin_generated/generate_cached_setup.py
174396b513f66f2b974b95d28716ad2d3160a197
[]
no_license
andreatitti97/thesis_ws
d372146246b8c9b74d25e1310e6e79f9e0270cc4
c59d380abe7be47ea2d7812e416dee7298c20db8
refs/heads/main
2023-03-16T12:26:17.676403
2021-03-15T13:22:59
2021-03-15T13:22:59
340,458,689
1
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.path.insert(0, ...
[ "andrea.tiranti97@gmail.com" ]
andrea.tiranti97@gmail.com
60fb4c4eb6e60fca24c3bb874dd487c384022e84
e811662c890217c77b60aa2e1295dd0f5b2d4591
/src/problem_145.py
da0952c5573f00aae6e48903d71a6426d47dd221
[]
no_license
rewonderful/MLC
95357f892f8cf76453178875bac99316c7583f84
7012572eb192c29327ede821c271ca082316ff2b
refs/heads/master
2022-05-08T05:24:06.929245
2019-09-24T10:35:22
2019-09-24T10:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,256
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ from TreeNode import TreeNode def postorderTraversal(self, root): """ 记住得了= = 就访问当前root,然后左子树入栈,右子树入栈,最后逆序一下就好了,return output[::-1] 相当于是这么个思路: 目标:左右根 那么我就先求出来根右左,先根遍历是好访问的,根右左的话,因为是栈,所以先访问根,然后左孩子节点入栈, 再右孩子节点入栈,这样出栈的顺序就是跟右左了,其实可以联想一下,其实...
[ "457261336@qq.com" ]
457261336@qq.com
4a69e480891dda49ef8586ab48e9e957f44d391d
327981aeef801fec08305d70270deab6f08bc122
/19.网络编程/TCP编程/2.客户端与服务器端的数据交互/client.py
659f33d99bf8eb92f58accb100300281589e8207
[]
no_license
AWangHe/Python-basis
2872db82187b169226271c509778c0798b151f50
2e3e9eb6da268f765c7ba04f1aefc644d50c0a29
refs/heads/master
2020-03-20T12:15:44.491323
2018-06-15T08:24:19
2018-06-15T08:24:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# -*- coding: utf-8 -*- import socket client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.connect(('192.168.43.240', 8083)) count = 0 while True: count += 1 data = input("请输入给服务器发送的数据:") client.send(data.encode("utf-8")) info = client.recv(1024) print("服务器说:", info.decode("utf-8")) ...
[ "huanji2209747841@foxmail.com" ]
huanji2209747841@foxmail.com
95282fad8921847fbce1b8d8cf3e6b80655c0234
d2f71636c17dc558e066d150fe496343b9055799
/eventi/receipts/urls.py
adc4aac61ed9506ad430a00c7e224d076c9b8818
[ "MIT" ]
permissive
klebercode/lionsclub
9d8d11ad6083d25f6d8d92bfbae9a1bbfa6d2106
60db85d44214561d20f85673e8f6c047fab07ee9
refs/heads/master
2020-06-11T19:45:39.974945
2015-04-05T01:11:57
2015-04-05T01:11:57
33,409,707
1
0
null
null
null
null
UTF-8
Python
false
false
206
py
# coding: utf-8 from django.conf.urls import patterns, url urlpatterns = patterns( 'eventi.receipts.views', url(r'^$', 'receipt', name='receipt'), url(r'^(\d+)/$', 'detail', name='detail'), )
[ "kleberr@msn.com" ]
kleberr@msn.com
777ff814dd92fd8c87e5d20a934a54207ca894cf
d3b7a7a922eb9999f22c99c0cc3908d7289ca27e
/tests/multi_processing/multi_process_queue.py
907844ddda04cef496883f0bd2b010512fd7341b
[ "Apache-2.0" ]
permissive
g3l0o/plaso
b668203c2c7cf8799a1c12824ee1bdc8befd3980
ae29d853a6bcdd1530ce9320a3af7b3f122941ac
refs/heads/master
2020-12-25T20:31:08.928709
2016-07-22T20:00:33
2016-07-22T20:00:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests the multi-processing queue.""" import unittest from plaso.multi_processing import multi_process_queue from tests import test_lib as shared_test_lib from tests.engine import test_lib as engine_test_lib class MultiProcessingQueueTest(shared_test_lib.BaseTestCase): ...
[ "onager@deerpie.com" ]
onager@deerpie.com
b183fd247237298655d932c09b777a7f4625b802
e6208febf7e34d4108422c6da54453373733a421
/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_open_whisk_trigger.py
b73ce18a83ef1645a3a1956f8785cb123ff59e8a
[ "Apache-2.0" ]
permissive
wreed4/argo
05889e5bb7738d534660c58a7ec71c454e6ac9bb
41f94310b0f7fee1ccd533849bb3af7f1ad4f672
refs/heads/master
2023-01-22T05:32:12.254485
2022-01-27T21:24:45
2022-01-27T22:02:22
233,143,964
0
0
Apache-2.0
2023-01-17T19:04:43
2020-01-10T22:56:25
Go
UTF-8
Python
false
false
13,500
py
""" Argo Server API You can get examples of requests and responses by using the CLI with `--gloglevel=9`, e.g. `argo list --gloglevel=9` # noqa: E501 The version of the OpenAPI document: VERSION Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from ...
[ "noreply@github.com" ]
wreed4.noreply@github.com
bd309d0b656942f65a5f6031b1475317b8f6cf1f
79661312d54643ce9dcfe3474058f514b01bfbe6
/ScikitLearn/ElasticNet_1f.py
9591fda25cf74ca65630946558d5e9573e4ea026
[]
no_license
davis-9fv/Project
5c4c8ac03f5bf9db28704e63de9b004f56a52f10
f2bd22b3ac440b91d1d1defc8da9e2ba2e67265e
refs/heads/master
2020-03-20T22:24:07.244521
2019-02-28T16:58:04
2019-02-28T16:58:04
137,796,517
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
# http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.ElasticNet.html#sklearn.linear_model.ElasticNet from sklearn import linear_model from sklearn.linear_model import ElasticNet import numpy as np from pandas import read_csv from sklearn.metrics import mean_squared_error from sklearn.model_selection...
[ "francisco.vinueza@alterbios.com" ]
francisco.vinueza@alterbios.com
872970618a04f2ca7f58bc8040f04ba42271524b
d8fd7f56537d3c4ad4c99965a0a451c5442b704f
/endlesshandsome/wsgi.py
29a7d6b605fc1118dfa24a6ccc1d6d200ee9a31b
[]
no_license
EndlessHandsome/endless-handsome
8febdc5edbaed973922b7c31d903d19d4361dc32
59f1c3e52bd43c765177288ced755b081db0c746
refs/heads/master
2020-04-06T06:57:24.027547
2016-08-19T03:51:55
2016-08-19T03:51:55
65,613,177
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
""" WSGI config for endlesshandsome 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.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
38d04cc7afed1c10a20297dcc8cab9f85f307ec5
6d37c05de7d73e04f87c6ed796c77144cd8fa187
/Chapter5/Challenge6.py
736c77478dd0b59baddd2cfa380dc27017fe4e3b
[]
no_license
eizin6389/The-Self-Taught-Programmer
edc37ed6d95e8b24f590a6cbb9c75c0e5bd4e2e3
9c23612dfb11d5302cb26a359d02c88886cf986c
refs/heads/master
2022-12-08T06:47:37.541256
2020-08-30T07:16:01
2020-08-30T07:16:01
286,423,906
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
s= {"百",100,(0,1,2)} print(s) print(len(s)) s.add("二百") print(s) s.discard(100) print(s) s.pop() print(s) s.clear() print(s)
[ "hide@matsumotohideto-no-MacBook-Pro.local" ]
hide@matsumotohideto-no-MacBook-Pro.local
4a865beed91c9a8e8b4658315602570354bd4770
f4b011992dd468290d319d078cbae4c015d18338
/Array/counting_element_in_two_array.py
f63a8421ab898a5ab3b5dcbed4c726b0b2a93aef
[]
no_license
Neeraj-kaushik/Geeksforgeeks
deca074ca3b37dcb32c0136b96f67beb049f9592
c56de368db5a6613d59d9534de749a70b9530f4c
refs/heads/master
2023-08-06T05:00:43.469480
2021-10-07T13:37:33
2021-10-07T13:37:33
363,420,292
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
def counting_element(li, li1): li3 = [] for i in range(len(li)): count = 0 for j in range(len(li1)): if li[i] >= li1[j]: count = count+1 li3.append(count) print(li3) n = int(input()) m = int(input()) li = [int(x) for x in input().split()] li1 = [int(x) f...
[ "nkthecoder@gmail.com" ]
nkthecoder@gmail.com
8cb9fad16805ff1eef128d7408246c8350a45bdf
5b683c7f0cc23b1a2b8927755f5831148f4f7e1c
/Python_Study/DataStructureAndAlgorithm/剑指Offer/Solution21py
129b991defc62a3357595192e3b5ddc9ee1ac835
[]
no_license
Shmilyqjj/Shmily-py
970def5a53a77aa33b93404e18c57130f134772a
770fc26607ad3e05a4d7774a769bc742582c7b64
refs/heads/master
2023-09-02T04:43:39.192052
2023-08-31T03:28:39
2023-08-31T03:28:39
199,372,223
1
0
null
null
null
null
UTF-8
Python
false
false
306
#!/usr/bin/env python # encoding: utf-8 """ :Description:剑指Offer 21 :Author: 佳境Shmily :Create Time: 2020/4/29 11:59 :File: Solution21 :Site: shmily-qjj.top """ class Solution: def jumpFloor(self, number): # write code here pass if __name__ == '__main__': s = Solution()
[ "710552907@qq.com" ]
710552907@qq.com
d7857e8040c986cb578fcb3f8736cbe77f1ee7cb
d8cbc94a4207337d709a64447acb9c8fe501c75a
/evaluation/code/utils/checkpoint.py
0ce4488ec35b22f34e1d615616e0b445ee73a941
[ "MIT" ]
permissive
sripathisridhar/acav100m
6f672384fa723a637d94accbbe11a9a962f5f87f
13b438b6ce46d09ba6f79aebb84ad31dfa3a8e6f
refs/heads/master
2023-09-06T01:05:21.188822
2021-11-18T08:08:08
2021-11-18T08:08:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,887
py
import os import shutil from collections import OrderedDict import torch import utils.logging as logging logger = logging.get_logger(__name__) def load_checkpoint(model, state_dict, data_parallel=False): """ Load the trained weights from the checkpoint. Args: model (model): model to load the we...
[ "sangho.lee@vision.snu.ac.kr" ]
sangho.lee@vision.snu.ac.kr
702e2678b812860fd99d5d5961d919bb4fd981e8
6b033e3dddc280417bb97500f72e68d7378c69d6
/V. Algorithm/ii. Site/D. BOJ/Dynamic Programming/2193.py
4b960384965a4371013ee1182733e2531ed328a8
[]
no_license
inyong37/Study
e5cb7c23f7b70fbd525066b6e53b92352a5f00bc
e36252a89b68a5b05289196c03e91291dc726bc1
refs/heads/master
2023-08-17T11:35:01.443213
2023-08-11T04:02:49
2023-08-11T04:02:49
128,149,085
11
0
null
2022-10-07T02:03:09
2018-04-05T02:17:17
Jupyter Notebook
UTF-8
Python
false
false
267
py
# n = 0: cnt = 0 # n = 1: 1 cnt = 1 # n = 2: 10 cnt = 1 # n = 3: 100, 101 cnt = 2 # n = 4: 1010, 1001, 1000 cnt =3 # n = 5: 10000, 10001, 10010, 10101, 10100 cnt =5 n = int(input()) dp = [0, 1, 1] for i in range(3, n+1): dp.append(dp[i-2] + dp[i-1]) print(dp[n])
[ "inyong1020@gmail.com" ]
inyong1020@gmail.com
28d3d1162f07d7328b3463ee4a62994322b6de5c
dfc827bf144be6edf735a8b59b000d8216e4bb00
/CODE/experimentcode/Thesis/Forced/GaussianBumpoverPeriodicBed/o3fix/Run.py
9587f565efe9f1d699e85365195fd1c81d45552c
[]
no_license
jordanpitt3141/ALL
c5f55e2642d4c18b63b4226ddf7c8ca492c8163c
3f35c9d8e422e9088fe096a267efda2031ba0123
refs/heads/master
2020-07-12T16:26:59.684440
2019-05-08T04:12:26
2019-05-08T04:12:26
94,275,573
0
1
null
null
null
null
UTF-8
Python
false
false
19,675
py
from scipy import * from pylab import plot, show, legend,xlim,ylim,savefig,title,xlabel,ylabel,clf, loglog import csv import os from Serre3 import * from numpy.linalg import norm from time import time from scipy.special import erf def copyarraytoC(a): n = len(a) b = mallocPy(n) for i in range(n): w...
[ "jordanpitt3141@github.com" ]
jordanpitt3141@github.com
0bac063d3a631ce56e9092d9b9ec1bbbc00858ec
6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5
/katas/kyu_7/zip_it.py
733c9415236cc72574804bc9a23e8b2577159867
[ "MIT" ]
permissive
mveselov/CodeWars
e4259194bfa018299906f42cd02b8ef4e5ab6caa
1eafd1247d60955a5dfb63e4882e8ce86019f43a
refs/heads/master
2021-06-09T04:17:10.053324
2017-01-08T06:36:17
2017-01-08T06:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
def lstzip(a, b, fn): return [fn(*c) for c in zip(a, b)]
[ "the-zebulan@users.noreply.github.com" ]
the-zebulan@users.noreply.github.com
ef0fde3342528da0960d780262d15269aad0afbf
bbffa308bee71735e27987be37a574a38694d3a1
/ex08/ex08.py
52fbeae895a4ee9c1a5535ab3b30ad4db9603f7c
[]
no_license
jppiri1/16PF-C-jppiri1-2-
03414b545bc4f1e05e92d6ccbc5ba326a9725277
68afbe01a5f8a1e55a114bd38f5ea2a4a2fb6595
refs/heads/master
2021-01-21T04:47:22.266089
2016-06-07T03:58:14
2016-06-07T03:58:14
54,304,826
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
formatter = "%r %r %r %r" print formatter % (1, 2, 3, 4) print formatter % ("one", "two", "three", "four") print formatter % (True, False, False, True) print formatter % (formatter, formatter, formatter, formatter) print formatter % ( "I had this thing.", "That you could type up right.", "But it didn`t sin...
[ "CAD Client" ]
CAD Client
6d6ea4a6da71a4dd55b9827ed63099c095f2893a
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/surface/config/configurations/list.py
31105c5866eaeddb88a441350c50f64724d0caa9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
2,213
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google Inc. 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...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
b72639fefb186348b900a58c7e765b4f198fea4c
f8d0e0358cfc7774e2ade30fb041a7227f72f696
/Project/MNIST/Actual_Picture/mnist_generate_dataset.py
7fad26b687d9e1f1ecda401e1fd57dbd54d78c55
[]
no_license
KimDaeUng/DeepLearningPractice
e01c99d868e7a472ca5ec9c863990e0ab4b48529
811f26e0859f0f7cb73d9a0ce3529fb8db867442
refs/heads/master
2023-04-01T02:26:14.670687
2021-04-03T14:08:48
2021-04-03T14:08:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,470
py
import tensorflow as tf import numpy as np from PIL import Image import os # Generate standard tfrecord of training or testing set image_train_path = './mnist_data_jpg/mnist_train_jpg_60000/' label_train_path = './mnist_data_jpg/mnist_train_jpg_60000.txt' image_test_path = './mnist_data_jpg/mnist_test_jpg_10000/' labe...
[ "daviddwlee84@gmail.com" ]
daviddwlee84@gmail.com
de2a5e9123899c4d2aa008f270bed4e1523f7c76
2ba65a65140e818787ab455ca374f99348ade844
/hashmap_and_heap/q004_longest_consecutive_sequence.py
30fea9fc4eba2b9a20ea220cdbe5bcb49156643d
[]
no_license
samyakjain101/DSA
9e917f817a1cf69553b5f8ca5b739bc6f0c81307
632a605150704ceb5238cb77289785eb5a58201c
refs/heads/main
2023-05-06T06:31:09.401315
2021-06-01T13:37:59
2021-06-01T13:37:59
340,645,897
1
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
def longest_consecutive_sequence(arr: list): hashmap = dict() for num in arr: hashmap[num] = True for key in hashmap.keys(): if key - 1 in hashmap: hashmap[key] = False max_streak_start_point = 0 max_streak = 0 for key, value in hashmap.items(): if value: ...
[ "samyakjain101@gmail.com" ]
samyakjain101@gmail.com
a52be340b6e6941cb775fd9f43ea853958806772
f0a44b63a385e1c0f1f5a15160b446c2a2ddd6fc
/examples/render/show_all_std_line_types.py
e9df274fed178676f291164a7d5210d8cc1bb535
[ "MIT" ]
permissive
triroakenshield/ezdxf
5652326710f2a24652605cdeae9dd6fc58e4f2eb
82e964a574bcb86febc677bd63f1626318f51caf
refs/heads/master
2023-08-17T12:17:02.583094
2021-10-09T08:23:36
2021-10-09T08:23:36
415,426,069
1
0
MIT
2021-10-09T21:31:25
2021-10-09T21:31:25
null
UTF-8
Python
false
false
726
py
# Copyright (c) 2019-2021, Manfred Moitzi # License: MIT License import ezdxf from ezdxf.math import Vec3 from ezdxf.tools.standards import linetypes doc = ezdxf.new("R2007", setup=True) msp = doc.modelspace() # How to change the global linetype scaling: doc.header["$LTSCALE"] = 0.5 p1 = Vec3(0, 0) p2 = Vec3(9, 0) ...
[ "me@mozman.at" ]
me@mozman.at
2765443d9dab3cb470fb4a2a844eff84e6645762
3a51e7173c1b5a5088ac57f668ecb531e514e0fe
/m11_feature_importances5_diabets.py
e18b4753ce0bb3c9ed11c5bde334cc898d0c903c
[]
no_license
marattang/ml_basic
83a167324317178701ae0ee0e2e2046293eafacc
e8e6b8c9ab7d866377eb01e50ac94ff5b1ea7a73
refs/heads/main
2023-07-05T03:30:24.663574
2021-08-22T07:06:58
2021-08-22T07:06:58
394,574,251
0
0
null
null
null
null
UTF-8
Python
false
false
1,744
py
# 피처 = 컬럼 = 열 from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor from sklearn.datasets import load_iris, load_boston, load_diabetes from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor from sklearn.model_selection import train_test_split import matplotlib.pyplot as plt import n...
[ "tlawlfp0322@gmail.com" ]
tlawlfp0322@gmail.com
fcbd61892093b56028d5617ccab23d3aca729c0a
ed12b604e0626c1393406d3495ef5bbaef136e8a
/Iniciante/Python/exercises from 1000 to 1099/exercise_1038.py
8acf7316aa83808418ceec78f9e872c26c2019c0
[]
no_license
NikolasMatias/urionlinejudge-exercises
70200edfd2f9fc3889e024dface2579b7531ba65
ca658ee8b2100e2b687c3a081555fa0770b86198
refs/heads/main
2023-09-01T20:33:53.150414
2023-08-21T07:07:32
2023-08-21T07:07:32
361,160,388
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
class Lanche: def __init__(self, codigo, especificacao, preco): self.codigo = codigo self.especificacao = especificacao self.preco = preco def getCodigo(self): return self.codigo def totalPorQtde(self, qtde): return self.preco*qtde lanches = [ Lanche(1, 'Cachor...
[ "nikolas.matias500@gmail.com" ]
nikolas.matias500@gmail.com
cd7e960b609e7bd09f05f15573c42dcc430c91db
da1721d2783ea4d67ff4e73cee6eee71292f2ef7
/otp/speedchat/SCConstants.py
2be1e5050c9f147748d69e0013a2c2d587f0b00e
[ "BSD-3-Clause" ]
permissive
open-toontown/open-toontown
bbdeb1b7bf0fb2861eba2df5483738c0112090ca
464c2d45f60551c31397bd03561582804e760b4a
refs/heads/develop
2023-07-07T01:34:31.959657
2023-05-30T23:49:10
2023-05-30T23:49:10
219,221,570
143
104
BSD-3-Clause
2023-09-11T09:52:34
2019-11-02T22:24:38
Python
UTF-8
Python
false
false
59
py
SCMenuFinalizePriority = 48 SCElementFinalizePriority = 47
[ "jwcotejr@gmail.com" ]
jwcotejr@gmail.com
a4c0f7cac515fab2dde43dae019bf1f9f9359d98
e000416c89725db514ed5c01d7b9ef8e37c5355f
/backend/wallet/migrations/0001_initial.py
42f6e380119fb0d9602b441bb339d9aa4929f923
[]
no_license
crowdbotics-apps/click-time-28533
376f4d34b10ca3050fde3f43df51233e5b612c2d
89f4f7e05bf04623b2822899677b6c3606968151
refs/heads/master
2023-06-19T06:37:55.564153
2021-07-07T06:12:26
2021-07-07T06:12:26
383,692,230
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
# Generated by Django 2.2.20 on 2021-07-07 06:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('taxi_profile', '0001_initial'), ] operations = [ migrations.CreateModel( n...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
df398393aea5d0bd7445abc5140d3c360b258e60
973713f993166b1d0c2063f6e84361f05803886d
/Day01-15/02_variableTest_3.py
0a1660b15ed013535066fbed5471a61876d4a6c4
[ "MIT" ]
permissive
MaoningGuan/Python-100-Days
20ad669bcc0876b5adfbf2c09b4d25fd4691061a
d36e49d67a134278455438348efc41ffb28b778a
refs/heads/master
2022-11-17T12:24:45.436100
2020-07-18T02:24:42
2020-07-18T02:24:42
275,157,107
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 使用input()函数获取键盘输入(字符串) 使用int()函数将输入的字符串转换成整数 使用print()函数输出带占位符的字符串 """ a = int(input('a = ')) b = int(input('b = ')) print('%d + %d = %d' % (a, b, a + b)) # 加 print('%d - %d = %d' % (a, b, a - b)) # 减 print('%d * %d = %d' % (a, b, a * b)) # 乘 print('%d / %d = %f' % ...
[ "1812711281@qq.com" ]
1812711281@qq.com
76932cd1b6b43895415a527d17b4c0e8cb38af66
832852c679816673f708860929a36a20ca8d3e32
/Configurations/ssww/wz_2016/aliases.py
a756db225a536ee8ec45575ec6dd07cef7eb15b0
[]
no_license
UniMiBAnalyses/PlotsConfigurations
c4ec7376e2757b838930dfb2615e1dc99a64e542
578fe518cfc608169d3418bcb63a8342d3a24390
refs/heads/master
2023-08-31T17:57:45.396325
2022-09-01T10:13:14
2022-09-01T10:13:14
172,092,793
0
13
null
2023-04-27T10:26:52
2019-02-22T15:52:44
Python
UTF-8
Python
false
false
12,366
py
import inspect configurations = os.path.realpath(inspect.getfile(inspect.currentframe())) # this file configurations = os.path.dirname(configurations) # Full2017 configurations = os.path.dirname(configurations) # ggH configurations = os.path.dirname(configurations) # Configurations #aliases = {} bAlgo = 'DeepB' bWP =...
[ "jiexiao@pku.edu.cn" ]
jiexiao@pku.edu.cn
ed02706c8203b78c812b8159c71208e1e7196960
597b888dca4e9add7acdf449f8c3d8d716826ff2
/gui/demos/listbox.py
105c3d631bc9eb579543eeadf5002fcfc4aee71b
[ "MIT" ]
permissive
alsor62/micropython-micro-gui
a7cad669d69358599feb84011c23ac5d767adfda
5c7d6c96b30e4936a2a4315b09e98a730f14c6db
refs/heads/main
2023-09-04T09:54:10.946964
2021-11-09T11:46:59
2021-11-09T11:46:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,401
py
# listbox.py micro-gui demo of Listbox class # Released under the MIT License (MIT). See LICENSE. # Copyright (c) 2021 Peter Hinch # hardware_setup must be imported before other modules because of RAM use. from hardware_setup import ssd # Create a display instance from gui.core.ugui import Screen from gui.core.write...
[ "peter@hinch.me.uk" ]
peter@hinch.me.uk
0d0ffda577ccb37780d4868464ca1a94879b1103
0a0e622f955b548e23bf5f974c58b5a6dde714d1
/tensorflow_estimator/python/estimator/canned/linear.py
3ebd5d8cb98f65d917286769627a53af1050eae3
[ "Apache-2.0" ]
permissive
brettkoonce/estimator
7a4172542d9ec67359147c07df252632ea1c2a4e
ba2f4a069bc0ee4a96f87f4d1c1688fb9121e297
refs/heads/master
2020-04-09T05:18:47.974913
2018-12-02T00:16:26
2018-12-02T00:16:46
160,059,700
0
0
null
2018-12-02T15:11:38
2018-12-02T15:11:38
null
UTF-8
Python
false
false
48,684
py
# Copyright 2017 The TensorFlow Authors. 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 required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
0cc430d7621bfaae1f6b6a655566642dd758c4bf
1333a965058e926649652ea55154bd73b6f05edd
/4_advanced/modules/userinput.py
bf7135098c2c79a045d6ce0bbf207f42b97ecacc
[ "MIT" ]
permissive
grecoe/teals
42ebf114388b9f3f1580a41d5d03da39eb083082
ea00bab4e90d3f71e3ec2d202ce596abcf006f37
refs/heads/main
2021-06-21T20:12:03.108427
2021-05-10T19:34:40
2021-05-10T19:34:40
223,172,099
0
2
null
null
null
null
UTF-8
Python
false
false
2,085
py
''' This file allows you to hide all of the implementation details of asking a user for input for your program. It will verify that the correct data is returned. Externally, we want to expose the getUserInput(). ''' ''' __parseInt Parameters userInput : Input string from user ...
[ "grecoe@microsoft.com" ]
grecoe@microsoft.com
1ebb7382e258c4abf52348f5f8cdcbf3ae69437d
1500fe9ea062152becc85a01577cced0465cde52
/landacademy/urls.py
d6983faca141d85dce6130a0e3056d9ab11c126d
[]
no_license
Xednom/gpg-ams
afe4da92384f2de1b7b69ce28e13becb103009b3
7c87ab639b140873dfc90ac43c7aec349aec6436
refs/heads/master
2022-11-06T15:22:34.761321
2021-05-11T03:48:08
2021-05-11T03:48:08
239,904,632
0
1
null
2022-11-03T02:21:18
2020-02-12T01:50:16
JavaScript
UTF-8
Python
false
false
465
py
from django.urls import path from . import views app_name="landacademy" urlpatterns = [ path('add-land-academy-inventory', views.AddLandAcademyView.as_view(), name="add_landacademy"), path('view-land-academy-inventory', views.LandAcademyView.as_view(), name="view_landacademy"), path('view-o2o-smart-pricin...
[ "monde.lacanlalay@gmail.com" ]
monde.lacanlalay@gmail.com
27104a744c874c71d5916e37b398277acf2b845a
0c427b2b8b7960bf3c1e727984532c6731328066
/APP/forms.py
1e073b90096a2c7b3a8ab029ca583f02c05bf928
[]
no_license
Master-cai/flask_library
c7c3910c6f989b7f0f90a3b32eb53d421b7f431d
ebc86cbfbac67b199d06a3ec1e789b0d3fec1488
refs/heads/master
2020-11-24T03:34:42.063453
2019-12-20T09:30:01
2019-12-20T09:30:01
227,948,428
1
0
null
null
null
null
UTF-8
Python
false
false
2,996
py
from flask_wtf import FlaskForm from wtforms import StringField, SubmitField, SelectField, TextAreaField, ValidationError, HiddenField, \ BooleanField, PasswordField, IntegerField, DateTimeField, DateField from wtforms.validators import DataRequired, Email, Length, Optional, URL, EqualTo class LoginForm(FlaskForm...
[ "719591339@qq.com" ]
719591339@qq.com
dc93b89f7e841b512d47ecff109941a4fd9c59cb
a7a13ca32072bb27ce2dceb87c414767b3751ec5
/src/gthnk/__init__.py
f8ee1ab5a2ed24607ff10461411e9f764b139904
[]
no_license
SocioProphet/gthnk
36e50338d5f3df19f84620ff9a337f3cf8e9e362
fc3d21090c2de10cfd74650436536999e5c65d7c
refs/heads/master
2022-12-13T18:55:00.610073
2020-09-14T14:50:21
2020-09-14T14:50:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager from flask_bcrypt import Bcrypt db = SQLAlchemy() login_manager = LoginManager() bcrypt = Bcrypt()
[ "ian@iandennismiller.com" ]
ian@iandennismiller.com
5ad1c174ef11481211eccd3c9a071aaebf6e217e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/1268.py
9e45fefd2245fc74e784ff57dba4a16de3dd55a5
[]
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
1,019
py
def read_case(line): return int(line) def read_input(path): f = open(path, 'r') g = open(path + '_res.txt', 'w') T = int(f.readline()) for i in xrange(T): line = f.readline() g.write('Case #%d: ' % (i+1)) n = read_case(line) g.write(str(solve(n))) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
00a7d4bb8e564e8e4d36756ce801d18ce4fdfecc
b87389aa0d6595c8b649ac899e8ade4226309739
/manage.py
f53d707f83062edaaf89cd56b7fde370fb63af16
[]
no_license
bussiere/ImageIp
be3797d2fdd57b78d35de2111eb67b269f7df104
bc3e7b3d4edabde5353f9fadfc46253b7407ba5a
refs/heads/master
2020-12-24T15:23:03.255370
2013-08-23T10:52:46
2013-08-23T10:52:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "imageip.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "bussiere@gmail.com" ]
bussiere@gmail.com
b22c006c066846d679904ece442ff35ffce2ff2c
0e114f7df2b112511785e21626bb6bdb220b5a6c
/ModelImporter/readers.py
53245dcc930049f51e32b8c1183b280b6d1439f3
[]
no_license
monkeyman192/NMSDK
020c580bc7b0517bdef5b28d167924fde51dfa7f
c94bb9071e576fd16650f0b26fc5d681181976af
refs/heads/master
2023-08-09T09:08:40.453170
2023-07-26T23:28:53
2023-07-26T23:28:53
73,231,820
25
6
null
2023-07-26T23:10:29
2016-11-08T22:13:48
Python
UTF-8
Python
false
false
12,902
py
from collections import namedtuple import struct from typing import Tuple # TODO: move to the serialization folder? from ..serialization.utils import (read_list_header, read_string, # noqa pylint: disable=relative-beyond-top-level bytes_to_quat, read_bool) from ..serialization.list_...
[ "monkey_man_192@yahoo.com.au" ]
monkey_man_192@yahoo.com.au
e6ed56fd3df5070e61ae811df3ed3d5638f8db41
e1312afff90dbe1cdcd500541e29097da19fee97
/inference/infer_with_pb_1capture.py
83e9ad60c4b8ca47ef4676152e1dd42c7059bd70
[]
no_license
andreiqv/github_detector_scale
af6115caff6ca6c73c934dc1fa6673ccd69b71fa
329d32a4d26b2bfb2f902f876bb9b8eb35bd9e2a
refs/heads/master
2020-04-08T12:30:36.966069
2019-01-30T22:21:34
2019-01-30T22:21:34
159,350,198
0
0
null
null
null
null
UTF-8
Python
false
false
5,509
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Using TF for inference, and TensorRT for compress a graph. import sys import os import argparse import tensorflow as tf import numpy as np from tensorflow.python.platform import gfile from PIL import Image import timer from time import sleep import io from picamera imp...
[ "phxv@mail.ru" ]
phxv@mail.ru
f3ad29a421a0cf868288fc6682c1a2f1460652b8
61ce57892c172f71286a39c8c863aa8a7b29484b
/stampede_results/efficiency.py
819f43b7bee082e404a72cda5a0ee62105cfe01a
[]
no_license
bd-j/cetus
cfbb46aa2d94fdf982a7906bc8bdcbe9375df67c
c9f7e0972184a0c2fcc7add6e766733b7a46b149
refs/heads/master
2021-05-01T00:06:10.518322
2015-02-17T16:49:46
2015-02-17T16:49:46
21,367,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
import sys, os, glob import numpy as np import matplotlib.pyplot as pl import bsfh.read_results as bread def process_run(mcmc_file, model_file): result, pr, model = bread.read_pickles(mcmc_file, model_file=model_file) nburn = np.sum(result['run_params']['nburn']) nw, niter, ndim = result['chain'].shape ...
[ "benjamin.duncan.johnson@gmail.com" ]
benjamin.duncan.johnson@gmail.com
ea9cb6af6472d76c58d80685599298f8e4a6f15e
439cda44ba6d5d8061a134875736a9efcd4bf22c
/trakt_tools/tasks/profile/backup/create/handlers/playback.py
746491bfc433fc6a3dc4ee210ef1164e29330dbc
[]
no_license
fuzeman/trakt-tools
28a0fcb2c2efe88371bba1892777be75236fdc5c
8bdcb117b6092733cc50f87d4f943fc23340da90
refs/heads/master
2023-01-07T06:16:46.716517
2022-12-27T22:57:03
2022-12-27T22:57:03
68,256,616
31
4
null
2022-12-27T22:41:57
2016-09-15T01:11:54
Python
UTF-8
Python
false
false
801
py
from __future__ import print_function import logging log = logging.getLogger(__name__) class PlaybackHandler(object): def run(self, backup, profile): print('Playback Progress') # Request ratings response = profile.get('/sync/playback') if response.status_code != 200: ...
[ "me@dgardiner.net" ]
me@dgardiner.net
5cdd8442cd814d0483be06189f1baa90c42bb382
d2c92cfe95a60a12660f1a10c0b952f0df3f0e8e
/adminasto/adminasto/tongji.py
698ac53c3172a4fe3beefb1a1fcf538a722beb21
[]
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
1,040
py
from sphinxapi import * import os import MySQLdb import datetime nowpath=os.path.dirname(__file__) execfile("conn.py") #产品数量 def getproductnum(nowday): format="%Y-%m-%d"; nowday=strtodatetime(nowday,format) oneday=datetime.timedelta(days=1) sql="select count(0) from products where gmt_created>'"+str...
[ "2496256902@qq.com" ]
2496256902@qq.com
2a1ed3b591771dcef576f456adcb8a35894e6e42
7a3757a341fb1c5a06482e2e5cb066a967a6eff5
/tests/apis/test_htmls.py
8a62ed922151fdb0fb4d2da11af953142cdb52d2
[ "MIT" ]
permissive
ninoseki/uzen
4bff6080b9c0677dcf25abc0f104eca3fb92ed8a
2a0065aa57fe3891c46e1174c1dc9aab673e52a8
refs/heads/master
2023-09-02T01:59:18.893712
2022-08-28T09:49:12
2022-08-28T09:49:12
241,092,872
87
9
MIT
2023-06-01T01:08:05
2020-02-17T11:37:59
Python
UTF-8
Python
false
false
568
py
from typing import List from fastapi.testclient import TestClient from app import models def test_html(client: TestClient, snapshots: List[models.Snapshot]): id_ = snapshots[0].id response = client.get(f"/api/snapshots/{id_}") snapshot = response.json() sha256 = snapshot.get("html", {}).get("sha25...
[ "manabu.niseki@gmail.com" ]
manabu.niseki@gmail.com
685279deb51b82c7913268989efa1ce91cda2791
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/P.O.R.-master/pirates/effects/ShipSinkSplashes.py
4efffec5639f34902279a1a506fbbbf5ba52d62c
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
6,226
py
from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect from direct.particles import Particles from direct.particles import ForceGroup from EffectController import EffectController from PooledEffect import PooledEffect import random class ShipSinkSplas...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
f29845b4a7e41fd25e8f0aaf3a5e1216fa204a11
1db2e2238b4ef9c1b6ca3b99508693ee254d6904
/develop/analyse_2D_matrix/analyse_2D_matrix.py
f46d66c680efd95275086ab37592a63a94f4224e
[]
no_license
pgreisen/pythonscripts
8674e08095f76edf08ef2059300349218079724c
0aadf8f96d19b306c1bc44a772e766a06fe3408b
refs/heads/master
2021-07-06T23:54:57.774342
2021-06-08T19:36:36
2021-06-08T19:36:36
22,017,192
3
0
null
null
null
null
UTF-8
Python
false
false
4,186
py
from numpy import mean,sqrt,var import sys from collections import defaultdict from collections import OrderedDict import os,shutil,sys,argparse class Analyse2D: def __init__(self): self.scores = defaultdict(list) self.scores_position_two = {} self.aa = ['ALA','ARG','ASN','ASP','CYS','G...
[ "pgreisen@gmail.com" ]
pgreisen@gmail.com
127340c6f50c34bb02f1678ec7d9f12c7ce76d64
04c41aca1f78ac617fe1573818b10fb0e12fbe40
/tests/schemas/users/snapshots/snap_test_queries.py
85793ffecaf3ec9d16884144152f71578d6c90f8
[]
no_license
telephoneorg/orka-api
619489ae17dfd850c74aa2c950e0d4385ba059d9
5693aff776b7a7649617915a0a8e0942d1228c24
refs/heads/master
2022-01-10T15:28:21.277746
2019-05-16T19:06:40
2019-05-16T19:06:40
186,914,929
0
0
null
null
null
null
UTF-8
Python
false
false
5,718
py
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['test_get_me_query 1'] = { 'data': { 'me': { 'cellPhone': '+14153334444', 'contexts': { 'c...
[ "me@joeblack.nyc" ]
me@joeblack.nyc
c90363d9aca9321afb65fac2b14bdd26eeb19ed0
aea20c0fe77e54e2c6a69d785c4b40507b1df851
/inspect_platform.py
a3ba97a93c960cbcd0df7919306b95fc4f28144f
[ "MIT" ]
permissive
ShackleSlayer/cython-vst-loader
6f219b8f97fe9e1db22b603ae9f7dd9b683ed658
f24f2090a836b3cb739daf403f0ca5135f44d233
refs/heads/master
2023-06-04T20:18:20.479810
2021-03-27T14:22:53
2021-03-27T14:22:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
import os from sys import platform print("sys.platform: " + platform) print("os.name: " + os.name)
[ "grechin.sergey@gmail.com" ]
grechin.sergey@gmail.com
ed7b59ea529505c039c84632f0c762b6e7687cd5
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/29/usersdata/149/9337/submittedfiles/atividade.py
a129ae25b27b8413697e0322686088d89dc72a89
[]
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
5,309
py
# -*- coding: utf-8 -*- from __future__ import division import math ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d83d17593a23cc734d5f3a70eba905a6d4cec639
d780df6e068ab8a0f8007acb68bc88554a9d5b50
/python/g1/asyncs/kernels/g1/asyncs/kernels/__init__.py
14f907bb3747de8bcda48ebf1fa4c851b89d6562
[ "MIT" ]
permissive
clchiou/garage
ed3d314ceea487b46568c14b51e96b990a50ed6f
1d72863d3a5f5d620b170f4dd36f605e6b72054f
refs/heads/master
2023-08-27T13:57:14.498182
2023-08-15T07:09:57
2023-08-15T19:53:52
32,647,497
3
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
__all__ = [ 'KernelTimeout', 'call_with_kernel', 'get_kernel', 'run', 'with_kernel', ] import contextlib import contextvars import functools import logging from . import contexts from . import kernels # Re-export errors. from .errors import KernelTimeout logging.getLogger(__name__).addHandler(lo...
[ "clchiou@gmail.com" ]
clchiou@gmail.com
750b855466580ca336ef851454d85be2d5325ce7
5c099927aedc6fdbc515f40ff543c65b3bf4ec67
/algorithms/find-and-replace-pattern/src/Solution2.py
3baef0faeceac6fc78a718b61d8201ae9e97cf0a
[]
no_license
bingzhong-project/leetcode
7a99cb6af1adfbd9bb1996a7f66a65679053c478
ba82e7d94840b3fec272e4c5f82e3a2cfe4b0505
refs/heads/master
2020-04-15T09:27:33.979519
2020-03-10T03:43:07
2020-03-10T03:43:07
164,550,933
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
class Solution: def findAndReplacePattern(self, words: list, pattern: str) -> list: def match(word, pattern): word_map = {} pattern_map = {} for i in range(len(pattern)): if pattern[i] not in pattern_map: pattern_map[pattern[i]] = word[...
[ "zhongyongbin@foxmail.com" ]
zhongyongbin@foxmail.com
f95818b00f5f0d66c4279b5d1bba2ce0634bbc30
87209058bd5dd05ff0b3bd3ce2e5b5ed12671410
/jiaoyu/apps/organizations/forms.py
7fd39c13a1a60aab869309800b2a5a8761931593
[]
no_license
keepingoner/django-Projects
2a8a245b702a507efc27b4b5c6fb669bcf7d1846
8ca94559a31f82951a05dd8749c37d7595a8e298
refs/heads/master
2022-01-24T09:08:27.384731
2019-07-23T02:48:20
2019-07-23T02:48:20
109,779,078
3
1
null
null
null
null
UTF-8
Python
false
false
190
py
from django import forms from operations.models import UserAsk class UserAskForm(forms.ModelForm): class Meta: model = UserAsk fields = ['name', 'mobile', 'coursename']
[ "keepingoner@163.com" ]
keepingoner@163.com
d247e69e2008ceb52000bf94a9c402b65030dfbb
c84cee1abce6372a71314d28ca6a8681a6ad5cb5
/chat/forms.py
adc3810f9a97a850edc84266b4d97bcd84337a87
[]
no_license
SergeyLebidko/ChannelsTraining
441477a14c6fe424ea11ba2e05aac0fef90151bc
845a9b27f1d0bdb9424407c68e5051ec06d06cc9
refs/heads/master
2023-06-09T09:32:21.049921
2021-06-22T13:42:44
2021-06-22T13:42:44
376,584,019
0
0
null
null
null
null
UTF-8
Python
false
false
862
py
from django import forms from django.core.exceptions import ValidationError from django.contrib.auth.models import User from django.contrib.auth.password_validation import validate_password class RegisterForm(forms.Form): username = forms.CharField(label='Имя пользователя', required=True) password = forms.Cha...
[ "it.sergeyler@mail.ru" ]
it.sergeyler@mail.ru
9c16879a60050ea6fcfd7fbdb38f04f0059b0a5e
45c142c3e3dc8d3211a86c77385ecfdd10d28fb9
/dstore/engine/procedures/im_SearchProductTreeNodes_Pu_pb2.py
e8477e582833c1a15b21f596409f099d300fbbfe
[]
no_license
dstore-io/dstore-sdk-python
945d64995c8892af18fab26c90117245abec64a4
8494d12ac77c3c3cc6dd59026407ef514ad179fc
refs/heads/master
2020-06-14T13:07:08.181547
2017-01-26T11:19:39
2017-01-26T11:19:39
75,177,794
0
0
null
null
null
null
UTF-8
Python
false
true
36,707
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: dstore/engine/procedures/im_SearchProductTreeNodes_Pu.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message fr...
[ "b.dolkemeier@dbap.de" ]
b.dolkemeier@dbap.de
91d8dc9cb2b95ee091580cbe4da673fa4fb4185c
9c36503027aa6fc2fa2f841d60f70f2697ae60be
/pygraphc/similarity/LogTextSimilarity.py
59263ee4a8088fff29f3a4c0e97edc18e48e95c9
[ "MIT" ]
permissive
studiawan/pygraphc
bd5517478a6e1ad04220c13fa9f7aea6546225ac
436aca13cfbb97e7543da61d38c8462da64343b5
refs/heads/master
2021-01-23T21:29:41.151025
2018-05-17T07:54:54
2018-05-17T07:54:54
58,362,965
2
2
null
null
null
null
UTF-8
Python
false
false
3,451
py
from pygraphc.preprocess.PreprocessLog import PreprocessLog from pygraphc.similarity.StringSimilarity import StringSimilarity from itertools import combinations import csv import multiprocessing class LogTextSimilarity(object): """A class for calculating cosine similarity between a log pair. This class is intende...
[ "studiawan@gmail.com" ]
studiawan@gmail.com
7997978962821fe9981f1e5e1415740d920bddbb
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/ENJTPoWCyEGgnXYjM_7.py
6804f1adebe40875f04f9577628db7907b57414a
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
""" Create a function that calculates what percentage of the box is filled in. Give your answer as a string percentage rounded to the nearest integer. ### Examples percent_filled([ "####", "# #", "#o #", "####" ]) ➞ "25%" # One element out of four spaces. percent_...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b7b79b8c36d18d972a46f2208026d965dae2afbd
09cead98874a64d55b9e5c84b369d3523c890442
/py210110d_python3a/day10_210314/homework/stem1403a_hw_9_0307_KevinLiu.py
b6e041e3e82b381854c864f058043ff9a5dc02eb
[]
no_license
edu-athensoft/stem1401python_student
f12b404d749286036a090e941c0268381ce558f8
baad017d4cef2994855b008a756758d7b5e119ec
refs/heads/master
2021-08-29T15:01:45.875136
2021-08-24T23:03:51
2021-08-24T23:03:51
210,029,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,496
py
""" Date: 2021-03-08 1. Write a GUI program of clock Requirements: (Function) Show current time in the pattern of HH:mm:ss.aaa i.e. 10:12:45.369 (UI) Display a title, main area for clock, and footer for the date Due date: by the end of next Friday Hint: import datetime strftime """ """ score: perfect """ # tkinter m...
[ "lada314@gmail.com" ]
lada314@gmail.com
0ed0a470b8e20c51b15783399801293e4c38342f
8fa1999cb8a973937d6629c553feca60dd3a73d7
/Atividade E/fabio01_q06.py
2f76792ccd7c7f87b12dc795ab7900fe3e71545e
[]
no_license
Isaias301/IFPI-ads2018.1
16cddbb278336a3e06738f9dc21d2d11053dcec4
026fe5c2ffbc8aed55c478b7544472c46b357e69
refs/heads/master
2020-03-22T20:15:13.789014
2018-08-09T03:14:48
2018-08-09T03:14:48
140,585,300
1
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" Questão: Lista E 06 Descrição: Leia uma velocidade em km/h, calcule e escreva esta velocidade em m/s. """ def main(): # entrada velocidade_em_km = float(input("Digite uma uma velocidade em Km/h: ")) # calculos, operacoes, processamento velocidade_em_ms = velocidade_em_km * 3.6 # saida print('Resultado: %...
[ "isaiassantana301@gmail.com" ]
isaiassantana301@gmail.com