blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
1f7723168e6a49bcdc616eed2a91fc7a05d1b3d3
f3057f554643bd68ccf5fb34966f8233c57c600f
/djmodels/blog/migrations/0007_auto_20171213_1357.py
0f340f6c17444af0f3f8de61a33fd8e29ffcc8c9
[]
no_license
travishen/djcore
e917eeefc0d8a985fa083bbaf6b426ad4af31dcb
e611d82797abd04f5909b809e6c4debb46eece11
refs/heads/master
2021-09-03T02:52:38.336089
2018-01-05T02:24:16
2018-01-05T02:24:16
113,840,771
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2017-12-13 13:57 from __future__ import unicode_literals import blog.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0006_auto_20171213_1225'), ] operations = [ ...
[ "travishen.tw@gmail.com" ]
travishen.tw@gmail.com
e686684b4fdc17a79bda19d25fd0b66063ac61a3
598e1e54272493900ce35f9ee3c7ed32ccd2a3fe
/display_in_binary.py
ce364f69a73c336cacbe0936bf7b65176d1eb746
[]
no_license
CP-NEMO/Basics-of-python
3bdc96d71981ef1609c06c8ab141590e4dfc035e
e49eca63f09137a16f62539a51ea39ccb3e8e037
refs/heads/master
2020-05-09T09:35:32.943368
2019-04-14T07:15:01
2019-04-14T07:15:01
181,008,030
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
a=int(input("Enter the number:")) f=0 i=0 while(a>0): e=int(a%2) a=a//2 f=int(e*(10**i)+f) i=i+1 print(f)
[ "noreply@github.com" ]
noreply@github.com
9ecce05b325e0e97434ea4d2be262a2c89540f8e
ff979df1f4255e3a64669ec0043803decd58bcf4
/newrelic_plugin_agent/plugins/postgresql.py
d35e537ae5e73c160df7fe6503c7220288eab843
[ "BSD-3-Clause" ]
permissive
aismail/newrelic-plugin-agent
0f5e60261080eb40d9ad4476d22f699a48f52d9a
ab04e7e3c9dd0c9119a1aae58d98f2b3817fec56
refs/heads/master
2021-01-21T00:53:17.371049
2013-06-28T13:21:44
2013-06-28T13:21:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,261
py
""" pgBouncer Plugin Support """ import psycopg2 from psycopg2 import extensions from psycopg2 import extras import logging import time from newrelic_plugin_agent.plugins import base LOGGER = logging.getLogger(__name__) ARCHIVE = """SELECT CAST(COUNT(*) AS INT) AS file_count, CAST(COALESCE(SUM(CAST(archive_file ~ ...
[ "gmr@meetme.com" ]
gmr@meetme.com
2f9c24b92547c977122be48fb7ed1398a7253162
598366740423c0327c405f5344492380bc90c3b6
/plugins/db/db.py
d224866172d0a9d9bf00a7eeddaedb295fcbe46d
[]
no_license
qwerdy/MyFlexget
4fa683e351680ba77dcd31a14dacb8ee891789aa
e20f2a04b1d3b9a5b502cb4502556e500a759046
refs/heads/master
2021-01-21T21:48:39.197537
2016-03-28T10:58:49
2016-03-28T10:58:49
9,843,599
0
0
null
null
null
null
UTF-8
Python
false
false
1,702
py
from myflexget import app from flask import g import sqlite3 import os #Get absolute path to database file: dir_path = os.path.dirname(os.path.abspath(__file__)) DATABASE = os.path.join(dir_path, 'db.sqlite') #Create database if not exist if not os.access(DATABASE, os.R_OK): print('INFO: No database found, creati...
[ "qwerdy@ymze.com" ]
qwerdy@ymze.com
b3cff95f72a3608ad73b85da10d7107fb58c1793
29cc701e819786afc83a73241c99b5e9fb5bfe9e
/Asssignment12_part1.py
d2614a52d04fc7cad158df6c28e2e812d7ce2670
[]
no_license
abhayj-0/Assignments-Acadview-
7f3f711757dc9b945ce5be3ef6e49fb053781283
076e66bb59fe4828ee488c368f29a2714bf294ff
refs/heads/master
2020-03-20T05:49:16.687432
2018-07-12T18:44:15
2018-07-12T18:44:15
137,227,133
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
consumer_key = "Sp84yFNMkN1gxiSiyQpYTIzIH" consumer_secret = "3CvTsI1UZKyyOG4QaN3NayXBkGBRDjY8r4HEbPTS5IUXeK43Mh" access_Token = "4125329238-ytT4HkcfneOdr9QvEc8KZBS588dK3K5JlvW7eyK" access_Token_secret = "6Z7Tb4cGT2GsduJCT5lkggPHOsxLOg2tIgBwu0OXxTrku"
[ "{abhaybi66}" ]
{abhaybi66}
5a1cfbe5e8072892a669b1003898b436401022a5
a807ce0fa3e3e9c3b558b2e977c05e60c3a667b1
/nemo_text_processing/inverse_text_normalization/en/verbalizers/cardinal.py
bd053bebf7645a4fbb554dfb082d991b1be9c614
[ "Apache-2.0" ]
permissive
blisc/NeMo
630376e7555c0face994da2f6f9af5d8d31243c3
fadeb45c84d6b323d78e30475538455a88b7c151
refs/heads/rework_reqs
2023-08-17T00:03:39.248669
2021-08-12T15:15:06
2021-08-12T15:15:06
208,142,160
2
0
Apache-2.0
2022-02-03T16:30:33
2019-09-12T20:37:24
Jupyter Notebook
UTF-8
Python
false
false
1,812
py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # Copyright 2015 and onwards 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/license...
[ "noreply@github.com" ]
noreply@github.com
0f7ed9108167fa6f1e7ff952af62e2a8693d721c
11a826157f9da66b2cb59b90f37f1654fb8aed5f
/reVX/version.py
182853374490e238b0e86d851045bdb5519bdb30
[ "BSD-3-Clause" ]
permissive
daniellevie/reVX
dd60d71aab1e13b12d6e75ff48f889d32f7253ed
4d62eb2c003c3b53b959f7a58bdc342d18098884
refs/heads/main
2023-08-18T05:00:57.038957
2021-09-29T15:16:28
2021-09-29T15:16:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
# -*- coding: utf-8 -*- """ reVX version number """ __version__ = "0.3.37"
[ "mrossol@gmail.com" ]
mrossol@gmail.com
747afb625d0dd3ca644ee3ab6368557930c545d7
9d9baa4589d9f00856bac649b350bae6a4395d3e
/app/migrations/0005_cart.py
4b014d2160bfd8b2206d631aa7276a01af152ce2
[]
no_license
gueat/seven-plus-two
eda84bdced1c9a263eaae6a4cdc8cee163ec26b5
6577a6f1a5e55205496468bcecb1344ee56f567f
refs/heads/master
2020-04-29T06:13:23.000927
2019-03-19T06:54:39
2019-03-19T06:54:39
175,909,466
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2019-03-16 01:12 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0004_goods'), ] operations = [ migr...
[ "1107394795@qq.com" ]
1107394795@qq.com
0d44bc22125c6dc9b17a5a261ad63fa8baa5c8a6
1c7d63acdb48342dc5af24a70232fcc80780be4c
/vmsareus/vmleases/urls.py
e2ee9d4a207806061adc84223c16e8df4c0d8d0c
[ "MIT" ]
permissive
greendavegreen/vmsareus
1fecfb8716714dfffb2b7b66edf42c6125fd0b3b
7cf56c97dcb08332ee89b7d0e7e161dec462bac0
refs/heads/master
2021-07-15T12:05:42.770561
2017-11-02T20:00:27
2017-11-02T20:00:27
96,323,487
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.vm_list, name='vm_list'), url(r'^vm/new/$', views.vm_new, name='vm_new'), url(r'^vm/(?P<pk>\d+)/manage/$', views.vm_manage, name='vm_manage'), url(r'^vm/(?P<pk>\d+)/$', views.vm_detail, name='vm_detail'), url(r'...
[ "david.green@cd-adapco.com" ]
david.green@cd-adapco.com
bd5ba5c7452d780e35d39750ff9e32f378d30a5f
0760fb4901a75766921a205b55686d6d6f049b30
/python/ray/_private/runtime_env/py_modules.py
97fccf60addb8d4131a5f5171d938b8c5bdf6255
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
ray-project/ray
a4bb6940b08b59a61ef0b8e755a52d8563a2f867
edba68c3e7cf255d1d6479329f305adb7fa4c3ed
refs/heads/master
2023-08-31T03:36:48.164405
2023-08-31T03:20:38
2023-08-31T03:20:38
71,932,349
29,482
5,669
Apache-2.0
2023-09-14T21:48:14
2016-10-25T19:38:30
Python
UTF-8
Python
false
false
8,762
py
import logging import os from pathlib import Path from types import ModuleType from typing import Any, Dict, List, Optional from ray._private.runtime_env.conda_utils import exec_cmd_stream_to_logger from ray._private.runtime_env.context import RuntimeEnvContext from ray._private.runtime_env.packaging import ( Prot...
[ "noreply@github.com" ]
noreply@github.com
3c5fc09bec4a18262ea8c704e31dc5acd395404a
f84ce9cabefe56a007c3a4d4d7f6333284fcbe62
/image derivatives.py
e8754d30739ef937ac09918c754dbc6f191f9589
[]
no_license
qinhaihong-red/TorchDaily
437c83c20e140863aeb6f55ddd01e4332de9da96
553c9cff317d64d910c6d47bee1b7a658aea2a04
refs/heads/master
2020-05-22T14:59:31.956100
2019-05-13T10:35:24
2019-05-13T10:35:24
186,398,303
5
1
null
null
null
null
UTF-8
Python
false
false
5,936
py
#%% import numpy as np import cv2 #%% [markdown] # # Image Derivative # # ## Theory # # A image can be represented as a mapping : $f(x,y)$, in which $(x,y)$ defines coordinates and $f(x,y)$ for intensity value. # # ### First- and Second Order Derivative # # Let $f(x+\Delta x,y)$ expand as Taylor series: # ### $f(...
[ "qinhaihong@yeah.net" ]
qinhaihong@yeah.net
2f5013ac6fd73da64e153628614dfa276fd04d3b
48a36fddd9e7c584a9792533c11601f0e4619885
/torchvision/edgeailite/xvision/losses/flow_loss.py
d3d238fa87d39813f0da26d516e3e186af56441d
[ "MIT", "BSD-2-Clause-Views", "BSD-3-Clause" ]
permissive
supermy00/edgeai-torchvision
8c152e796590ae5f6ae4f6948cbfb132409506a0
29b02c32b26ea8c0c319a376ab8a9a1b9ada25b5
refs/heads/master
2023-09-02T02:36:47.068701
2021-11-17T10:08:17
2021-11-17T10:08:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,504
py
################################################################################# # Copyright (c) 2018-2021, Texas Instruments Incorporated - http://www.ti.com # All Rights Reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditio...
[ "a0393608@udtensorlab5" ]
a0393608@udtensorlab5
6f6ddd05aaf8754e9d79d3780bb7b200c802afa5
8315d574e1fd3d9a4f85324a6b7003a270bf0607
/web-applications/bin/pybabel
aa78749d8f172a0ba85ae44247e14220948387b5
[]
no_license
himanshukandwal/snip.py
4395953d1eba4d429d1d4e115a8087516ebdc51c
8d2e9bd1a8e0c00b3ccb53fcd84bff956913c05a
refs/heads/master
2021-01-17T16:46:45.767551
2018-04-22T18:30:32
2018-04-22T18:30:32
64,358,691
2
0
null
null
null
null
UTF-8
Python
false
false
320
#!/Users/Heman/Documents/workstation/Developement_Studio/Python_Laboratory/snip.py/web-applications/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from babel.messages.frontend import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "himanshuk.19@gmail.com" ]
himanshuk.19@gmail.com
52bd45f32d19fe126871055aef6cb748b592dc08
b95d8351eb7d9710513836cae028937eacfe9381
/setup.py
900fb67a0d92c176dcbf9d5dc454c214227c9ed9
[ "MIT" ]
permissive
kroone/quick_dag
6e8086360713f9cd4887a72eba39189ddd93558a
a60dba069b85d02fa7563c28cb2e9ecb0efce3c6
refs/heads/main
2023-02-21T17:49:24.275791
2021-01-20T13:48:28
2021-01-20T13:48:28
331,316,624
0
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
from distutils.core import setup setup( name = 'quick_dag', # How you named your package folder (MyLib) packages = ['quick_dag'], # Chose the same as "name" version = '0.1', # Start with a small number and increase it with every change you make license='MIT', # Chose a license from here: h...
[ "stefan.krone@zalando.de" ]
stefan.krone@zalando.de
9bd590aabe9fc2c49575a0a731dce20526ebe210
2539a7566ed82508c196c0576d4e972047a5510c
/accounts/forms.py
c269a4d7487c5e7ec7618d7886e50ff334b0b35c
[]
no_license
ZainabImad94/todolistProject
7501e72ef6a32f1a7fece676239f5faffb8fc9e9
975377641816dd365b319f0fb057d0eb0162c622
refs/heads/master
2023-01-15T00:06:14.541000
2020-11-24T02:15:57
2020-11-24T02:15:57
303,568,700
0
0
null
null
null
null
UTF-8
Python
false
false
5,564
py
from django import forms from django.forms import SelectDateWidget from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset, HTML, Row, Column, Div, MultiWidgetField from django....
[ "zeina.imad.zi@gmail.com" ]
zeina.imad.zi@gmail.com
fc52d8ec81fe4b307261bd7e11d50deb5d97ee67
9ba00eb872099e6fe69c4e6b3561b0578cc09ca4
/exoplanets.py
cc3e8a16376dfb30a79845c999770f1eb685ffd8
[]
no_license
RuthAngus/exoplanet_travel
4ab56ee3adfaaeca009e6997706f42091d634c01
b7248030e8713811f65239d5745fbd9493dcfd58
refs/heads/master
2020-12-24T13:28:35.234907
2014-07-01T16:14:24
2014-07-01T16:14:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,548
py
from exoplanet_pictograms import plot_exoplanet, plot_name, remove_space from flask import Flask, url_for from flask import render_template import numpy as np import kplr import csv app = Flask(__name__) @app.route('/') def index(name=None, text=None): name = nm() print name text1 = p_text(name) text2 ...
[ "ruth.angus@astro.ox.ac.uk" ]
ruth.angus@astro.ox.ac.uk
00061ee28548b2c6b4aefaa5471d754a09c8788d
653a3d9d66f3d359083cb588fc7c9ece8bb48417
/src/graph_transpiler/webdnn/backend/fallback/kernels/cosh.py
ceb89aa2948de8ed8a485af2566d587d6dfce987
[ "Zlib", "MIT" ]
permissive
leonskim/webdnn
fec510254b15f3dec00f5bed8f498737b372e470
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
refs/heads/master
2020-04-15T18:42:43.632244
2019-01-10T10:07:18
2019-01-10T10:07:18
164,921,764
0
0
NOASSERTION
2019-01-09T19:07:35
2019-01-09T19:07:30
Python
UTF-8
Python
false
false
186
py
from webdnn.backend.fallback.kernels.elementwise import register_elementwise_kernel from webdnn.graph.operators.cosh import Cosh register_elementwise_kernel(Cosh, "y = Math.cosh(x0);")
[ "y.kikura@gmail.com" ]
y.kikura@gmail.com
ca75f05cd80acb75911622ecaa2e8e98c607b2fa
1213bcf770a94a89b39be8dc7b99a3f7e35fd369
/src/alloy/backend/x64/optimizer/passes/sources.gypi
6d80257ca4d2836c37d094b89bcaa73a046bbcae
[]
no_license
wtfaremyinitials/xenia
c86e4625a1dd084d97d44c3242e2faf208bca2b8
16b3ecd5897051f82bc236ad9a4d0ab5cab22e87
refs/heads/master
2020-12-31T02:43:53.168712
2014-01-14T22:06:05
2014-01-14T22:06:05
15,918,955
2
0
null
null
null
null
UTF-8
Python
false
false
254
gypi
# Copyright 2013 Ben Vanik. All Rights Reserved. { 'sources': [ 'reachability_pass.cc', 'reachability_pass.h', 'redundant_mov_pass.cc', 'redundant_mov_pass.h', 'register_allocation_pass.cc', 'register_allocation_pass.h', ], }
[ "ben.vanik@gmail.com" ]
ben.vanik@gmail.com
408623adb5f86a2df530c54ac5ec9963e392a64e
9eeeffe45c7f7c12dc2d992c5be6d9c3e89a7e06
/lab4.py
a36451db63d7c6dbd37289845ea7470f48edc6ca
[]
no_license
V1kos1k/iu7_computational_algorithms
872a7311ea5ecdc1263c94969c044b2e83a4ca41
96c8970de750bc504bb8b06611a5b2ac14d73f3e
refs/heads/master
2020-03-22T15:01:21.769971
2018-07-09T02:52:27
2018-07-09T02:52:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,662
py
from math import sin, cos, exp from numpy import linspace def f1(x, y): #r = x**3+y+1 r = x - y -0.33 return r def f2(x, y): #r = exp(x) - 2*y + 1 #print("x, exp(x)", x, exp(x)) r = x + y + 0.23 return r def poldel(a,b,eps, y, f): xp = a xs = b xt = (xs+xp)/...
[ "mhitaryanvika@gmail.com" ]
mhitaryanvika@gmail.com
ac7b461e521f1698a1608e239db38e0db8cc4173
918595e3b4f1db7c9588684924988a3f319e4607
/bit-python01/src08/test03.py
d43a5919b57a8eca76a2a5ef46a934bc673a7bb0
[]
no_license
eomjinyoung/bigdata3
d849c4a8634a48ae3d30ce5f5ff1ad839195aff9
ef90e729ec42177b8384af06f6b947cc6e117307
refs/heads/master
2021-07-12T22:11:20.989729
2018-01-18T00:45:08
2018-01-18T00:45:08
95,863,374
0
4
null
null
null
null
UTF-8
Python
false
false
439
py
# 모듈 사용하기 - 함수에 별명 붙이기 # => from 모듈명 import 함수명 as 별명 from calculator import plus as p, minus # => 별명이 붙은 함수는 별명으로 호출해야 한다. print(p(10, 20)) # => 별명이 붙은 함수는 원래 이름으로 호출할 수 없다. #print(plus(10, 20)) # 오류! # => 별명이 붙지 않은 함수는 원래 이름으로 호출한다. print(minus(10, 20))
[ "jinyoung.eom@gmail.com" ]
jinyoung.eom@gmail.com
3086cc391daa61a2fb2009d56808f43778b81f90
e4e6558c23a3838aa60b3f68ee77d3be0cbb3cc7
/metrics/readsbycity.py
cf15a37ccadbde8ec3d81ec4716bebca26347410
[]
no_license
henry0910/BenarReports
2342889242322e872291d3554d5ab144376a6720
c44dadff6c19f858bfb1a00d3b335f09404aa46a
refs/heads/master
2020-05-04T03:09:51.517341
2019-04-05T16:47:32
2019-04-05T16:47:32
178,941,570
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
import sys, os sys.path.append(os.path.realpath('')) import datetime import googleanalytics.metric_strings as ga import googleanalytics.filter_strings as fil from googleanalytics.query import GAQueryBase, GAQueryDefinition, GAQueryContainer # Cities by Article Reads (Global) query CONTAINER = GAQueryContainer() # v...
[ "noreply@github.com" ]
noreply@github.com
8ebc06e98377e763ef104d45d0c6b726ec62cbdb
0ddff5cf652697ec10672d6431c8b6a45a845947
/list1.py
4573f7f7b579fb1e25fcc0e4e445439ff0461c91
[]
no_license
Rajavel485/python
5de4a2d440170de1bba56422265acdd1154cd509
d67f1615c7dc534be21acab4e2b3009cec7de15a
refs/heads/master
2020-07-11T22:29:29.505895
2019-12-10T06:28:45
2019-12-10T06:28:45
204,657,415
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
value="sherluck" new_list=[56,90,8,8,76] print(new_list.pop()) print(new_list) strings="i am stuying in paavai" print(strings.count('a')) print(strings.index('a',3)) mynew_list=strings.split() print(mynew_list)
[ "noreply@github.com" ]
noreply@github.com
83cb52e750c6a7de60a3941fc351b883d73cac91
caffcd9929ed0379a8851a464f3e38036a9c1d39
/day10.py
7382ee5335452e084e65193b7b5bc73067fcf673
[]
no_license
acharsujan/90Problems
a16bfbfe486d0f915fb23b00bb61f6322e2fa736
064062878b88da50a2edf017d82d2850e7ec2025
refs/heads/master
2020-04-23T16:22:00.451221
2019-03-26T15:02:04
2019-03-26T15:02:04
171,295,904
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
def minAbsSumPair(arr,arr_size): inv_count = 0 if arr_size < 2: print("Invalid Input") return # Initialization of values min_l = 0 min_r = 1 min_sum = arr[0] + arr[1] for l in range (0, arr_size - 1): for r in range (l + 1, arr_size): sum = ...
[ "acharsujan@gmail.com" ]
acharsujan@gmail.com
b9a237ae02c93f64a84c7813d11c734a96317a8a
16089636f301256c802652d4a11477050863e7a9
/scanpy/plotting/__init__.py
4cc8f2487fd77bb4f128a8b6742cfd6e0e28b48a
[ "BSD-3-Clause" ]
permissive
caot/scanpy
18cc6d4ba70977beefd283e4eaa3faf0a6589f22
ed7130f7496e41046c5a910d9779de53471f5801
refs/heads/master
2021-05-11T07:09:35.891697
2018-01-15T20:56:45
2018-01-15T20:56:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
from .ann_data import scatter, violin from .ann_data import ranking from .preprocessing import filter_genes_dispersion from .tools import pca, pca_loadings, pca_scatter, pca_variance_ratio from .tools import diffmap from .tools import draw_graph from .tools import tsne from .tools import aga, aga_attachedness, aga_gr...
[ "f.alex.wolf@gmx.de" ]
f.alex.wolf@gmx.de
d336cadd42167e69b55bc91244e03e01239bed5b
04ce819f4ec9fcc181a2afa245c933ad1deed53b
/actupac/Interpolation.py
90f60a69671c993681881e41562fb5070a146f7c
[ "MIT" ]
permissive
JasonVictor17/actupac
47064e0d9ba5bbbdf0ad88bc33deb1570b14725b
973ccbf9d7ef2bf283d12685eceb4002408da2f2
refs/heads/master
2021-01-06T19:51:36.743426
2020-02-24T08:48:29
2020-02-24T08:48:29
241,467,654
2
0
null
null
null
null
UTF-8
Python
false
false
11,945
py
import numpy as np import pandas as pd import math import matplotlib.pyplot as plt from .General import Initial class Interpolation(Initial): def __init__(self, mu=0, sigma=1): Initial.__init__(self, mu, sigma) def piecewise_linear_single(self,t1,t2,y1,y2,n): ...
[ "noreply@github.com" ]
noreply@github.com
300b9becd0b7e4ed3fa94d3bb583c32ff4ca5570
7f004635957d252b7e8d7d6e0aee47e24aca0b82
/catkin_ws/devel/lib/python2.7/dist-packages/opencv_apps/cfg/PhaseCorrConfig.py
4deab242459941311f6eb8baa4a30bb1b5ba0bcc
[]
no_license
Pontusun/CIS700_Team2
75bef2305f5ccb7992f152b9fca20ea475077833
17b125b652d3be41884d6f625b7424b00ca0a6dd
refs/heads/master
2021-01-10T16:02:19.327233
2016-02-11T22:20:46
2016-02-11T22:20:46
44,488,662
1
3
null
2015-11-29T19:54:32
2015-10-18T17:35:24
CMake
UTF-8
Python
false
false
1,725
py
## ********************************************************* ## ## File autogenerated for the phase_corr package ## by the dynamic_reconfigure package. ## Please do not edit. ## ## ********************************************************/ from dynamic_reconfigure.encoding import extract_params inf = float('inf') ...
[ "genesis@nuc" ]
genesis@nuc
59fd91783242aaa8c21de584793100d1bac7406e
a4c7f5cd089efbf92e5ba904d378e23da1dc8130
/hallucinator/treasury.py
aa9975bc30410a0fc02206c548033fcbfbb6d0dd
[]
no_license
socketteer/hallucinator
65ca6842d1343e6547e5612ffb8b63c2268f2944
87705406004fc88850b760e1322e6aedef927fa7
refs/heads/master
2023-06-26T17:56:41.239228
2021-07-30T02:59:07
2021-07-30T02:59:07
189,884,880
16
1
null
null
null
null
UTF-8
Python
false
false
1,432
py
import math import numpy as np import numexpr as ne from typing import TypedDict, NamedTuple, Tuple def wave(p, r, amp, f, phase): z = ne.evaluate("amp * sin(r * f + phase)") #z = z.reshape((z.shape[0] * z.shape[1])) #p = p.reshape((p.shape[0] * p.shape[1], 2)).transpose() return np.array([p[:, :, 0],...
[ "lreyn@umich.edu" ]
lreyn@umich.edu
8f2658371d63b5e1e40961d583e2a046a73122fa
5e99c1f3126e84cd3ec723578f746eab8a56f3b8
/setup.py
82f11d7db11c2e2e9eb5254be6ba472ed42795e0
[ "MIT" ]
permissive
vutriancode/web_api_text_To_speech
c0475c2a96c56fcb34dcf4e8406cfbdfb792c723
96f20ce10cd465999ef87f509a858a60ba2d8f9d
refs/heads/master
2023-06-27T16:29:58.349334
2021-08-04T08:51:31
2021-08-04T08:51:31
392,335,422
1
0
null
null
null
null
UTF-8
Python
false
false
733
py
from setuptools import setup __version__ = '0.3.1' url = 'https://github.com/ntt123/vietTTS' install_requires = ['tabulate', 'optax', 'jax', 'jaxlib', 'einops', 'librosa', 'textgrid', 'dm-haiku @ git+https://github.com/deepmind/dm-haiku', 'tqdm', 'gdown'] setup_requires = [] tests_require = [] se...
[ "thanhcong7893@gmail.com" ]
thanhcong7893@gmail.com
d740cba3500e4ec4af23cb63382438aed0271e7a
783aca4db844a1dc6b65da6d298a388a4c52c225
/bangazonapi/bangazon/migrations/0005_merge_20200309_0958.py
33ceaede4a0313616c32acc7a51e6bd7fd578d0a
[]
no_license
sullypierce/bangazon-api
1f80895f9db030a0cce3a6e89056790f03502d9a
8181c79c698cf0b8dd873c7905ef4445f40a2903
refs/heads/master
2021-03-13T08:49:16.192965
2020-03-09T20:46:30
2020-03-09T20:46:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
# Generated by Django 3.0.3 on 2020-03-09 14:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('bangazon', '0004_product_inventory'), ('bangazon', '0004_auto_20200304_1328'), ] operations = [ ]
[ "ajbyrd0723@gmail.com" ]
ajbyrd0723@gmail.com
bdfd8597877777bf9d0fcfc209d3f8c5c3cfd544
211c303789a3a21dac34343d3e66a7516203516e
/shocktubecalc/__init__.py
ba48191093f7d80876bd2b94049f95a66a7a4dd4
[]
no_license
anthony-walker/euler1D
0af6d24c09284ef43dfcdd04ed531a733575121f
8705b733b21a31b3dd5b6bd844ce65f8cc392e2b
refs/heads/master
2022-08-29T09:06:14.709787
2019-11-09T00:48:46
2019-11-09T00:48:46
158,439,405
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
from .sod import solve name = "shocktubecalc"
[ "walkanth@oregonstate.edu" ]
walkanth@oregonstate.edu
907fecac22dc1cad2289b04963f859bbd5719214
b43d7860eafa9d647baeb5d8204ca5ca3f77c477
/prac_06/prac6/languages.py
60d88377cde6fb05abd050ecc420e2b2c169f059
[]
no_license
TANADONsim/CP1404_Practicals
8dd923dfdd041f500fa234626ec17b02c1da0300
894eab70b07ed4ebe750a9ea5fd9f8ced89b7e99
refs/heads/master
2020-04-07T11:16:12.567025
2019-01-08T03:19:55
2019-01-08T03:19:55
158,319,243
0
0
null
2019-01-08T03:19:56
2018-11-20T02:27:27
Python
UTF-8
Python
false
false
347
py
from prac6.programming_language import ProgrammingLanguage def main(): ruby = ProgrammingLanguage("Ruby", "Dynamic", True, 1995) python = ProgrammingLanguage("Python", "Dynamic", True, 1991) visual_basic = ProgrammingLanguage("Visual Basic", "Static", False, 1991) print(ruby) print(python) pr...
[ "hongweitanadonleonard.sim@my.jcu.edu.au" ]
hongweitanadonleonard.sim@my.jcu.edu.au
a2face64492994c1d89d87de17f1735956e91868
1f214956382f62e876de3d00c40c5a8684a3b5df
/preprocessing/tests/test_mysql.py
ef73d63c507114b639af108327ad9518ec0fd887
[ "MIT" ]
permissive
ennima/omas
e1f00e0d3445f995d36b221c43ab47113750aeee
c8507b95c8c07a311c29c70acc0a7d3504d28f78
refs/heads/master
2021-01-18T18:11:49.027451
2016-10-14T19:28:14
2016-10-14T19:28:14
56,949,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
import sys import unittest sys.path.append('../') sys.path.append('../db') from MysqlProcessing import * from pprint import pprint class MysqlProcessingTest(unittest.TestCase): # def test_it_should_be_able_to_construct(self): # mysql = MysqlProcessing() # self.assertIsInstance(mysql,MysqlProcessing,"Es instanc...
[ "ennima@hotmail.com" ]
ennima@hotmail.com
9edbd7dd5d1dc89004fd5abd46398875aab00e34
1afa6c852dfc922d1a26a384d965976f31a87692
/Imaging/Core/Testing/Python/TestSeparableFilter.py
da6b137d7329c12a4b1484262e2fe32f6bd2f967
[ "BSD-3-Clause" ]
permissive
dgobbi/VTK
631d037aacc7258861e70f77c586b01cd4ebff3f
17f232ee440025c26bc78a897edef78e9fc78510
refs/heads/master
2021-01-04T22:27:46.611907
2013-03-01T19:44:02
2013-03-01T19:44:02
938,377
0
2
null
null
null
null
UTF-8
Python
false
false
1,282
py
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # Image pipeline reader = vtk.vtkPNGReader() reader.SetFileName("" + str(VTK_DATA_ROOT) + "/Data/fullhead15.png") # Take the gradient in X, and smooth in Y # Create a simple gradient ...
[ "nikhil.shetty@kitware.com" ]
nikhil.shetty@kitware.com
4b93bbc5c5978d275eec53fe2003a3f30c35e31e
3b658ab1611e1bea9ce77050fa2e49412bd0404f
/03_Visualisation/03A_Plotting_for_correlation/Correlation_Plot.py
b9d082057d7b2a20cf7c1107be081864e397d48f
[]
no_license
SophieMerl/DataAnalytics_London
d924aeb4cc6d2c6a837c2d9779aa0829d4d42b1d
c5129562cefa64dce05bd8b3cbf8a9620a611b53
refs/heads/master
2023-09-06T08:57:24.311348
2021-11-27T23:30:37
2021-11-27T23:30:37
421,169,059
0
0
null
null
null
null
UTF-8
Python
false
false
3,750
py
import pandas as pd import numpy as np import io import requests import matplotlib.pyplot as plt # receiving travel data, formating date & grouping over the boroughs url_lnd = "https://raw.githubusercontent.com/SophieMerl/DataAnaytics_London/master/02_Preprocessing/London_cleaned_unpivoted.csv" download_lnd = requests...
[ "dennis_blaufuss@web.de" ]
dennis_blaufuss@web.de
ce7499550d91bddb63875a6d82593e178c66d924
d5b58ebde87efc91c1117e2428d8db12a19c703c
/tests/test_reader.py
0c08455c570e55e0af666cd96b2418ca53e859c1
[]
no_license
vladmos/python-nirvana
ce63c152e2d41d79443824035ca027512de62eb4
6b9732541409be03c51512e46e4da1d50ab1c210
refs/heads/master
2020-12-25T17:29:52.331130
2016-08-22T00:40:09
2016-08-22T00:40:09
10,786,885
0
0
null
null
null
null
UTF-8
Python
false
false
7,297
py
import unittest from shutil import copyfile import os import warnings from context import nirvana from nirvana import reader CONFIG_FILENAME = 'test-nirvana.ini' def prepare_config_file(sample_name, filename=CONFIG_FILENAME): if sample_name.find('.') == -1: sample_name += '.ini' copyfile('test_config...
[ "m@fulc.ru" ]
m@fulc.ru
11e5f4f70ef1ef84cf7abda18cc47f5d044fb592
7cd720754a249c26537cc7bda36c0cd61dbb7587
/tr_assessment_IT calculator.py
99fc335a7990afc6e264f10a26deff9e947b2b13
[]
no_license
jseranna/HPE-Python-repository
9c379bd14b24029dbf7998f57d5237a01795f52f
17af481acc58b6bd046f82bea0b4b1a9415e9fd7
refs/heads/master
2020-11-23T21:44:43.748532
2019-12-20T05:11:50
2019-12-20T05:11:50
227,833,605
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
# tax calculation app # input data name = input('What is your name: ') age = int(input('age please: ')) sal = int(input('what is your total CTC: ')) sec = int(input('money invested under section 80C(if any): ')) # process x= int(250000) if(sal <=250000): y=0 elif(sal >=250001 and sal <=500000)...
[ "noreply@github.com" ]
noreply@github.com
3435d0e6edaab0672cac56775147c66023890e1f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_75/288.py
5d27fe84e3a6db4dda7c09565446712b904e8b3e
[]
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,467
py
# coding:utf-8 import sys argvs = sys.argv argc = len(argvs) #print argvs #print argc f = open(argvs[1]) T = f.readline() for i in range(int(T)): comb_rules = [] oppo_rules = [] line = f.readline() tc = line.split(' ') C = int(tc[0]) # 変換ルールの個数 for j in range(C): temp = tc[j+1]...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
336592f3fd92c3670e0e38e51f104464af58470d
800ec411fe296212564d291c1cd888c1ab6d20d3
/function home work/fun 5.py
64c2b91966e232ff851f6af52eff2a6597cdd037
[]
no_license
Ruchitghadiya9558/python-program
510135210aea4de94ecd10c0971223dae30596a0
ae1bcf19a3b3cc175e2b63e4c5f49a8adedc6aea
refs/heads/master
2023-06-27T23:42:52.157240
2021-07-27T10:55:51
2021-07-27T10:55:51
389,961,812
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
# revers number def revers(n): box=0 while n>0: rem= n % 10 box=(box*10) + rem n=n//10 print("revers=",box) num = int(input("enter the number:")) revers(num)
[ "ruchitghadiya99@gmail.com" ]
ruchitghadiya99@gmail.com
a6c38c4842143a256756c3d4ff4f714a7240ca7b
5d2a7c14b365a2c844fed820335457031fe67d65
/Questionnaire_pt1/OneByOne/migrations/0008_auto_20191013_1534.py
b6d6351127407874f9e2002661cec0ec96f738b8
[]
no_license
AdityaKapoor74/Questionnaire-for-research
c79b12481c2429e89cdb1655e558498aafbd898b
ee03898a0b8dd48e032fea02a603e947c48471c8
refs/heads/master
2022-04-09T06:07:21.787870
2020-02-19T15:27:08
2020-02-19T15:27:08
201,025,899
0
1
null
null
null
null
UTF-8
Python
false
false
1,875
py
# Generated by Django 2.2.6 on 2019-10-13 15:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('OneByOne', '0007_auto_20191013_1531'), ] operations = [ migrations.AlterField( model_name='stimuli', name='stimuli_1...
[ "adityakapoor074@gmail.com" ]
adityakapoor074@gmail.com
1020b4ddba3ff22acaef933b10c950ae9e063185
4d25eabd9e75fa2c433b9b0e6bc792dfeaeb1655
/PYTHON/sin_caur_summu_ver3.py
8e4f51c7dc4a896871a81e47cad98e4170ea1850
[]
no_license
kwanderer/DMI
cbcceaaa34837064e6c4ba4e21f726080c5513bd
83748be54d072a501354659377705e5362dafd67
refs/heads/master
2021-09-14T07:25:10.507226
2018-05-09T17:10:08
2018-05-09T17:10:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
from math import sin # a0, a1, a2, a3 -> a x = 1. * input("Ievadi argumentu x: ") y=sin(x) print "sin(%.2f)=%.2f"%(x,y) #a0=(-1)**0*x**1/(1) a=(-1)**0*x**1/(1) #S = a0 S = a print "a = %.2f S = %.2f"%(a,S) #a1=(-1)**1*x**3/(1*2*3) #a1=a0*(-1)*x*x/(2*3) a=a*(-1)*x*x/(2*3) #S += a1 S += a print "a = %.2f S = %.2f"%(...
[ "krisypon@inbox.lv" ]
krisypon@inbox.lv
a6f6f7a14293fc20af9e92ff1996081c416c8af6
0b88dc9ea8ed93b687503823647a782615752a10
/simulate_dice/dice.py
c5af5e9d9fd33dbe1e86e0afa53ba8ab78a0be31
[]
no_license
YinPierce/python_work
303a2c0246f5a20a798ce1acbc24e525e568ca91
7ac5e742e4bcad3fc1c7eadbc14c3501b6dcd47f
refs/heads/master
2023-02-05T17:37:00.080607
2020-12-31T03:01:05
2020-12-31T03:01:05
321,917,936
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
#! /usr/bin/env python3.7 # -*- coding: utf-8 -*- from random import randint class Dice(): '''模拟骰子的类''' def __init__(self, num_sides=6): self.num_sides = num_sides def roll(self): '''返回一个1到面数之间的整数''' return randint(1, self.num_sides)
[ "sisiyin@asrmicro.com" ]
sisiyin@asrmicro.com
71fb858e0f6ff6ee5cb67139db4225ffd5f989d4
37180507137715c753fba2a0f5979b70607a2468
/backend/posts/migrations/0003_auto_20180215_2130.py
6b6f1dd67e0e0cfbcd4bf24da68b44df3ce6ff3e
[]
no_license
nkaczor/BlogCMS
5bf862418089e57d62a184fdfc85b2c0550bb0f4
110081ba5a98cae4cc2f3757d3645f5907c965d9
refs/heads/master
2021-05-13T18:38:14.723846
2018-02-18T21:32:48
2018-02-18T21:32:48
116,870,468
1
0
null
null
null
null
UTF-8
Python
false
false
492
py
# Generated by Django 2.0.1 on 2018-02-15 21:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('posts', '0002_auto_20180128_1701'), ] operations = [ migrations.AlterField( model_name='comment...
[ "kaczor.nat@gmail.com" ]
kaczor.nat@gmail.com
07e73e5938d07257afed1573992aba6c87816c9d
1a9d162c1e5ab7c24c17c3e54356f96e040b5d3e
/env_jupyter/bin/jupyter
f625ad65144d3357b99ca591cc8c83400a837d69
[]
no_license
a5347354/100Day-pycrawler-Marathon
80ecfd0762ed1733d54a33a3f21958a280a21eb3
31b13912081a40ec3775670798a629281aee296a
refs/heads/master
2022-12-14T07:36:20.234776
2020-02-05T15:58:14
2020-02-05T15:58:14
222,389,375
0
0
null
2022-12-08T05:35:55
2019-11-18T07:36:15
Jupyter Notebook
UTF-8
Python
false
false
282
#!/Users/fan/Documents/Github/100Day-pycrawler-Marathon/env_jupyter/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from jupyter_core.command import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "a5347354@gmail.com" ]
a5347354@gmail.com
c62fbc7bce98034072ebf889980686ae8a2a583f
a9810475a5b95a67ca41c4651e97c619cdfcd840
/FinalProject.py
8fa2be1280f0720c14fc3e085c9af23600d61979
[]
no_license
Nitzan-Gabay/Nitzan-Gabay
8d6633b5ffbce989dcd4751c6f09a7dd33b4fecc
1284c79ecbabc18c09faf19c4e2a94143858a58f
refs/heads/main
2023-07-08T00:25:28.850362
2021-09-01T12:28:28
2021-09-01T12:28:28
402,050,945
0
0
null
null
null
null
UTF-8
Python
false
false
10,697
py
from os import name import tkinter import pyodbc import openpyxl from tkinter import messagebox from tkinter import * class Customer: def __init__(self, name, budget): self.name = name self.budget = budget self.finalBill = {} def BuyTicket(self, cinema): movieInde...
[ "noreply@github.com" ]
noreply@github.com
daab02c365ce921ab5905425f021e1307979d25e
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/mars/stream_table.py
e671c33b78355b98ed7a672fe0156befb48febba
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
9,953
py
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'Unknown'}, {'abbr': 'fsob', 'code': 1022, 'title': 'Forecast sensitivity to observations'}, {'abbr': 'fsow', 'code': 1023, 'title': 'Forecast sensitivity to observations wave'}, ...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
1fdcdc99bcf503501c3716c003b8e28528b0ce68
0857913ae5cde7481c5bca63ed5081e11f217581
/p1804/p10While/whileTest.py
5d346d2f002ca0cee68216cb7d6c969ca233f173
[]
no_license
nmww/p1804_ceshi
48c2d93849018d8601f0732c5005395c81490ef1
72bf25cc7767371594b41f8919454e46fe178023
refs/heads/master
2020-03-15T23:25:43.345763
2018-06-27T03:19:55
2018-06-27T03:19:55
132,393,611
53
7
null
null
null
null
UTF-8
Python
false
false
565
py
''' while 循环 # while语句作用的范围是 # 下方相同缩进的 所有语句 while 循环条件: pass pass 循环条件: 1. 是否成立: True / False 2. 条件判断控制 a 比较 b ''' #------------------------------- qiandao = 0 # 没有签到 xinqing = 'kaixin' while qiandao < 10: print ("您未签到,请尽快去签到,否则要跪键盘 %d "% qiandao) qiandao = qiandao + 1 #---------------------...
[ "2423550286@qq.com" ]
2423550286@qq.com
03417255e8878cb6efe2be307a2c72e821c3fcc1
44fc528457ce9086eec6037c38322a920f2da495
/webui/views/SettingView.py
c3ba40284734a323c5ad647e507128ac8726ce66
[]
no_license
Banifest/WebUICourseWork
505b5e67175e0df03ca62c81656511e5510f9229
2d8d956d9d6df844fc50a383986362eb94e49a30
refs/heads/master
2022-12-12T08:57:08.303746
2018-05-16T07:52:47
2018-05-16T07:52:47
130,804,995
0
0
null
2022-12-08T02:04:41
2018-04-24T06:12:20
Python
UTF-8
Python
false
false
1,495
py
import requests from django.http import HttpRequest, HttpResponse from django.shortcuts import redirect from webui.CustomTemplateView import CustomTemplateView from webui.req import do_request class SettingView(CustomTemplateView): template_name = 'setting.html' def get(self, request, *args, **kwargs): ...
[ "banifest@gmail.com" ]
banifest@gmail.com
c5de7953254fdb1308494e7667c8a26fe17950d4
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/ModemManager/ModemOmaClass.py
aa6224a47cc7b630f23469b8985f3eb96ae06ecb
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,603
py
# encoding: utf-8 # module gi.repository.ModemManager # from /usr/lib64/girepository-1.0/ModemManager-1.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attr...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
0f1efd38304a5382f434bb66d79a51c0c7e7975c
b521802cca8e4ee4ff5a5ffe59175a34f2f6d763
/maya/maya-utils/Scripts/Animation/2019-2-15 Tim Cam_Route_Manager/.history/Cam_Main/Cam_Main/Cam_Attribute_Panel_20190119093039.py
087baf065ed52ddf41a02765c0e1351af2098e5e
[]
no_license
all-in-one-of/I-Do-library
2edf68b29558728ce53fe17168694ad0353a076e
8972ebdcf1430ccc207028d8482210092acf02ce
refs/heads/master
2021-01-04T06:58:57.871216
2019-12-16T04:52:20
2019-12-16T04:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,514
py
# -*- coding:utf-8 -*- # Require Header import os import json from functools import partial # Sys Header import sys import traceback import subprocess import plugin.Qt as Qt from Qt.QtCore import * from Qt.QtGui import * from Qt.QtWidgets import * from maya import cmds def loadUiType(uiFile): import plugin.Qt a...
[ "2595715768@qq.com" ]
2595715768@qq.com
8b15ed6ba9f382e8f2b53a7713540d4d982e40cf
797245b1f6513da556911e55644a4ce0b2bf9f3e
/Source_Code/__pycache__/ttkbar.py
c4ada8189f713a15d92631ebee2a3daf656a801c
[]
no_license
HowcanoeWang/Floraecite
6848ed0c15db2df2d46b7a09f395566f31f95238
0ef710485beed92a5f735cda69af4869c687a4c1
refs/heads/master
2020-07-25T21:57:28.661216
2018-11-05T21:31:03
2018-11-05T21:31:03
73,649,568
1
0
null
null
null
null
UTF-8
Python
false
false
943
py
import tkinter as tk from tkinter import ttk class SampleApp(tk.Tk): def __init__(self, *args, **kwargs): tk.Tk.__init__(self, *args, **kwargs) self.button = ttk.Button(text="start", command=self.start) self.button.pack() self.progress = ttk.Progressbar(self, orient="horizontal", ...
[ "howcanoewang@gmail.com" ]
howcanoewang@gmail.com
4d7905548568108573c8f94af0bd8d8dd325351c
3a143e43ba7160dfd33cfe1f2369ce2747fb238b
/trabalho0222222/server.py
60c5c81ae63c42f3ddbe13febdc1ee914dc61b9f
[]
no_license
vascocmarieiro/authentication_SIO
770b7042847cf1732bac1febcc8601860bf00961
34565a9ac8bca8ebf2cafc2cad64694e94170f7a
refs/heads/main
2023-03-07T14:11:42.412874
2021-02-20T15:55:13
2021-02-20T15:55:13
340,689,779
0
0
null
null
null
null
UTF-8
Python
false
false
9,742
py
import asyncio import json import base64 import argparse import coloredlogs, logging import re import os from aio_tcpserver import tcp_server import rsa from cryptography.hazmat.primitives import serialization, hashes from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.asymmetri...
[ "noreply@github.com" ]
noreply@github.com
635262664cf5f3f517bcfd5715c457c14797e423
b5430b06bf0b59f5015e3cc7ad2d94fc045eb29f
/crawler/crawler/control/deploy/proxy_tools/deploy_proxy/shadowsocks_old/test_local.py
8389f8f0f971d6943e2ea900d20cfbc8dcf31421
[]
no_license
pengdan01/spider
9250007be3c7c422d916c370a1389ce434948442
67f57c26673606b2a215d6ef9e9340e027990c4c
refs/heads/master
2021-08-24T13:35:02.645038
2017-12-10T01:50:59
2017-12-10T01:50:59
112,009,041
1
2
null
null
null
null
UTF-8
Python
false
false
4,491
py
#!/usr/bin/env python # Copyright (c) 2012 clowwindy # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, me...
[ "pengdan.pd@alibaba-inc.com" ]
pengdan.pd@alibaba-inc.com
4ebf71176b29290d49c3086b15b39b23d8e60340
17c2d25724d8e86085fbc1556f5f87ca1e773987
/web/ShoppingMall/ShoppingMall/wsgi.py
2130fce97ea9c85445115f698f00eca61ed6ffad
[]
no_license
dltmdgh1994/multicampus
93c4ec53f4f3864105f94957b52fca46d00c42e3
fddf8bd33c77b9bb69c1a2f975237026704b2727
refs/heads/main
2023-04-19T06:55:10.963257
2021-05-05T14:30:26
2021-05-05T14:30:26
325,204,824
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for ShoppingMall 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "dltmdgh1997@gmail.com" ]
dltmdgh1997@gmail.com
63f38c65853bab4f5cfe54a9c9460e2f4e89690f
6eab37abbc1fd64e7283e1cd0170aaef8989aa71
/src/kigo/http/server.py
86b6492f87e2bc08d979ec0575a6d4b1f4b73615
[]
no_license
olk/ki-go
0aff248e3c980491b821161c61039a9aa18284ac
b2c25006b99ca0f8566054d1a8b0498b223d8d2c
refs/heads/master
2021-06-24T07:58:45.656332
2020-05-25T11:34:27
2021-03-11T19:36:08
208,029,073
0
0
null
null
null
null
UTF-8
Python
false
false
1,924
py
import os from flask import Flask from flask import jsonify from flask import request from kigo import types from kigo.board import GameState, Move from kigo.utility import coords_from_point from kigo.utility import point_from_coords def get_web_app(bot_map): """Create a flask application for serving bot moves....
[ "oliver.kowalke@gmail.com" ]
oliver.kowalke@gmail.com
e829030a1ce36ea2aa1a476003fbf1e1c91a059e
8fc9366fdaa79e8dd748e435b62db171d44581ad
/jtoken.py
8e22c65226e1ae67e9f2a086bee9f897167003c6
[]
no_license
mindchains/challenges-under_construction
e21fa1b43385cc8dff44772fbd65cdcf39141d29
ea596b42a24b7cdafb52e7625bdd83bef44aeba4
refs/heads/main
2023-03-05T12:01:28.766997
2021-02-22T22:31:14
2021-02-22T22:31:14
341,355,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
import json, base64, sys, os, jwt from colorama import Fore, Style intro = """ ################################################# # # # JSON WebToken # # challenge: # # hackthebox/under_construction # # # ################################################# """ print(Fore.GREEN + intro) tok...
[ "mindchains_pt@protonmail.com" ]
mindchains_pt@protonmail.com
4dc98360b6b09c2585684d65e841dc4239d20e34
401ea01ffb848f1eabd8aa17690ec1ff5dc8e6bd
/test/test_action_event.py
62370e432b086e11d277be6874c16774885dc2d8
[]
no_license
bbrangeo/python-api-client
735acda3627d7a0ddd78ecb1e9617bb4082c9001
c2481e0cd012a41aeceefdce289d48509540b909
refs/heads/master
2020-03-14T18:24:20.888631
2018-04-30T14:47:47
2018-04-30T14:47:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
# coding: utf-8 """ BIMData API BIMData API documentation # noqa: E501 OpenAPI spec version: v1 Contact: contact@bimdata.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import bimdata_api_client from bimdata_api_c...
[ "hugo.duroux@gmail.com" ]
hugo.duroux@gmail.com
df9181e897d1c79756259eeadcb4711eca0fff67
04975a41eb459f1528dcbdcb1143a3cb535aa620
/Tree_easy/leetcode_590.py
ef470b8651a6a2b4c709b9cdf7f36ce6651cff88
[]
no_license
RickLee910/Leetcode_easy
2a50d632379826979a985e1b9950d4cf6bbd8b18
c2687daf334f96a908737067bb915b8b072d0d56
refs/heads/master
2023-01-29T11:09:26.701243
2020-12-02T04:36:14
2020-12-02T04:36:14
294,952,436
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
class Solution: def postorder(self, root: 'Node') -> List[int]: ans = [] def dfs(root,ans): if root == None: return for i in root.children: dfs(i,ans) ans.append(root.val) return ans dfs(root, ans) return...
[ "13554543910@163.com" ]
13554543910@163.com
466cb57b80be5c049eef958613b756e7c32b4aab
d2a45fe8a7036d27e761212a345fb6d2abcbf2c8
/app_study/popages/contactpage.py
ebc95aff07f78bab5cb48c292073a38c06bb85b3
[]
no_license
superman552/-pytest_study
d212b0a50b80e97a439f41c35c333b6d64d796ff
30e2da96341c5d2bb1e117aebfebb833a8959c02
refs/heads/master
2023-02-05T07:33:23.793446
2020-12-25T08:59:08
2020-12-25T08:59:08
305,019,668
0
0
null
null
null
null
UTF-8
Python
false
false
1,205
py
from appium.webdriver.common.mobileby import MobileBy from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from app_study.popages.addcontactpage import AddContactPage from app_study.popages.basepage import BasePage from app_study.popages.otherinformation import OtherInf...
[ "245773788@qq.com" ]
245773788@qq.com
387709ceec1cd708efad58885ceba08d4c913c14
776907762cefa7d449a9124daa0d74cb425c3b9f
/porfolio/fabfile.py
4e876fc3f2744ad49d261ff640191c89251df985
[]
no_license
123mahesh/portfolio
2344a72ee32371b95a76372361640a1d253b4f72
ea2b411fd8a6834e650007b6741889866480b537
refs/heads/master
2021-01-21T21:48:09.147827
2016-01-07T02:00:39
2016-01-07T02:00:39
48,783,726
0
0
null
null
null
null
UTF-8
Python
true
false
21,858
py
from __future__ import print_function, unicode_literals from future.builtins import open import os import re import sys from contextlib import contextmanager from functools import wraps from getpass import getpass, getuser from glob import glob from importlib import import_module from posixpath import join from mezza...
[ "rowhseham@yahoo.com" ]
rowhseham@yahoo.com
183022f34e2b1c7cf67eb81188e4eadc3cc202a2
4c89c922a3d22c4c9d8f7419d0bbccb693e6b215
/30 Days of Code/Day 06 - Let's Review/solution.py
bd77b9f80c7e5dfae351c6582f6cb0faaf06b9ab
[ "MIT" ]
permissive
aesavas/HackerRank
66b29adfbfe47d9bd8cdbccc8b4d3aa52e69441a
c1ffecc92e3e3db923f94594b9115f650dc2983a
refs/heads/master
2021-01-05T10:05:57.996492
2020-09-29T22:47:48
2020-09-29T22:47:48
240,984,986
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
""" author : Ali Emre SAVAS Link : https://www.hackerrank.com/challenges/30-review-loop/problem """ if __name__ == '__main__': S = list() N = int(input()) for _ in range(N): s = input() S.append(s) # This solution is classical way for i in S: odd, even = "", "" # b...
[ "aliemresavas.95@gmail.com" ]
aliemresavas.95@gmail.com
d8c33a598956091bab533eda8716d63e6ce852b5
2986a62a5221885b2f070060aadb9c9ab1e84035
/Aula10 - Condições em Python/ex033 - Maior e menor valor.py
1084395b85db8996bebe2ec6aea68e8a3f430e7f
[]
no_license
igorkoury/cev-phyton-exercicios-parte-1
dcb39772be48ba7333a391af4e9fda025654472f
b187565ca996402f4862ad3000d18bfb461e269e
refs/heads/main
2023-08-28T02:38:32.311162
2021-10-06T21:38:39
2021-10-06T21:38:39
414,375,879
1
0
null
null
null
null
UTF-8
Python
false
false
627
py
# Faça um programa que leia 3 números e diga qual é o maior e o menor. print("Digite 3 numeros para saber quem é o menor e o maior.") n1 = int(input("Digite um número: ")) n2 = int(input("Digite outro: ")) n3 = int(input("Digite mais um: ")) print("Você digitou {}, {} e {} respectivamente.".format(n1, n2, n3)...
[ "noreply@github.com" ]
noreply@github.com
8b1d40c7b939223d27df2de0f50f9eb62f259089
63627101e170b3cd82cfff95bf123867f3723187
/pyopengl/test.py
a02dba6291f5a639ec2a16a266bb73209b279663
[]
no_license
winstongithub/gittest
405b2a362f8fdbf76400481a1f9f60fa05420300
e2935fd4e2d7d6e75f97903c229258bafce957e0
refs/heads/master
2021-09-12T13:02:53.007824
2018-04-17T02:01:24
2018-04-17T02:01:24
58,017,198
0
0
null
null
null
null
UTF-8
Python
false
false
3,885
py
from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * import numpy as np def transToArray( lists , n ): size = len(lists) array = [] for i in range( 0 , size//n ): l=lists[ i*n: i*n + n ] l.append(1) array.append( l ) return np.array( array , float ) def tr...
[ "670293316@qq.com" ]
670293316@qq.com
47af906a4fc637e1df0f37c9d51100c80e6bf5bc
ee1267bd39a90e9856d2e8dd735af29986b2d52a
/DS5.py
4ad6a6d9026fc705c44151489a4b8410e4509ba2
[]
no_license
Khushi-03-12/DSP-17Jan
d7fcc647435253079c986114c441706cb9542ca5
618cd72f898d40701465374dc8688bf6ecd3f523
refs/heads/main
2023-02-25T09:48:21.755344
2021-01-31T12:29:30
2021-01-31T12:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,217
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 24 16:12:17 2021 @author: vikas """ teamA = ['India', 'Australia','Pakistan', 'England'] # 4elements list index 0-3 for i in teamA: print (i) for i in range(len(teamA)): print (teamA[i]) r1 = range(1,11) for i in range(1,11): print ('2 * ' + str(...
[ "vikas.khullar@gmail.com" ]
vikas.khullar@gmail.com
7bc4a334661480db4b344f56862b847a89735faa
6e56c8204e30ea8b280228385723e9c9614dce33
/assignment2/randomized-optimization/data/loader.py
f5993d57ea86823a605d207f477701854720042c
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
yifanguo247/CS7641
7f7c94c41d30df9d33d01897b9036f4602b77d3d
8512497f3f7eb2cc90359b91acb26c614fd35ef6
refs/heads/master
2020-04-22T03:02:38.167518
2019-04-15T04:23:06
2019-04-15T04:23:06
170,071,937
0
0
null
null
null
null
UTF-8
Python
false
false
27,208
py
import copy import logging import pandas as pd import numpy as np from collections import Counter from sklearn import preprocessing, utils import sklearn.model_selection as ms from scipy.sparse import isspmatrix from sklearn.pipeline import Pipeline from sklearn.preprocessing import StandardScaler import os import s...
[ "yifanguo247@gmail.com" ]
yifanguo247@gmail.com
f890543311bf3991003bb75799e29477022c6245
00ce0f4d0c380d60cb336484200153636b249120
/hearthbreaker/effects/minion.py
18d49d2a99c6775f7c8aca516afe987f51750f98
[ "MIT" ]
permissive
tezheng/hearthbreaker
21784aeba11f557703e22a23af54886c496d3fec
169ad0d00e62300054e7cbaf5562d750f28730a8
refs/heads/master
2021-01-15T14:30:05.542012
2014-09-24T20:03:12
2014-09-24T20:03:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,857
py
import copy import json import abc from hearthbreaker.constants import MINION_TYPE import hearthbreaker.game_objects class MinionEffect (metaclass=abc.ABCMeta): def __init__(self): self.target = None def set_target(self, target): self.target = target @abc.abstractmethod def apply(se...
[ "daniel.yule@gmail.com" ]
daniel.yule@gmail.com
94b7c4f227bf9ec62303991809f59e1a3ffd478b
0c24fcbf802ed1881abdfbf14b867d4545237602
/students/y2336/practical_works/Zolotarev_Daniil/django_project_zolotarev/zolotarev_app/zolotarev_app/settings.py
108b126d4192155cc8cf56bc0ea77e43b93358c2
[]
no_license
TonikX/ITMO_FSPO_Web_Django_2020
d435d2984778d668f6d04c86d78c991b3f390c1a
267141d6e4ee231ca689c8929f3db25fef15a5fd
refs/heads/master
2023-01-18T17:38:05.964240
2020-11-20T18:08:57
2020-11-20T18:08:57
245,081,715
2
139
null
2023-04-25T18:54:50
2020-03-05T05:59:54
Python
UTF-8
Python
false
false
3,210
py
""" Django settings for zolotarev_app project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import...
[ "danzolax@gmail.com" ]
danzolax@gmail.com
9d4a06013d0517080446f5dfd957558c9e77d8d9
a86fda09a185ebf367e31cf26589161303f9497a
/metrics/topologyVertex.py
3b6fc44e77e468ade8bbf02eebf09fef94eecc0f
[ "BSD-3-Clause" ]
permissive
kristianeschenburg/metrics
67ec2cd5b697241eee35da46daf71b2d735cdb64
53900f8130cb7dd762ae3e816225fb4f178a5b29
refs/heads/master
2020-03-25T10:27:29.623361
2019-04-02T21:20:08
2019-04-02T21:20:08
116,600,441
0
0
null
null
null
null
UTF-8
Python
false
false
1,711
py
import numpy as np def labelCounts(label, adjacencyList): """ For each vertex, count the number of vertices with other labels that are adjacent to it. Parameters: - - - - - label : int, array label vector adjacencyList : SurfaceAdjacency adjacency list for surface mesh ...
[ "keschenb@uw.edu" ]
keschenb@uw.edu
83a7659611f229a80e07a21c67da2d3906d0f1e0
ebd042f0b3ab83f9a44334f6dd9cd8b72449a3fe
/apps/tickets.py
0f8e6298b5239c7607e3f3dd60f3762497a09e0b
[ "MIT" ]
permissive
Gotchi9106/baazaar-explorer
3d0d048e85c57c1cc660a385d1a9483379a3224f
deac25ad076b9249b26ccf52458c72096987eb9c
refs/heads/main
2023-07-04T17:25:47.087891
2021-08-26T16:01:30
2021-08-26T16:01:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,244
py
import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html import dash_table import data import pandas as pd import plotly.express as px import plotly.io as pio from dash_core_components.Graph import Graph pio.templates.default = "plotly_white" ticket_sales = data.t...
[ "alexjj@gmail.com" ]
alexjj@gmail.com
455ab705f17ca676bf7042b5beb8912bd9ac74c8
6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5
/tests/kyu_7_tests/test_patterncraft_visitor.py
8824069b8298d54921b0b5d2084e335ee8fe30a0
[ "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
552
py
import unittest from katas.kyu_7.patterncraft_visitor import Marauder, Marine, TankBullet class PatterncraftVisitorTestCase(unittest.TestCase): def setUp(self): self.bullet = TankBullet() self.light = Marine() self.bullet2 = TankBullet() self.armored = Marauder() def test_equ...
[ "the-zebulan@users.noreply.github.com" ]
the-zebulan@users.noreply.github.com
5aae6e6c0cb7252a3a9c1b5e4334d7c90919cb06
dc6176c6d2213926e6e4a343dfe399970931b976
/code/DF_one_hot1.py
19b3f0e48dd0c23cb38bdc1bfd95a92d42493a16
[]
no_license
abosun/jiaohang
153efd168b6c958e0e2d25d2b61aa0c72ca141a0
3fff2c90b6adc09d430994544751b06f7fefec2b
refs/heads/master
2020-04-11T15:14:21.059788
2018-12-15T08:29:26
2018-12-15T08:29:26
161,883,820
0
0
null
null
null
null
UTF-8
Python
false
false
6,064
py
#coding:utf-8 import pandas as pd import numpy as np PCA_count = 15 def ids_prose(ls): ls[1] = '-'.join(ls[1].split('.')[:2]) return ls def log_reader(log_path): train_log = log_path train_log = open(train_log) train_log.readline() train_log = [ids_prose(x.split()) for x in train_log.readlines...
[ "lmy413033003@126.com" ]
lmy413033003@126.com
f4ba49f50c1a6829dee16f64d136e2f0406c7115
d992f98d3c5d009c567e9dac83f38770d8d72f77
/postCMeval/annoate_summary_with_pscore.py
942920673d5212449ff7547f0710420b4b39e90f
[]
no_license
rlleras/quasiClique
c65643dcc35e2426e4c519ee1b3400895e9610cc
d57be41a213d2e57778d2feb9c103594ebbbf705
refs/heads/master
2021-01-21T20:53:05.841720
2012-02-28T22:49:17
2012-02-28T22:49:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
import os import sys import glob import csv def annotate_rank_summary_with_pscore(filename, delimiter=','): """ Given a rank_cmfinder.pl-output summary file X, create a new file X.pscore_added that has the motifs' pscores appended """ motif_dir = os.path.dirname(filename) in_csv = csv.DictReader(open(filename),...
[ "magdoll@gmail.com" ]
magdoll@gmail.com
2901a64d6a75331ae821fc785d834c03fc4d5a31
616c3c02be31b9ae4d06bd7c5a8d4a2e7c446aa1
/1370.上升下降字符串.py
36aae8d92dbacc45541253677dc27fdce052d717
[]
no_license
L1nwatch/leetcode-python
8b7c47c04ee9400d50d8b0764a544a0463df8f06
0484cbc3273ada25992c72105658cd67411c5d39
refs/heads/master
2023-01-11T14:53:15.339276
2023-01-11T05:24:43
2023-01-11T05:24:43
194,516,548
0
1
null
null
null
null
UTF-8
Python
false
false
935
py
# # @lc app=leetcode.cn id=1370 lang=python3 # # [1370] 上升下降字符串 # # @lc code=start class Solution: def sortString(self, s: str) -> str: s = list(s) s.sort() answer = list() while len(s) > 0: # step1 char = s.pop(0) answer.append(char) ...
[ "watch1602@gmail.com" ]
watch1602@gmail.com
f91e3109fc3e107d0b4b837ee59485dabdb88cbb
5441789f59fd2de1a0761308182e3dc4e9b69bff
/objects/Personne.py
e600b14aebe674c26909691c9725e00af9d28b63
[]
no_license
Koungoins/Covid-19
8f9487969a1abd96023cf7a136863b2fed182657
dab6ac0e18d20d348a8401012211d69b10efc8b7
refs/heads/master
2022-12-19T20:35:12.430495
2020-09-16T03:25:38
2020-09-16T03:25:38
272,237,863
0
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
#!/bin/env python # coding=utf-8 from objects import coordonnees class Personne(object) : #Constructeur de la classe Personne def __init__(self): self.id = -1 self.nom = "" self.prenom = "" self.date_de_naiss = "" self.coordonnees = coordonnees.Coordonnees() #Saisi...
[ "bina.ansf@gmail.com" ]
bina.ansf@gmail.com
f4faa60e850bd436bde2b614fac2f1c41c339840
efa92bc7be48af31ac7bce524e23ee2627879c41
/scale_and_normalize.py
489e1c2aeb0613696a0dcc693ffef82dd8b6038f
[]
no_license
amaunz/kaggle_preproc
09e8c6d2501f8c21c34ddfc6b019aa71a9171636
90081eef03f3beb9c800ab7187e7cb2c50db9be0
refs/heads/master
2022-12-11T04:53:35.044601
2020-09-13T15:15:31
2020-09-13T15:15:31
295,177,823
0
0
null
null
null
null
UTF-8
Python
false
false
7,286
py
########################################################### ########################################################### #### #### #### LUMINOSITY NORMALIZATION & #### #### PREPROCESSING RECIPE OF THE WINNER OF #### #### KAGGLE DI...
[ "andreas.maunz@roche.com" ]
andreas.maunz@roche.com
01e6a378473dec7ae11da3a1205ee2449569340b
13bc6393eaf65780fc70575d5354f55c4cc1450d
/pres_analytics_site/analytics_main/views.py
1eac87ecbaf4d10b11cdc769cf49398f92a8cc91
[]
no_license
abhinavasingh16/PresidentialAnalytics
91ec446883efdc13bd16798f7418f80ad6d0d332
6386f80aeb544ea2fcce41c10d71348d7d79f682
refs/heads/master
2021-01-10T14:47:25.465431
2015-10-11T15:40:38
2015-10-11T15:40:38
44,029,357
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
from django.template import Context, loader from django.http import HttpResponse from django.shortcuts import render, render_to_response from django.http import HttpResponseRedirect from django.template import RequestContext import json import os import copy import sys def index(request): ''' Index view - shows a li...
[ "abhisingh@nw0627.nerdwallet.com" ]
abhisingh@nw0627.nerdwallet.com
31de42d8a93f76985b06a65ff8e74ce14733af1e
bec8f33002130d8395f4ac4f0c74b785aa22cac5
/appium/options/common/language_option.py
f82de63d08680cc5a2a131403286ba603d4c8827
[ "Apache-2.0" ]
permissive
appium/python-client
1c974fdf1ac64ce4ac37f3fc8c0a3e30c186d3ca
2e49569ed45751df4c6953466f9769336698c033
refs/heads/master
2023-09-01T22:14:03.166402
2023-09-01T11:52:27
2023-09-01T11:52:27
18,525,395
1,588
606
Apache-2.0
2023-09-10T02:00:09
2014-04-07T17:01:35
Python
UTF-8
Python
false
false
1,317
py
# Licensed to the Software Freedom Conservancy (SFC) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The SFC licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
noreply@github.com
a3d44c517ab38a95c83ab8b1483260b48e15327b
4328c71ddbb3dd564c04c599f8e95afef16e0d7c
/dg/4-sysProcess/06-全局变量在多个进程中不共享.py
773b57b49e89c4bc420af8e6576049b0201d5761
[]
no_license
amtfbky/git_py
470fb7bc8f2c5017d47c31e1af8bb042bfe377b4
6159049b088036ebd133f5dab917d3e540a304c8
refs/heads/master
2020-03-09T04:16:12.991206
2018-06-01T01:16:05
2018-06-01T01:16:05
128,583,362
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
import os import time g_num = 100 ret = os.fork() if ret == 0: print("------process-1--------") g_num += 1 print("------pricess-1---g_num=%d--"%g_num) else: time.sleep(1) print("------process-2--------") print("------pricess-2---g_num=%d--"%g_num)
[ "xjbrhnhh@163.com" ]
xjbrhnhh@163.com
8ba17eac98795a2e90941bb8a59a7c5f271b75eb
a9937139b1af85180cea706a52d447abce2430f4
/e/Pliki/otwieranie_pliku.py
1f748da7717c491ec9513b293b31648e29137cf4
[]
no_license
MirekPz/Altkom
8f16014d43adb10e87804ae2b5d23151924cb226
0a49e75e681593b41d07cbff63dea0723a11756b
refs/heads/master
2020-09-29T00:12:37.990353
2019-12-13T15:52:30
2019-12-13T15:52:30
226,899,295
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
plik = open('example_txt_file.dmo', 'r') zawartosc = plik.read() print(zawartosc) plik.close() input('drugi:') # with open with open('example_txt_file.dmo') as file: print(file.read())
[ "mirek@info-tur.pl" ]
mirek@info-tur.pl
f1161011ed04bd3840278525bb37efb6f1ee6b1c
1db89e7951175584738bf68357094cb8f71d30e1
/meiduoshop/meiduoshop/apps/contents/utils.py
7e29aa6df354ae0de1f4ed5b88c518821f1d9c19
[ "MIT" ]
permissive
juntao66/meiduoshopping
f7059ba1e943dd6806d528bf42710a71e8aca7a9
30f2f3c508ce4e50680f805f1ca8b64162cd926d
refs/heads/master
2022-12-06T08:06:20.311901
2020-08-24T03:24:11
2020-08-24T03:24:11
287,690,996
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
from collections import OrderedDict from goods.models import GoodsChannel def get_categories(): categories=OrderedDict() channels = GoodsChannel.objects.order_by('group_id', 'sequence') #遍历所有频道 for channel in channels: #获取当前频道所在的组 group_id = channel.group_id # 当前组 ...
[ "1401180436@qq.com" ]
1401180436@qq.com
1e13e04eda9a95768a0674f2890d5771f4427b34
f0dc114a8269809d759bf55e261b21802c115107
/fastestimator/trace/xai/__init__.py
e08a7a46543a1d57a6cf90d6950da155de3a128e
[ "Apache-2.0" ]
permissive
purujitb/fastestimator
5ca857286c35dc551b5a514b0e92343b3a6c2cdf
32369742e58a091f83021694b91db7bb375bb088
refs/heads/master
2021-07-08T10:40:43.122405
2021-01-13T18:29:29
2021-01-13T18:29:29
225,451,676
0
0
Apache-2.0
2019-12-02T19:24:07
2019-12-02T19:24:06
null
UTF-8
Python
false
false
746
py
# Copyright 2019 The FastEstimator 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 appl...
[ "Michael.Potter@GE.com" ]
Michael.Potter@GE.com
2e6e3a213ecd4d9aedd876ae527ccdb0aad99505
c995e0b8cb2468a179bb20a1585b6a65a559b87e
/routes.py
e32844b946a10663def5cf00860e034defc9e4dd
[]
no_license
Lormenyo/Ashesi-Maker
0f35d3a156fa39af0f0ac7067f4b0749e212ffb6
3c65851785752dcde4cc89e030299bb66738d71e
refs/heads/master
2020-05-27T02:22:16.737069
2019-05-24T16:10:48
2019-05-24T16:10:48
188,451,032
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
from flask import Flask, render_template, request, redirect, url_for, session, flash import datetime app = Flask(__name__) app.config['SECRET_KEY'] = 'mykey' # Homepage @app.route('/') def index(): final_year = int(datetime.datetime.now().strftime("%Y")) third_year = final_year + 1 second_year = fin...
[ "noreply@github.com" ]
noreply@github.com
3db2ae30b8fab95ab7e8a15d555ab18f2421cf1f
650a65942fc3a7000f498e1932d4229b3a224524
/python/ray/autoscaler/sdk.py
0a48d6533d5a15d5f52622552c72f28dca7935cf
[ "Apache-2.0", "MIT" ]
permissive
verystrongjoe/ray
52bd9ef627c736d325aee22148012183997d58b6
9f598230ebd9b84af8dce6a1b144d60f384e9266
refs/heads/master
2023-01-27T23:37:13.205094
2020-11-25T17:26:53
2020-11-25T17:26:53
288,704,026
0
0
Apache-2.0
2020-08-19T10:39:06
2020-08-19T10:39:05
null
UTF-8
Python
false
false
7,905
py
"""IMPORTANT: this is an experimental interface and not currently stable.""" from contextlib import contextmanager from typing import Any, Dict, Optional, List, Union import json import os import tempfile from ray.autoscaler._private import commands def create_or_update_cluster(cluster_config: Union[dict, str], ...
[ "noreply@github.com" ]
noreply@github.com
be8e5e49757da2d235076e9890d0f790ea19a91d
1273fc880f09305fd1ed9ddc9b273df4253f15e7
/muffin_babel/__init__.py
3c8cca5765181a5b60e915fac27beabaa6161269
[ "MIT" ]
permissive
klen/muffin-babel
ac63b997bb7ecb589b72d6e8a0ce3092fb87193f
c627a4da4263e883bec04793c6637d3f8aa1f9bc
refs/heads/develop
2023-06-01T04:38:45.708882
2023-05-22T12:04:37
2023-05-22T12:04:37
39,961,646
3
0
MIT
2021-05-28T10:02:34
2015-07-30T16:51:18
Python
UTF-8
Python
false
false
10,443
py
"""Muffin-Babel -- I18n engine for Muffin framework.""" import csv import logging import sys from contextlib import contextmanager from pathlib import Path from typing import TYPE_CHECKING, Any, Awaitable, Callable, Dict, Optional, Tuple, TypeVar from asgi_babel import current_locale, select_locale_by_request from bab...
[ "horneds@gmail.com" ]
horneds@gmail.com
5f57eece93900b5d336c3834dff8ef564e01e82f
d6e8b2a950ce4eddb2d8325ad08750fe5099f183
/How to plot curves.py
7848cf69d4f68dd2e70839c104ce69fe27dd5956
[ "MIT" ]
permissive
govindak-umd/A-Star-Non-Holonomic
2ea94da02feb4b4c64c820d7dd750a78384bab5d
f3080e9dc0b224147f5164c2a5e441be318514b7
refs/heads/master
2022-12-30T07:53:15.399113
2020-09-29T23:44:25
2020-09-29T23:44:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,667
py
import matplotlib.pyplot as plt import numpy as np import math fig, ax = plt.subplots() XL=[] def plot_curve(X0,Y0,Theta0,UL,UR): t=0 r=0.5 L=4 dt=0.1 X1=0 Y1=0 dtheta=0 Theta0=3.14*Theta0/180 Theta1=Theta0 while t<1: t=t+dt X0=X0+X1 Y0...
[ "noreply@github.com" ]
noreply@github.com
7dcaaf85799043a0033d4e6e863734abc3a348e5
5f129972f9135495bfb9714038fd6aab30031330
/nanjingmap/plot_echarts_map.py
d12bffb53b4014843300f1712ef71be13bd79ed3
[]
no_license
appleyesss/Visualization
5b4ceb5a2753fb906356e28df5fb1ea4b46bc441
8b169eef1a9a73f36c288fdd2ce609b6e909bb9c
refs/heads/main
2023-06-22T10:21:46.423679
2021-07-29T02:37:49
2021-07-29T02:37:49
390,308,036
0
0
null
null
null
null
UTF-8
Python
false
false
4,584
py
import json import ssl import pyecharts.options as opts from pyecharts.charts import Map from pyecharts.render import make_snapshot from pyecharts.globals import ThemeType from pyecharts.faker import Faker from pyecharts.datasets import register_url from pyecharts.charts import Grid, Bar import asyncio ...
[ "noreply@github.com" ]
noreply@github.com
e32d436ac61e8d385d06cb8ad9cb3a11d7de2260
d49cb6d8f0e1b8d70ccde2a8b9b6e4d0c5725462
/tests/unit/test_search_algorithm_registry.py
c8206ba6a5781af9d18b1322c5d9c78901f773d9
[ "Apache-2.0" ]
permissive
Jardo72/Python-Sudoku-Sandbox
57ccd0fe26b3f6d59ef951d18eea7077c4abc020
ff702e0c752cc57ff409fb868fae3a136280d55c
refs/heads/master
2023-03-01T15:14:26.481545
2023-02-20T17:44:32
2023-02-20T17:44:32
164,080,583
0
0
Apache-2.0
2023-02-20T17:44:33
2019-01-04T08:32:27
Python
UTF-8
Python
false
false
2,347
py
# # Copyright 2023 Jaroslav Chmurny # # This file is part of Python Sudoku Sandbox V2. # # Python Sudoku Sandbox is free software developed for educational and # experimental purposes. It is licensed under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with the # Licen...
[ "noreply@github.com" ]
noreply@github.com
d6ac82bbeaec93d9d00fa93a6af791d6ca622d53
c5c22db44e0a07dbf8e9ecb1f4a2b01a8f78745c
/colonist_ql/game_structure/structures.py
63f69e542c86ee64b8533331f49b4735bf14988c
[]
no_license
Shalwaban/ColonistQLearning
0dc10e3c82b7ad762b9a16bae4e4d09a27b976bf
ce57b97825e24037db989d40bd288022ae5c5a0d
refs/heads/master
2022-09-13T17:59:47.501977
2020-05-30T07:21:33
2020-05-30T07:21:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,957
py
from abc import abstractmethod from colonist_ql.game_structure import cube_coord as cc import colonist_ql.patterns as patterns import colonist_ql.facts as facts import numpy as np class Hex: def __init__(self, cube_coords, real_coords, resource, value, blocked=False): self.cube_coords = cube_coords ...
[ "zactodd0@gmail.com" ]
zactodd0@gmail.com
971474881594f60e7aec7c36c68c8e7f3accc65f
db6f218c2df0db698e1a900c32ca4212158c176c
/RL_brain(sarsa).py
b4808af2b8fb906a2e6ca7bfe80e7a612472ffff
[]
no_license
alvinyee860120/Reinforcement-learning
b13efd687ab691ec3878e41a14bd6e47fd01c66d
33db05d16db764419224f2adbda23ac325d91622
refs/heads/master
2022-02-25T00:42:44.884905
2019-10-07T17:23:01
2019-10-07T17:23:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,076
py
#!/usr/bin/env python # coding: utf-8 # In[3]: import numpy as np import pandas as pd class Agent(object): def __init__(self, actions, learning_rate=0.01, reward_decay=0.9, e_greedy=0.9): self.actions = actions # a list self.lr = learning_rate self.gamma = reward_decay self.epsi...
[ "noreply@github.com" ]
noreply@github.com
8f16b2d94dc4d8a4ebc5c2b779b1049670c0faa5
d8829cbc2d2863f68cb1b447a878dce0ac20a878
/scraper/positions.py
40a42e62b99118840ea7c9eef7ef2123b8b36208
[]
no_license
XiaoxiaoWang87/InsightPrj
170a9757dfdf4669ee2c52322f2f5e5d766ce2a1
767a3719fad93ddb9711817f543b5e7b1822f680
refs/heads/master
2021-01-19T00:41:44.195663
2014-10-06T22:28:24
2014-10-06T22:28:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
import pandas as pd df = pd.read_csv('position_draft.csv',sep='\t') for index, row in df.iterrows(): #if row["DRAFT"] == '[]': if row["POSITION"] == '[]': print row["PLAYERCODE"]
[ "=" ]
=
ac958ec2d6d2db7da2dfb5dbd182f81028eebf15
ff2066656eb14103598a58ea27525449d626eb11
/Retail_Website/mysite/rfq/migrations/0002_auto_20200901_1820.py
b802dfa06e4bcc1e7c00cc2413312f498211723d
[]
no_license
mhjn95/Retail_Website
9a03f9a5709a9c734df04641dbb5e88037d7ee0a
62c59f111d1c412c3e1a833e37d7a0660556422a
refs/heads/master
2023-04-27T03:11:02.261450
2021-05-26T21:38:45
2021-05-26T21:38:45
371,173,254
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
# Generated by Django 3.0.3 on 2020-09-01 12:50 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('rfq', '0001_i...
[ "aayushmahajan950@gmail.com" ]
aayushmahajan950@gmail.com
2833d8de3a0b18a6459e8f03b507b3f21f0213c7
24324bddf112790cb45a2931a28c50a01ebbc030
/codingbat_list1.py
0c2c4ab3451adc4263b4a67359182cb8e884249c
[]
no_license
HamzaYacub/codingbat_exercises
4f15d98bb58e135234fa155e1d5764620f178091
c9e62331db5573764d88d11aa9370a05aad0c864
refs/heads/master
2022-06-13T02:15:26.249729
2020-05-05T15:21:46
2020-05-05T15:21:46
261,267,156
0
0
null
null
null
null
UTF-8
Python
false
false
1,954
py
#----------------------------------------------- q1 #def first_last6(nums): # if nums[0] == 6 or nums[-1] == 6: # return True # else: # return False #------------------------------------------------ q2 #def same_first_last(nums): # if (len(nums) >= 1) and (nums[0] == nums[-1]): # return True # else: # ...
[ "hamzayacub@gmail.com" ]
hamzayacub@gmail.com
ec9554520288d8413d2755df9482f7ffc60cb745
94fef8c06a4417eef6c443039547360ffb768ec0
/service/user.py
1bec1b2d646c9aa157087db7769103c85ab3b764
[]
no_license
lisongjian/lo
321c36fed940e03020b26b8010915bcbf5c5812f
94a40396ebffceeffaa069507d98fa0d76f02817
refs/heads/master
2021-01-10T21:29:13.752015
2015-06-07T08:35:09
2015-06-07T08:35:09
37,009,676
0
0
null
null
null
null
UTF-8
Python
false
false
33,251
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright Youmi 2014 # # @author: lisongjian@youmi.net # """用户信息相关 """ import protocols import utils import constants import IP import re import time import urllib2 from datetime import date import os import random import datetime from PIL import Image from models imp...
[ "lisongjian@gmail.com" ]
lisongjian@gmail.com
7ca8f55fef396068a976662a7c583e7704acf5ec
71bedfbfa6e1ac2d2469e632df0795eedb1def60
/scr/SSD300/test.py
7f016749c8dab7b307b6e55eb3c26feba1116e13
[]
no_license
cyctrung/audit
d4748ab5721bcf18e8e43005f7731112d2b635f3
fb6474cd6de4ec5d03eaf3f6278aba71d4ede96e
refs/heads/master
2021-05-29T00:02:45.860358
2020-04-09T06:20:23
2020-04-09T06:20:23
254,291,274
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
from tqdm import tqdm import cv2 import time import torch import numpy as np from dataset import DataSet from loss2 import MultiBoxLoss from ssd300 import SSD from ssdpytorch.utils.augmentations import SSDAugmentation from torch.utils.data import DataLoader from torch.autograd import Variable import matplotlib as plt f...
[ "48109056+cyctrung@users.noreply.github.com" ]
48109056+cyctrung@users.noreply.github.com
b46696c3c9181bf36981cb44b5e87175bbdb65e1
cfeea2347a9b820659e55eb3076e718f7504a5f1
/app/models/integrations/txt_files_integration.py
91a50910eb3ab8b63b9f30506acfa68d455e1639
[]
no_license
BarbaraMoser/Ecommerce-MVC
190b98a9ee7bdd8afd47de309d1ed1b65b8f6cc7
436f7368d54feb0e14b27c4c91510d61f91d865b
refs/heads/master
2022-09-28T10:00:02.912499
2020-05-28T17:06:11
2020-05-28T17:06:11
256,049,974
0
0
null
2020-06-06T09:47:39
2020-04-15T22:21:37
HTML
UTF-8
Python
false
false
1,583
py
import lxml.etree as ET class TxtFilesIntegration: _ENCODING_WINDOWS = 'windows-1252' _ENCODING_UTF = 'utf-8' _INFO_NOT_FOUND = 'Info não encontrada.' @classmethod def read_file(cls, file_name: str): return open(f'{file_name}.txt', encoding=cls._ENCODING_WINDOWS) @classmethod def...
[ "barbaramoser91@gmail.com" ]
barbaramoser91@gmail.com
e04f5043f0f19ff523bd05f33050be05401a5874
3be7cb09d29aac4be60b6d3813d3bdc728c994d6
/test/test_webhooks_api.py
fe811796e65f539ccaaddaf3c36f94288abe55e7
[ "MIT" ]
permissive
latourette359/modern_logic_client
aa0cbf5063568110e6f7ac886e0db62b580cca00
16d415e1b07a66a975dc08a67465c0d70c90cbac
refs/heads/master
2023-08-29T08:20:43.995465
2021-11-03T00:55:32
2021-11-03T00:55:32
408,497,435
0
0
MIT
2021-11-02T21:50:01
2021-09-20T15:26:48
Python
UTF-8
Python
false
false
1,017
py
# coding: utf-8 """ Modern Logic Api Manage and version your customer decision logic outside of your codebase # noqa: E501 OpenAPI spec version: 1.0.0 Contact: info@usemodernlogic.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import im...
[ "nick@shieldrule.com" ]
nick@shieldrule.com
4532e075eae5a1ddc4b9609e44839947d035ec9f
a68f37fcbf069c0656d4838af7386d6a9919fe59
/company_account/decorators.py
1454352528e707241395d14220ced8df0d57a92c
[]
no_license
mitchellpottratz/JobMatch
7dd2cbd979ca55cf651bcee4356a97e061145b90
797a9b1c3dfad57c05db52384d87d5f82be632f5
refs/heads/master
2022-11-26T08:44:27.535809
2019-12-13T20:05:11
2019-12-13T20:05:11
224,901,935
0
0
null
2022-11-22T04:53:46
2019-11-29T18:08:55
JavaScript
UTF-8
Python
false
false
457
py
from functools import wraps from django.http import HttpResponseRedirect # this decorators checks if the current user is a company_user, and redirects # them to the login user if they are not a company_user def company_account_required(function): @wraps(function) def wrap(request, *args, **kwargs): if not request...
[ "mitchellpottratz@Mitchells-MacBook-Air.local" ]
mitchellpottratz@Mitchells-MacBook-Air.local
3c26a203f65aa755554a86421e1604463d91627b
44937f6cfccc5748a0434dfc84267afacfbeb4f0
/deviceToIotHub/lib/iothub.py
01d2ddf8c6a42708c714eb6efe0001b464ac7ffb
[]
no_license
PankajRawat333/ESP32-
2c810ad7f707328a1486eda0989b45abf31f9ffd
e444b3f0c65d9f31c8c2009002e1c9dd74217b8a
refs/heads/master
2020-06-28T22:45:25.333622
2019-09-11T12:19:32
2019-09-11T12:19:32
200,361,825
0
0
null
null
null
null
UTF-8
Python
false
false
1,556
py
from sha256 import sha256 import base64 import hmac import urlencode import ntptime import time class IotHub(): def __init__(self, hubAddress, deviceId, sharedAccessKey): self.sharedAccessKey = sharedAccessKey self.sasUrl = hubAddress + '/devices/' + deviceId self.hubUser = hubAddress + '...
[ "pankaj.ra@hcl.com" ]
pankaj.ra@hcl.com
940acbee62ee89ded6482322acd686d8e8016304
5502909705e5cd8f37a88980dcbcd61a26708d3a
/env/bin/symilar
4f3258b7bb932cc236550a4d87bc9580b9b24614
[]
no_license
fobibot/FOBI-Bot
2fc92d793b64c5362b8122a2da4429bfecd82792
7e25d64a9812cb6a5b1c706ab17904c81545d9c4
refs/heads/master
2021-04-30T12:56:26.308624
2018-02-12T18:52:38
2018-02-12T18:52:38
121,284,254
0
0
null
null
null
null
UTF-8
Python
false
false
231
#!/home/pi/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pylint import run_symilar if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_symilar())
[ "fobi.fibo@gmail.com" ]
fobi.fibo@gmail.com
d8ef1ee6764fdbda951fade50fc717dc9d34f22b
d71d5797b52008f409c23e126d55ccfdd2692ba0
/lesson5/5.py
017e1ac1c4b2449546622cde16bfae71f52a9d6e
[]
no_license
timliakhor/geekbrains_python
6a77942755bfad4efc80c0abe0a34c499d68d433
07cb6ac945335cc6863adff5f11dbfe030943a3b
refs/heads/main
2023-03-28T04:25:21.706803
2021-03-28T08:51:54
2021-03-28T08:51:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
from functools import reduce with open("resources/5_res_1.txt", 'a') as file: for j in [i for i in range(1, 20) if i % 2 == 0]: file.write(str(j) + ' ') with open("resources/5_res_1.txt", 'r') as file: print(reduce(lambda previous_element, current_element: previous_element + current_element, ...
[ "USXFFq44RuaauYZ" ]
USXFFq44RuaauYZ
6add13271b6ebf08177a20b058dc78e738d70a03
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/dockerized-gists/5320734/snippet.py
5d6a295d577a6aa909c64302aa627f27dc8e67b7
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
1,522
py
import os import matplotlib.pyplot as plt def save(path, ext='png', close=True, verbose=True): """Save a figure from pyplot. Parameters ---------- path : string The path (and filename, without the extension) to save the figure to. ext : string (default='png') The file exte...
[ "gistshub@gmail.com" ]
gistshub@gmail.com