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
f86fab53d5d760b38c0e7a595bbe3472b3653bce
4dbe83d625dfbc5da6eea2c73a41feda6cbea708
/scalyr_agent/third_party_tls/oscrypto/_osx/_core_foundation_ctypes.py
138544f0c96b85ef866644988987c69598bc691c
[ "Apache-2.0" ]
permissive
Kami/scalyr-agent-2
e95732763e57ab768f488690574a58fd0ea6acd4
b26ebb6a74c2670ae28052079f2fac95d88e832a
refs/heads/master
2021-03-16T17:58:44.098136
2020-06-03T13:40:11
2020-06-03T13:40:11
246,929,083
0
0
Apache-2.0
2020-06-03T13:48:26
2020-03-12T20:53:56
Python
UTF-8
Python
false
false
13,520
py
# coding: utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from ctypes.util import find_library from ctypes import c_void_p, c_long, c_uint32, c_char_p, c_byte, c_ulong, c_bool from ctypes import CDLL, string_at, cast, POINTER, byref import ctypes from .._ffi import FFIEngineEr...
[ "echee@scalyr.com" ]
echee@scalyr.com
3101fafbbcfc2cfaa0e6f7a1575e16028e6c40f7
e8d59cb03af8da46d8e0dafcc721dc4e7681f9ef
/ex005.py
ee00125552322f8e31b66bcd1f523f015eb3dee4
[ "MIT" ]
permissive
GuilhermeAntony14/Estudando-Python
51490ff7e37500bbfd936af0e1a616e2f960239d
b020f6d2625e7fcc42d30658bcbd881b093434dd
refs/heads/main
2023-04-14T01:26:38.004729
2021-04-26T01:17:42
2021-04-26T01:17:42
361,016,865
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
v1 = int(input('adicione um numero: ')) print(f' \n Antecessor \033[34m{v1-1:>10}\033[m ' f'\n Valor original \033[34m{v1:>6}\033[m ' f'\n Sucessor \033[34m{v1+1:>12}\033[m')
[ "gdutramerlo@gmail.com" ]
gdutramerlo@gmail.com
30d1666faf99c5f78e76ef60c5dcde682f89ddb2
b51d9f725c349c71d5ef6678d615d346b105272b
/src/captcha/conf/settings.py
41dee9bd23b62938b1c26d160bfe19defad909d3
[]
no_license
lpe234/dannysite.com
9557a5ed19da223057d6617153388526398618b1
2edae21fcfaec8625422007cc9ef4e1471a4ea54
refs/heads/master
2021-01-17T05:54:39.802076
2014-04-07T04:36:33
2014-04-07T04:36:33
22,376,149
1
0
null
2019-01-08T09:41:41
2014-07-29T10:24:22
null
UTF-8
Python
false
false
2,658
py
import os from django.conf import settings CAPTCHA_FONT_PATH = getattr(settings, 'CAPTCHA_FONT_PATH', os.path.normpath(os.path.join(os.path.dirname(__file__), '..', 'fonts/Vera.ttf'))) CAPTCHA_FONT_SIZE = getattr(settings, 'CAPTCHA_FONT_SIZE', 22) CAPTCHA_LETTER_ROTATION = getattr(settings, 'CAPTCHA_LETTER_ROTATION',...
[ "manyunkai@hotmail.com" ]
manyunkai@hotmail.com
08a51725bc857422bfd0211437ee4d92a0c0d3ef
8655909600b85519b34b2d56bc498303b5f49e6d
/tests/unit/copying_manager_tests/copying_manager_new_test.py
ff5fcdb0014e171c277a16e957d3e6944f4b413f
[ "Apache-2.0" ]
permissive
scalyr/scalyr-agent-2
7ba794f7d1a7d80c07a3150c6d20a82b311ac9a2
5099a498edc47ab841965b483c2c32af49eb7dae
refs/heads/master
2023-08-21T12:45:40.711445
2023-08-16T12:06:19
2023-08-16T12:06:19
23,852,161
75
76
Apache-2.0
2023-09-11T20:44:43
2014-09-09T22:18:19
Python
UTF-8
Python
false
false
26,179
py
# Copyright 2014-2020 Scalyr 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 writin...
[ "noreply@github.com" ]
scalyr.noreply@github.com
b906134b607c89cf803ce1ab88827ca311706925
9aa8dafe2fd0d05ba5041a888df2bcde1f139375
/house-prices-advanced-regression-techniques.py
5ad18042cfa0528e9283b7c442de9b11701bff51
[]
no_license
maxwellsarpong/house_prices_predictions
543805a046d044df5099f3630ff5588ec25c60e7
a7272b3c542028a86bdb4f2eeac0b3e8a6e91815
refs/heads/master
2022-05-25T02:16:01.340007
2020-05-01T18:55:38
2020-05-01T18:55:38
260,523,897
0
0
null
null
null
null
UTF-8
Python
false
false
4,271
py
#!/usr/bin/env python # coding: utf-8 # In[92]: # importing the modules import pandas as pd import numpy as np import matplotlib as plt from sklearn.model_selection import train_test_split # importing the data train = pd.read_csv('C:/Users/Big-Max/Desktop/BIG-MAX/BOOKS\Machine Learning/DATA SCIENCE/house-prices-adv...
[ "maxwellsarpong07@gmail.com" ]
maxwellsarpong07@gmail.com
f7a2533e7ef495540bbd17beb264ad19363e9de1
2eb318ab2034256e68dc3c2d33abd203fbadcc45
/the actual siri.py
700a4970ef43ccd0a4e3c58888a8b554be4b70ac
[]
no_license
Gustavasa/PG_ENY
c779a1a2664af19f5417fc4482e7c4afc0ef0b1e
37481673785183a93b7847aedef4aadedb2fbd1d
refs/heads/master
2021-09-14T17:21:02.955190
2018-05-16T15:43:52
2018-05-16T15:43:52
116,997,453
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
import win32com.client as wincl import speech_recognition as sr import webbrowser as wb speak = wincl.Dispatch("SAPI.SpVoice") r = sr.Recognizer() with sr.Microphone() as source: speak.Speak("Hello Erik how can I help you") print("listening...") audio = r.listen(source) print("thinking...")...
[ "noreply@github.com" ]
Gustavasa.noreply@github.com
97c3d4708e7a5c659b516edef9ebd33c1c164dbc
f66201c96e38cbdc1f345b24be31106b43496e26
/manage.py
e591674f09e70a40cddea8db036c09b45c392be5
[]
no_license
vivek4112/DjangoProj
8e241aad1cee5f60d847077d801c9f6f06191653
6a5ec99717b21c294b5ef8820e5ab2c7fb499b18
refs/heads/develop
2022-12-11T11:36:20.289771
2018-08-20T15:43:43
2018-08-20T15:43:43
144,486,214
0
0
null
2021-06-10T20:45:10
2018-08-12T17:16:46
HTML
UTF-8
Python
false
false
538
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'weread.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are y...
[ "18182313+vivek4112@users.noreply.github.com" ]
18182313+vivek4112@users.noreply.github.com
9611ea5034446ad9760170ff5cf6b279139456de
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/pydev/pydev_pysrc.py
b9ed49e8005e3b547bd967bac75b0d83e7dd1861
[ "Apache-2.0", "EPL-1.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
100
py
'''An empty file in pysrc that can be imported (from sitecustomize) to find the location of pysrc'''
[ "dmitry.trofimov@jetbrains.com" ]
dmitry.trofimov@jetbrains.com
c5dca2065aacf2b0ee59d318d60cb64a9fc6d155
6be7f986b59dc1ac02c54e0bd9a3d46127bb6d33
/examples/lesson8/walk_folder.py
f1e35076eac9370d959db88a554033ebd75a069c
[]
no_license
sol87/TDTutorial2
4d143e6c381301e00d636476a8b018807f35bf52
49dd68ea4a0d3ccf44c1efc7dc63b78ce66d5078
refs/heads/master
2020-03-28T17:09:25.073663
2018-09-29T13:12:33
2018-09-29T13:12:33
148,762,636
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
import os def walk_folders(folder_path): sub_file_list = [] for sub_file_name in os.listdir(folder_path): sub_path = os.path.join(folder_path, sub_file_name) if os.path.isfile(sub_path): sub_file = {"type": "file", "name": sub_file_name} sub_file_list.append(sub_file) ...
[ "guoliangxu1987@163.com" ]
guoliangxu1987@163.com
92fa0a39166a1280f0826dd7f76fbed92352e96f
a44e975490591fc0d468e6f3a4505d8731e11111
/packaged_dags/deanslist_dags/deanslist_daily_endpoints.py
819e326151e3cda75cd2b2e6eae71263b815a768
[ "Apache-2.0" ]
permissive
Altons/silo-airflow
1b5673d02f67d853c2258d9393f4b8b29d6d92cc
21166392404152d3e8056f53065b7e1bb9a6185b
refs/heads/master
2022-12-15T04:07:09.924966
2020-09-15T15:48:23
2020-09-15T15:48:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,953
py
# The first step os to follow Charlie Bini's lead [here](https://github.com/TEAMSchools/sync_deanslist). # # However, we will combine this into one file rather than a module and a scipt file since we will be using Airflow, it will be easier to maintain in a single file. # # The first chunk comes from the config file. Y...
[ "chaid@kippchicago.org" ]
chaid@kippchicago.org
ddbb3ae7a19ecd0e0b4eca63b7bc8cf0185801ef
25d9d79c705d695cf96d9b77aef92825c86fb6cf
/maths/class_simple.py
383e25be7fb3dcec19e021dca6bc9df3e9e25726
[]
no_license
ioannispol/Py_projects
dc1d87f3ffbf62c763e78034c0de772ba66460fe
abc506b5cc6a1527bead8f3d1bdd590529166b82
refs/heads/master
2023-02-07T22:29:31.420366
2020-12-16T20:04:15
2020-12-16T20:04:15
275,893,430
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
class Calculations(): def __init__(self, x, y): self.x = x self.y = y def add(self): return self.x + self.y def sub(self): return self.x - self.y def mult(self): return self.x * self.y def div(self): return self.x / self.y
[ "giannis.polimenis@gmail.com" ]
giannis.polimenis@gmail.com
770326a7c554452415a3a4823c7975bc958ac5bb
45a2fef5a35090e2c3794824735dc137553c3d3b
/backup/fcards/utils.py
a968797ac2ea04b200ab1d427b0368cd1c17ba3c
[]
no_license
kris-brown/personal_website
9248ec23e2ebab8d820a0c6be70f6fb06a80144f
4dadfeba80eaf3f25f87b6f7bed48aa9db6ec8fc
refs/heads/master
2021-08-28T00:03:07.483092
2021-08-09T06:19:56
2021-08-09T06:19:56
190,462,717
1
0
null
null
null
null
UTF-8
Python
false
false
3,164
py
from typing import List as L, Tuple as T '''Misc helpful things''' def flatten(lol:L[list])->list: return [item for sublist in lol for item in sublist] ################################################################################ class Tree(object): ''' Parse a nested bullet structure where nesting i...
[ "ksb@stanford.edu" ]
ksb@stanford.edu
67f8dd978a2a2ff13f5ff70942fa69acd743fbf3
36dd43d5ad263902c6280e371063ad6e1d5ff1e6
/blog/models.py
c737b883f947523f8e0ec08abe73c80f1033b9f5
[]
no_license
monica-0218/Pazcal-Blog
1625a28d2fec3fc451578cd040bb0efe36340adc
de8bd3a1f1d55b11a03f0a179fe7e4df3de8b1f5
refs/heads/master
2022-12-31T14:14:48.563036
2020-10-26T14:04:36
2020-10-26T14:04:36
307,390,392
0
0
null
null
null
null
UTF-8
Python
false
false
2,690
py
from django.db import models from markdown import markdown from markdownx.models import MarkdownxField from taggit.managers import TaggableManager from django.conf import settings class Dungeon(models.Model): img = models.ImageField('サムネ', upload_to='images/') name = models.CharField('ダンジョン名', max_length=255) ...
[ "sorakawa0218@gmail.com" ]
sorakawa0218@gmail.com
57434be9b73618bccc3f47e200f121e553a50545
51066a6a08b2d15b3e320293ff7a5e8a84e8267f
/Saving_ChairDataset.py
3a2c232a7a4bfc0a2d5cfe04db46c2fbc8b4920f
[ "BSD-3-Clause" ]
permissive
cocolab-projects/reference-game-exploration
40dd54a01b053e5390b16e9e55bbface6bb2bfe1
eb20b8c6a7d81cfa8063bc89d9ad41a728f61ff9
refs/heads/master
2020-05-29T17:32:31.440573
2019-08-25T08:59:53
2019-08-25T08:59:53
189,275,222
0
1
null
2019-07-15T23:13:35
2019-05-29T18:06:40
Python
UTF-8
Python
false
false
26,673
py
from __future__ import print_function import os import json from copy import deepcopy from tqdm import tqdm import numpy as np import pandas as pd from PIL import Image from utils import OrderedCounter from nltk import sent_tokenize, word_tokenize import torch import torch.utils.data as data from torchvision import t...
[ "100021710@mvla.net" ]
100021710@mvla.net
04ddbac7ba10873f1683d524b740172d45be4312
f5cbcc5f356fbcb801545b358241e3a0e283a3a9
/setting.py
fe5c764f9cbbc02b1d935eed59a78b2b66af6b64
[]
no_license
hulinbig/flaskblog
6c1001decf4e1a5241d7153759f6599ea0767137
13def2b1a83b06792f646f4217fd78a6d30ecf39
refs/heads/master
2023-04-05T01:41:28.456457
2021-04-14T01:53:42
2021-04-14T01:53:42
317,810,762
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
#!-*- coding:utf-8 -*- import os __author__ = 'ALX LIN' class Config: ENV = 'development' DEBUG = True #mysql + pymysql://user:password@host:port/databasename SQLALCHEMY_DATABASE_URI = "mysql+pymysql://root:123456@localhost:3306/blog" #这里只能用localhost,不能用本家地址127.0.0.1 SQLALCHEMY_TRACK_MODIFICATION...
[ "hulinbig" ]
hulinbig
58886a0fe49b2b547bce5fc1506904ba9f8bbd44
28381c3cc17761bc06f0c95e0e0ae28276cca2d7
/manage.py
82de5fd67b825771d6c8a3fbf97233f586e1cf95
[]
no_license
ankita21prasad/craigslist-clone
ddce0db9a3aa53ed6f8508826485be4dade157d3
8c28b8fc1ade15b03d008fb814aa9ab107b2c1fc
refs/heads/master
2022-07-15T02:28:53.468733
2020-05-19T13:44:39
2020-05-19T13:44:39
265,256,363
2
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'craigslist.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "ankita2108prasad@gmail.com" ]
ankita2108prasad@gmail.com
3edd332be7516c04587484c513e5dbf4f7470e91
123ed4d9abce7adee63a9d22839751f21df1ac13
/bread_crumbs.py
ba7530f0b8923205748ae6119af9e0cc2a2c32f2
[]
no_license
alexey-kott/data_structures_and_algorythms
06e2c939fa27fa449b5de9c828d47683696b9cbe
6fc906025f1e40b5eccecf4a5e3d228dff095a98
refs/heads/master
2022-01-05T15:49:55.834642
2019-05-13T16:32:48
2019-05-13T16:32:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
from typing import Dict, List a = { 'b': 4, 'c': { 'd': 3, 'e': 5, 'f': { 'g': 8, } } } b = [('b', 4), ('c.d', 3), ('c.e', 5), ('c.f.g', 8)] def extract(node: Dict, path: str = '') -> List: paths = [] for key, value in node.items(): if path: ...
[ "aleksey.rautkin@onetwotrip.com" ]
aleksey.rautkin@onetwotrip.com
e3bf9755f80a733381018bc4cff5a8a3ed3e0097
e90cdfe33c204987372fd56177df70c09436c003
/apps/users/views.py
a8f7e3956227245775925c3a9831f5947f1ab642
[]
no_license
Aliyaseidalieva/django_cinema
c4f2884197a4d4949317557e26325e97d451f71c
feedfe9410834c9c0fe0a939a56a4ae57153f7ea
refs/heads/master
2022-12-18T08:52:01.813359
2020-09-19T09:23:37
2020-09-19T09:23:37
270,371,926
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
from rest_framework.generics import (ListCreateAPIView,RetrieveUpdateDestroyAPIView,) from rest_framework.permissions import IsAuthenticated from .models import userProfile from .permissions import IsOwnerProfileOrReadOnly from .serializers import userProfileSerializer class UserProfileListCreateView(ListCreateAPIVie...
[ "aseidalieva@askartec.com" ]
aseidalieva@askartec.com
92d2163dee74e757b3146c366d4d704400564aae
6b65a6e495b60bd5610411ed382c7b1cb96d041c
/djangoApi/User/migrations/0009_delete_block.py
9d9f8794d460dce13231b76cba25bf4a15fd61bf
[]
no_license
garggaurav526/moodflik-api
04936ac94a26b1b816fc4aed1c825b8382186313
77b7953f55533847bb3785fbb3ca9004a6f032db
refs/heads/master
2023-06-29T23:29:09.903636
2021-06-15T15:09:53
2021-06-15T15:09:53
363,434,475
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
# Generated by Django 3.2.4 on 2021-06-15 12:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('User', '0008_block_blocked_user'), ] operations = [ migrations.DeleteModel( name='Block', ), ]
[ "sm.gauravsingh@gmail.com" ]
sm.gauravsingh@gmail.com
a1f9e3e7b5b89f5f0a117846b4bfe0908cfe2503
d7000038b837a00bf7575f4616fa7f555e5afc8c
/Python/ping.py
09dc3cf03acbd81e2eaf2be5530825d5a2b40028
[]
no_license
payshangjj/code-repositories
aa39c55ed28573586050d6fca91b61ca3d4b4289
bbee90553f68e40c25c0bc939836cff0a36d74df
refs/heads/master
2020-12-25T14:57:58.397251
2016-08-24T16:24:11
2016-08-24T16:24:11
66,099,926
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
#!/usr/bin/env python #coding:utf-8 import os import threading numlock =threading.RLock() #线程锁 操作在线数时必须要请求此锁 prlock=threading.RLock() #输出锁 子线程在显示器上输出时必须请求此锁(防止输出错位) zxs=0 #在线数 class pings(threading.Thread): def __init__(self,num,interval): threading.Thread.__init__(self) self.nums=num ...
[ "yulei024@163.com" ]
yulei024@163.com
a9f0ba50e1273c6a25a49d2e0bba74d1942c67b8
b1c7a768f38e2e987a112da6170f49503b9db05f
/stockkeeping/migrations/0021_remove_purchase_stockitem.py
56aa900ba0363ea26816b298cca975bca2319252
[]
no_license
Niladrykar/bracketerp
8b7491aa319f60ec3dcb5077258d75b0394db374
ca4ee60c2254c6c132a38ce52410059cc6b19cae
refs/heads/master
2022-12-11T04:23:07.504966
2019-03-18T06:58:13
2019-03-18T06:58:13
176,218,029
1
0
null
2022-12-08T03:01:46
2019-03-18T06:27:37
JavaScript
UTF-8
Python
false
false
338
py
# Generated by Django 2.0.6 on 2018-11-02 11:40 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('stockkeeping', '0020_auto_20181102_1628'), ] operations = [ migrations.RemoveField( model_name='purchase', name='stockitem',...
[ "niladry.kar85@gmail.com" ]
niladry.kar85@gmail.com
85133e30be06069297794779f1dc75b826ce7fd2
20f5601bcbbc1bf39c42256188ce76cc06b47238
/manage.py
23fd73d777219bb52e9e2753a1a94928d0f5b7dc
[]
no_license
Earthman12/Zemax_ZRD_File_Wrapper
a42e5f673cc4b37c206c6fec7e0dfed4a74774c4
72f0580eb9a2835444270d02f01ae87a8501178b
refs/heads/main
2023-06-18T05:57:04.343687
2021-07-21T17:59:38
2021-07-21T17:59:38
388,203,606
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Zemax_ZRD_File_Wrapper.settings') try: from django.core.management import execute_from_command_line ...
[ "dteran@lpl.arizona.edu" ]
dteran@lpl.arizona.edu
4b5c2feae0827ca54d89ebebb2759cf9ee89b6ef
65f43c876a05a3e741716ee51a3a0d66833b474f
/NovoService/sumario.py
99d872c478ee02cbfdb01c985c344312c2c510bf
[]
no_license
lgpbentes/OpenLab
cb2638583d1a2e194172a8bec857711feb009be4
148d8bc5844e17437afe62f89aa5710f4a476122
refs/heads/master
2020-12-07T00:47:01.536609
2017-04-21T14:47:07
2017-04-21T14:47:07
66,236,387
0
0
null
null
null
null
UTF-8
Python
false
false
2,344
py
def LoadSummarizerByUser(user, timestamp, event, idView, sumarioL): #Percorre o sumario atras do usuario exemplo = sumarioL #print "exemplo" #print exemplo t = [] i = 0 if sumarioL: #print "if" for line in sumarioL: #print "for" listDataLine = line.split(";") if user == listDataLine[0]: #print ...
[ "aac@icomp.ufam.edu.br" ]
aac@icomp.ufam.edu.br
91de9cf160a22a8ed4e613cd2c4972ab7439f865
359cb4d3dc4249c9d9c20a632d6a06b82c404cad
/mysql_config.py
9dd62005b234323f876b7025833d4e03a270f786
[]
no_license
CUrW-SL/from-old-curw-schema-to-new-schema
0b275e007d887e8aef3afad1b3ce2415eda7af89
5bdb90ac81288b371341f3ad0ee74189c88468db
refs/heads/master
2021-04-03T04:05:50.693288
2018-04-19T06:53:21
2018-04-19T06:53:21
124,373,023
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
OLD_DB_CONFIG = { 'host': '', 'port': 3306, 'user': 'curw_user', 'password': '', 'db': 'curw' } NEW_DB_CONFIG = { 'host': '', 'port': 3306, 'user': 'curw_new_user', 'password': '', 'db': 'curw_new' } START_DATE_TIME = '2018-01-01 00:00:00'
[ "madumalt@gmail.com" ]
madumalt@gmail.com
0c75fb6bf1bbf0e8a76928ce29bf5b4f0a014996
6a4ebebbe0d7f81efc4f1749054a2ed7242c0e58
/setup.py
345a9c9073ffb87c82e6fbcc413a8d8703519644
[ "LicenseRef-scancode-public-domain" ]
permissive
skylarker/granary
6e192ecd2475febb3585728d5ba7afe34742107d
2fd8ef017588b955e78606242ce582849cfd57ac
refs/heads/master
2020-12-26T21:35:04.155528
2016-04-18T18:15:30
2016-04-18T18:15:30
56,891,160
1
0
null
2016-04-22T23:43:09
2016-04-22T23:43:09
null
UTF-8
Python
false
false
1,868
py
"""setuptools setup module for granary. Docs: https://packaging.python.org/en/latest/distributing.html http://pythonhosted.org/setuptools/setuptools.html Based on https://github.com/pypa/sampleproject/blob/master/setup.py """ import unittest from setuptools import setup, find_packages from setuptools.command.test im...
[ "git@ryanb.org" ]
git@ryanb.org
e075b4e7eb1d68b584d157154f05e397e8d0397a
22f66e6fdf32d22bab056cbd1194afa40b367358
/201902yusuan/probudget.py
3f59adbed4ab1c85b83222941d258cd448ac6697
[]
no_license
KingJoan/projectExample
4795b01c91abb919a6ffdf0e019d16f3f8dec71a
2f6915ccf7404252d6914197f97ec1e00bda1dc2
refs/heads/master
2020-04-29T14:17:23.605976
2019-03-18T02:17:37
2019-03-18T02:17:37
176,187,027
0
0
null
null
null
null
UTF-8
Python
false
false
6,614
py
# -*- coding: utf-8 -*- # @Time : 2019/2/26 14:43 # @Author : Joan # @Email : sj11249187@126.com # @File : probudget.py # @Software: PyCharm import numpy as np import json import pandas as pd import time def readJson(path, filename): with open(path + '\\' + filename, encoding='utf-8') as f: data...
[ "jinj@toone.com.cn" ]
jinj@toone.com.cn
c2284400df2ddfb3b9094bda2309b792de2e3b21
514e779523e1f9bcc8efd33b7c7b437833a92b6f
/main/util/xmlUtils.py
6b544aa5c475cb0126305f81e62a3333f116665b
[]
no_license
fushichenmu/test
db34ca3dd992641b706bd5a01e6e19d6774343e0
d317f08bd44fe29859c313c96f275512acfd9b65
refs/heads/master
2020-09-08T10:58:59.085459
2019-11-19T03:44:10
2019-11-19T03:44:10
221,114,355
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
import xmltodict import json def xml2dict(xml_file,rootTable='xml'): with open(xml_file,encoding = 'utf-8') as file_object : all_the_xmlStr = file_object.read() convertedDict = xmltodict.parse(all_the_xmlStr) #ensure_ascii 设置为False 中文可以转换 jsonStr = json.dumps(convertedDict,ensure_as...
[ "xinhu519@aliyun.com" ]
xinhu519@aliyun.com
0a889ae77ecf14256767e53fff24bf1655e68788
ee50502df12ffbffd5312161065fb8fa02085445
/030.substring-with-concatenation-of-all-words/mine.py
922e678b787da4f12d950511929c6c4460778919
[]
no_license
IsabellaHuan/lc-all-solutions
eb08cdf723489b56521fe131bc5c1b4a399897ec
c6a136b0498a85fb38e934b5a4af42f8eef9ce1a
refs/heads/master
2020-11-24T19:36:15.414404
2020-03-23T03:24:22
2020-03-23T03:24:22
228,314,954
0
0
null
2019-12-16T06:09:08
2019-12-16T06:09:07
null
UTF-8
Python
false
false
154
py
#coding=utf-8 # author: Huan Shuwen # time : 2019/12/18 下午8:14 # file : mine """ NOTICE: 找到连续的所有给定单词组合的其实坐标 """
[ "huanshuwen@didiglobal.com" ]
huanshuwen@didiglobal.com
d6e599830cf5eafbff4dbe710bfe7cf85f3b641b
a53a7114bd18bc91534f46e764f10a1907d4b5c2
/双指针问题/三数之和.py
05e6045d899f97c6befea289e278da799ab96c0c
[]
no_license
q798010412/untitled2
ab8f219e820558b84fe70d273106abcff905579b
24028a60d4cb69c153e6d23d710942c4cc231968
refs/heads/master
2022-11-10T01:35:09.468633
2020-06-26T04:18:48
2020-06-26T04:18:48
275,071,794
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
from typing import List def threeSum(nums: List[int]) -> List: nums.sort() res = [] for i in range(len(nums) - 2): left = i + 1 right = len(nums) - 1 if i > 0 and nums[i] == nums[i - 1]: continue sum = nums[i] + nums[left] + nums[right] while left < righ...
[ "798010412@qq.com" ]
798010412@qq.com
d1cc019f002492e4ca2f30241964186934bb36af
930309163b930559929323647b8d82238724f392
/abc108_b.py
c72c059e12f6e5358657caa002cf6e7a6a309c3c
[]
no_license
GINK03/atcoder-solvers
874251dffc9f23b187faa77c439b445e53f8dfe1
b1e7ac6e9d67938de9a85df4a2f9780fb1fbcee7
refs/heads/master
2021-11-07T14:16:52.138894
2021-09-12T13:32:29
2021-09-12T13:32:29
11,724,396
3
1
null
null
null
null
UTF-8
Python
false
false
162
py
x1, y1, x2, y2 = map(int, input().split()) dx = x2 - x1 dy = y2 - y1 x3 = x2 - dy y3 = y2 + dx x4 = x3 - dx y4 = y3 - dy print("%d %d %d %d" % (x3, y3, x4, y4))
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
bd298e7985f0b09e4222e354e3f0afc394e96595
b47f2e3f3298388b1bcab3213bef42682985135e
/experiments/heat-3d/tmp_files/1539.py
27d7e85b4987f69ec0aa2f1e52f9247dec53052f
[ "BSD-2-Clause" ]
permissive
LoopTilingBenchmark/benchmark
29cc9f845d323431e3d40e878cbfc6d1aad1f260
52a3d2e70216552a498fd91de02a2fa9cb62122c
refs/heads/master
2020-09-25T09:45:31.299046
2019-12-04T23:25:06
2019-12-04T23:25:06
225,975,074
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
from chill import * source('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/heat-3d/kernel.c') destination('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/experiments/heat-3d/tmp_files/1539.c') procedure('kernel_heat_3d') loop(0) tile(0,2,8,2) tile(0,4,8,4) tile(0,6,...
[ "nashenruoyang@163.com" ]
nashenruoyang@163.com
9c0fb83c7a4b11f4d980fcbca72defa76f99e0b6
f5dde423f9c6339076d2927f5e259b45e0171baf
/mdgen/constants.py
c6f3df841b8b1f5464d407808c5417becb6906e5
[ "Apache-2.0", "MIT" ]
permissive
parthpandyappp/python-random-markdown-generator
5ab399d0f06952c082386e7c77355e08858fa180
cd02ff0991cd35d7bac8455298a7eb676efc46eb
refs/heads/master
2022-12-20T03:42:13.685124
2020-10-05T08:08:31
2020-10-05T08:08:31
300,171,307
0
0
Apache-2.0
2020-10-01T06:28:45
2020-10-01T06:28:44
null
UTF-8
Python
false
false
559
py
from os import linesep MARKDOWN_HEADER = '#' MARKDOWN_HEADER_ALT = '-' LINESEPARATOR = linesep INDENTATION = '\t' MARKDOWN_BOLD = '**' MARKDOWN_ITALIC = '*' MARKDOWN_ITALIC_ALT = '_' MARKDOWN_HORIZONTAL_RULE_HYPHENS = '---' MARKDOWN_HORIZONTAL_RULE_ASTERISKS = '***' MARKDOWN_HORIZONTAL_RULE_UNDERSCORES = '___' MARKDOW...
[ "ignisda2002@gmail.com" ]
ignisda2002@gmail.com
56563a4e5c488b9601edba375fd206aab7e9b771
b3be33fa7bea97e8bbe787a3665b5c65150abc00
/week_1/Functions/Local_Variable_Scope.py
54893ec763630221802c98cef38895f95bc32314
[]
no_license
sssssh/cmu15-112
dcef53e27a5628c0d4ea51188074defb4baf8dcc
f2ae6c4536bf0c109171fbfd57bc5ea9eb3abfee
refs/heads/master
2021-07-12T20:17:26.371761
2017-10-18T03:15:55
2017-10-18T03:15:55
107,097,261
1
0
null
null
null
null
UTF-8
Python
false
false
301
py
def f(x): print("In f, x =", x) x += 5 return x def g(x): return f(x * 2) + f(x * 3) print(g(2)) def f(x): print("In f, x =", x) x += 7 return round(x / 3) def g(x): x *= 10 return 2 * f(x) def h(x): x += 3 return f(x + 4) + g(x) print(h(f(1)))
[ "" ]
2b19110914a02de6d4d0e861df33969b3d7063a9
a82bc1f734089e337f9f96cb42e5b3f0360fede9
/tests/devices/bmp280_test.py
7f2d8568bfd2ca23b690a362d01917f8ba0ede16
[]
no_license
zhaoshenhao/chickadee
ce5e14ca348ff165c52b38d437bdc0aa6f80e8d8
d78e26ea0250825519a0ca5280bf5805f09deba3
refs/heads/main
2023-03-22T08:56:24.566975
2021-03-13T04:02:58
2021-03-13T04:02:58
326,502,387
1
0
null
null
null
null
UTF-8
Python
false
false
689
py
# BMP280 气压,温度,海拔(误差较大) from bmp280 import Bmp280 import uasyncio as asyncio import time async def demo_async(): ds = Bmp280(16, 17) for _ in range(0,2): print(await ds.async_sensor_values()) print(ds.get_temperature()) print(ds.get_pressure()) print(ds.get_altitude()) a...
[ "syspole1@gmail.com" ]
syspole1@gmail.com
0fa8fa2d1973353700ed4feebe10f79b52b7481f
27ed6d2db4f38cd351b642042341771d93aee121
/python/medicUI/widgets.py
89f63dc250a9fceacb72d24418ce995ab37e74c9
[ "MIT" ]
permissive
wmoten/medic
eab20630e6666372e50d12fa0998ceefc9411e68
bc2e9ec09e33ce2d0cedd8dc0c17f567208503ed
refs/heads/master
2020-04-07T09:58:58.947534
2018-03-08T05:51:35
2018-03-08T05:51:35
124,202,109
0
0
MIT
2018-03-07T08:13:48
2018-03-07T08:13:48
null
UTF-8
Python
false
false
23,842
py
from Qt import QtWidgets, QtCore, QtGui from . import model from . import delegate from . import functions import medic import os import re IconDir = os.path.abspath(os.path.join(__file__, "../icons")) class ParameterFunctions(): @staticmethod def SetParmeterValue(param_container, pram_dict): for pr...
[ "defreturnnone@gmail.com" ]
defreturnnone@gmail.com
a13daec41fb007a716ec02000dd869e5b10ad0d7
65ff11d13d2f8e007d2224005329cce07ec8b84b
/mysite/polls/models.py
ce7d109d899c93e7c008d8ccf36190e3be3ee80f
[]
no_license
jpinfanti/MyProjects
19d9f1ed992dcd4d66d03eab46ae65e51f4c98c6
2199876d1c1d391998ac46a30b7626b1ca7befed
refs/heads/master
2020-05-25T09:21:00.079517
2019-06-01T11:13:52
2019-06-01T11:13:52
187,733,712
0
0
null
null
null
null
UTF-8
Python
false
false
871
py
import datetime from django.db import models from django.utils import timezone # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): return self.question_text def was_publi...
[ "jpinfanti@gmail.com" ]
jpinfanti@gmail.com
b435fe028ef1a1bc1f119e7b49dcf9d535a282ff
49d0fe764d55de48bc71aa3cba02019ce7ff0abe
/chance/admin.py
6b678fcc31994555d67f85e40433ec42aaaf39f8
[]
no_license
benliles/django-chance
546f800168517c9abeb34547c945537e91fed183
e43a6b46d55a4159ae5ddf7752cda245eca74016
refs/heads/master
2020-05-18T16:32:06.212903
2013-07-17T15:52:08
2013-07-17T15:52:08
4,775,508
3
2
null
2013-07-19T15:20:41
2012-06-24T21:26:52
Python
UTF-8
Python
false
false
3,756
py
try: from reversion import VersionAdmin as ModelAdmin except ImportError: from django.contrib.admin import ModelAdmin from django.contrib import admin from django.http import HttpResponse from chance.models import (Event, EventFee, EventChoice, EventChoiceOption, Registration, EventChoiceSelection, Ta...
[ "benliles@arch.tamu.edu" ]
benliles@arch.tamu.edu
8ec0d9d19b8d82342da6d1286c1b84ca154226d9
99bc8c61bd3c934d702b54566dbe1f6354374ea4
/gpx2csv.py
33f4b02cf35727ce1a942ba13e14d0e0e9d62c6d
[ "MIT" ]
permissive
oneandonlyoddo/gpx2csv
e107aa288b3810c35a9a0056348196f758c32901
41f7bd14661383350a35df22de1652d1898f379e
refs/heads/master
2023-01-14T01:01:11.011082
2020-11-09T13:20:46
2020-11-09T13:20:46
311,342,967
1
0
null
null
null
null
UTF-8
Python
false
false
6,151
py
#!/usr/bin/python # gpx 2 csv # Jonas Otto - helloworld@jonasotto.de # Converting GPX files exported from Strava .csv files # adding Sun Elevation, Azimuth and estimated Clear Sky Radiation # for data visualisation in Houdini etc. import csv from datetime import datetime as dt from datetime import timezone import m...
[ "jonas.otto@field.io" ]
jonas.otto@field.io
918f237882bc12ca5169f08d0b2a86dd2b388b12
ec00584ab288267a7cf46c5cd4f76bbec1c70a6b
/Python/__function/functions1/functions1/23 keyword non-keyword argument.py
9adc44c2843f16255ab0ee092696537a2eac3237
[]
no_license
rahuldbhadange/Python
b4cc806ff23953389c9507f43d817b3815260e19
7e162117f1acc12537c7eeb36d6983d804122ff3
refs/heads/master
2021-06-23T05:04:20.053777
2020-01-28T10:34:28
2020-01-28T10:34:28
217,307,612
0
0
null
2021-06-10T22:44:11
2019-10-24T13:35:42
Python
UTF-8
Python
false
false
553
py
#3.keyword arguments: During fn call,using parameter name,passing value #4.non-keyword arguments:During fn call,without parameter name,passing value def display(branch,code): print(branch,code) display("CSE","05") #non-keyword argument display(branch="ECE",code="04") #keyword argument (using parameter name) displ...
[ "46024570+rahuldbhadange@users.noreply.github.com" ]
46024570+rahuldbhadange@users.noreply.github.com
4271c90c8228df812910694cbfa86764743f6aec
7e71e9002f7a87c0fe559a579cde63e21bd43974
/datascience_oper_empmst.py
89a2d09cfe280286d999516e0bdb51141df8a7b0
[]
no_license
ashish-2412/Employee-Management-and-Salary-Prediction
0236b0af6a0f1e2fd9fc39c5b9152a8018a3aea3
9ad075f39b5ec37e48e70fdf4654908c3713798d
refs/heads/master
2021-01-02T20:51:10.377009
2020-02-11T09:53:35
2020-02-11T09:53:35
239,795,574
0
0
null
null
null
null
UTF-8
Python
false
false
3,956
py
# Program name : datascience_oper_empmst.py # Data science operations on empmst.csv import pandas as pd import numpy as np from datetime import datetime pd.set_option('display.max_rows', 500) pd.set_option('display.max_columns', 500) pd.set_option('display.width', 1000) empdf = pd.read_csv('empmst.csv', index_col='E...
[ "ashishbarca@gmail.com" ]
ashishbarca@gmail.com
b3c846fd274994e80d10172f9c89491cad92b480
6294155b9171145ca18ed027d6364fce97725dbb
/custom_apis/admin_api_views.py
efd0bb4b0554b03550f98f0d7b60a9ca10135b32
[]
no_license
jiritichy/TCP
344e12b47ffcbbd9d6100d1681d90f81aba8f591
46f69e24f6cab6f8ea3100941bc5dda3806637fa
refs/heads/master
2023-04-08T10:32:05.093307
2021-04-02T08:46:11
2021-04-02T08:46:11
353,960,076
0
0
null
2021-04-02T08:44:51
2021-04-02T08:44:50
null
UTF-8
Python
false
false
914
py
from django.shortcuts import render from authapp.models import ( WorkerDetails, JobDetails, User, Categories ) from django.db import connection from rest_framework.response import Response from rest_framework import status from rest_framework.decorators import api_view,permission_classes from rest_framework.per...
[ "41832893+maliaditya@users.noreply.github.com" ]
41832893+maliaditya@users.noreply.github.com
67b0a46a7d02e459b2ca4a9e9d9c5635591b21bf
b659e99f89cf17ae886857383cb5b708847fe3f1
/gettingStarted/problem7.py
8402c5ac64f20f3cd28685736d51b82d10eddaae
[]
no_license
nitheeshmavila/practice-python
bea06cc4b2b9247b926e07fd5a3987552e531242
f54bf8934a4cf160cdfc9dc43176f1eea3bc7a41
refs/heads/master
2021-07-03T17:24:29.450939
2021-06-16T08:40:48
2021-06-16T08:40:48
100,113,256
1
0
null
null
null
null
UTF-8
Python
false
false
443
py
''' Problem 7: How many multiplications are performed when each of the following lines(line 1 and line 2) of code is executed? ''' noofCalls = 0 def square(n): print(n) global noofCalls noofCalls += 1 return n*n def printCalls(): print('no of multiplications performed:',noofCalls) print(square(5)...
[ "mail2nitheeshmavila@gmail.com" ]
mail2nitheeshmavila@gmail.com
ac924d968bdb28866bff06959c39b1bd0944dab0
866581782ea07678da08291f034922bd5ae6db77
/section04_3/section04_3/settings.py
b0dac60e963466c0c9ad98b0a906ebeac25d3446
[]
no_license
khs50851/git-crawling
ee8967d6d8ba1e70b1be5f872008247f9955d76c
9d29234f9cb025a05b782995abc54a87048445f9
refs/heads/master
2023-02-03T21:54:42.214804
2020-12-23T06:22:59
2020-12-23T06:22:59
320,491,291
0
0
null
null
null
null
UTF-8
Python
false
false
3,162
py
# Scrapy settings for section04_2 project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-middle...
[ "khs50851@naver.com" ]
khs50851@naver.com
c7c1943a417de7573e5aebf77ae57a09db5008a5
3b89c0a97ac6b58b6923a213bc8471e11ad4fe69
/python/CodingExercises/LeetCode1.py
86ca7efb65730bbd49152c8028c24b15a168c256
[]
no_license
ksayee/programming_assignments
b187adca502ecf7ff7b51dc849d5d79ceb90d4a6
13bc1c44e1eef17fc36724f20b060c3339c280ea
refs/heads/master
2021-06-30T07:19:34.192277
2021-06-23T05:11:32
2021-06-23T05:11:32
50,700,556
1
3
null
null
null
null
UTF-8
Python
false
false
747
py
''' 1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = ...
[ "kartiksayee@gmail.com" ]
kartiksayee@gmail.com
5ff24a90944791e22d0405a2032a3cff6be92e21
9ceb65546ca77d7b79893206b31403ebc523c902
/SiNE/Doc2Vec.py
90ee3e29f25eb7b28eb47d16096551a43ad5b9f6
[]
no_license
Ancrilin/machinelearning
259a925cecb32aa053448275fb3af16e518166e1
96ad754a557fe64c6dcd0e171f3c98f3c4fac8cc
refs/heads/master
2020-08-01T14:58:30.636276
2019-11-20T13:21:08
2019-11-20T13:21:08
173,422,140
0
0
null
null
null
null
UTF-8
Python
false
false
2,881
py
from gensim.models.doc2vec import Doc2Vec, TaggedDocument import gensim import numpy import csv filepath = "data/20ClassesRawData_API_cleanTag.csv" stop_path = 'data/stop.txt' name = [] label_dict = {} label = [] title_dict = {} doc = [] stop = [] with open(stop_path, 'r', encoding='utf-8')as stp:#停用词表 for row i...
[ "1162236967@qq.com" ]
1162236967@qq.com
288aa6b6538d62c997475ad87548e3a3c0fc5298
8523658161b0899130a9a3c6f272449a8515fddb
/1010.py
6cea665649ffd6a918dfc5b2f43fe1a2b780ad65
[]
no_license
juliocmalvares/URIOnlineJudge
4f3ad32cc171c34a27110c79c81fd71e338bb6d0
233b78abcf4dbc22a6cd05ce3cfea841c76e1140
refs/heads/master
2020-03-13T09:55:22.494272
2018-04-25T20:28:10
2018-04-25T20:28:10
131,073,816
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
a = input() b = input() prim = [p for p in a.split()] seg = [p for p in b.split()] prim[0] = int(prim[0]) prim[1] = int(prim[1]) prim[2] = float(prim[2]) seg[0] = int(seg[0]) seg[1] = int(seg[1]) seg[2] = float(seg[2]) total = (prim[1]*prim[2])+(seg[1]*seg[2]) print("VALOR A PAGAR: R$ %.2f" % total)
[ "juliocmalvares07@gmail.com" ]
juliocmalvares07@gmail.com
97a54b16689893b027d5f64ac83646f74cec9194
a92efd5efcbf56db03cbb2c25fa5d89014ca19a6
/aplicaciones/blog/migrations/0001_initial.py
6b8852d52e702c870480faef8662818eff19dd54
[]
no_license
nicopereiran7/django_netflix
5d0b83db2ce7f9e641408e7c9330bfadd3ca2d48
b0405059f56f4e66826dd0e53ade3e4cf893f9bc
refs/heads/master
2023-02-12T12:55:01.022783
2021-01-14T16:41:30
2021-01-14T16:41:30
329,672,425
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
# Generated by Django 3.1.4 on 2021-01-12 21:31 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Categoria', fields=[ ('id', models.AutoFiel...
[ "nicopereiran7n7n7@gmail.com" ]
nicopereiran7n7n7@gmail.com
f53ed7447917dec09d5d66ad99297a866cab65af
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2018/11/graphics/elex18-all-suburb-map-20181119/graphic_config.py
006fc1be9c13a6867f9c6636d339a291b2f137a6
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '105w9FOQjFxe2xS_gA8rB6fXNWs-Tlyr4Jgu3icfRJgI' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
f2a797d1c550dbc9843f6fe14e7ad572536407a7
a24b8446639f2157e2ecbdb7c11eda8e4e4344cc
/Configurations/UserConfigs/2018_AntiIso/ST_t_topConfig.py
82fbbb685a0a6b4499f198945b017c0e1a347268
[]
no_license
aloeliger/ReweightScheme
dcebc5651094d8d3da65885c59dae4070983624a
05c9783fcf8e024fd26a6dbb9b1fbab4aee3c7f4
refs/heads/master
2021-12-11T16:10:12.881863
2021-08-27T21:02:21
2021-08-27T21:02:21
215,565,834
0
1
null
null
null
null
UTF-8
Python
false
false
1,797
py
import ROOT from Configurations.Weights.CrossSectionWeightingModule.CrossSectionWeight import crossSectionWeight from Configurations.Weights.MuIDIsoReweightingModule.MuIDIsoWeight import muIDIsoWeight_2018 as muIDIsoWeight from Configurations.Weights.MuTrackingWeightModule.MuTrackingWeight import muTrackingWeight_201...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
3acd2877be2d35889598ed2111ffaffb3f802be0
4b434c6af1d205e33941289211159dfde865e38e
/con.Bmaml.eq/train.py
fdc88d237727a3c3e47393deafa25044993743e3
[]
no_license
a1600012888/BMAML
3b2a7f264ed13ef598cc3677d18714c4f8354176
4802a917d8061011be9a2b09174598216812cc58
refs/heads/master
2020-04-14T19:10:40.363219
2019-01-16T17:03:18
2019-01-16T17:03:18
164,047,888
9
1
null
null
null
null
UTF-8
Python
false
false
5,915
py
import torch from collections import OrderedDict from tqdm import tqdm from utils import AvgMeter from torch.nn.utils import vector_to_parameters, parameters_to_vector def TrainOneTask(Task, M, SVGD, optimizer, DEVICE, num_of_step = 3, step_size = 1e-3): X, Y, Xtest, Ytest, std = Task X = X.to(DEVICE) Y = ...
[ "1600012888@pku.edu.cn" ]
1600012888@pku.edu.cn
82e9dee0741767de9532be152cdc0e12d0ec1f4d
736f965dd6fde66de8df7df3e84daffba3adae9e
/234_Palindrome_Linked_List.py
95296a7660f043fd3aeaf021d825588be6d307d3
[]
no_license
cl2547/my_leetcode
6982d7a6dc4b2647bf49d30c55bbef2988f67381
8531c63ea7501e3fd22c60399550594c7053df85
refs/heads/master
2020-03-26T22:52:43.242215
2019-01-17T17:53:31
2019-01-17T17:53:31
145,493,253
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
class Solution: def isPalindrome(self, head): """ :type head: ListNode :rtype: bool """ #naive approach: compare head and tail if head == None: return True temp = [] shouldBreak = 0 while True: if shouldBreak == 1: ...
[ "cl2547@cornell.edu" ]
cl2547@cornell.edu
6d839d38862e2800ecd290f48f06e18d971eacd4
acc307e621c01a98f93be97b8082c82b335f83d8
/nate/ejercicios/conceptos_en_practica_pt1/tablas_de_multiplicar/invertir_range.py
4c1a1ae2edc54212d987c11e11ae44db0b5c3247
[]
no_license
catrielzz/python_practices
ea7496b2aeb12f8f1f0bb3e925c1fd828e3bc066
ed363093bba79294687e31655c5213b368bd0d3c
refs/heads/master
2022-04-12T01:22:10.888881
2020-03-05T16:21:55
2020-03-05T16:21:55
161,086,347
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
numero_tabla = int(input("De que numero quieres la tabla de multiplicar: ")) for multiplo in reversed(range(1, 11)): print("{} x {} = {}".format(numero_tabla, multiplo, numero_tabla * multiplo))
[ "estradayoel@gmail.com" ]
estradayoel@gmail.com
a80bc0b7bec454901ca4b3999a54aa41c6aa7bd6
857d134efb9478deb5fe883d1365afd983de30eb
/util.py
4dcbf75d5e23f4f4adcf6af7bffbb0bf1af83b87
[]
no_license
riznagauri/customer_service_chatbot
5568154a818521caaf29e6fd2f24567e8eeb5527
6c2e4597e3509c15db794338a6317243b9aff93c
refs/heads/main
2023-02-02T04:38:46.419657
2020-12-13T15:15:44
2020-12-13T15:15:44
319,928,492
1
4
null
null
null
null
UTF-8
Python
false
false
1,187
py
import torch.nn as nn import collections def embedding_size_from_name(name): return int(name.strip().split('.')[-1][:-1]) def print_dim(name, tensor): print("%s -> %s" % (name, tensor.size())) class RNNWrapper(nn.Module): """ Wrapper around GRU or LSTM RNN. If underlying RNN is GRU, this wrapper d...
[ "59862776+riznagauri@users.noreply.github.com" ]
59862776+riznagauri@users.noreply.github.com
0c7109401894b8ab6fa958daf9320f6f6999c573
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03231/s342511104.py
c53bcfef1be5b00fe39ad9752b5ac05a7a1bf748
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from math import gcd N, M = map(int, input().split()) S = input() T = input() L = N*M // gcd(N, M) for i in range(N): if M*i % N == 0: j = M*i // N if S[i] != T[j]: print(-1) exit() print(L)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a983c342b4e9049da5aaf95545a9a0af1b89c60e
831431d77d3078d60b3dbab4bd65996de27c03dc
/OrderManagement/views.py
f9e6969c3379c74fcec619e531cc423c65e64dd3
[]
no_license
anika07svg/E-COOKBOOK
1406ced774b9224188767e1a9a6e544a813b5b28
7e13608235b396b89a8ff51fd5bee2703b5ce7dd
refs/heads/master
2023-03-31T02:47:23.241107
2021-04-04T17:20:04
2021-04-04T17:20:04
349,135,122
0
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
from django.shortcuts import render, get_object_or_404, redirect, HttpResponseRedirect from .models import Order from .forms import OrderForm from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from .models import F...
[ "18101007@uap-bd.edu" ]
18101007@uap-bd.edu
dd70383bd799a8f104e751a763ba69d1a5ff85be
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03330/s307392217.py
de40af9fdc43a32599ce03bad31896ab49cb00ac
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
def main(): from itertools import permutations N, C = map(int, input().split()) change_cost = [[int(x) for x in input().split()] for _ in range(C)] init_color = [[int(x) - 1 for x in input().split()] for _ in range(N)] ctr = [[0] * C for _ in range(3)] for r in range(N): for c in range...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
390906999c1c0e7466b96f59d5a0c7e6cc9ab7d4
986d78fdcb40f4ee7db15bafc77070c087d16b63
/studies/MultiBoomSparMass_v2/point_design.py
f0268c72689269395046cb2711265a992c71d693
[ "MIT" ]
permissive
hdolfen/AeroSandbox
8578b5e36b9a4be69801c1c9ad8819965f236edb
4c48690e31f5f2006937352a63d653fe268c42c3
refs/heads/master
2023-01-20T15:36:58.111907
2020-11-24T13:11:44
2020-11-24T13:11:44
313,655,155
0
0
MIT
2020-11-24T13:11:46
2020-11-17T15:05:02
null
UTF-8
Python
false
false
1,885
py
### Imports from aerosandbox.structures.beams import * import copy n_booms = 1 # n_booms = 2 # load_location_fraction = 0.50 # n_booms = 3 # load_location_fraction = 0.60 mass = 80 * 6 span = 7.3 ### Set up problem opti = cas.Opti() beam = TubeBeam1( opti=opti, length=span / 2, points_per_point_load=10...
[ "peterdsharpe@gmail.com" ]
peterdsharpe@gmail.com
734bf560f6432a6a310f7a443c030f24bb698856
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/358/usersdata/288/102525/submittedfiles/estatistica.py
9fdd68752a0b6be1cd5aa630f88df85ada3bc87a
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
# -*- coding: utf-8 -*- def media(lista): media=sum(lista)/len(lista) return media #Baseado na função acima, escreva a função para calcular o desvio padrão de uma lista def desvio_padrao(lista): soma=0 for i in range (0,len(lista),1): soma+=((media(lista)-lista[i])**2) desvio=(soma/(n-1))...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8e649d09bcfff639dd293baa38172402faa65ddf
6d0da4d45bbd162bb30b6818a8a0c9587391c3f4
/day1/InputDemo.py
6da6df0cdf22976191cb83af571a916e52ca0bc7
[]
no_license
chemin233/pythonPractice
2cab4d7bebf3923486dbac641a49ded38e9ebd3e
a188a0fef63f16739c7d239d18d24c1a31be847c
refs/heads/master
2021-04-06T20:42:56.360920
2018-03-17T08:43:23
2018-03-17T08:43:23
125,379,062
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
# -*- coding: utf-8 -*- import keyword print(keyword.kwlist) print(r"r'''hello,\n world'''")
[ "chemin233@163.com" ]
chemin233@163.com
6a8852a241aa4d0975a748a95537d55dd3466a75
5b0dcb0a1f578d04b0c195a30ff1a7ccfd29deaf
/tests/import/pkg9/mod2.py
f4b3e265fb51091766734e9cb7f4f9ca064b8b03
[ "MIT", "GPL-1.0-or-later" ]
permissive
rk-exxec/micropython
c87ecd8743413c8a65e64fd82cd1910ccaed96c6
d529c20674131b9ce36853b92784e901a1bc86f4
refs/heads/master
2023-08-18T01:18:34.511851
2023-08-09T03:19:18
2023-08-09T03:22:57
136,508,987
7
16
MIT
2023-01-13T20:48:50
2018-06-07T17:17:01
C
UTF-8
Python
false
false
19
py
from . import mod2
[ "damien@micropython.org" ]
damien@micropython.org
7545e75a3e19f5e5df2e9714c8b328dc935a65cf
1dc7111e443e52f788e0ce3c57bb0e89e5ea73dc
/ecocast_celery/tasks/ak_air_quality_task.py
2926facbdb14eba85d1456589e234c39b38f0fd8
[]
no_license
myselfub/Ecocast_Celery
b11b65fd414b9371392f60f3f133addf53507324
f5a52fc566578089fc1d05da1b5a4a0fcddc3dbc
refs/heads/master
2023-06-01T14:47:31.452540
2021-06-13T15:37:43
2021-06-13T15:37:43
376,572,529
0
0
null
null
null
null
UTF-8
Python
false
false
7,426
py
import requests from ..ecocast_conf import logger, psql_connect, psql_select from ..ecocast_conf import AIRKOREA_HOST, AIRKOREA_KEY, REQUEST_TIME_OUT """ Airkorea Air Quality Data Task """ def insert_ak_air_quality_list(): """ List of station names to be called to API of the Airkorea's air quality data A...
[ "myselfub@gmail.com" ]
myselfub@gmail.com
2d527612149fb4de87f1e28e4faa947f02b7d21c
407ca85cd6051a50884f38bb0514a6301f8e7101
/Consolidated/POM/process_igd.py
95e19baa709e2dfd1c4abcd641e5a4c6d49fe827
[]
no_license
vivekaxl/MOLearner
5ae4f40027b814ae5b20aaaeb255d6041505c0b9
236bf61e8ee1663eabcd73f355070022f908acfa
refs/heads/master
2021-01-23T01:12:30.836318
2017-04-27T05:54:39
2017-04-27T05:54:39
85,847,238
1
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
from __future__ import division import pickle import os from sk import rdivDemo pickle_files = [f for f in os.listdir(".") if ".py" not in f] content = pickle.load(open(pickle_files[0])) problems = content.keys() prob = {} for problem in problems: al2 = pickle.load(open('al2_POM.p')) al = pickle.load(open('al...
[ "vivekaxl@gmail.com" ]
vivekaxl@gmail.com
a9f7f9473b67b88fda721389ce806686a7721fdd
15c05333389b9cf871087d2c22458654a800f098
/example/WriteFileExample.py
3562d5e09380f0ee736c53c9096394cc36fbc38f
[]
no_license
Ratta-Chindasilpa/CP3-Ratta-Chindasilpa
1646cbe11012d09009e024028aa4e7959f44dd7b
ee07ebdedc6e46220636904e1afbf5254ae9dfb5
refs/heads/master
2022-12-25T03:31:23.446207
2020-09-23T14:55:32
2020-09-23T14:55:32
293,116,005
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
file = open("demo.txt", "a") #เพิ่มข้อความต่อท้าย (append) file.write("Haha From Next Lecture") file = open("demo.txt", "w") #เขียนทับไปเลย file.write("Eiei \"w\"") '''po = [1,2,3] po.append(5) print(po)'''
[ "70811729+Ratta-Chindasilpa@users.noreply.github.com" ]
70811729+Ratta-Chindasilpa@users.noreply.github.com
d4e5bd09306a3676f8bc4c9f4595b3b8c8f20ce2
c9ffdd094500896ac61726bdba581d8d8f1c0939
/bookify/summarizer/views.py
ff8d79961151ee904bc9a62fc8302ba9919bccb0
[]
no_license
djm-1/Hacknitp3.0
abb6a5da4e7be30b7bef8851c8be48f73d877ed6
2fa67f5e023a8de143332d77c46211dd04f2a4f0
refs/heads/master
2023-02-15T18:57:41.164864
2021-01-17T18:50:39
2021-01-17T18:50:39
329,995,750
5
2
null
null
null
null
UTF-8
Python
false
false
3,534
py
# importing libraries from django.shortcuts import render,HttpResponse import nltk from nltk.corpus import stopwords from nltk.tokenize import word_tokenize, sent_tokenize import pdfplumber import re import os import goslate from textblob import TextBlob from gtts import gTTS from .models import Bookify def index(re...
[ "dibyajyoti.bhs@gmail.com" ]
dibyajyoti.bhs@gmail.com
45b9949ae0f0d840c1792793bacd388dbc458e59
428ee7363a2ad7d7916159eef595ee909d60eda8
/tinifycli/display.py
159775148d2d202861b1e4e03e7ed3e4fb096dc4
[ "MIT" ]
permissive
pombredanne/tinify-cli
a2dee19e0096306393f039c26885ef4da38e08d9
37d1008d306d3f6459e4f6d72297c335a942cc1b
refs/heads/master
2021-01-24T09:01:15.366205
2016-01-10T01:23:56
2016-01-10T01:23:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
# coding=utf-8 ''' 显示层 ''' import logging import Queue import time import threading from . import shared_var class TinifyCliDisplay(object): def __init__(self, log_to_stderr=False, log_to_file=False): self.logger = logging.getLogger('tinify-cli') hndl = logging.StreamHandler() if shared_...
[ "aheadlead@dlifep.com" ]
aheadlead@dlifep.com
e91623921eb5c27af51e43a64196da880e6aa9fd
195308f855a492098cbea0a102bc55aecfe2b313
/IMAGENET/imagenet_demo.py
da7c245bfe0490206509e26ecba7641c8aa56fbc
[]
no_license
jonathanhhb/DataScience
4fcc6ed9493f72839e9c67ce450c412ba864563c
8568c8b1ddb1cc737c8e314198d7773dfd58fcd0
refs/heads/master
2021-06-26T07:33:03.639850
2019-05-22T20:11:04
2019-05-22T20:11:04
114,664,168
0
1
null
null
null
null
UTF-8
Python
false
false
1,011
py
#!/usr/bin/python from keras.applications.resnet50 import ResNet50 from keras.preprocessing import image from keras.applications.resnet50 import preprocess_input, decode_predictions import numpy as np import urllib2 import sys model = ResNet50(weights='imagenet') response = urllib2.urlopen( sys.argv[1] ) image_from_...
[ "jhb4@cornell.edu" ]
jhb4@cornell.edu
161618add3f39c9fe876a8d7b56a02309bb09785
2c68f9156087d6d338373f9737fee1a014e4546b
/src/vmware/azext_vmware/vendored_sdks/models/tracked_resource_py3.py
27620df2d70b14816bdf6d808642b7b81ad668c9
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
anpaz/azure-cli-extensions
8b0d4071c49840da9883f13cb0fd1f4515246ee0
847fd487fe61e83f2a4163a9393edc9555267bc2
refs/heads/master
2023-04-23T17:22:53.427404
2021-01-29T17:48:28
2021-01-29T18:01:33
257,394,204
2
0
MIT
2021-01-28T10:31:07
2020-04-20T20:19:43
Python
UTF-8
Python
false
false
1,447
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "noreply@github.com" ]
anpaz.noreply@github.com
feecfc389496c8c1ebf9368e8be2da15764d4830
04741556cbaa4f98afea194bc0997723eb06fa49
/Python/Group(), Groups() & Groupdict().py
4be0ae3f083124a4cdca9efedf23be66f04f9837
[]
no_license
maybeee18/HackerRank
e75f619654326e0deae83ee4fe818d20d606bdda
dce488916f643248ea86500e176322a3b9e3b671
refs/heads/master
2023-01-21T23:22:07.206264
2020-10-05T04:54:45
2020-10-05T04:54:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
import re s = str(input()) m = re.search(r'([a-zA-Z\d])\1+', s) print(m.group(1) if m else -1)
[ "n.okroshiashvili@gmail.com" ]
n.okroshiashvili@gmail.com
d59d7dc1df81da166c9d49e6eaa0d44cb787a00c
23ea8b62ea8823cc2609cccdb49ec6195f9528b0
/experimentation/alt_hough_lines/alt_hough_lines.py
bdcc5a8d35798e59f51d8ec736fb796bc036aa31
[]
no_license
ashvath100/computer-vision
57d16c54b1fcc8e1502c9b387fb9e1a3e5817455
c3c9b82413818c2603cde5008787a59e60e248af
refs/heads/master
2020-12-13T01:01:53.553224
2020-01-15T13:35:33
2020-01-15T13:35:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,314
py
import numpy as np import imageio import math import cv2 def rgb2gray(rgb): return np.dot(rgb[..., :3], [0.299, 0.587, 0.114]).astype(np.uint8) def hough_line(img, angle_step=1, lines_are_white=True, value_threshold=5): """ Hough transform for lines Input: img - 2D binary image with nonzeros repr...
[ "47158509+oke-aditya@users.noreply.github.com" ]
47158509+oke-aditya@users.noreply.github.com
25e27b9ba8f9eab7e8a7697f65b503252490fbb6
950573f2befa010783c5f061983486e18006878a
/modules/methods.py
393a39d90cb855baa534fd4550ea8244bf221678
[]
no_license
belousovgm/dmarket_bot
44ea587b68d9314d71ec739ce92866acfdd71e9b
ace1e98b5b28b2390f9ede9726fdb23f7a2a8ff4
refs/heads/master
2023-08-05T22:51:28.965645
2021-09-24T17:15:13
2021-09-24T17:15:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
from pyti.simple_moving_average import simple_moving_average as sma from typing import List from api.schemas import LastSale def mov_av_5(history: List[LastSale]) -> list: prices = [i.Price.Amount for i in history] prices.reverse() mov_av = [i for i in list(sma(prices, 5))] mov_av.reverse() return...
[ "timagr615@gmail.com" ]
timagr615@gmail.com
14cf9d39ac25408754cded21c849a8148f084381
6751b7b958b7c7f08a2c6144a2fbfecf9b2823db
/topo7.py
b6fbffb29beacfbc7281fb98b8468740a445879a
[]
no_license
J0e3gan/Computer-Network-6250-Log-Result
e05f65555cd030ccd85feae95a4aaf99e2b87460
6f8f81190ad588d70dd1a3ad70dd26679bfa43f8
refs/heads/master
2021-01-17T14:15:07.658439
2015-06-15T03:09:25
2015-06-15T03:09:25
37,440,791
1
0
null
2015-06-15T03:13:18
2015-06-15T03:13:18
null
UTF-8
Python
false
false
1,778
py
# a Star topology centered on Z with a loop around the outside # +-------------D---------G---------J------------+ # | \ | / | # | \ | / | # | E H K | # | \ | / | # ...
[ "bpmmhk91@gmail.com" ]
bpmmhk91@gmail.com
cac740ed5390813fac0fa76c84b8190b7170522b
020d26b74450c807e04540e0fb5777e54986ffe2
/main.py
67be3aba2b744de5601d18ea6565376f730b9533
[]
no_license
GrDaniel/oreilly-playlists-scrapper
6c85c84b2ecdbeea12fa0d4491b737a3d402d260
e98c623d6e861ff3df74de3937a1b785ce257fc0
refs/heads/master
2023-07-05T16:33:51.626559
2021-08-31T21:01:47
2021-08-31T21:01:47
386,440,343
0
0
null
null
null
null
UTF-8
Python
false
false
2,971
py
import json import logging from converter import EbookConverter from downloader import Downloader from scrapper import OreillyPlaylistScrapper from uploader import DropBoxClient from utils import cfg, collect_local_files, PROJECT_DIR_PATH class BooksSynchronizer(object): def __init__(self): logging.basi...
[ "daniells92@o2.pl" ]
daniells92@o2.pl
8795ae563d13e777b07be9c178c3032e7c2d9605
a1cd3ce533ce070c7c77e6a30a6d0b6a14fc9854
/vegvisir.py
45f7a9b1f3a33f4627260be1742b1223784f2dea
[ "MIT" ]
permissive
jelbrek/vegvisir
12e73cca7fe3a30ea0ff7b420eeb4e6b29e06cc1
2ef2d5826665068c88f3de827af8ddf87bba9439
refs/heads/master
2022-02-18T05:50:50.081719
2019-10-06T06:22:27
2019-10-06T06:22:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,105
py
#!/usr/bin/python import os import json from app.config import config from app.core import lldbcontroller as LLDBController from flask import Flask, request, Response, render_template, jsonify from flask_cors import CORS name = "vegvisir" app = Flask(name ,template_folder="www", static_folder="www/") app.config...
[ "ichaithu@gmail.com" ]
ichaithu@gmail.com
c20c901564732be11e80764493ab831d08542a07
307e094d52f14a930c56bc2b629881d51647c676
/src/libpolycrypto/experiments/threshsig/export-latex.py
4d04e6da32d6fd8d363c12e539a0086a3d81b362
[]
no_license
tyurek/libpolycrypto-docker
f7ca3be921d2383bf86dfab060d8781a9fa02fdc
d4e61020b699936ed1483601f1d7eb5c91341a8e
refs/heads/master
2021-02-14T03:33:56.550740
2020-04-06T21:15:51
2020-04-06T21:15:51
244,763,536
1
2
null
null
null
null
UTF-8
Python
false
false
5,064
py
#!/usr/bin/env python2.7 import matplotlib matplotlib.use('Agg') # otherwise script does not work when invoked over SSH import matplotlib.pyplot as plt from matplotlib.ticker import FuncFormatter from matplotlib.dates import MonthLocator, DateFormatter, DayLocator, epoch2num, num2date import pandas import sys import ...
[ "yurek2@illinois.edu" ]
yurek2@illinois.edu
cb3a507be273487b2929ee7275904ae43f70bfb4
55b89a23b7f594cc529e91d1f4251c40ddc5bef1
/Python Human Readable Date.py
2d991129d4b20eed9c14f89ae744073d79ed13ea
[ "MIT" ]
permissive
codenoid/Python-Human-Readable-Date
75b3849e047e30eaddb84ed275e2a7eba5e1348f
40b6e113c0f5ec64d6bb099cfe9c5e934018b9c2
refs/heads/master
2021-01-21T06:39:53.724956
2017-02-27T05:02:01
2017-02-27T05:02:01
83,269,972
1
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
from datetime import datetime # Inspired By Blurbs Framework - Human Readable Date # Rubi Jihantoro - jihantoro8@gmail.com now = datetime.today() date = datetime(2017, 2, 24, 23, 36, 1) #your date # Language second = ' Second Ago' minute = ' Minute Ago' hours = ' Hours Ago' ytd = 'Yesterday, At '...
[ "noreply@github.com" ]
codenoid.noreply@github.com
5bb25ec3477387e775d0d3cef9989cdcf87ecbe6
9f915ea92455e0fd11c462e3ebb124c7e67b6c7d
/simple_crud/create_db.py
7a8bacf212efa767f3c7641af0cf5a37f6933990
[]
no_license
twr14152/svedka
a3fa001195f6cad81f91d387a8d3ecb9083c4210
0d47f0514bd1f99e8b38df0fc6c6d8286ea84657
refs/heads/master
2022-11-15T06:25:09.588524
2022-11-11T01:03:17
2022-11-11T01:03:17
83,989,933
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
import sqlite3 as sql #connect to SQLite con = sql.connect('db_web.db') #Create a Connection cur = con.cursor() #Drop users table if already exsist. cur.execute("DROP TABLE IF EXISTS users") #Create users table in db_web database sql ='''CREATE TABLE "users" ( "UID" INTEGER PRIMARY KEY AUTOINCREMENT, "UNA...
[ "noreply@github.com" ]
twr14152.noreply@github.com
4fc430f6a69948ed46608cd576153baecb1b687a
10679b5e5f52d8508251a77734d7b6ad3e54598f
/ansible/lib/ansible/modules/network/netvisor/pn_ipv6security_raguard.py
bc2e56eb3a08f979c821245a9795e19830d8fb95
[]
no_license
rajaspachipulusu17/repo_with_code_refactoring
25a695d7ecc79283501e74f92addd21d28af043b
f16aa2e2e0a7e85255bade2e686264425c2e68cb
refs/heads/master
2020-05-18T16:38:15.967389
2019-08-06T10:35:08
2019-08-06T10:35:08
184,531,394
0
0
null
null
null
null
UTF-8
Python
false
false
5,350
py
#!/usr/bin/python """ PN CLI ipv6security-raguard-create/modify/delete """ # Copyright 2018 Pluribus Networks # # 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/li...
[ "rajas.pachipulusu@calsoftinc.com" ]
rajas.pachipulusu@calsoftinc.com
2a81f7d4b1227f25359095b9287bd11ddefebfa3
1e07ebba0d691a53ed9859c4514fa0fa26096948
/comentario/migrations/0012_auto_20190922_1843.py
027e4158ca636543dba5ab86d483626db3a0b521
[]
no_license
frankbriones/fundacion
bf52a9be94348306b55506677c173428cc626fc1
9742d244526374aa4bbcb6c338b33a698c751a1d
refs/heads/master
2022-12-22T12:29:39.106710
2019-11-08T00:25:04
2019-11-08T00:25:04
191,661,945
3
0
null
null
null
null
UTF-8
Python
false
false
462
py
# Generated by Django 2.1.1 on 2019-09-22 23:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('comentario', '0011_auto_20190921_1602'), ] operations = [ migrations.AlterField( model_name='comentario', name='esta...
[ "frankbriones90@gmail.com" ]
frankbriones90@gmail.com
b15f982248a07bd81468603028e04993dab62e2c
948f0a1ccee30084b5e6e9b1043bd1681d2ad38f
/app/1.2.py
11b5df0c3846432a5436737d1486af287a9799af
[ "MIT" ]
permissive
filangelos/random-forest
41454e934cf72cf1480cf5c001d569e629f578ac
0fc7a4f74b1120f3e527e824abc1de1aa32f2b18
refs/heads/master
2021-09-09T13:53:30.982028
2018-03-16T18:38:36
2018-03-16T18:38:36
121,535,264
0
1
null
null
null
null
UTF-8
Python
false
false
4,429
py
# EXECUTION TIME: 49s # Python 3 ImportError import sys sys.path.append('.') import time import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns # prettify plots plt.rcParams['font.family'] = 'Times New Roman' sns.set_style({"xtick.direction": "in", "ytick.direction": "in"}) b...
[ "filos.angel@gmail.com" ]
filos.angel@gmail.com
d05bb1fea607c83d07623745d2c57a7194956709
7ee2643c586dc542874d4a6fa58f0a1fb3ecd8b0
/Python Exercises/01.conditionals_1.py
b4860c35a70beb1b2d9beaf2d170b4b3cdbce21f
[]
no_license
chathuRashmini/Python_For_Everybody
de2c0480a6d1157c70bd6730aba3a61a37266369
3c22ed094a419ca123b953273d0b7204a5ab9ce0
refs/heads/main
2023-04-22T09:35:37.793200
2021-05-11T01:49:34
2021-05-11T01:49:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
#!/bin/python # Task---------------------------------------------------------- # Given an integer, n , perform the following conditional actions: # If n is odd, print Weird # If n is even and in the inclusive range of 2 to 5, print Not Weird # If n is even and in the inclusive range of 6 to 20, print Weird # ...
[ "noreply@github.com" ]
chathuRashmini.noreply@github.com
ffd08081db47a183d721c341ba8da28946c71515
c451bbc6d0014cf7d251fc79176b5d789bacdf71
/plasticWM/migrations/0004_auto_20210424_1510.py
41c33a80ab5ca43db652ead4ccd1932c8fb6d9c3
[]
no_license
AshwinAnoop/RewardsForPlastic
58d6a2d781b777c693dac6f270281e599e3fe7e3
8a6d6a8c3a93d99f28a1d4b00ad3723676624043
refs/heads/main
2023-04-10T14:08:33.402819
2021-04-25T17:22:59
2021-04-25T17:22:59
361,137,341
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
# Generated by Django 3.1.7 on 2021-04-24 15:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('plasticWM', '0003_auto_20210424_1453'), ] operations = [ migrations.AlterField( model_name='scr...
[ "ashwinka999@gmail.com" ]
ashwinka999@gmail.com
45195cd9a511fdfd4e923e24cec6b203242b4440
5d5365a73e81ccf71c73b9d86eb070841f1e0001
/backend/wallet/admin.py
bee6e39eb2e35074d6224625dcf762cc55d21246
[]
no_license
crowdbotics-apps/yjjhffhg-22011
3c908901c5fa930df11d6af17471a39a7e3b1dd9
c5649303aef6b69f515c4526df8b43ee82212c12
refs/heads/master
2023-01-12T02:01:16.200496
2020-10-27T15:36:39
2020-10-27T15:36:39
307,746,507
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from django.contrib import admin from .models import ( PaymentTransaction, TaskerPaymentAccount, TaskerWallet, PaymentMethod, CustomerWallet, ) admin.site.register(TaskerWallet) admin.site.register(PaymentMethod) admin.site.register(TaskerPaymentAccount) admin.site.register(CustomerWallet) admin.si...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
972dbe05aca9f060b4113b57fd5d6d3ecbf2223b
337250ba29fc65e7652fb1a22d653770a3421e52
/src/games/chat/chat.py
03fc685b5d6c13776ad6ddb59fb7ca56e3358e70
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ollej/GoldQuest
4dc2e527debc76558f9032bac2f88abb5d8f5f6e
b9913815bd1d1f304c34c3a3cc643b64310e66c6
refs/heads/master
2021-01-22T21:32:27.876981
2012-12-19T08:35:06
2012-12-19T08:35:06
1,999,071
1
0
null
null
null
null
UTF-8
Python
false
false
2,684
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ The MIT License Copyright (c) 2011 Olle Johansson 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 ...
[ "Olle@Johansson.com" ]
Olle@Johansson.com
1c5db695c00805487dc0b8800c680a5d899c3af3
31cbea7109013dc56e7393a7553e5a7ac664b45e
/2.first_step_tf/first_step_tf.py
c0e101d923fee67fc4f5ab5768fb9f6f58062381
[]
no_license
abhishek9165/ml_cc
fdf043f62d3e009402615bb558a3d4d059ea059d
79adbbac172a35ee4c75b8417284649b51e31297
refs/heads/master
2020-03-18T19:26:44.678433
2018-06-01T06:22:42
2018-06-01T06:22:42
135,154,725
0
0
null
null
null
null
UTF-8
Python
false
false
6,672
py
import math from IPython import display from matplotlib import cm from matplotlib import gridspec from matplotlib import pyplot as plt import numpy as np import pandas as pd from sklearn import metrics import tensorflow as tf from tensorflow.python.data import Dataset tf.logging.set_verbosity(tf.logging.ERROR) pd.op...
[ "verma.abhishek9165@innoplexus.com" ]
verma.abhishek9165@innoplexus.com
09ffb5881d97e3793dd1a6ca240d478cc0e58790
18f33f3ed62229552e92d73022a9ea4e29d892d9
/bin/py/isup.py
daf88fc2a5ba4298b60002f388f5a0f019fe1206
[]
no_license
ttaylordev/z
70997681332b74dce9b444efed25743f5fd71c67
6afd06283b6f2f15c409b7ad651b0a3c4ded2fa7
refs/heads/master
2020-12-30T17:20:04.690100
2016-05-31T14:43:27
2016-05-31T14:43:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,993
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright © 2011 Nicolas Paris <nicolas.caen@gmail.com> # 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 3 of the License, or # any late...
[ "zac@zacanger.com" ]
zac@zacanger.com
9ae00e78ca2c66a4385108f8f7d493052ee74a6f
5a38ffc206890a323ec9bc92c7de2369d2650012
/arquivos-caderneta/printer-scripts/print_pagamento_padaria.py
37b499b25ea1db00341de588e3447d565169244d
[]
no_license
MBorgesT/Fiado
2e316b6250b1019e5f99401114e21018a00f515b
b25a32c2b14be2df9279c436770fe54e322fe703
refs/heads/master
2021-07-06T15:21:27.034877
2020-08-30T21:10:14
2020-08-30T21:10:14
162,161,825
0
0
null
null
null
null
UTF-8
Python
false
false
1,754
py
from escpos.printer import Usb from unidecode import unidecode import json file = open('/home/matheus/arquivos-caderneta/printer-scripts/pagamento.json') json_data = json.load(file) printer = Usb(0x0416, 0x5011) id_pagamento = json_data['id_pagamento'] data = json_data['data'] valor = json_data['valor'] cliente = j...
[ "matheus.borgest@gmail.com" ]
matheus.borgest@gmail.com
119a6abe72d224b7b326cfdd57b58142becaead7
2057b286dd6d894943fd810cc1a17e212c0bab16
/app/core/models.py
bd99aeba8b162b6a0da4427a7179792e59715e60
[ "MIT" ]
permissive
Jevra1995/recipe-app-api
73105fcc064ee01802895762d65fcc76bedca1dc
f5881de5fce0cd25094fbbd5ba040c0f601b2c0b
refs/heads/master
2020-05-04T07:40:10.111184
2019-04-05T12:17:35
2019-04-05T12:17:35
179,033,277
0
0
null
null
null
null
UTF-8
Python
false
false
2,589
py
import uuid import os from django.db import models from django.contrib.auth.models import AbstractBaseUser, \ BaseUserManager, PermissionsMixin from django.conf import settings def recipe_image_file_path(instance, filename): """Generate file path for new recipe image""" ext = filename.split('.')[-1] ...
[ "nikola.jevremovic@htecgroup.com" ]
nikola.jevremovic@htecgroup.com
93b4179de3c328ba26c4fa4e6ac0bc062a52d1fd
fc46f42dde6b4b7d7fc79ef1af6f65719215cc92
/referencia/lab_rpc/rpyc/main.py
1ecb47063a2d24a1c47566dda3776182e1ca9f92
[]
no_license
andrelimabessa/sd217.2
47986dc271755ab8691359fae06ef5c2cf2ac540
1a98dfc67ac5be0b81f14282aba6d2a6a9a09814
refs/heads/master
2021-01-15T23:59:50.910011
2017-12-18T02:48:54
2017-12-18T02:48:54
99,948,047
2
3
null
null
null
null
UTF-8
Python
false
false
457
py
import sys from rpyc_server import server from rpyc_client import client print("Você quer executar:") print("1 para servidor") print("2 para cliente") opcao = input("Opção:") try: if int(opcao) == 1: print("Servidor ativado:\n") server() elif int(opcao) == 2: print("Clien...
[ "andrebessa@gmail.com" ]
andrebessa@gmail.com
90919708b38f1802fc5b4fd478de24850db54d26
2bfdd061bbd594716216402f5058401285352fae
/main.py
e59397fbee31e1a414dae3c4fb6910bff4d53017
[]
no_license
thelotusflower/openni-file-player
ab4f6ff543c2bd44a1919a71a624335b08bc46a1
edae9fd231e2728dca7778d52f0e5e8cdcd10287
refs/heads/master
2020-03-26T11:30:18.175564
2018-08-15T11:44:39
2018-08-15T11:44:39
144,846,076
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
import gui import sys from PyQt5 import QtWidgets app = QtWidgets.QApplication(sys.argv) window = gui.Player() app.exec() sys.exit()
[ "noreply@github.com" ]
thelotusflower.noreply@github.com
e6e186ddde3a4e473e162348a1c1eb6df3cbbf5d
567f76818219464714e49fd4ba4bac43494107f1
/stopwords.py
433b23f0bef87fbaba89f096b9a69ef8dc9e23ac
[]
no_license
anjalibhavan/termextraction
f9c34113c15859919789cff8dc3bd42ffaa04108
afe28e6b490156ae3fcf3bb01e2636fdac735c52
refs/heads/master
2020-06-01T01:38:40.578265
2019-10-01T12:45:18
2019-10-01T12:45:18
190,580,881
0
0
null
null
null
null
UTF-8
Python
false
false
3,199
py
import nltk import string from nltk import word_tokenize from collections import Counter import os from chardet import detect from nltk.corpus import stopwords import numpy as np from nltk.util import ngrams import pandas as pd import scipy def get_encoding_type(file): with open(file, 'rb') as f: rawdata = f.read()...
[ "anjalibhavan98@gmail.com" ]
anjalibhavan98@gmail.com
66eb19b40feed309c72cca813f8b9daff434849c
48c0a0a22a0a43546cc41ec91e07a767645ed45a
/comments/migrations/0001_initial.py
a2ddac3cf7212a2c571e12029ad9675b1552cef4
[]
no_license
10256017/django-practice
56152523e8a482c537a55806328dfc9b3902b0d0
b600526eb78d0b5c8c3a3e99e5a9c0a210c61a2d
refs/heads/master
2022-12-10T10:57:39.959739
2019-07-18T08:14:25
2019-07-18T08:14:25
197,117,596
0
0
null
2022-12-08T05:54:39
2019-07-16T04:00:40
Python
UTF-8
Python
false
false
563
py
# Generated by Django 2.2.3 on 2019-07-16 05:50 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Comment', fields=[ ('id', models.AutoField(...
[ "lovehyt121312@gmail.com" ]
lovehyt121312@gmail.com
86cc3320d97d3f645d71865a5d006a4c71317a53
952a411236d1052e1e3d67d72cf01a973e8e71e5
/c6_decesion_tree_create.py
2f88c11f9f744a59830d6a3a1eb3d8f339e15c79
[]
no_license
cuidongxu666/machine_learning_review
698a0854c130f8ee72b7f9ce5595d398be513f6c
07bdb82f74713707c3f2fb2aaa1fd13f6c983ed9
refs/heads/master
2020-09-08T19:35:48.726806
2019-11-12T13:49:53
2019-11-12T13:49:53
221,226,594
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
#模拟信息熵进行一次划分 from collections import Counter import numpy as np from math import log #根据特征d,阈值value进行划分 def split(X,y,d,value): index_a=(X[:d]<=value) index_b=(X[:d]>value) return X[index_a],X[index_b],y[index_a],y[index_b] #计算信息熵 基尼系数 def entropy(y): counter=Counter(y) res=0.0 #res=1 for ...
[ "1041254428@qq.com" ]
1041254428@qq.com
86b85b4c0923589add18c135d861f660562dc9ff
5c2a504d630d918ef183a0fc0ad0e8c22052bf75
/manage.py
0e889816b0eecc814cfae92267f50913e71b2b97
[]
no_license
irfanmk08/demopgroject
15f9ef5205e19d976be0225bc399ed65562b7682
0802b5b465aee83491dd17cee98be45a13d0d4bf
refs/heads/master
2023-02-05T12:26:46.223915
2020-12-01T04:23:57
2020-12-01T04:23:57
316,126,049
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'testpgct.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "irfanmk08@gmail.com" ]
irfanmk08@gmail.com
5ab2fec2b8f90755f0c2c41cd1c55b6a58f2d869
ea02eb8c52ef66fe8399516dc0103b95ea1dd7c4
/leo/lilac.py
62a481a1484a09dabefd18f739923e60614fee7a
[]
no_license
y010204025/repo
6c9d9601a14b8d003789bfe8266b1e10e9d41a49
074fef70cdccf3c62092a848e88bb27fbabea8d3
refs/heads/master
2020-03-23T03:38:57.191796
2018-07-15T14:51:38
2018-07-15T14:51:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
#!/usr/bin/env python3 # # This is a complex version of lilac.py for building # a package from AUR. # # You can do something before/after building a package, # including modify the 'pkgver' and 'md5sum' in PKBUILD. # # This is especially useful when a AUR package is # out-of-date and you want to build a new one, or you...
[ "farseerfc@gmail.com" ]
farseerfc@gmail.com
65b7349016818ec0fd5b7471e004da12717831be
a02ca4a895214f9daa984019e5614d6f9c4ba9a9
/HelloTube/urls.py
0d4ef456157bebd7a3de7e422a2e133a5ef07489
[]
no_license
zuoxiaotian/hellotube
49ee45cbdbc7b62f7d81aca0706f8e1761b373a5
be39307ab6645658400da7e29da6adbde63ae00e
refs/heads/master
2020-06-07T06:15:15.993834
2019-06-20T21:14:41
2019-06-20T21:14:41
192,946,279
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
from django.conf.urls import url from HelloTube import settings from . import view urlpatterns = [ url(r'^$', view.index), url(r'^extract', view.extract), url(r'^send', view.send), url(r'^create', view.create), url(r'^download/(?P<name>.+)/',view.download), ]
[ "noreply@github.com" ]
zuoxiaotian.noreply@github.com
ced5cdbcfa8beb5a466cbf64c8a4e987e956ac19
973666c1cbb0ef809b72b3d70e804dd38f67e358
/xiaoshou/adminx.py
503079adc415a2bcc717790947d855f786dfefdf
[]
no_license
zqh1107668229/ERP_system
cc9f5bf11487564cb06ba689390a0cb1d0fd6784
d8b65e3fffef88abf92f049765f386969dc499fc
refs/heads/master
2020-04-06T18:32:30.744956
2018-11-15T11:50:21
2018-11-15T11:50:21
157,702,084
0
0
null
null
null
null
UTF-8
Python
false
false
2,558
py
import xadmin from .models import Customer,SaleOrder,SaleOrder_Detail,Buy,Buy_Detail,Sale,Sale_Detail class CustomerAdmin(object): # 显示字段 list_display = ['customer_id','name','address','phone','PostalCode'] # 搜索 search_fields = ['customer_id','name','address','phone','PostalCode'] # 过滤器 list_fi...
[ "1107668229@qq.com" ]
1107668229@qq.com
a130bec774c892fb9c1a395120872e7e39f4ff02
41ea6ff5e61cfa67dbf7000a31faf0e30ab2fcb2
/python handson/Python for data structure/array_missing_element.py
b820bec134551f0933b98fa065d9aa4f209aec44
[]
no_license
12btcse1108/hacker-rank-sol
576907c58a484264e87817dc6dbb54ac867bf601
870b4f0579a19f3b792da95fc0aca6a3d3ae308f
refs/heads/master
2021-08-16T17:35:52.408782
2017-11-20T06:11:17
2017-11-20T06:11:17
111,369,049
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
# coding: utf-8 # In[16]: def array_missing(arr1, arr2): new_arr = [] for item in arr1: if item in arr2: arr2.remove(item) else: new_arr.append(item) return ("\t".join(map(str,new_arr))) # In[17]: def array_missing2(arr1,arr2): arr1.sort() a...
[ "12btcse1108" ]
12btcse1108
30e1a84c06ca00940832ccc37ecb9ec95c660bef
f1c0ce462b185f7b633acb04ee8a85fcda87c748
/tests/ui/help/test_application_help.py
937e44be50886b1b7c39936744091d0878f09a36
[ "MIT" ]
permissive
cole/clikit
056c5f388043a43971a633470122b291fb51d23f
bdb286672f93e1ff7df1d864fb0751476e034d57
refs/heads/master
2020-09-08T12:11:05.287042
2019-11-12T05:02:42
2020-02-22T22:19:49
221,129,623
1
1
MIT
2019-11-12T04:27:10
2019-11-12T04:27:09
null
UTF-8
Python
false
false
5,056
py
from clikit import ConsoleApplication from clikit.api.args import Args from clikit.api.args.format import ArgsFormat from clikit.api.args.format import Option from clikit.api.config import ApplicationConfig from clikit.args import ArgvArgs from clikit.ui.help import ApplicationHelp def test_render(io): config = A...
[ "sebastien@eustace.io" ]
sebastien@eustace.io
11a6fcb57a8d8be2f2d2ef039795233e246976d1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03346/s839224624.py
607b47a18949a8482e6d9a712cdca3e6c434dd8e
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
import bisect import heapq import itertools import math import operator import os import re import string import sys from collections import Counter, deque, defaultdict from copy import deepcopy from decimal import Decimal from fractions import gcd from functools import lru_cache, reduce from operator import itemgetter...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9d53d0415cfb8d1a302c8be034149c90ae17bada
c6abfc400f2f203fabd2cad69929886a8550fc98
/dropdown/models.py
4b6bac51fac32af563c0512fa38b165eb622a0d1
[]
no_license
Amjad8286/DependentDropdown
192a4b3252800fc1791ea0918d63e00012507a41
745a0fecc508831fa2df56f27aa979ea1d5fa5c1
refs/heads/master
2023-07-24T22:15:13.337122
2021-08-30T13:27:42
2021-08-30T13:27:42
400,624,792
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
from django.db import models # Create your models here. class Country(models.Model): name = models.CharField(max_length=50) def __str__(self): return self.name class State(models.Model): country = models.ForeignKey(Country,on_delete=models.CASCADE) state = models.CharField(max_length=50) ...
[ "ansari.amjad8286@gamil.com" ]
ansari.amjad8286@gamil.com