blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
54a7a8cba0c76261822e8420ebdd9b22a638ba22
1ba12eb2be477e7dc99b4f13d1014917e78199aa
/usr/lib/solydxk/constructor/solydxk.py
89f79749e8211f426ccb25c69f76882e3d7ac50e
[]
no_license
KDB2/solydxk-constructor
0704f5ce5ef331f45888348804936cfcf4c43f25
c05b8c38b873bb36eb3c8d3160600f45d5cd4798
refs/heads/master
2021-01-17T06:31:41.055358
2015-11-03T16:02:32
2015-11-03T16:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,011
py
#! /usr/bin/env python3 import re import threading from os import remove, rmdir, makedirs, system, listdir from shutil import copy, move from datetime import datetime from execcmd import ExecCmd from os.path import join, exists, basename, abspath, dirname, lexists, isdir class IsoUnpack(threading.Thread): def _...
[ "root@solydxk" ]
root@solydxk
84bc89794412d5e88416f0917f873ba361cbb1cd
41f28fc3b3c7f34b879bacb2e25157b551c054bb
/label_studio/data_manager/functions.py
655b82b5cef12f9c8eed602a30de76d3a8b7085e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dolanor-galaxy/label-studio
cd478cb54e4948cbb5226c02e088465cdaa12a6b
722358a6cdfbe5a35e7b16f586675df4b598f74f
refs/heads/master
2023-08-11T08:52:52.433731
2021-09-30T09:52:05
2021-09-30T09:52:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,278
py
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license. """ import logging from collections import OrderedDict from django.conf import settings from rest_framework.generics import get_object_or_404 from co...
[ "noreply@github.com" ]
dolanor-galaxy.noreply@github.com
7ced0a5bfb9b3e5397190462506fd668a94e38af
a4185782266d2e596ff264af76776b82f9a3adf8
/2015/17_1.py
9c1440f546923ffc04173e18138eb3d52c77bae3
[]
no_license
PavithraP/advent
04f2cfc268e3b8c84ac26dbb9bf300036a7502e3
9d9247c3add95263f4db1982d1f96d9f8e8e35ca
refs/heads/master
2021-01-10T16:02:47.754326
2016-12-14T13:50:27
2016-12-14T13:50:27
47,602,508
3
0
null
null
null
null
UTF-8
Python
false
false
270
py
import math cont = [11,30,47,31,32,36,3,1,5,3,32,36,15,11,46,26,28,1,19,3] no = 0 for i in range(int(math.pow(2,20))): num = i count = 0 val = 0 while(num > 0): if num%2 == 1: val += cont[count] num = num / 2 count += 1 if val == 150: no+= 1 print no
[ "pavithra.p@sanctumnetworks.com" ]
pavithra.p@sanctumnetworks.com
4ceb508de96190a7e0a24c04b217aef38ed63e63
fb9722f0bf9556f5c04ba5c2795a7c23e7bff7ca
/lista.py
e6605f71cc764640f8d592c6ae6c6a4b54c215bb
[]
no_license
anastasiacebotari15/List
d59aad164bf082537bed6f86fb3bba087e1a5e22
432dcd0fd6b3b0369b843da71586cd073476d770
refs/heads/main
2023-02-21T08:54:17.280665
2021-01-25T20:04:14
2021-01-25T20:04:14
332,862,203
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
x=[-1,0,-5,-7,-6,5,6,7,9,2,-3] lista1=x print('lista1=', lista1) lista2=sorted(x) print('lista2=', lista2) x.sort(reverse=True) lista3=x print('lista3=', lista3) print(len(x)) print('nr maxim=', max(x)) print('nr minim=', min(x)) x.extend([111]) print('lista4=', x) x.insert(1,222) x.remove(111) print('li...
[ "noreply@github.com" ]
anastasiacebotari15.noreply@github.com
ee235f82c46f75248d18f091913758a6b068b1f9
87b2725ccb7509cda0d4f719647192c34bbf7471
/HistogramPlot.py
e5c1ce1adf7878de50ebd4567ee1dabb94e7efd0
[]
no_license
sumeyyeakay/CoronaVirusDataAnalysis
f88a5c9698cd6867059a91b5750f4bd14f414d62
45f4b386b95ed2143d96940e74bdc41854cba466
refs/heads/master
2022-09-09T02:19:35.034587
2020-06-01T15:17:18
2020-06-01T15:17:18
268,553,637
1
0
null
null
null
null
UTF-8
Python
false
false
493
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 28 17:44:03 2020 @author: sumeyyeakay Histogram grafikleri """ import pandas as pd import matplotlib.pyplot as plt df=pd.read_csv("covid_19_data.csv") turkiye = df[df["Country/Region"] == "Turkey"] italya = df[df["Country/Region"] == "Italy"] ispanya = df[df["Coun...
[ "sumeyyeakayy@gmail.com" ]
sumeyyeakayy@gmail.com
b8c045ccf9fbfd0be6b2357b5c866a6f5f8c45fb
1426511b59ad3e00a3e037ba3377e41828ae4680
/ca_unemp/serializers.py
eab56c3ab66c86dedab623a052c2279bdcf95514
[]
no_license
hillarykhan/ca-unemp-api
4776ed104a026c2d39c44dbbfca60d27f57c50a4
7b27c4aebdfe72bb0282fc28abb60ede9e6f0813
refs/heads/main
2023-08-24T00:58:15.603062
2021-10-27T04:41:13
2021-10-27T04:41:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
from rest_framework import serializers from .models import Unemployment class StatSerializer(serializers.ModelSerializer): class Meta: model = Unemployment fields = '__all__'
[ "khan.hillary@gmail.com" ]
khan.hillary@gmail.com
acaaff5ac222121f65916b2c51dba801a44b99f3
37496577a9fa05bf949bd018fca17f0b6d546ecd
/client/pdo/client/scripts/AuctionTestCLI.py
4a1e9c064ad1516c800d154a615e56b89dbcc513
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-public-domain", "Zlib", "MIT", "CC-BY-4.0" ]
permissive
EugeneYYY/private-data-objects
cce9250648252f4baf92e0007c9584ac82d46401
d96033bbfa9bd3fe72a549487e8e5c83c7c580ca
refs/heads/master
2020-03-15T07:11:36.278038
2018-05-01T21:04:26
2018-05-01T22:40:35
132,023,932
0
0
null
2018-05-03T16:45:45
2018-05-03T16:45:44
null
UTF-8
Python
false
false
20,659
py
# Copyright 2018 Intel Corporation # # 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 wri...
[ "byron.marohn@intel.com" ]
byron.marohn@intel.com
d827d71d9c05c7c9a359841ae13e780b7c1620e1
0e0bd9d0082bf71918db9f6c92c2cefd32fd23bd
/guild/commands/runs_import.py
354c23dc47578e9820036cf0779f49107bcd69fb
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
christabella/guildai
b911d9758296503c431b571dc4696a3690f44b3d
10d34eb9aa02aa4a374c340e75b5d44d9f3d8a25
refs/heads/master
2022-12-17T18:34:45.766299
2020-08-31T12:42:25
2020-08-31T12:42:25
294,189,964
0
0
Apache-2.0
2020-09-09T18:02:13
2020-09-09T18:02:12
null
UTF-8
Python
false
false
2,500
py
# Copyright 2017-2020 TensorHub, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "g@rre.tt" ]
g@rre.tt
af0407d686f5be807f2d3d4b938ec56483a3f89e
d6b0bc433b260b5d519d73087d5df46aa516fcdd
/biobb_adapters/pycompss/biobb_amber/pmemd/pmemd_mdrun.py
e94945a6809b7c30cc12c1d92b7e2ea6151423f4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bioexcel/biobb_adapters
b5442fe953b90be4e66faf3460b4a88a40e6d448
3daa84ba83a7951add017dd0f05dc361aa99dfe5
refs/heads/master
2023-08-14T08:46:39.323257
2023-08-02T09:05:21
2023-08-02T09:05:21
157,351,268
0
2
Apache-2.0
2023-04-01T14:56:43
2018-11-13T09:07:36
Common Workflow Language
UTF-8
Python
false
false
3,420
py
# Python import os import sys import traceback # Pycompss from pycompss.api.task import task from pycompss.api.parameter import FILE_IN, FILE_OUT from pycompss.api.multinode import multinode from pycompss.api.constraint import constraint # Adapters commons pycompss from biobb_adapters.pycompss.biobb_commons import task...
[ "andriopau@gmail.com" ]
andriopau@gmail.com
0a231f8117213d6f61ad97b649f38245442e0a0c
afd3464dd2c290b7db5fe379d4374183ea6bd0c3
/catkin_ws/build/pick_objects/catkin_generated/pkg.develspace.context.pc.py
fd44bd91cf37e798cac9f2a7cf2459aba475bc25
[ "MIT" ]
permissive
thatting/thomas-hatting-home-service-robot
7d0750367e5b5bfa48ab697a8fd7796b1338a662
481490eec2d61303e694593f8f018858c82eaac3
refs/heads/master
2020-03-22T18:27:40.537755
2019-02-14T13:13:14
2019-02-14T13:13:14
140,461,737
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "pick_objects" PROJECT_SPACE_DIR = "/h...
[ "thomashatting@gmail.com" ]
thomashatting@gmail.com
47b910274ca6546bd96488e2c3027896b833a188
7abd8bbbba8f401c4ce9d9ec550a0cae4a6f19ed
/bingads/v12/bulk/entities/__init__.py
afc5d3d8bf175347a50c466420cd874f00447f89
[ "MIT" ]
permissive
stevenblanton/BingAds-Python-SDK
fd2f119db51e1a91962aa5ee4bb86344e58078a8
5b6e6499ae1dcc6fb8ba3032ad1a2b6ee63705c9
refs/heads/master
2020-09-05T12:11:04.168580
2019-11-01T15:49:08
2019-11-01T15:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
__author__ = 'Bing Ads SDK Team' __email__ = 'bing_ads_sdk@microsoft.com' from .common import * from .bulk_error import * from .bulk_entity import * from .bid_suggestion_data import * from .unknown_bulk_entity import * from .bulk_account import * from .bulk_budget import * from .bulk_campaign import * from .bulk_ad_g...
[ "qitia@microsoft.com" ]
qitia@microsoft.com
a3111a79779a9ea0cab3118b5d7b33943dbded16
98fe6781483ec7ff2a8016916edb2611d5c2e64c
/other/text_analysis_report.py
9a852707872523ccce57b5824953e76709b213d4
[]
no_license
catris25/review_rating_prediction
124262d3baed594d812cb1459c3b95cb6a718312
fc296a58e39943d2021263e456dbfdd8b972308a
refs/heads/master
2021-01-16T17:49:47.367954
2018-08-14T05:35:44
2018-08-14T05:35:44
100,015,914
0
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
import numpy as np import pandas as pd import re, math from collections import Counter import matplotlib.pyplot as plt from nltk.tokenize import sent_tokenize, word_tokenize # from nltk.tokenize import RegexpTokenizer, PunktSentenceTokenizer, TweetTokenizer # REMOVE ALL PUNCTUATIONS AND THEN TOKENIZE THE TEXT def tok...
[ "blue.star95@outlook.com" ]
blue.star95@outlook.com
c7571fd6f80cb52e31b43fa0fa9746d3faafb0c1
de817cc84baa1ca5cef3ceaff56dc235b00073d9
/dokdo.py
dfbc8aad66a041c9a7e72135de16c2b1fb75b035
[ "MIT" ]
permissive
song9446/Dokdo-HTML-template-compiler-python3
32023dd38f57b091a6d4a8288e07ddb8663c892e
2d26aa7d84c0c7606ae5140126691d6f1a6e930e
refs/heads/master
2020-04-09T01:31:23.923621
2018-12-01T06:36:39
2018-12-01T06:36:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,558
py
#!/usr/bin/python3 from string import Template import lxml.html from lxml import etree import copy import re import os import sass VERSION = "0.1" variable_pattern = re.compile("\{\{\{([^}]+)\}\}\}") def dom2str(element): return lxml.html.tostring(element, encoding=str) def dom2innerstr(element): text = lxml...
[ "song9446@unist.ac.kr" ]
song9446@unist.ac.kr
c17cbfb454897e208edc74fb6406665a5bd37389
1debb684db5f2434de3793751afc45edcb2d584f
/apps/gtask/templatetags/datetime_tags.py
701d99da0ef2467c96ac5c4250f7b89bba8ee4e1
[]
no_license
rosscdh/SuperDMon
2524aaa1429ce82558723ad5ea8833698380fb85
d0e6dd2f9d2237320b19b53b9be37c888f8c40ff
refs/heads/master
2016-09-05T13:33:55.294196
2012-02-07T14:52:34
2012-02-07T14:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from datetime import datetime from django import template register = template.Library() @register.filter("timestamp") def timestamp(value): try: return datetime.fromtimestamp(value) except AttributeError: return datetime.now()
[ "ross.crawford@sedo.com" ]
ross.crawford@sedo.com
73b6a55d16f9a0ddb2370537646877ecaa9d332e
464b6f3a8e3662ecc357735b17c5fe859aa9f3e3
/StanCode-Projects/searching_name_system/babygraphics.py
2ee9308af259ad456f5b8b65ffae016860eaec6b
[ "MIT" ]
permissive
jennywei1995/sc-projects
a840f1fcb6e691999a6b8ac31a53c8a5b0f260b8
ec192434a967d68fee4f772ae907e5ef5fa556d2
refs/heads/main
2022-12-30T13:06:44.186249
2020-10-20T07:56:43
2020-10-20T07:56:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,451
py
""" File: babygraphics.py Name: Jenny Wei ----------------- SC101 Baby Names Project Adapted from Nick Parlante's Baby Names assignment by Jerry Liao. ----------------- This file will create a canvas and enable user to use the program to search for babes' names' ranks over decades. Once the user search a name, the corr...
[ "noreply@github.com" ]
jennywei1995.noreply@github.com
61a49f9ce140730c3fb6b664ca5ac5bc8085cfb0
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v6/googleads-py/google/ads/googleads/v6/services/types/media_file_service.py
d18d6a8d09b03c92f8310398e3c6a6a1be1ac137
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,355
py
# -*- coding: utf-8 -*- # Copyright 2020 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
58d23eb63af6add22016b753d43de7f6521fbfb1
279e26d880c2470d0b60fe55b52f36024ecb28b5
/address.py
f65092bd69fcdb218f7a868194846dc937236b2d
[]
no_license
khang-le/unit5-05
0167d40d8070d5889c948a90f13d06ea53581690
c9b4afb6f1361dca227d915c7630ff7e5fe3b1cf
refs/heads/master
2020-09-22T03:51:35.589393
2019-11-30T16:27:46
2019-11-30T16:27:46
225,039,279
0
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
#!/usr/bin/env python3 # Created by : Khang Le # Created on : September 2019 # This program prints out your name, using default function parameters def full_address(first_name, last_name, street_address, city, province, postal_code, apt_number=None): # return full address format full_address...
[ "nguyen.khang.le@mths.ca" ]
nguyen.khang.le@mths.ca
7d10a0ba89d020ea8778672c530012d3496bb89b
0ab5b15d1b97b9d72a9e4218ad6b7377c26e76ec
/tkContacts_LAB15.py
c4c4c3d8fbfbf064790aa63503f585440122fa65
[]
no_license
RagggySu/-Sample-work-from-other-person-Portfolio
3beb01e18b5ace8858bb73eb9aad76e67c87d94b
8f5b6d2f3f4d82435cd166d6f4c038ae7352e59c
refs/heads/main
2023-05-05T06:50:13.906847
2021-05-28T18:45:05
2021-05-28T18:45:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,481
py
# Programmer: James Aniciete # Course No.: CSC 157 # Lab No.: 15 # Date: 5/9/2020 from tkinter import * from tkinter import messagebox # for exit button's messagebox import os # for exiting the app import myDatabasefile as dbf import sqlite3 # create table dbf.createTable() # get contactlist contactlist = dbf.select...
[ "noreply@github.com" ]
RagggySu.noreply@github.com
4f56cee030454bf7d814b2615a38c73539bcce37
d186f9763a16cddc161568728827636a8b68f2f2
/src/grpc_service/service_pb2_grpc.py
37cda993f81dc828c5dfc5ef4100daddd986874b
[]
no_license
xvicmanx/machine-learning
12fce38a70b88132d633f8956435d72fc3fee050
8389125e8a0f41c3c803bdfa94f5483ab30897d1
refs/heads/main
2023-02-11T19:35:43.298423
2021-01-06T12:59:29
2021-01-06T12:59:29
308,706,331
1
0
null
null
null
null
UTF-8
Python
false
false
12,434
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import service_pb2 as service__pb2 class MachineLearningStub(object): """Missing associated documentation comment in .proto file.""" def __init__(self...
[ "vic3jo@gmail.com" ]
vic3jo@gmail.com
2fbd7c9248f1dcc4aa90678c7973c0971038f7b3
dbeae28942f79ebe1f844628baf6cb8f7251609b
/modules/state.py
961e9b0dd1677c68fc8b876bae6fae442c30c3b4
[]
no_license
kouheiszk/pokemon-bot
3226614ad699dca261f2c97523b70d3c91a08b00
ba7404b7f6120581ac6602ca0c00ecbd9e0cbfc1
refs/heads/master
2020-05-21T10:12:07.376595
2016-09-13T10:57:01
2016-09-13T10:57:01
66,206,829
1
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/python # -*- coding: utf-8 -*- from modules.catch import Catch from modules.entities.badges import Badges from modules.entities.hatched_eggs import HatchedEggs from modules.entities.inventory import Inventory from modules.entities.map_objects import MapObjects from modules.entities.player import Player from ...
[ "kouhei.szk@gmail.com" ]
kouhei.szk@gmail.com
ce7c48f9f8686e922f04be56fd4bf8ab959eb8de
d9d516490b35d4589787dd1c2f02e1cb39967ae4
/021 Jogo da adivinhação.py
f27f947c56eeb6ea3fe7e4a0cacdc82c2896aca5
[]
no_license
Emerson53na/exercicios-python-3
e3ec9e88e9d413ee9dee432a2c120447a22a3f3d
8f0349a94aca822722c02084c6e3d13cd8c27051
refs/heads/master
2021-05-19T09:31:31.686547
2020-04-22T23:54:41
2020-04-22T23:54:41
251,631,178
0
1
null
null
null
null
UTF-8
Python
false
false
401
py
from random import choice print('=-'*20,'\nVou pensar em um número de 0 a 5.Tente adivinhar...') print('=-'*20) num = int(input('Em que número eu pensei? ')) lista = [0,1,2,3,4,5] cpu = choice(lista) if cpu == num: print('O número escolhido foi: {}\n\033[32mParabens, você ganhou!\033[m'.format(cpu)) else: ...
[ "noreply@github.com" ]
Emerson53na.noreply@github.com
993148bc8da60f6cde60e4ddcf631c383dadd161
2a42392cf93deaccb39b357411c0b49abec0a132
/classcode/anim_and_sound/anim.py
840cb919d1038dfaea799ab71a28e4ca7a054444
[]
no_license
AKilgore/CS112-Spring2012
89aa573b19f1c92055e4832d87c6e5fa0588bccf
9fe50b80d71b4dee92101b993c1f58265eb40ee2
refs/heads/master
2020-12-24T19:27:58.448474
2012-04-30T07:23:40
2012-04-30T07:23:40
3,266,350
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
#!/usr/bin/env/ python import pygame class AnimationFrames(object): def __init__(self, frames, loops=-1): self._times = [] self._data = [] total = 0 for t, data in frames: total += t self._times.append(total) self._data.append(data) ...
[ "mak11@hampshire.edu" ]
mak11@hampshire.edu
d047e999cc18d2f81e6f7afc24a22551af5b8e21
c96f923cba05f4bfefafa24c02818cc98e8caa14
/sum.py
86724be39016ee75ac99bd413acdd8c139cca37c
[]
no_license
saviorseelf/test
0178865ff0fbafe37ee286301669876ecb5e7ae6
7438be19b185e16a92a1c3e72cad402b987edc01
refs/heads/master
2021-05-30T11:11:31.744015
2016-01-21T19:15:18
2016-01-21T19:15:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
from threading import Thread i = 0 def add(): global i for j in range(0,1000000): i += 1 def sub(): global i for j in range(0,1000000): i -= 1 def main(): thread1 = Thread(target = add, args = (),) thread2 = Thread(target = sub, args = (),) thread1.start() thread2...
[ "andershanssen92@gmail.com" ]
andershanssen92@gmail.com
171783a41f6cc03ffad67745ac99b75219895fad
c37de1b37ea7f6e5d0e4b6715be6f6da342cba9a
/examples/vasp/wallet.py
794836a62040bbfc7b35e797ac4dca07f265240e
[ "Apache-2.0" ]
permissive
fil-blue/client-sdk-python
6389d6b40c1af1587b23ecef96a4db5af66e34dd
2105e7362a35e69298de0896e17331006374de57
refs/heads/master
2023-02-15T02:54:40.512655
2021-01-05T23:42:40
2021-01-05T23:42:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,300
py
# Copyright (c) The Diem Core Contributors # SPDX-License-Identifier: Apache-2.0 from dataclasses import dataclass, field from http import server from diem import ( identifier, jsonrpc, diem_types, stdlib, testnet, utils, LocalAccount, offchain, ) import logging, threading, typing logg...
[ "ilx@fb.com" ]
ilx@fb.com
848a890e8baab9228465b85ff2aaf300a3bd3890
59835adaceb26614d0aa51cf8dda2be5be79bcfb
/run_menu.py
91721ab25d52dd5a240b4d7c8ac9c851985b7866
[]
no_license
Farah-H/python_menu
b438e11d649729611ec4aa8ca3a8c9bd0106c3b6
7401eb938a71c03a89da30667ebda4d59f75d4ac
refs/heads/master
2023-01-07T03:28:06.934944
2020-11-08T19:43:54
2020-11-08T19:43:54
310,585,828
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
from waitstaff_class import Waitstaff # This part of the program will actually execute taking an order, saving it, and printing it back to the user #instantiating the waitstaff class jenny = Waitstaff() all_orders = [] # a list to store all orders in (could increment by making this csv output) # prompting the us...
[ "61236001+farahmh@users.noreply.github.com" ]
61236001+farahmh@users.noreply.github.com
82405e9839e46249f460ed4e84143cc38d8ef32b
55e31bc59b435ccfb60da178d560dedd6248b593
/resources/store.py
b1c85be12f356d4d78b91c85e8bebff15149a086
[]
no_license
kenHsieh25053/flaskapi
a456c2ae28127ba422582693949fcb79bff71977
da1130585fc722910db3c503946ee5d3b8d66591
refs/heads/master
2020-03-10T22:44:36.581563
2018-04-22T09:07:09
2018-04-22T09:07:09
129,625,792
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
from flask_restful import Resource from models.store import StoreModel class Store(Resource): def get(self, name): store = StoreModel.find_by_name(name) if store: return store.json() return {'message': 'Store not found'}, 404 def post(self, name): if StoreModel.find_by_name(name): return {'message':...
[ "kw1984@livemail.tw" ]
kw1984@livemail.tw
7be70ac3312c262cb16fc7fdd8dcb45124a48f14
d2b2023261ccdcaf560a2e7b0bab13ecdedacfc9
/03/fullbackup.py
00cb6631683557864d36d5b2b9b06ca824c29799
[]
no_license
lilyef2000/lesson
a9d96ffc19f68fa3f044f240de6496b6d69394f6
2a5abb00b9bbb8bb36602ea6e1e8c464accc0759
refs/heads/master
2021-01-10T08:41:14.524421
2016-01-01T18:04:04
2016-01-01T18:04:04
46,460,003
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
#!/usr/bin/python import sys,os,time,logger source_file = sys.argv[1] formated_source_file = source_file.split('/')[-1] backup_dir = '/home/Administrator/lesson/backup/' backup_to_file = '''%s%s_%s.tgz'''% (backup_dir,formated_source_file,time.strftime("%Y%m%d%H%M%S",time.localtime())) def run_backup(runtime='now',e...
[ "lilyef2000@gmail.com" ]
lilyef2000@gmail.com
1c990786b09382998bcbe64210b2d6960dcbb44f
6691d0c71ddb92422fddb5d5994b660ee88a2435
/SDP_Assignments/Game_of_life/game_of_life_vishnu/GolLogic.py
0bbc877b4cafbc1f8997045ede5e4138c3d71dd9
[]
no_license
dadi-vardhan/SDP
fb1b2e49c014d769add0e6244ca302e4b6939de5
f692837c2cda68d8b16d57727d4b727acf545bf2
refs/heads/master
2023-03-13T10:28:49.060533
2021-03-08T16:45:38
2021-03-08T16:45:38
310,674,824
0
1
null
2020-11-23T09:06:31
2020-11-06T18:23:23
Jupyter Notebook
UTF-8
Python
false
false
1,224
py
import time import numpy as np import matplotlib.pyplot as plt class Logic(object): def __init__(self, console): self.state = console.state def neighbour_cell_count(self): ''' Counts the number of cells present at time 't' on the console and returns it. Parameters: n...
[ "vishnu.dadi@smail.h-brs.de" ]
vishnu.dadi@smail.h-brs.de
994164e610d278fe042d18fcfb17557acddd8a41
47a496e0c7ea9adf35c006d193a88357006a370e
/algorithm/TopicB2/TreePagoda.py
fcce3df7058ac52a7a5bc94496f5eb20ed821fda
[]
no_license
Curious-chen/curriculum-design
01ea5aff12c3097f7283571befd7bcfe68149817
036f78a62b15ec8e5c8e1013d124f726fd2bebe4
refs/heads/master
2020-12-06T14:19:29.026158
2020-01-08T06:30:50
2020-01-08T06:30:50
232,483,805
6
1
null
null
null
null
UTF-8
Python
false
false
2,727
py
""" 将正整数排成等边三角形(也叫数塔),三角形的底边有个数, 下图给出了的一个例子。从三角形顶点出发通过一系列相邻整数(在图中用正方形表示), 如何使得到达底边时的总和最大 """ import numpy as np """ https://www.jianshu.com/p/2a7f5cac0d58 """ """ 动态规划 dp[i][j] = max(dp[i+1][j],dp[i+1][j+1])+date[i][j] """ """ (1) 初始化距离数组dp,令距离dp的最后一行复制树塔的最后一行的值 (2) ...
[ "noreply@github.com" ]
Curious-chen.noreply@github.com
85dbdd459b8e5552ad1d55043b0a1f5779b84c91
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_20926.py
194a6671b01c6bb8bdc4a0d1f301faf7b48d8ed5
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
# Modifying sys.path PYTHONPATH
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
e9413bfa3cd627adaf3cf6bb968577c84e905767
2b84bd7cdcfe9c921fa60fefa2ee1257df33ce38
/utils/email_util.py
713ad3955e46c9b1c3cf07d310a5c6f928855407
[]
no_license
webclinic017/market_monitor
f9cfa4a8443b81830abd9e5900509c7dfdab3e37
9a8a9b6181e1ab4f5d3dad32641ac941c5e4fabf
refs/heads/main
2023-07-28T00:39:34.481170
2021-09-15T12:39:38
2021-09-15T12:39:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
# Copyright (c) 2015 Shiye Inc. # All rights reserved. # # Author: zsx <zhaoshouxin@shiyejinrong.com> # Date: 2019-03-07 import smtplib from email.mime.text import MIMEText from docs.config.email_cfg.config import mail_info as m class SchedulerError(RuntimeError): def __init__(self, time): self.time = ...
[ "1125191117@qq.com" ]
1125191117@qq.com
5c6efe87ee9b93f8027bf4a15335244acf89f525
ae2f3356ab79b77090f8eb927f692c23ee070278
/SMA_SES_DES.py
6ae165e143cee8c29eb017cdeffa048c74e8509c
[ "MIT" ]
permissive
ImPHX13/Demand-Forecasting
5cfdbfdd712dc23834f702e347b39bcdf23d1d3d
078e58fed6fdd59e8fbae69e8f54d01e784d4be7
refs/heads/master
2022-11-25T22:07:23.255490
2022-11-18T04:26:40
2022-11-18T04:26:40
265,248,188
2
0
null
null
null
null
UTF-8
Python
false
false
5,881
py
#!/usr/bin/env python # coding: utf-8 import numpy as np import pandas as pd from matplotlib import pyplot as plt from statsmodels.tsa.stattools import adfuller from statsmodels.tsa.seasonal import seasonal_decompose from statsmodels.tsa.arima_model import ARIMA from pandas.plotting import register_matplotlib_convert...
[ "noreply@github.com" ]
ImPHX13.noreply@github.com
2cc9faf3e8e17c9e733a3ce6a37951dfcd9caabb
5602c3572852f8574dff7173fd19c32c48520b28
/rigify/rigs/basic/raw_copy.py
2ebbe13382bfcfe90dd4692ae3038b58086e1ad6
[]
no_license
Dancingbubble/blender-addons
58be022f1d8f712ca83acdbd765336e74074a14d
a6ee5b0e6f6a945c33b6159fd0536d548b23ccb6
refs/heads/master
2023-02-19T22:19:53.125675
2021-01-01T20:54:21
2021-01-01T20:54:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,521
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 vers...
[ "angavrilov@gmail.com" ]
angavrilov@gmail.com
4fcd5f7a94f65e8208038c8f3ad8ad80fbf84495
0e531fa04060ca129a1c3323c7c403a373e6c00d
/pca2tracks.py
144f71e0fac0d9de660813931366a2c86113f2fa
[]
no_license
zhipenglu/xist_structure
6b71f4f718991d22d00d5b0fc8008b6e97581b62
0dfb910d0b303fc94d421c66bb2e484b8e72297e
refs/heads/master
2020-04-22T23:17:33.781817
2019-02-14T18:22:33
2019-02-14T18:22:33
170,736,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
""" pca2tracks.py This script converts the PCA analysis results for RIP/CLIP enrichment to a minimal number of tracks for display on IGV. This approach provides more useful information than the heatmap. The input file is *pca_array.pc.txt, and output are the first few tracks that explain the most variance (e.g. *pc1.b...
[ "noreply@github.com" ]
zhipenglu.noreply@github.com
c82afac573bf870007f2a26a2677f45d8e51d99c
04ae1836b9bc9d73d244f91b8f7fbf1bbc58ff29
/1233/solution.py
c47461e1a3ab14eb3051ffb577ac9f8ff8d4de5e
[]
no_license
zhangruochi/leetcode
6f739fde222c298bae1c68236d980bd29c33b1c6
cefa2f08667de4d2973274de3ff29a31a7d25eda
refs/heads/master
2022-07-16T23:40:20.458105
2022-06-02T18:25:35
2022-06-02T18:25:35
78,989,941
14
6
null
null
null
null
UTF-8
Python
false
false
1,365
py
class Node(): def __init__(self, str_): self.str_ = str_ def __eq__(self, other): return self.str_ == other.str_ def __repr__(self): return self.str_ def __repr__(self): return self.str_ def __hash__(self): return hash(self.str_) ...
[ "zrc720@gmail.com" ]
zrc720@gmail.com
b55e30d6f12b49a52c2c808328cfba62b35668cb
71711bd2c11a3c0cbbc99bcfa78384d005e07828
/puct_mcts/datasets.py
f2aa99600a387a45d927073b70ec24d3e7ff95c7
[ "BSD-3-Clause" ]
permissive
kastnerkyle/exploring_species_counterpoint
9365b2485cd227e375521f769ba1bfbd62c7b629
dda762463e64036adeba7efd46c51daaaf906019
refs/heads/master
2021-09-13T10:55:03.096300
2018-04-28T19:00:21
2018-04-28T19:00:21
103,225,538
0
0
null
null
null
null
UTF-8
Python
false
false
14
py
../datasets.py
[ "kastnerkyle@gmail.com" ]
kastnerkyle@gmail.com
fa4650d4a8f4d6e62f671e455d2f45eaa553ced4
d9b0e4be5b29c6bdb806eeb2b6df340aa26d1152
/payloads/shop2.py
016c15fba07f2ae5dd9a4a3ca6bbe7da515a824f
[ "MIT" ]
permissive
opoudel/sculptbf-bot
ba5a4fb3550ffd51620d38d5171413cb89fbe136
3d9307bc4506844c8a693db68217d37fe2e76130
refs/heads/master
2020-12-02T11:34:19.539736
2017-07-21T15:39:20
2017-07-21T15:39:20
96,653,410
0
0
null
null
null
null
UTF-8
Python
false
false
3,652
py
# -*- coding: utf-8 -*- import json def shop(recipient_id): return json.dumps({ "recipient": { "id": recipient_id }, "message": { "attachment": { "type": "template", "payload": { "template_type": "list", ...
[ "opoudel@me.com" ]
opoudel@me.com
fe5b26c41e27f960c84721814d918ba912d334fe
2aee7676daad10456a34fe23ce952966c05718ff
/regular_expression/q3.py
0b17a5f0733331c189c670e8f860c6394bec5ba8
[]
no_license
sharonsabu/pythondjango2021
405b45bc08717301315016d7ccb9b4a03c631475
1dfb60b92296bc85248bad029a3fd370745623a6
refs/heads/master
2023-04-18T19:39:40.378956
2021-05-02T05:48:56
2021-05-02T05:48:56
333,471,566
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from re import * pattern="a{2,3}" #checks for min 2 and max 3 no of "a" matcher=finditer(pattern,"aaaacaabbaaab") for match in matcher: print(match.start()) print(match.group())
[ "sharonsabu100@gmail.com" ]
sharonsabu100@gmail.com
aa300723ff8030d337ad1c65d8905af0053a9077
760578355ed00ce758591b9a0b4929a3105de530
/query/protocols/Gamespy.py
ed4437c4d9ffc4c0f2cfdf96f9a4022703cf0062
[ "MIT" ]
permissive
SanSource/GameQuery
6c385e7607d7ad7fca0782ef8eea839f838268a7
b10845bffc872e9ce3d3d5d4016fd1905b3b8b0c
refs/heads/master
2020-12-29T16:07:39.179677
2017-08-20T22:59:33
2017-08-20T22:59:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,802
py
from ..connection import BaseUDP from ..helpers import async_raise_on_timeout from ..parser.helpers import QueryBytes class Gamespy1(BaseUDP): @async_raise_on_timeout async def get_info(self): reader, writer = await self._connection.connect() query = QueryBytes() query.append(b'\\info...
[ "patryk.sondej@gmail.com" ]
patryk.sondej@gmail.com
d930901a91772e4d664bb3b770867aa984a3e77f
08aadcd04337ee45b01e6bd7f5cc9d87cd433bfd
/basic_projects/2D lists and nested loops.py
3098b812d793bcbe6b1a711c279db30a87fbdf59
[]
no_license
AnthonyPerugini/Training_projects
eb12acc36f0c2562ea9da6ca76221ea32bd73d38
bf4d8027740abedbcce296675a7484fae5e1095f
refs/heads/master
2021-03-10T04:43:14.473043
2020-03-16T18:31:32
2020-03-16T18:31:32
246,419,607
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
number_grid = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], [0] ] for row in number_grid: for col in row: print(col)
[ "Anthony.r.perugini@gmail.com" ]
Anthony.r.perugini@gmail.com
b71909c9661e6baf2be15d0e61a3055456d35d1a
290b4c7ca63a975b38e55018cc38bd2766e14639
/ORC_app/jni-build/jni/include/tensorflow/tensorflow.bzl
bb0e46adddd64bf4473131cda060e9cc6eee198f
[ "MIT" ]
permissive
luoabd/EMNIST-ORC
1233c373abcc3ed237c2ec86491b29c0b9223894
8c2d633a9b4d5214e908550812f6a2489ba9eb72
refs/heads/master
2022-12-27T14:03:55.046933
2020-01-16T15:20:04
2020-01-16T15:20:04
234,325,497
0
1
MIT
2022-12-11T13:32:42
2020-01-16T13:25:23
C++
UTF-8
Python
false
false
20,524
bzl
# -*- Python -*- # Parse the bazel version string from `native.bazel_version`. def _parse_bazel_version(bazel_version): # Remove commit from version. version = bazel_version.split(" ", 1)[0] # Split into (release, date) parts and only return the release # as a tuple of integers. parts = version.split('-', 1...
[ "abdellah.lahnaoui@gmail.com" ]
abdellah.lahnaoui@gmail.com
3259d0615171353e16e44fb0506a5558587028c0
d037002f9d2b383ef84686bbb9843dac8ee4bed7
/tutorials/Trash/Distributed-DRL/torch/sac_test/utils/environment.py
c86069ea34cea9e7eb5b64d4846270b3babd3d96
[ "MIT" ]
permissive
ICSL-hanyang/Code_With_RL
4edb23ca24c246bb8ec75fcf445d3c68d6c40b6d
1378996e6bf6da0a96e9c59f1163a635c20b3c06
refs/heads/main
2023-08-15T18:37:57.689950
2021-10-18T07:31:59
2021-10-18T07:31:59
392,944,467
0
0
null
2021-08-05T07:20:57
2021-08-05T07:20:56
null
UTF-8
Python
false
false
971
py
import gym class Environment: def __init__(self,env_name): self.env = gym.make(env_name) self.state_dim = self.env.observation_space.shape[0] self._max_episode_steps = self.env._max_episode_steps self.can_run = False self.state = None if type(self.env.action...
[ "nzy1414117007@gmail.com" ]
nzy1414117007@gmail.com
28849c5633fc880b6e4043d6ee95027eb192b0fe
d77b363dd92fd61ff0f1fc75ffb9836dea201524
/main.py
f44ecfc93f61f7c047c6480e45d49d15fc1f7556
[]
no_license
BalticPinguin/ArgonMD
6309ac8cf2aceb115f2615c81b62eaeacb5bf286
ddb723e7b34ec8b150acf187aaff3d61df9c0f08
refs/heads/master
2016-09-03T07:39:16.201770
2015-08-10T19:42:32
2015-08-10T19:42:32
39,498,512
1
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
#!/usr/bin/python3 import physics as ph import sys def frange(start, stop, step): #imitate range, but with floats. r = start i=0 while r <= stop: yield r i+=1 r =start + i*step def main(argv): assert len(argv)==1, "only temperature and alpha are allowed as input-parameter!" N=256 #num...
[ "tobias.moehle@uni-rostock.de" ]
tobias.moehle@uni-rostock.de
cdc9c0fe13be7945a2a837c9dfa2b6ee764b8977
8b881e5a11a4b69362edf70929570964644aab75
/src/ai/AlphaBetaOwnSeeds.py
eb7539b7632553ff9285607c9d3a507bb67ba13b
[]
no_license
BpGameHackSoc/kalahai
18b84bf528c6e5e12e2ac0b0abb3052fec4b81c8
abc2ce1aa4c766fd1cadb62bf3bf4d92b9fe5f56
refs/heads/master
2021-09-02T10:16:27.051245
2017-12-23T10:23:52
2017-12-23T10:25:30
110,739,312
2
1
null
2017-11-19T14:39:11
2017-11-14T20:10:11
Python
UTF-8
Python
false
false
760
py
import numpy as np from . import AlphaBeta from model import Side class AlphaBetaOwnSeeds(AlphaBeta.AlphaBeta): def evaluate(self,state): south_holes = state.board.get_holes(Side.SOUTH) north_holes = state.board.get_holes(Side.NORTH) south_store = state.board.get_store(Side.SOUTH) ...
[ "gergely.halacsy@gmail.com" ]
gergely.halacsy@gmail.com
31b58b74e967def34fcd7730cc4170cb953bf04e
d23ddee7237f138d003b44d859d12a9f8385cfce
/app.py
acc6da3dca2bd6c32be0c58631cb41c1bbe758e2
[]
no_license
Kelby-Wilson/sqlalchemy_challenge
a6497bde709e8edf838949b75cf1e2a7fa011074
3b8ba0e3a1ac237ae319532eba892445b5be4912
refs/heads/master
2022-12-03T17:29:22.003559
2020-08-26T16:52:57
2020-08-26T16:52:57
262,371,228
0
0
null
null
null
null
UTF-8
Python
false
false
5,189
py
import numpy as np import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine, func, inspect from flask import Flask, jsonify import datetime as dt # Relative Date ### # Database Setup ### engine = create_engine("sqlite:///hawaii.sqlite...
[ "noreply@github.com" ]
Kelby-Wilson.noreply@github.com
e5679a098872822f28be752dec6bb6519196d5b7
8a5ab3d33e3b653c4c64305d81a85f6a4582d7ac
/PySide/QtCore/QTimer.py
5e91243992b9f324a3a089a65f93db3242e8a538
[ "Apache-2.0" ]
permissive
sonictk/python-skeletons
be09526bf490856bb644fed6bf4e801194089f0d
49bc3fa51aacbc2c7f0c7ab86dfb61eefe02781d
refs/heads/master
2020-04-06T04:38:01.918589
2016-06-09T20:37:43
2016-06-09T20:37:43
56,334,503
0
0
null
2016-04-15T16:30:42
2016-04-15T16:30:42
null
UTF-8
Python
false
false
1,511
py
# encoding: utf-8 # module PySide.QtCore # from /corp.blizzard.net/BFD/Deploy/Packages/Published/ThirdParty/Qt4.8.4/2015-05-15.163857/prebuilt/linux_x64_gcc41_python2.7_ucs4/PySide/QtCore.so # by generator 1.138 # no doc # no imports from QObject import QObject class QTimer(QObject): # no doc def interval(sel...
[ "yliangsiew@blizzard.com" ]
yliangsiew@blizzard.com
23cfee1ada500316d73bc8ad4983d16ddaefb85b
c71ad354837830987f17ab93ca3f7ceb6d405311
/khajuri/bin/pipeline_test.py
772f8726ae18693915e513ab87a0fac87cf3679f
[]
no_license
zigvu/samosa
f353248a75fe7a83a8a59b375b104abec8d1d855
3962b3c7bab9d26bf871d257e15dd39c45ffaddd
refs/heads/master
2021-03-30T18:12:58.441901
2016-02-20T00:12:30
2016-02-20T00:12:30
50,481,153
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
#!/usr/bin/env python import logging import os import glob import argparse import _init_paths from khajuri.pipeline.run_pipeline import RunPipeline from khajuri.multi.clip import Clip from tools.files.file_utils import FileUtils def parse_args(): """Parse input arguments.""" parser = argparse.ArgumentParse...
[ "eacharya@gmail.com" ]
eacharya@gmail.com
7fd9141000ee1b4be8b4f5dd9b969abf33c9eac9
d5dbae52bbfded54436a665f614a2793029371ea
/models/model2csv.py
64ec1c92bead5bf32dd3801e0c4c0df6e534c482
[ "Apache-2.0" ]
permissive
bmarggraff/allie
88b97acffebe2c1876b379d478b293bfb9edfefb
2e2f8780f0a42229b582703455e9ce1d42cf9f96
refs/heads/master
2022-11-28T02:27:55.100030
2020-08-07T19:55:46
2020-08-07T19:55:46
285,911,411
1
0
null
2020-08-07T20:03:08
2020-08-07T20:03:07
null
UTF-8
Python
false
false
2,962
py
''' AAA lllllll lllllll iiii A:::A l:::::l l:::::l i::::i A:::::A l:::::l l:::::l iiii A:::::::A l:::::l l:::::l ...
[ "noreply@github.com" ]
bmarggraff.noreply@github.com
a254ecc9342fa1c6acec1d6dd7d1b9ee994945ee
8ae3e86fd736b65825a8c810560a73d17da74575
/solrdataimport/dataload/cqlbuilder.py
ee377653b8dbfc43530f90d778226878ff1f73fd
[ "Apache-2.0" ]
permissive
pisceanfoot/solrdataimport
68d12e6ab96f7ed856e8187806981af8635920d6
a7f97cda5eb4ff569e67e5636a9217e9fe1a5fb5
refs/heads/master
2021-01-10T06:17:16.154994
2018-03-17T07:14:09
2018-03-17T07:14:09
49,885,709
2
1
Apache-2.0
2018-03-17T07:14:10
2016-01-18T15:29:32
Python
UTF-8
Python
false
false
2,135
py
# -*- coding:utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals, \ with_statement import logging from solrdataimport.cass.cassClient import CassandraClient from solrdataimport.cass.cassSchema import CassSchema logger = logging.getLogger(__name__) class CqlBuilder(object...
[ "pisceanfoot@gmail.com" ]
pisceanfoot@gmail.com
fcafef610287029b1a2c87cfaac8bd9b6790c9b0
285f136156a925b05b5d51f3a4021813a455b971
/backend/handlers/__init__.py
73a855f9a4321fcd162797bf6c8a09cc1dbcc598
[ "Apache-2.0" ]
permissive
kubikvid/weather-this-day
41185aacbbdcf65578576bf6f5974d00a00a3275
ada662f191ee122190168265d3d50e925ef26630
refs/heads/master
2020-05-21T21:24:21.959135
2019-05-13T01:42:14
2019-05-13T01:42:14
186,151,156
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
# Copyright (c) 2019. Lorem ipsum dolor sit amet, consectetur adipiscing elit. # Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan. # Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna. # Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagitti...
[ "moonquiz@ya.ru" ]
moonquiz@ya.ru
07bf5e876ec76acc417629cf2befc0a819977d2d
4a4d727cab138c5a3bf3bfb05d48084ba06bd5d4
/Python master/MODULO 7 - API/primeiro_api.py
1bd2268ba3f4021a784fbde76a9f426ed37e5ca4
[]
no_license
RoniNunes/python
9e9d61e69deab02ee9e9955a5e95c7e6ef610e7a
52f6b068f469fc63907b84f67e6005f9b7964442
refs/heads/master
2023-06-16T11:37:35.046750
2021-07-02T11:37:32
2021-07-02T11:37:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
from flask import Flask, jsonify, request app = Flask(__name__) postagens = [ { 'titulo': 'Api com Flask', 'autor': 'Roni nunes' }, { 'titulo': 'Voce ja usou o Selenium?', 'autor': 'Roni nunes' }, { 'titulo': 'Como instalar o python', ...
[ "noreply@github.com" ]
RoniNunes.noreply@github.com
9c398ed840e6c2bc5aa61edeb589e34f35fb1ef5
c36d43dc3ebb5ab987bda1cd7329a6fab58af45b
/semnet/interp/evaluator.py
5575ddf4edf6448507606f8f00ce119d1381ded7
[]
no_license
patgrasso/semnet
e37cacfdab0903b0b5aed5ac010e071f24decb65
e5fd8912a1768f3f59dee937199feaa2158c925c
refs/heads/master
2021-01-12T06:38:10.173145
2016-12-31T00:04:35
2016-12-31T00:04:35
77,401,845
1
1
null
null
null
null
UTF-8
Python
false
false
158
py
class Evaluator(object): def __init__(self, env): self.env = env def valueof(self, node, node_list): self.env.get(node["word"])
[ "pgrasso@stevens.edu" ]
pgrasso@stevens.edu
5b8829efc99be0d97be1f033a445e8090d9021fe
7c0a5b40e86c876e72d3a635a60978dbf1c79c8b
/__init__.py
dbc8e29cabf9ba156d1b1396ed22dcd9204f2a28
[]
no_license
BlenderCN-Org/selection_logic
a48e396f2ebfaf6f750bfa5871f33d49c69b15ba
7d240d626d699e5b41f1b45728730f41a360fc77
refs/heads/master
2020-05-23T21:20:40.599162
2018-10-10T17:35:25
2018-10-10T17:35:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
bl_info = { "name": "Selection Logic", "description": "Advanced selections based on logical conditions.", "author": "Omar Ahmad", "version": (1, 0), "blender": (2, 79, 0), "location": "View3D", "warning": "", "category": "Mesh" } import bpy from . import ui from . import operators clas...
[ "omar.squircleart@gmail.com" ]
omar.squircleart@gmail.com
91b43cda449292a11f4a69bb1dffb18b7872d0b9
32349a7406af3f6926e508dd4154a9042cd8a0b6
/DAA/Dynammic Programming/edit_distance.py
3fd4b208d55bfa264a9def65b8de2f5664df98c2
[]
no_license
anumehaagrawal/LabWork-Sem-4
d78b95b61b2ec94d1ad143768200b739d40c2105
782430f67bb423b84749295a3fef61f241293032
refs/heads/master
2021-05-12T07:30:30.746342
2018-04-17T03:11:12
2018-04-17T03:11:12
117,244,508
2
1
null
null
null
null
UTF-8
Python
false
false
485
py
def edit_distance(str1,str2,n,m): dp_array =[[0 for i in range(m)] for k in range(n)] for i in range(n): for k in range(m): if i==0: dp_array[i][k] = k elif k==0 : dp_array[i][k] = i if str1[i] ==str2[k]: dp_array[i][k] = dp_array[i-1][k-1] else: dp_array[i][k] = 1+ min(dp_array[i][k-1],...
[ "anuzenith29@gmail.com" ]
anuzenith29@gmail.com
9488c0f83f1e5752703d6f5e72ddae45c675c8e9
86095e9590db8bab47b95752b967d9dbb88647da
/client.py
6ee40913d22e329ed34554e2633080860679cf5e
[]
no_license
jrestuccio/python-udp-filetransfer
3cb2e4ec5d0751d133e648fefc20db73755e75c4
0c9e4cf278279a0fb980749eb9a3a2a8ca5796e9
refs/heads/master
2020-12-03T08:13:27.254990
2014-05-05T11:41:08
2014-05-05T11:41:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,013
py
""" :title: client.py :author: Josephine Lim :description: Client to download files from server Summary of packet types: 1 = 0b0001 = read request = \x00\x00\x00\x01 2 = 0b0010 = read response = \x00\x00\x00\x02 4 = 0b0100 = open request = \x00\x00\x00\x04 8 = 0b1000 = open response = \x00\x00\x00\x08 9 = 0b1001 = clo...
[ "thecodeman66@hotmail.com" ]
thecodeman66@hotmail.com
20cb0d0b09a6ffefdcad9798b490f37d638c9fec
73ffeccb2b50320536e375c255c1a48f5dfa4493
/quantified_self_project/settings.py
080b42090d5b843aa1ce6c8b14cd8290e86b11be
[]
no_license
justinetroyke/qs-django
0db7737b96d5deb1e3c6f81a25097b87a4da61c5
095524f8d0e8e83e702bfb02dbab8fb6bd650d17
refs/heads/master
2020-03-27T13:34:49.323224
2018-08-29T15:02:51
2018-08-29T15:02:51
146,617,327
0
0
null
null
null
null
UTF-8
Python
false
false
3,391
py
""" Django settings for quantified_self_project project. Generated by 'django-admin startproject' using Django 2.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """...
[ "jjtroyke@gmail.com" ]
jjtroyke@gmail.com
a77ed31a71760f495bdfed54cbe1295c506714c3
6dd65ba20f60ee02e5d449d1bbe61865a993ab3b
/Monthly_Bussiest_Route.py
9d0eb6636f660d57d29a3156c505f071b3bb0262
[]
no_license
subhanshugpt07/Aviation_Big_Data_2017
a065aa52afaa287d489b88cd89c2df3544521fb0
fd5d68c6f9dfa92853ba67e2cfceda8d15f602bb
refs/heads/master
2021-07-03T08:20:12.739348
2017-09-24T23:21:44
2017-09-24T23:21:44
104,683,057
2
0
null
null
null
null
UTF-8
Python
false
false
3,243
py
from pyspark.sql.functions import * import csv from pyspark.sql.types import * from pyspark.sql.functions import * from pyspark import SparkContext from pyspark.sql import HiveContext from pyspark.sql.functions import * from pyspark.sql.functions import udf from pyspark.sql.types import BooleanType from pyspark.sql imp...
[ "sg4595@nyu.edu" ]
sg4595@nyu.edu
24c336f380a817f634b1f446450fdffa2ad476f9
7ace4c9742af543db1965afec55b115b38d70aea
/programs/classconsrtuctor.py
1d91c88cb6d14bb1fccabcfaaa58948dd4b781f5
[]
no_license
abhis021/C-DAC
8a7472517fb9d664cdcf1d6b33146219da970943
cd002a5740f63aa6fd25b982a4c7f2942877f12d
refs/heads/main
2023-08-25T03:36:35.726671
2021-10-17T07:41:27
2021-10-17T07:41:27
416,581,367
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
class partyanimal: x=0 name=' ' def __init__(self,name1): self.name=name1 def party(self): self.x=self.x+1 print(self.name,'party count',self.x) an=partyanimal('sally') an.party() na=partyanimal('jim') na.party() na.party()
[ "abhisheku722@gmail.com" ]
abhisheku722@gmail.com
eb66be29af0e15d10254c571bd6fd7164a88478f
3b0a27a6fbaed8a3cba81a70f0142e99b8ce60c7
/blender/io_import_sprites/export_scripts.py
8a16ddcd39c4a45f817cbd941ce7ef358f390af0
[]
no_license
sangohan/flumpkit
43b263bdf8076c5e02234b1ccd644370a93ec2d0
017a3f94b9363b719a6a502a4c42e66bfc305223
refs/heads/master
2021-01-16T20:31:51.898801
2013-08-07T18:03:58
2013-08-07T18:03:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,996
py
## Author: Daniel Gerson ##GPL 3.0 unless otherwise specified. import bpy from bpy.types import Operator from bpy.types import Menu, Panel import mathutils import math import os import collections import json import re from bpy.props import (StringProperty, BoolProperty, EnumProperty, IntProperty, Flo...
[ "daniel@mambo.co.za" ]
daniel@mambo.co.za
800613bb979e2a651e7833167d3b6536f748963a
699add6df73ad158b8ebeb5f9de4aada5820f205
/facebook/app/posts/models/comments.py
51bab010f0aef4c5c779bd1f65e15e568916fbfe
[]
no_license
ricagome/Api-Facebook-Clone
4f035ad280e6cb48d375fd87a9f62eecce67eb51
fae5c0b2e388239e2e32a3fbf52aa7cfd48a7cbb
refs/heads/main
2023-08-17T12:34:33.379017
2021-10-05T21:23:32
2021-10-05T21:23:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
"""Comment model.""" # Django from django.db import models # Utilities from app.utils.models import FbModel class Comment(FbModel): """Comment model.""" user = models.ForeignKey('users.User', on_delete=models.CASCADE) profile = models.ForeignKey('users.Profile', on_delete=models.CASCADE) post = mo...
[ "juliancamilohermida@hotmail.com" ]
juliancamilohermida@hotmail.com
2d0fe84cfd8f2ee9d2079fa3b668038f362c4362
e48faca9b6e2016ae936a77e8acc2f9bce08d207
/series_in_func.py
d6418cb68aeeb2c92160d18f6dd99020f817e56e
[]
no_license
ramachitikineddy/becomecoder
84d7315e7f99c1e18855350c9f14729ba8e57087
d4e9611bb8a82dd0fb85a33e9b00443daee1e781
refs/heads/main
2023-05-06T20:59:51.022901
2021-05-29T10:33:17
2021-05-29T10:33:17
367,065,138
1
1
null
null
null
null
UTF-8
Python
false
false
172
py
def seq(n): if n%2: return 3*n+1 return n//2 n=int(input()) print(n,end=" ") while (n:=seq(n)): print(n,end=" ") if n==1: break
[ "noreply@github.com" ]
ramachitikineddy.noreply@github.com
d0e2832e8ee5e98f43faaa16e7637d13c046db78
29fc564df8ee16a2d140cbd150260e04f4ddc5c5
/0x0A-python-inheritance/10-square.py
6c8775c89972ea3d1271833f32c5db7e5717d8fe
[]
no_license
ChristianAgha/holbertonschool-higher_level_programming
9359fdf4e3f30ed4422a0af59672ac5ff397d4a2
cce59b31aba3e2a09cb4bf76a6fcfeefa7ab5031
refs/heads/master
2021-01-20T07:15:31.258319
2017-09-27T05:53:25
2017-09-27T05:53:25
89,984,551
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
#!/usr/bin/python3 """Geometry Module""" class BaseGeometry: """class BaseGeometry""" def area(self): """raises an Exception with the message area() is not implemented""" raise Exception("area() is not implemented") def integer_validator(self, name, value): """validates value""" ...
[ "christianagha@gmail.com" ]
christianagha@gmail.com
5483a62a0289eaf03b82b517c8e78dd11f7e8a9d
4a2f163e603f90d5b9a4b2a100d7bc7bc77d1c95
/predicting_biological_response/hemy_example.py
401b7f3d5dd2f883930c7bfdf5ca5cfa2b058519
[]
no_license
tusonggao/data_cck
d781334bd1d425f6ecd613ebdb194835846e3adb
91d48589e8431fd00d70348dcb049c52fdcd2c7f
refs/heads/master
2020-04-09T03:59:09.931284
2020-01-26T15:54:14
2020-01-26T15:54:14
160,005,725
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# https://blog.csdn.net/data_scientist/article/details/79036382 # https://blog.csdn.net/Gin077/article/details/84339790 # https://github.com/rushter/heamy
[ "tusonggao@163.com" ]
tusonggao@163.com
2df9cffd7c706f44089b51dd1178e45e110bfbc7
8149d1030b5bc62cc82d5afedbe7486daedbf8c5
/[829][Consecutive Numbers Sum][Medium].py
4810671219d8327bd315d73d7fbaf90d1a403a40
[]
no_license
guofei9987/leetcode_python
faef17bb59808197e32ed97e92e2222862e2ba8c
23703a6fb5028d982b3febc630e28f9bb65a82a6
refs/heads/master
2020-03-21T18:24:33.014579
2019-10-12T13:29:03
2019-10-12T13:29:03
138,889,760
1
0
null
null
null
null
UTF-8
Python
false
false
55
py
# https://leetcode.com/problems/consecutive-numbers-sum
[ "guofei9987@foxmail.com" ]
guofei9987@foxmail.com
88e7be6d96ec8e784aba5e12b0692d4c5beb1949
2db7597686f33a0d700f7082e15fa41f830a45f0
/Python/LeetCode2.0/DP/72.Edit Distance.py
b071302d4d3bdf3daf32936c19f8404f75c65131
[]
no_license
Leahxuliu/Data-Structure-And-Algorithm
04e0fc80cd3bb742348fd521a62bc2126879a70e
56047a5058c6a20b356ab20e52eacb425ad45762
refs/heads/master
2021-07-12T23:54:17.785533
2021-05-17T02:04:41
2021-05-17T02:04:41
246,514,421
2
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
#!/usr/bin/python # -*- coding: utf-8 -*- # @Time : 2020/05/09 ''' input: two words: str; the length of word is from 0 to inf output: int; the number of modify steps corner case: one of the word is ‘’ → len(word2) both words are ‘’ → 0 Method - DP Steps: build DP table; the size of table is (len(word1) + 1)* ...
[ "58391184+Leahxuliu@users.noreply.github.com" ]
58391184+Leahxuliu@users.noreply.github.com
89a66584f244256442569d26ef92908874f586c1
7da8913218b6450e83c3833f21315630717c7d88
/thomasStudents/odu.py
c3de060757e7fb196b013215e6237d1f35168bf4
[]
no_license
andrefisch/PythonScripts
b028bec4ebf0f4442face3602dd136235efc32fa
bd68981ac931ab9ea7b44761647f5e2fff04e4c8
refs/heads/master
2021-01-17T13:10:49.227307
2017-07-06T04:30:43
2017-07-06T04:30:43
57,985,283
0
0
null
null
null
null
UTF-8
Python
false
false
2,842
py
from urllib.parse import urlencode from urllib.request import Request, urlopen import pandas import openpyxl import re import math import pygame, time ''' 1. import spreadsheet 2. for loop: A. find value in cell C(row) B. make a request to database C. find student in response using last name C(row) and fir...
[ "anfischl@gmail.com" ]
anfischl@gmail.com
ddad2ca9b7b59fdf640e2b0a0f29fdc4854b3efb
a1a789f14eb2d5c039fbf61283b03f2f1e0d2651
/jeopardy/migrations/0002_auto_20150622_0957.py
7c525a02cd0795373e6b581937c6f647021a3936
[ "MIT" ]
permissive
codefisher/web_games
279bf5be5a348951e6ae3361c24b696ac841e01c
d09ffb8f86b24e04568b2a33c94aa49d80455715
refs/heads/master
2021-01-10T13:10:33.097712
2017-07-12T05:46:37
2017-07-12T05:46:37
36,868,291
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('jeopardy', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='points', options={'...
[ "mail@codefisher.org" ]
mail@codefisher.org
92d9d24d3beb5ec8799d88be94123456d4805482
9da1a3470d60a667167ecba0a49915296de2fbc8
/server/app/utils/token_util.py
f57cff5e5ac332cd85b84fb05b608e2dbac6f71e
[ "MIT" ]
permissive
csu-xiao-an/web_info_monitor
5d01d296b2fc9583a1029df30af1cd89feff4419
5f39254a4ae014e1a2017006290585b4648cc013
refs/heads/master
2020-07-27T08:46:16.882741
2019-09-09T14:08:44
2019-09-09T14:08:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,545
py
from flask import jsonify from itsdangerous import TimedJSONWebSignatureSerializer, SignatureExpired, \ BadSignature from app.models import User import os secret_key = os.environ.get("secret_key", "recar") #返回token字符串 def generate_auth_token(uid, is_amdin=False, scope=None, expiration=5000...
[ "yansiyu@360.net" ]
yansiyu@360.net
9aa84188689bfa3d627c30002874472a97dc229a
499ff5445e2017d042690c0429cf2e767a7f623f
/coral/io/_abi.py
b19a2ab0ec287ad6d000026ece9b71f749677f3a
[ "MIT" ]
permissive
blthree/coral
b6ab934c10271d7b790130fe45e622b7c66921b4
30514735d9a51487583535a3a7e3fbfd0fe15ed8
refs/heads/master
2021-01-22T10:14:52.018579
2017-02-19T00:28:33
2017-02-19T00:28:33
81,997,699
0
0
null
2017-02-14T22:58:59
2017-02-14T22:58:59
null
UTF-8
Python
false
false
3,069
py
'''Read and write DNA sequences.''' import coral as cr import numpy as np import os from . import parsers from .exceptions import UnsupportedFileError def read_abi(path, trim=True, attach_trace=True): '''Read a single ABI/AB1 Sanger sequencing file. :param path: Full path to input file. :type path: str ...
[ "nbolten@gmail.com" ]
nbolten@gmail.com
89e6f9abf269be06d699b31d7a18f80d863cd0af
ea57b713f59d2e2a8d6f4b0b6938c20a8ae6d67d
/fetchQzone/iszhi.py
96f87ced87c63b0bdd70fb54d9775a8bf09cc8d9
[]
no_license
guoyu07/fetchQzone
9919f9fad3d44a4643ebaba61d534f3d99c95f8f
db0d69b7d4369bd8aaafc2af8f14fdbe6316d294
refs/heads/master
2021-05-28T20:50:23.052035
2015-03-06T05:10:56
2015-03-06T05:10:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
def iszhi(x): cnt=0 if x<=1: return False for m in range(1,x+1): if x%m==0: ++cnt if cnt>2: return True return False
[ "zhangxu1573@qq.com" ]
zhangxu1573@qq.com
ab0c049cca67cdb3f90aa2e8ce48ecceed5f6ce8
83acd2e879b8d1dfbd7d735193539b8537e86d08
/pyropod/ropod/ftsm/ftsm_base.py
b5a56108172f6d678c51713eb4724ab28dca21d7
[]
no_license
HBRS-SDP/ropod_common
89b296e6bb56dc225319850036d3a63efd46ace9
5ce24b8ae79239f4fd5d2249fd33d1b1061eaceb
refs/heads/master
2020-05-09T23:39:11.209722
2019-03-12T12:59:48
2019-03-12T12:59:48
181,508,576
0
0
null
2019-04-15T14:52:18
2019-04-15T14:52:18
null
UTF-8
Python
false
false
1,339
py
from pyftsm.ftsm import FTSM, FTSMStates, FTSMTransitions class FTSMBase(FTSM): '''ROPOD-specific implementation of a fault-tolerant state machine @author Alex Mitrevski @maintainer Alex Mitrevski, Santosh Thoduka, Argentina Ortega Sainz @contact aleksandar.mitrevski@h-brs.de, santosh.thoduka@h-brs.de...
[ "aleksandar.mitrevski@h-brs.de" ]
aleksandar.mitrevski@h-brs.de
edc33e4a7d63438dd82b67c0afebd70a4f1e0c49
6fb6a62a33b13690f3c95c166f07a736836308b6
/functions/cartupdate/main.py
483369e75fa95ce5f8173cd6d6f83a32c2c1ff5e
[]
no_license
Dualic/petshop
88172ed47d65ccef79342524262b4de26995a463
03443c0b8c2a3a12e9552a5924b99745fb4b6465
refs/heads/master
2023-07-16T08:53:22.961111
2021-09-03T12:16:17
2021-09-03T12:16:17
401,612,658
0
2
null
2021-09-03T09:40:14
2021-08-31T07:29:40
Python
UTF-8
Python
false
false
1,334
py
def getsecret(secretname): import google.cloud.secretmanager as secretmanager client = secretmanager.SecretManagerServiceClient() name = f"projects/week10-1-324606/secrets/{secretname}/versions/latest" response = client.access_secret_version(request={"name": name}) return response.payload.data....
[ "ilkka.o.pekkala@gmail.com" ]
ilkka.o.pekkala@gmail.com
005779a57f96302b20a3bcde3152d53965d436f1
d496d504bf4ccdb59fbbeeee7b5d70ae7ab136b8
/ts_development/version1/ts__development/models/models.py
7448e94a50dfbd30c0d9546155d7beafbc13bcf3
[]
no_license
taybahsoftegy-dev/ts-modules
6e92bb0748238fcde38df146ab73ae311f16df55
cf4ec549943a0ba29d203ef1611a337040389d64
refs/heads/master
2022-11-08T23:18:37.734241
2020-06-29T12:45:15
2020-06-29T12:45:15
275,809,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
# -*- coding: utf-8 -*- from odoo import models, fields, api,_ import time class Development_Tracking(models.Model): _name = 'development.tracking' _inherit = ['portal.mixin', 'mail.thread.cc', 'mail.activity.mixin', 'rating.mixin'] _mail_post_access = 'read' _check_company_auto = True # _mail_post...
[ "dev.mohamedfci@gmail.com" ]
dev.mohamedfci@gmail.com
0d3b60023a60eed6ae0274a83fd1daecbd04b513
95749b75c446df3ce4aabb03d5aec90de793e207
/gemini/taskapp/celery.py
722f621c5679f886e12c4c93ba9692df4ba43474
[]
no_license
Hawk94/gemini
8288a11499c4cc12c8c79641a51b5e99afe268c5
3a4d0b13488b8e9fbc40dc3cde338b61bc04b494
refs/heads/master
2020-06-24T11:37:22.204269
2017-07-12T20:33:21
2017-07-12T20:33:21
96,935,334
0
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
import os from celery import Celery from django.apps import apps, AppConfig from django.conf import settings if not settings.configured: # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.local') # pragma: no cover app = Cele...
[ "x99tom.miller@gmail.com" ]
x99tom.miller@gmail.com
b534f887f4eef332a9a1d5dc5f0a6b197b40df84
29ad238bedc14b3c268b22777391b25fb8701858
/config.py
5c010a83ee93ad59c31d5579d15039b6b2d83b60
[]
no_license
chiris-ye/-
2c079efe602f390fc5fdfd2d3a74d73d840c3cfd
84b836a637c6647ab13d801caff03359956536c0
refs/heads/master
2021-12-10T02:36:58.345901
2021-11-03T06:40:14
2021-11-03T06:40:14
262,729,476
0
0
null
2020-05-10T06:52:20
2020-05-10T06:52:19
null
UTF-8
Python
false
false
174
py
class config(): embed_dim = 300 hidden_dim = 300 layers = 1 dropout = 0.1 seq_in_size=7200 fc_dim=100 out_dim=2 mind_dim = 600 man_dim=16
[ "noreply@github.com" ]
chiris-ye.noreply@github.com
d24b0c9ae9dcf47759d369bdaf972fc87c046577
8dfd0de8519bf29565cf44ac342587a2b93fb086
/sonar.py
6dbb5b8b2981536bd1f86487a0012dbc577fb58c
[]
no_license
ThePfarrer/Invent-Your-Own-Games
d058fdbb5f7408ab5ac3b4a301298fda62b0d458
ae13a457277f0cad53185bb1d611203eb78c22b0
refs/heads/master
2023-02-09T17:57:11.661474
2021-01-06T18:46:41
2021-01-06T18:46:41
323,171,153
0
0
null
null
null
null
UTF-8
Python
false
false
7,797
py
# Sonar Treasure Hunt import random import sys import math def get_new_board(): # Create a new 60x15 board data structure. board = [] for x in range(60): # The main list is list of 60 lists. board.append([]) # Each list in the main list has 15 single-character strings. for y in r...
[ "orezpablo@gmail.com" ]
orezpablo@gmail.com
1bb19df97eb432adc4d8988bc491abf66979b71f
babf32f611200957e4e2a6bd3c156916b891c43f
/mysite/settings.py
b9d178757d2991419be0a8125ff4f05d4507fd1a
[]
no_license
Tawfiq-Abu/new_blog
5faffc2f569d4cc4f7e56ea9207d5ac97c64e5cd
10743b8ac6ef665a928e909aba8f4c1d4557964f
refs/heads/main
2023-02-19T16:54:43.002556
2021-01-19T11:44:10
2021-01-19T11:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,076
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "tawfiqabubakr7@gmail.com" ]
tawfiqabubakr7@gmail.com
abedc4c120a71cfaac46c76124d5f686290bce4b
2255a4eb151b85df055d3b66455bd788b6928592
/lcs.py
24442756a9a6765b6654a20e307ef03c08b6fd1c
[]
no_license
mloo3/LocalHooks
fcfe073d6be32b54421b860920a3de59a948282c
9ff07384e544150d2677906683a7f55c31ebd4dc
refs/heads/master
2021-01-01T19:22:27.343172
2017-07-28T19:35:33
2017-07-28T19:35:33
98,575,650
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
def lcs(x,y): m = len(x) n = len(y) l = [[None]*(n+1) for i in range(m+1)] for i in range(m+1): for j in range(n+1): if i == 0 or j == 0: l[i][j] = 0 elif x[i-1] == y[j-1]: l[i][j] = l[i-1][j-1]+1 else: l[i][j] ...
[ "slayer71432@gmail.com" ]
slayer71432@gmail.com
9c33d363aec75e149c68e57f14c11dbc0baa71bd
3825f56bef58063374d56d06a9de3418d04bedd6
/exercices/advanced-modules/stringio.py
168ebcf3ec63621fd6fabcba9afb42aea7e44b71
[ "MIT" ]
permissive
cfascina/python-learning
a989869846fe8eca45f2f0717ea958bd603d12e5
1bc1d4032fb68456a092229de94b5207db7e9143
refs/heads/master
2020-05-20T08:48:06.121746
2019-07-11T18:07:01
2019-07-11T18:07:01
185,482,445
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
import io # StringIO method sets the string as file like object file = io.StringIO("This is just a normal string.") # Read the file and print it print(file.read()) # Reset the cursor and writes a new string file.seek(0) file.write("Second line written to the file like object.") # Reset the cursor, read the file aga...
[ "cfascina@gmail.com" ]
cfascina@gmail.com
8ccd44a76e64b8cc0ad921f213460c409e895266
cc7b4e71b3c27240ec650a75cc6f6bbab5e11387
/crdb/templatetags/email_tags.py
b13eedd6c32b7950e6ee3313c89e155c42547e14
[ "MIT" ]
permissive
jsayles/CoworkingDB
0cdada869d950a28cfef20d1b9c1eb3eb4d7b1c2
78776910eba0354a7fd96b2e2c53a78e934d8673
refs/heads/master
2023-02-22T23:11:19.040799
2021-12-28T19:13:39
2021-12-28T19:13:39
883,951
3
0
MIT
2023-02-15T17:59:10
2010-09-02T18:36:43
Python
UTF-8
Python
false
false
764
py
import os from django.template import Library from django import template from django.conf import settings from django.utils.html import format_html from django.urls import reverse from crdb.models import EmailAddress register = template.Library() @register.simple_tag def email_verified(email): if not email: ...
[ "jsayles@gmail.com" ]
jsayles@gmail.com
385836ada1f0c7aa8919ec7aeb97acca6aea94c0
644b13f90d43e9eb2fae0d2dc580c7484b4c931b
/network2.py
5dbc8833c5526d15e355e3169680c46c4a5bc280
[]
no_license
yeonnseok/ps-algorithm
c79a41f132c8016655719f74e9e224c0870a8f75
fc9d52b42385916344bdd923a7eb3839a3233f18
refs/heads/master
2020-07-09T11:53:55.786001
2020-01-26T02:27:09
2020-01-26T02:27:09
203,962,358
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
def cal_ans(): temp = [] ans = 0 for i in range(len(src)): if src[i] == 0: if len(temp) == 5: temp = temp[1:] temp.append(i) else: ans += i * len(temp) - sum(temp) for j in temp: link[i + 1].append(j + 1) ...
[ "smr603@snu.ac.kr" ]
smr603@snu.ac.kr
e1e3124cd44931303505037d6d88f51555fb555a
403e7f22b8dd4119fc83d153d6dc6e3520ac1922
/python-scripts/S3/awsS3PutBigFiles.py
b1f76cdc33db30acf3ebdecee8ddf7bb2eea8edd
[]
no_license
vincedgy/AWS-Scripts
1e56c13245b38f5c520a4207acf544f1d01ac5cb
f350167c200700daea23ad9dcbe609ab1d7b90d9
refs/heads/master
2020-03-29T00:39:13.453200
2017-11-01T20:34:25
2017-11-01T20:34:25
94,635,738
2
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
""" """ # Create a big file (100 Mb): # dd if=/dev/zero of=/tmp/bigfile bs=1024 count=0 seek=$[1024*100] import os import sys import threading import boto3 from boto3.s3 import transfer class ProgressPercentage(object): def __init__(self, filename): self._filename = filename self._size = float(os...
[ "vincent.dagoury@gmail.com" ]
vincent.dagoury@gmail.com
346dfc71b0db9a749e8ee1d65b7425c276ff9cb1
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1797637/homework01/program03.py
1dea672b0e9890cc0e4a8907a314950ef5731495
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
1,579
py
def codifica(chiave, testo): ''' Viene codificato e restituito un testo, fornito il testo stesso e una chiave di codifica''' codifica=codifica_chiave(chiave) for indice,carattere in enumerate(testo): if carattere in codifica.keys(): testo = testo[:indice]+ testo[indice:].replace(testo[indice],codif...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
732ef0438ed7f6a4a45a2ba312e54337afc3e84a
c7f8193a80d68b6144af8d9b2e2f012bf463af6a
/busstop.py
e02b0e8415b6ff5dc87ad36202eda1409cd94c78
[]
no_license
marcteale/DAKboard-OneBusAway-integration
8c060360062f07d1be4e1f88e7d0759b3efd8a8d
9803aa8568828e8b0533e5c4f452b50f424805b1
refs/heads/master
2020-03-21T08:29:31.120908
2018-10-03T19:36:04
2018-10-03T19:36:04
138,347,228
0
0
null
null
null
null
UTF-8
Python
false
false
4,173
py
#!/usr/bin/env python3.6 import configparser import json import os import sys from datetime import datetime import requests def get_departures_for_stop(departures, stop_id, routes, minutes_before, minutes_after, server, apikey): """Fetch the departures for the requested stop and return them as a dict.""" r ...
[ "marc.teale@openmarket.com" ]
marc.teale@openmarket.com
cfd392a9079699ee6d0b693e945546b5a1178576
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_301/ch41_2019_04_04_16_40_15_344267.py
6c41a0d67bc67884cf85bc1629a7262fa142531b
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
a=input('que palavra? ') while a!='desisto': a=input('que palavra? ') print(voce acertou)
[ "you@example.com" ]
you@example.com
a105b75168724e5d6040804652d0f8dd4fadeb5e
ca97700838056596c072a0b63934f179c6fbac17
/_21_ev_differentDER.py
6e2edf1852af3d9af8f4081db991a47e467510ae
[]
no_license
mlamlamla/powernet_pyGridlabD_eval
c18bff98164eb6df4ae79a157b840a59c19ff6d9
54275cbd86517bb1728e72824ba16fcbec99e767
refs/heads/master
2022-04-17T11:50:17.273163
2020-04-03T18:23:18
2020-04-03T18:23:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,644
py
import os import pandas as pd import numpy as np def get_monthly(run,ind,month,df_total_load_all=None): folder = '/Users/admin/Documents/powernet/powernet_markets_mysql/'+run+'/'+run + '_' + ind directory = run + '_' + ind + '_vis' #Procurement costs df_system = pd.read_csv(run+'/' + directory +'/df_system.csv',i...
[ "admin@admins-air.attlocal.net" ]
admin@admins-air.attlocal.net
03ab69e575d2a03c8d9095898808b1c4e3877e59
6db68bd7f4e792d3df009671c10cbe93f963c5e6
/NOC_Chp0/NOC_0_3/walker.py
db7d99af07feffb25e3763feabc401da99e501ab
[]
no_license
mickardinal/The-Nature-of-Code-Python
0ce9125b92707a9de4dd57a77c4a92c04df66467
a883e365051826228002317741df7d198eae6dfe
refs/heads/master
2020-03-11T20:55:21.939021
2018-04-25T16:29:06
2018-04-25T16:29:06
130,250,157
1
0
null
null
null
null
UTF-8
Python
false
false
408
py
class Walker(object): def __init__(self): self.x = width/2 self.y = height/2 def display(self): stroke(0) point(self.x, self.y) def step(self): r = random(0, 1) if r< 0.4: self.x += 1 elif r < 0.6: self.x -= 1 ...
[ "jsrdccsx@gmail.com" ]
jsrdccsx@gmail.com
3923da15d3cfb9a730088a4d9708e6a18aa4ff3f
2ef742fe5e3208715208ff711eb2046acc1f5ef6
/NathHorrigan/wsgi.py
b4e20145e98ba5cc686716da381e9690d4db59ac
[]
no_license
NathHorrigan/NathHorrigan.com
9ac53208061b16d3f8bc4a00e4575df83083dc7c
636165b718659cf5dcd70ed29251ae69b4b09748
refs/heads/master
2020-03-20T16:23:07.531145
2018-08-31T22:22:13
2018-08-31T22:22:13
137,537,826
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for NathHorrigan project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "nathan_horrigan@icloud.com" ]
nathan_horrigan@icloud.com
8eac566ccd717ac44dc96ccf4939d880776e6da5
abeb7f8ce8fa3fe3035ad6d7139273266588248f
/bottles.py
6797be3262b2af6facecda607921990935effc46
[]
no_license
mohanoatc/pythonSamples
dcddd6a9d989c5435d17bc888aa19ed6bc94c1c1
6ff5657e24d46b9d47561e9c9c5fe5735f65aea3
refs/heads/master
2020-03-22T14:16:46.219459
2018-07-15T12:03:17
2018-07-15T12:03:17
140,166,562
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
for bottles in range(10, 0, -1): if bottles > 1: print(bottles, " bottles of beer on the wall") print(bottles, " bottles of the beer ") else: print(bottles, " bottle of beer on the wall") print(bottles, " bottle of the beer ") print("Take one down.\nPass it around.") ...
[ "noreply@github.com" ]
mohanoatc.noreply@github.com
1ae7978cbc58218d181868d7280ebd339c401050
099f7e9234cd8b3afa6f7cd8cb81a654ca5043ea
/models/payment.py
38bf0252591bf723514586c8ec8f04e40171c1d6
[]
no_license
nazrinshahaf/Nextagram_python
1716893e7b4466fec5b9d48fd630e00d01f2b74f
8738929ca6f11da6943b9093f05bd445ff58e951
refs/heads/master
2022-12-11T21:45:58.316999
2020-02-04T10:35:55
2020-02-04T10:35:55
235,014,627
0
0
null
2021-06-02T00:56:25
2020-01-20T03:55:13
HTML
UTF-8
Python
false
false
492
py
from models.base_model import BaseModel import peewee as pw from models.user import User from models.user_images import User_images from config import S3_LOCATION from playhouse.hybrid import hybrid_property from flask_login import current_user class Payment(BaseModel): user = pw.ForeignKeyField(User, backref='don...
[ "nazrinfernandez@gmail.com" ]
nazrinfernandez@gmail.com
10dfdf1f98da77c3edb8bc6c1a987c773d2ff61f
bb4e603d41c040114a6161427593e30fad02828b
/classwork4.py
4db534ef9a08d9437b14bcf379813698bf674fbe
[]
no_license
MS-Dok/pythonCore
40871c8dc53bee583fb12a6366db2275521d6e6e
d0d89997022f0e284626035d6fa61d94183d8f80
refs/heads/master
2021-07-02T00:52:31.621971
2020-10-20T12:29:40
2020-10-20T12:29:40
184,242,248
1
0
null
null
null
null
UTF-8
Python
false
false
4,404
py
"""1. Створити список цілих чисел, які вводяться з терміналу та визначити серед них максимальне та мінімальне число. """ user_value=int(input("Enter the value: ")) print("Min value is",min([x for x in range(user_value)])) print("Max value is",max([x for x in range(user_value)])) """ 2. В інтервалі від 1 до 10 в...
[ "noreply@github.com" ]
MS-Dok.noreply@github.com
20ba1ba73360f4befafe0351c226f32696426e2f
a8163b09c4b4a58fc82cdb6ff8df29197fd15945
/_OldVersion/index.py
2756bb9c27b13e6d15761ae94704a0c1842d6512
[]
no_license
zhudonlin/Fuck_HENUDC
bd78a78f0807e96fdfda36a727c2c017cab7ad9c
0aa398333c1d8e42c4820f6b80292509af46cfd0
refs/heads/main
2023-07-14T13:43:51.803980
2021-09-03T08:08:13
2021-09-03T08:08:13
402,689,111
1
0
null
2021-09-03T07:46:57
2021-09-03T07:46:56
null
UTF-8
Python
false
false
16,520
py
# -*- coding: utf-8 -*- import sys import json import uuid import oss2 import yaml import base64 import requests import time import random import uanalyse from pyDes import des, CBC, PAD_PKCS5 from datetime import datetime, timedelta, timezone from urllib.parse import urlparse from urllib3.exceptions import InsecureReq...
[ "yulonger@outlook.com" ]
yulonger@outlook.com
e8b2f8c81f953e4c0e4a8d266dceb71804203e01
7f25740b1ef47edc24db1a3618b399959b073fe1
/1029_17_smallproject.py
97673d239a34ef5759856f9eeba050bcf1977446
[]
no_license
pjh9362/PyProject
b2d0aa5f8cfbf2abbd16232f2b55859be50446dc
076d31e0055999c1f60767a9d60e122fb1fc913e
refs/heads/main
2023-01-09T12:12:06.913295
2020-11-07T15:32:03
2020-11-07T15:32:03
306,814,117
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
cost = int(input()) cpn = input() if cpn == "Cash3000": print(cost-3000) elif cpn == "Cash5000": print(cost-5000) else: print("쿠폰이 적용되지 않았습니다.") print(cost)
[ "pjh9362@gmail.com" ]
pjh9362@gmail.com
aa9c14845c14707dc3ac40e78df6b0a435a73c19
051fff90eb3fcb1f928c5857992fef351fc1ba04
/output/figuresAndTables/makeFinalTables.py
92d6e9cd2931bb2d07a7fdcae6dad5e5ed9ca5cd
[ "MIT" ]
permissive
AndresYague/Snuppat
1503c8a729513d857a04a7963b8256451c9f6cd1
8a7f73fbc260bab67b5d38ed1efc628980f5047c
refs/heads/master
2021-06-08T11:22:11.930896
2021-04-08T12:58:53
2021-04-08T12:58:53
67,886,532
0
0
null
null
null
null
UTF-8
Python
false
false
2,455
py
def getKeyList(indx, lst): '''Return adecuate value from list''' if indx >= 0 and indx < len(lst): return lst[indx] else: return "--" def printTable(storeNamVal): '''Print table in order''' nCol = 3 keys = [x for x in storeNamVal.keys()]; keys.sort() nEls = len...
[ "and.yague@gmail.com" ]
and.yague@gmail.com
43f6176cdac6fed43d610aadb95791ffb1bc8e31
5f6e95aa83ca132c732f644c51e786785e9bdd2f
/src/e_psu/e_psu/urls.py
c6ecbf46fdf3b32c7d3230b71dd508c60b649c90
[]
no_license
kerupuksambel/django-e-pantau
9905a9902752fd5143e03326a0ab585f09ccb50d
bbadcd31984c9bd254ac2cc23a30f55a9fe5b997
refs/heads/master
2022-12-22T07:28:58.444314
2020-10-02T14:35:05
2020-10-02T14:35:05
300,641,855
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
"""e_psu URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
[ "kerupuksambel.2000@gmail.com" ]
kerupuksambel.2000@gmail.com
3947c1886e64b2e14da5a55a34c8661ff9cdde6c
ed8c7fba9c5592b14ab79eac399813d9d0537b7d
/website/migrations/0001_initial.py
fac9f699cda3d22a2ad1bac05bf8e333a9cb5fe6
[]
no_license
OpenWebCurtin/Catching-out-corruption
4834f7d95393b71009347237aff08f7726049a7a
33617c4d01dd33f118aaac4c562948598f6206ba
refs/heads/main
2023-01-18T19:21:26.723344
2020-11-23T13:07:19
2020-11-23T13:07:19
315,027,698
0
0
null
null
null
null
UTF-8
Python
false
false
14,429
py
# Generated by Django 2.2.6 on 2019-10-31 16:18 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
[ "r.a.clydesdale+bb-ccp@gmail.com" ]
r.a.clydesdale+bb-ccp@gmail.com
a86eb97efcd2033e7ba2688689a2d35a96976693
48295cd5f8e7a1b1cfda8b9642012611488156ce
/users/migrations/0004_auto_20191123_1158.py
69f25c440fe48acfb912e16d8e4f514085e401e8
[]
no_license
mugglecoder/airbnb-clone
0c47445761e9f9fd82805299ddab46e382e9b5a4
6276cdeaa13b1a88697b62d322dcb871d9a5e25a
refs/heads/master
2022-12-10T14:00:47.409310
2020-01-05T14:14:39
2020-01-05T14:14:39
212,250,078
0
0
null
2022-12-10T11:01:26
2019-10-02T03:44:49
Python
UTF-8
Python
false
false
563
py
# Generated by Django 2.2.5 on 2019-11-23 02:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0003_auto_20191123_1051'), ] operations = [ migrations.RenameField( model_name='user', old_name='email_conf...
[ "winkknd@naver.com" ]
winkknd@naver.com
7d24324bd1f5837946c3a16a2bf594cd700afd24
9d53d831b631c5431d625848ca0dbd1e4a02eb78
/pybo/models.py
7f387f16dda1be32c0a6e106a2f4bc1f0512818a
[]
no_license
jghee/Django_pratice
2b918f730dc40cd6f0c9881ad1c176906e84de8f
859befa7b04df8dd119cd6c8985d0c13edd7521a
refs/heads/main
2023-06-20T19:56:37.231458
2021-07-17T02:43:25
2021-07-17T02:43:25
383,633,921
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Question(models.Model): subject = models.CharField(max_length=200) content = models.TextField() create_date = models.DateTimeField() author = models.ForeignKey(User, on_delete=models.CASCADE, rel...
[ "ghj171937@gmail.com" ]
ghj171937@gmail.com
181d7604566e31eea4b774b2ae9b3356926009e6
a40950330ea44c2721f35aeeab8f3a0a11846b68
/VTK/Actors/ThreeLine.py
e780418bfccbe2f4be8ca077eaf8f0c68c4225b5
[]
no_license
huang443765159/kai
7726bcad4e204629edb453aeabcc97242af7132b
0d66ae4da5a6973e24e1e512fd0df32335e710c5
refs/heads/master
2023-03-06T23:13:59.600011
2023-03-04T06:14:12
2023-03-04T06:14:12
233,500,005
3
1
null
null
null
null
UTF-8
Python
false
false
3,218
py
import vtk # Visualize colors = vtk.vtkNamedColors() # Create points p0 = [0.0, 0.0, 0.0] p1 = [1.0, 0.0, 0.0] p2 = [1.0, 1.0, 0.0] p3 = [0.0, 1.0, 0.0] p4 = [2.0, 0.0, 0.0] p5 = [2.0, 1.0, 0.0] # LineSource: draw a line with two points def createLine1(): lineSource = vtk.vtkLineSource() lineSource.SetPoint1...
[ "443765159@qq.com" ]
443765159@qq.com
06a25a1b6196b3b4b67262bea39f8289fb2daa7e
c059ed04ed5f72d11dbe3b01e9395bacd28b6e8b
/문자열내p와y개수.py
fdb32a8a8483982f6580418362fe2487966dd8ad
[]
no_license
kimhyewon0/kimhyewon0.github.io
532b5feb214d686865b8e6169251de8dca7a2caf
eaac275ff5b933e477099c9b4c3a1b69e05fa521
refs/heads/master
2021-01-23T04:13:25.509101
2019-09-22T16:40:30
2019-09-22T16:40:30
33,710,735
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
def solution(s): s=s.upper() if s.count('P') ==s.count('Y'): return True else: return False print(solution("Py"))
[ "coope0357@gmail.com" ]
coope0357@gmail.com