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
338664a163b874791c977fd2119b907b6b0c55f1
9a7bd39ee05ebf5fd1b173bb5b8b4d2afd3d7be1
/backend_svc/setup.py
5f817dc1595d30c24104afa40d70be0bf0a88f37
[ "MIT" ]
permissive
MartenSies/KontrolPanel
7972a124a1dbe61fa4d24fba4fd29396ab10bce1
53b0a6e4f721c2ddf9655ba258829841e6e389f5
refs/heads/master
2022-03-03T03:10:45.564867
2019-11-06T19:53:00
2019-11-06T19:53:00
208,911,552
4
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
import os import sys import subprocess from distutils.core import Command from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.txt')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() re...
[ "mail@martensies.nl" ]
mail@martensies.nl
4fd7a00ec6687b91f5c1c497803a8b74d7c10c9e
f163ff3b942fb91ac797e5fea3da82e394bc287f
/Numpy/remfits2/daylcurves.py
4997f44d9f7f7680ccd611410e9b82d3bf578102
[]
no_license
JohnMCollins/python-astro-progs
3980c59d3e9ac0184647de728d4cd51e32bde35b
5c4da3e9ebf6e2c5d2e392102e009bc3ad175403
refs/heads/master
2023-04-09T06:54:21.487801
2023-03-16T18:59:08
2023-03-16T18:59:08
58,373,248
0
0
null
null
null
null
UTF-8
Python
false
false
13,214
py
#! /usr/bin/env python3 """Make light curve from findresults for one object""" import argparse import sys import re import datetime import matplotlib.pyplot as plt import matplotlib.dates as mdates import matplotlib.ticker as mtick import numpy as np import remdefaults import find_results import objdata import remge...
[ "jmc@johnc.uk" ]
jmc@johnc.uk
fbf1b1c4748f7ba833bd84c2a17ae2c06c738890
db729f16d023fbacf61c05a437847287c9365472
/research_notebook/hwan_opencv/new_opencv/np_test.py
521550dbd2cf6dbe2adb07a781356d7bd4d90d2d
[]
no_license
co24428/Coffee_Inspection_Work
1b7d9bfd4d2aa29480acca339c0502eb49a2ae3a
0823c0b1b276d341a65386c05e9174520fc84b21
refs/heads/master
2023-08-01T10:41:16.696500
2020-06-16T02:03:57
2020-06-16T02:03:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
a = [ [12, 18, 6, 3], [ 4, 3, 1, 2], [15, 8, 9, 6] ] a.sort(key=lambda x: x[1]) print(a)
[ "bcduck89@example.com" ]
bcduck89@example.com
53a392751a75f85027707c09f1f615efa1879fc4
1705e97ef5613685e142e3f78a2057399b09858c
/Code/asiportal/asiapp/wsgi.py
d3acec3485332c8d95214dd8fcb36efc399cc96e
[]
no_license
FIU-SCIS-Senior-Projects/Academic-Success-Initiative---ASI-PantherCentric-1.0
0b956175efb031022ed32412195531c7f0c162c5
8ee64b58e2634384d5905defd3701a453b49b966
refs/heads/master
2022-11-24T00:07:52.458186
2017-08-02T01:36:32
2017-08-02T01:36:32
91,715,982
0
0
null
2022-11-22T01:31:04
2017-05-18T16:37:10
SQLPL
UTF-8
Python
false
false
389
py
""" WSGI config for asiapp project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "jakedlopez@gmail.com" ]
jakedlopez@gmail.com
805c56c2ef847fa55c68c70aa320b8e855253e40
ab011130b25a0e83c1c231627f796f28241b1648
/database/env.py
974e6c469d8489b3090acceef563653319e172c1
[]
no_license
Srikanth-SM/todo-gRPC
116f5d74305afb1239ef142fa08388950e91481f
721c98974e6192ba6a5ef6a0dd5a19a176411cc4
refs/heads/master
2020-04-16T22:47:43.130533
2019-01-18T09:56:31
2019-01-18T09:56:31
164,848,618
0
0
null
null
null
null
UTF-8
Python
false
false
2,032
py
from __future__ import with_statement from alembic import context from sqlalchemy import engine_from_config, pool from logging.config import fileConfig from database.models import Base # this is the Alembic Config object, which provides # access to the values within the .ini file in use. config = context.config # Int...
[ "srisiro26.pec@gmail.com" ]
srisiro26.pec@gmail.com
901f068a066a5fe9dc359cf291f0730aebf4c144
c792518d737f8a3542c3ac9141f6fcf33c3479bd
/08_Joshua_Pyhton_Lab10.py
40f9814362582c9aca503251c34790de5282b320
[]
no_license
Josheaaa/08_Joshua_Python_Lab10
e73b3f94bd546939637b134cb3572c4402c2f1b4
d84256073c33ff2c20b8488e81b7cc982e050ea0
refs/heads/master
2023-07-02T09:22:44.005777
2021-08-06T03:07:27
2021-08-06T03:07:27
393,232,245
0
0
null
null
null
null
UTF-8
Python
false
false
5,067
py
import pandas as pd # Create a python series using list to add, subtract, multiply and divide another panda series ps1 = pd.Series([1, 3, 5, 7, 9]) ps2 = pd.Series([2, 4, 6, 8, 10]) # Create another python series to add, subtract, multiply and divide from previous series ps = ps1 + ps2 print(ps) ps = ps2 - ps1 print(p...
[ "carreon_joshua_mendoza@connect.ite.edu.sg" ]
carreon_joshua_mendoza@connect.ite.edu.sg
db6aeb882a3c913eaa74cd0748b30eb5a94b2128
b21c5a443e4e30308f3a62cbd9043285e8f61623
/Algorithms/MedianOfTwoSortedArrays.py
ec8ec42922e48fd27d7964ba0820d283cad62384
[]
no_license
RobertoGuzmanJr/PythonToolsAndExercises
eec9053214ddcf43b661f4ce427d6eda5bf4b840
8ec61b002204ecc4b87abe09f8dffcfe3aaa07e6
refs/heads/master
2022-09-24T01:15:11.074889
2020-06-08T20:55:09
2020-06-08T20:55:09
257,700,241
0
0
null
null
null
null
UTF-8
Python
false
false
1,421
py
class Solution: def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -> float: m = len(nums1) n = len(nums2) p1 = p2 = 0 mids = [] s = 0 #even case if (m + n) % 2 == 0: while s <= (m+n)/2: val = 0 ...
[ "noreply@github.com" ]
noreply@github.com
9d7b85960b3a7ec53691dfeae2049675745204e7
f975d71c902c4123c2e2a1e51f72b17571e925ef
/tests/unit/test_db.py
badc9da37fd2ca5186dd611b9ba67e751e91ec58
[]
no_license
qarthandgi/energy-bill
abc4e88ef266fefb5ff60bf0e6a27d26af3c0d15
19adc1b7f009c4ad3a328f652e6c7a7aff4a26ea
refs/heads/master
2021-06-23T21:42:11.474738
2019-10-28T22:19:56
2019-10-28T22:19:56
218,155,303
0
0
null
2021-04-20T19:01:02
2019-10-28T22:16:13
Python
UTF-8
Python
false
false
64
py
from src import db def test_db(): db.test() assert True
[ "nbrandon360@gmail.com" ]
nbrandon360@gmail.com
165151141ee57f68ac0c0c19274ab313a9f6137a
5ce59b426bbb13ade60aedba09e097672b100c56
/practice_setup.py
b8e097ea03ea79e3b6555b887038bb1554adfa3d
[]
no_license
connoralbrecht/AI-Final-Project
b9dced5b1fad2fa3ce0ff3dd4e900b6aab0d7747
0e5875b501d2ed86bbb60e723dcfdfc573b42908
refs/heads/master
2020-04-09T06:27:39.551499
2018-12-06T22:50:20
2018-12-06T22:50:20
160,113,461
0
0
null
2018-12-05T13:59:41
2018-12-03T01:07:26
Python
UTF-8
Python
false
false
15,270
py
# Created by Minbiao Han and Roman Sharykin # AI fall 2018 from __future__ import print_function from __future__ import division from builtins import range from past.utils import old_div import MalmoPython import json import logging import math import os import random import sys import time import re ...
[ "noreply@github.com" ]
noreply@github.com
1562a42c83d7480a67c631a9a7b097f839980268
71c331e4b1e00fa3be03b7f711fcb05a793cf2af
/QA-System-master/SpeechToText_test/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/storage/v1/storage_v1_messages.py
d1d192d4db3de2568479ea3d6ec6356cf43099a3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
iofh/QA-System
568228bb0c0adf9ec23b45cd144d61049e720002
af4a8f1b5f442ddf4905740ae49ed23d69afb0f6
refs/heads/master
2022-11-27T23:04:16.385021
2020-08-12T10:11:44
2020-08-12T10:11:44
286,980,492
0
0
null
null
null
null
UTF-8
Python
false
false
138,678
py
"""Generated message classes for storage version v1. Stores and retrieves potentially large, immutable data objects. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.protorpclite import message_types as _message_types from apitools.base.protorpclite import messages as _messa...
[ "ige-public@hotmail.com" ]
ige-public@hotmail.com
05e8534070a93a7ccf28f2c4d005262247ce17ec
55fe565e56894d04f6f95b5f228e5be6576fd039
/youtube/models.py
fe1b1e340a1b955cb6101d6e190f4d9b6c56539f
[]
no_license
anandanimesh98/YouTube-Clone
4d0fce6d279bada7cef83fa473f824310a108f41
4a3825d7241a710d6f6ee91153f0e3a81d973810
refs/heads/master
2023-03-21T03:30:13.609936
2020-06-18T16:28:42
2020-06-18T16:28:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
from django.conf import settings from django.db import models from django.utils import timezone # Create your models here. class Video(models.Model): title = models.CharField(max_length=30) description = models.TextField(max_length=300) path = models.CharField(max_length=60) datetime = models.DateTime...
[ "niranjan.sy99@gmail.com" ]
niranjan.sy99@gmail.com
27ced895bc04e2692924f40836080ed478a9d412
a2cde76898f72048f5ddfe2088147efaa83fdef8
/users/api/serializers.py
97c39fc3d7f421d49cfc63232341ecd04436ae1c
[]
no_license
dlin99/Django-Blog
f29b91c0c6031e3a5212dc091ddd22b8aab47a3a
2d45b1f3d6b2a8ec1333b381abfe6e37e512efa1
refs/heads/main
2023-02-04T21:16:53.503476
2020-12-27T04:32:09
2020-12-27T04:32:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,949
py
from rest_framework.serializers import ( ModelSerializer, HyperlinkedIdentityField, SerializerMethodField, ValidationError, EmailField, CharField, ) from django.db.models import Q # from django.contrib.contenttypes.models import ContentType # from django.contrib.auth.models import User fro...
[ "linycdanny@gmail.com" ]
linycdanny@gmail.com
b1e81953ecec8bd5d6eaf8d990376717136ca91d
26c613f84d3e245418014ec97e482d1fef4dcf89
/Named-Entity-Classifier/a4.py
a2c252521ae449a65fe7cbc7eb5093953c1f76df
[]
no_license
shorabhd/Natural-Language-Processing
08675b83ecdc448539acf34a5fd12460301600ad
20492d9bce046253084452f64e8de246aee8516a
refs/heads/master
2020-12-30T16:45:29.618937
2017-05-11T20:27:46
2017-05-11T20:27:46
91,019,588
0
0
null
null
null
null
UTF-8
Python
false
false
12,880
py
# coding: utf-8 # In[3]: import nltk from gensim.models import word2vec from collections import Counter from itertools import product import numpy as np import pandas as pd from sklearn.feature_extraction import DictVectorizer from sklearn.linear_model import LogisticRegression import urllib.request import sys # I...
[ "shorabhd@Shorabhs-MacBook-Pro.local" ]
shorabhd@Shorabhs-MacBook-Pro.local
79d371c1b3c959cd4a3518ccc51afaf080344bfe
04293bd329a143a638bb0fc1291ada6f0192be24
/save_reload.py
2bab4a30f8aa8b3a556d40c00ec4886fe8fafbf4
[]
no_license
qq1065507891/pytorch
1b3b2e882652d3279e180dd754b7af5b414a4956
41f211313a2e38aae3a375d5abb032173967ad9f
refs/heads/master
2020-04-07T16:23:22.051506
2018-11-21T12:11:15
2018-11-21T12:11:15
158,527,088
0
0
null
null
null
null
UTF-8
Python
false
false
1,668
py
import torch import matplotlib.pyplot as plt x = torch.unsqueeze(torch.linspace(-1, 1, 100), dim=1) y = x.pow(2) + 0.2*torch.rand(x.size()) def save(): net1 = torch.nn.Sequential( torch.nn.Linear(1, 10), torch.nn.ReLU(), torch.nn.Linear(10, 1), ) optimizer = torch.optim...
[ "noreply@github.com" ]
noreply@github.com
cf2775cb365ae36dbb028cd97bbc7706b62a071c
d24f09c896f75a64abf04fb0b6b2c1702a35fce7
/P11_Grid_Search.py
0f11baa740381618a9055f380619318673d3f814
[]
no_license
sarvesh10491/Python-Hackerrank-Problems
16a7b566958dbd429b12d5b83346dd9c87eebab2
f797307a44b76612a6f11d71e335469a5acab7f3
refs/heads/master
2020-03-19T07:53:00.054963
2018-06-16T06:01:06
2018-06-16T06:01:06
136,156,694
0
0
null
null
null
null
UTF-8
Python
false
false
1,859
py
# https://www.hackerrank.com/challenges/the-grid-search/problem import math import os import random import re import sys # Function to find all possible starting indices of pattern substring in main string def found_at(parentstr, substr): indices=[] i = parentstr.find(substr) while i >= 0: indices.a...
[ "noreply@github.com" ]
noreply@github.com
9a6666ffe7fd9c01862329091ec04e6fb5b1e21a
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/rna-transcription/a033dd3f296e4281ad7fae26e02d0a4d.py
612ab04228445c3976c52b87575abb7b15c6a2a3
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
262
py
DNA_TO_RNA = { 'G' :'C', 'C' : 'G', 'T' : 'A', 'A' : 'U', } def to_rna(dna): rna = '' for c in dna: if c not in DNA_TO_RNA: raise ValueError("illegal nucleotide '%s' in dna" % c) rna = rna + DNA_TO_RNA[c] return rna
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
3f87615992dc362c32de8d13fccaa5a95fa35eb0
cb18fc0115cd43ed0a6b829e14cfff9dffbf30ce
/vec_env_es.py
e7cb7588f470b76364ca1b48fee51e8f306b7dff
[]
no_license
Guillaume-Cr/evolution_strategies
4f9c67b1fe2d7c3326ec3763e80398629186a5fd
10eb7a462b5b34eb4b86745a4a383215a0edefe9
refs/heads/master
2022-12-09T16:28:45.837791
2020-09-13T03:54:18
2020-09-13T03:54:18
277,405,046
3
2
null
null
null
null
UTF-8
Python
false
false
4,501
py
import gym import random import torch import numpy as np from collections import deque import matplotlib.pyplot as plt from collections import namedtuple, deque import random import time import multiprocessing as mp import threading from gym.vector.tests.utils import make_env, make_slow_env from gym.vector.async_vector...
[ "gcrabemp@gmail.com" ]
gcrabemp@gmail.com
967f4507e9be93893f9db9e8ab04d072e7c1c49c
16ac02b8f427bd622af1564f1236e4913ed63521
/Codes/Version 1.6/force_raised_gaussian.py
003e679b1563108f7216fab5e0a3d0cd04424273
[ "MIT" ]
permissive
gharib85/Brownian-dynamics-in-a-time-varying-force-field
20660665747310e1201e8ca7d404acc15ec7a3bd
1dce268fcc4f27e066be0ec0b511178cbc1437c5
refs/heads/main
2023-08-16T03:47:51.957137
2021-10-23T19:09:50
2021-10-23T19:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,593
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on March 6, 2021 @author: asif """ import numpy as np import pylab as py import matplotlib as plt ro = 2e-6 tfinal = 12 xrange_limit = 30e-6 # Max and min of x axis range for plotting animation zlow_limit = -10e-6 zhigh_limit = 30e-6 r_active = 0 n_o...
[ "39745895+zaman13@users.noreply.github.com" ]
39745895+zaman13@users.noreply.github.com
ea71aaba6f75c0f5a70a4dda257718495ce1f587
f350818ee4b5c5278f3a3331db27749c7e8af62c
/serverenv/bin/gunicorn_paster
b3878573bf0f6fbfb665c71a87040349051c37f0
[]
no_license
AashrayAnand/table_list
2195ce1bba4753b71220692cadb69dc0ad92d053
335bd4673afd7d9cf0b040bbb6334cb8fa3e98e0
refs/heads/master
2023-01-20T02:43:34.486581
2019-01-12T23:13:20
2019-01-12T23:13:20
153,882,251
1
0
null
2023-01-13T22:48:03
2018-10-20T07:46:42
Python
UTF-8
Python
false
false
271
#!/home/user_aashray/sites/live.uwpaphi.site/serverenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from gunicorn.app.pasterapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "aashray@uw.edu" ]
aashray@uw.edu
db3e53c2289ed0be9042c4809d70477cec9c9646
4db0ecdaf1121c72a38feb3fe80c05467f8f9815
/plot_roc_multi.py
391ed21bd63ebb705d48b2bf95fdfa52c29306d3
[]
no_license
zhiyong-zhou/roc_utils
46d2f57e3cac7be3672a911873463720eae4177d
d747e72e0542b51b9cade370e2a3efad731740d0
refs/heads/master
2023-07-15T19:27:28.243152
2019-12-06T03:06:00
2019-12-06T03:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
""" plot_roc_multi: Plots multiple ROC curves on the same graph (useful for comparison). Note: for more detailed information on a single ROC see 'plot_roc'. Author: Keith Kenemer """ import os,sys import numpy as np import pickle import matplotlib.pyplot as plt from sklearn.metrics import auc # process...
[ "noreply@github.com" ]
noreply@github.com
553f569241527a84d22652ea7170576a0d8bb70b
c85be7ac89f702880dcc35cda13918bd01bc36a1
/app.py
d84bdfbcfbd988b33444c67c6abe3b962bf96134
[]
no_license
MarcoBurgos/MasterCryptoTeam
1fb101cea08b6b99bc22b7835a4b7526b8cd4fa1
c0a5c66cde61eefb5f173b46de7bfcb8fd79c6bd
refs/heads/master
2022-12-13T23:47:18.031317
2019-06-16T05:30:14
2019-06-16T05:30:14
187,737,852
0
0
null
2022-12-08T01:45:51
2019-05-21T01:18:19
Python
UTF-8
Python
false
false
81
py
from mastercrypto import app if __name__ == '__main__': app.run(debug=True)
[ "marko_burgos@gmail.com" ]
marko_burgos@gmail.com
795299e5984a625559bf3332c4649ad94559164d
52a15d4fabf68bf23a23799312ae40465764908c
/src/operation/unittest.py
ea1bd413fef2f9e5c4a43d478e9926b0e0835959
[ "MIT", "Apache-2.0" ]
permissive
jensl/critic
2071a1b0600051967323df48f4d3a5656a5d2bb8
c2d962b909ff7ef2f09bccbeb636333920b3659e
refs/heads/stable/1
2022-05-28T03:51:15.108944
2018-03-27T18:47:46
2018-03-29T15:08:30
6,430,552
224
36
NOASSERTION
2023-05-29T15:38:00
2012-10-28T18:26:04
Python
UTF-8
Python
false
false
123
py
def independence(): # Simply check that operation can be imported. import operation print "independence: ok"
[ "jl@critic-review.org" ]
jl@critic-review.org
2a499fd7e7b8c5bbf2617bae35a047e99b8d6b08
637ec65429e817c6c12fc66bad299a9ff831ca3c
/supplier_management/supplier_management/doctype/supplier_product_info/supplier_product_info.py
a6f4b09f223a966bb66a2fb4d123987e1b8b7488
[ "MIT" ]
permissive
ashish-greycube/supplier_management
292ca4d956fdc8659e630ec9a8280d0b77037f25
c6f32c383f3d6e9a459903652a42341beb7f8482
refs/heads/master
2020-09-02T22:05:23.001424
2020-01-08T07:03:05
2020-01-08T07:03:05
219,316,260
0
1
null
null
null
null
UTF-8
Python
false
false
277
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, GreyCube Technologies and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class SupplierProductInfo(Document): pass
[ "mr.ashish.shah@gmail.com" ]
mr.ashish.shah@gmail.com
aa3d3d73ed130154ffeca62917f6d42d463b92b8
3eb99709809a493c46a79171ef9774aa4261b59d
/脚本/llianli/cfapp_ei.py
0ca3d8cf2ee5e729d313f8426799f897d4cd36f7
[]
no_license
bingwin/tencent
c831a5b344f597a06c7a7b179d4f67d668198c90
ea5dc5ff398d85cfdf4df056dc8b4064e66fb5fb
refs/heads/master
2020-07-28T21:44:00.281933
2016-05-28T03:21:31
2016-05-28T03:21:31
209,548,176
1
0
null
2019-09-19T12:29:21
2019-09-19T12:29:21
null
UTF-8
Python
false
false
6,718
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # ****************************************************************************** # 程序名称: cfapp_ei.py # 功能描述: cfapp每日访问的事件n数目 # 输入参数: yyyymmdd 例如:20151208 # 目标表名: # 数据源表: teg_mta_intf::ieg_lol # 创建人名: llianli # 创建日期: 2015-12-08 # 版本说明: v1.0...
[ "996346098@qq.com" ]
996346098@qq.com
be5e16b90dffe2f64db5a9e7ecca9866ccefcf3d
c7b5c4432525e97d7735472da9e85ce952b05bff
/build_run.py
b56c81262d3dece7932b0ae909eb24674856bee8
[]
no_license
michaelposada/Docker-Builder-Python-
99b8f7314c9426d0b0fa27e6f1120a1bf58448fb
32f266bb04d67efe6bbac838c7a0b22e93582f2e
refs/heads/master
2020-06-22T06:08:09.285155
2019-08-07T15:21:37
2019-08-07T15:21:37
197,652,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
##Version Python 3.7.6 import os import subprocess print("I will now start to build these Images. Debian 7, Debian 8, Debian 9, Ubuntu 18.04 and Windows") owd = os.getcwd() os.chdir("Debian-7/") os.system("docker build -t isa/debian7 . ") os.system("docker run --cidfile debian7_id.cid isa/debian7") cmd = os.popen("ty...
[ "michaelposada@mail.adelphi.edu" ]
michaelposada@mail.adelphi.edu
e06f845f010a2d4c14cb57449a23c59759b66c2c
933ac63a0986d394a6d608c17447c5b522815505
/koodi.py
a3e952c00e95527dfa651694849a38b081448df1
[]
no_license
meemu/infovizu2019
3b506edc3f5069721b5691e997b79a59bbae3e5d
b3b63cf41e91388e7bc578c13c3593c5c2f44e97
refs/heads/master
2020-05-19T13:32:05.104369
2019-05-20T19:42:16
2019-05-20T19:42:16
185,042,645
0
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
import pandas as pd from bokeh.io import show, output_file from bokeh.plotting import figure, curdoc from bokeh.layouts import column, row from bokeh.models import ColumnDataSource, HoverTool, Div, Select from bokeh.sampledata.autompg import autompg_clean as df from bokeh.palettes import Inferno # Selecting the dat...
[ "teemu.nurminen@student.tut.fi" ]
teemu.nurminen@student.tut.fi
71119c97936e2b9ffd38515d8759e7a17e791b0f
3ec08df086670b0399a4455cea6e44076c389ad8
/tests/components/nest/test_sensor_sdm.py
b1dddcd94949ee159b88ab815db62514d2431f6f
[ "Apache-2.0" ]
permissive
misialq/home-assistant
1cb5c2a80e375c85cc0a36dc8c7a2734fb1940eb
af5fd74d6f936b159dd06cd19770110ea0dd3d7e
refs/heads/dev
2023-08-18T09:05:01.747456
2023-01-28T06:14:36
2023-01-28T06:14:36
230,528,524
0
0
Apache-2.0
2023-04-21T06:58:51
2019-12-27T22:45:56
Python
UTF-8
Python
false
false
9,373
py
""" Test for Nest sensors platform for the Smart Device Management API. These tests fake out the subscriber/devicemanager, and are not using a real pubsub subscriber. """ from typing import Any from google_nest_sdm.event import EventMessage import pytest from homeassistant.components.sensor import ( ATTR_STATE_...
[ "noreply@github.com" ]
noreply@github.com
0d54aedefc1dae7703f514fdd10a16434c3e4068
fd83602e34b8bde0f179753defa314859e9c5d9d
/OpenCV目标检测算法/object-detection_by_opencv.py
640a07b6cb222222f745324ac2fb05530a401328
[]
no_license
HIT-five/2020Picture_project
5467ccca8b2752954429a10c8ff4444c357e24f2
4c17d88b0d0c1b7a652cb56ce18c0d9ae7808501
refs/heads/master
2022-11-16T00:51:02.041817
2020-07-13T19:14:51
2020-07-13T19:14:51
279,364,686
5
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
import cv2 import numpy as np from matplotlib import pyplot as plt import copy import math cap = cv2.VideoCapture('./video1.avi') fgbg = cv2.createBackgroundSubtractorMOG2()# 创建高斯模型混合对象 thresh = 200 kernel = cv2.getStructuringElement(cv2.MORPH_CROSS,(5,5)) while True: ret,frame = cap.read() ...
[ "958476238@qq.com" ]
958476238@qq.com
9271866dce787c1407b384f9a384b7bdc0d9bf89
286043f55a36f9d5844986b0eea58674b1c37353
/src/stickNAUTA/__init__.py
0ba48412d9b2f62c4f7b4de0f52e14ea7e0f8c5d
[ "MIT" ]
permissive
blacknoize404/stickNAUTA
a88526463b563e54a28ca815fbd8ab5791885be9
30a5d5a178435844dbafe9743fb7317deb71195c
refs/heads/main
2023-04-15T23:15:39.461398
2021-04-11T19:00:58
2021-04-11T19:00:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from .NautaSession import NautaSession __version__ = '1.0.0' __all__ = ['NautaSession'] __author__ = 'stickM4N jcgalindo.jcgh@gmail.com'
[ "noreply@github.com" ]
noreply@github.com
698615984a24120282d332cfef57d98cdf075fb5
0c325cf7a68ef51067ed8db566d525a20de5b635
/python/xlrd_and_xlwt/xlrd_test.py
ff5eb4eb3632e68644309cd097ce90b78ddb3c9c
[]
no_license
alinzel/NOTES
2ab6aa1ef1d601a9ae8c0d23c0df2bca7e1aa241
3e0594641a605580e920d0b08a251fbc99f34e2f
refs/heads/master
2023-01-08T22:48:30.762625
2020-01-17T09:14:47
2020-01-17T09:14:47
175,339,492
0
0
null
2022-12-27T15:01:19
2019-03-13T03:28:08
HTML
UTF-8
Python
false
false
3,865
py
# TODO xlrd--一个从excel文件中读取和格式化数据信息的库,无论是xls还是xlsx文件 import xlrd # 打开excel文件,返回实例对象-<xlrd.book.Book object at 0x000001ED41180898> excel = xlrd.open_workbook(r"./excel/2017年人员电子档案.xlsx") #r-->保持原始字符串,不转义 # 获取sheet的名字,返回名字列表-['2017-6-22', '测试'] sheet_names = excel.sheet_names() # 获取sheet对象,返回对象列表-[<xlrd.sheet.Sheet obj...
[ "944951481@qq.com" ]
944951481@qq.com
6065c3b9f25c89d6d2bdd348455c1fbabbe4dbe6
138389945a62634e2ffc3db7e1e011c2059cbcd4
/filterProject/filtergram.py
e92e4673fa31c2313423e8609936b2c33798b375
[]
no_license
gomezquinteroD/GWC2019
1448db3c7ab847ca7aa6003d2be3f820e3f6529c
bb0a13b36235ccfcd3863f783d4bae6688203658
refs/heads/master
2020-06-19T07:37:20.812491
2019-08-08T16:09:47
2019-08-08T16:09:47
196,620,657
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
from filters import * def main(): print("Image Editor: ") filen = input("Give the file name: ") imgs = load_img(filen) print("Loading image...") show_img(imgs) print("Showing image...") oImg = obamicon(imgs) print("Obamicon activated...") show_img(oImg) main()
[ "gomezq.daniela@gmail.com" ]
gomezq.daniela@gmail.com
a5fa4b57b83b141e36d8a93815e1e8d828b4aaba
4772576b2f7601fb3295cec7756c832c250ffbc2
/max.py
9816e594e10a7248d892a993d1deccedf0c7b493
[]
no_license
Dhineshkumarraveendiran/Guvi
db3a956025299fcb2fd06911cc322403c0027ca1
3904a980fa59dd079473a4d68c345ed5116160f1
refs/heads/master
2020-04-15T04:59:55.974890
2019-05-15T10:11:59
2019-05-15T10:11:59
164,405,170
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
#r n =int(input()) li=list(map(int,input().split())) max1=max(li) print(max1)
[ "noreply@github.com" ]
noreply@github.com
69837db1e369e1f6ffa70b28dd26005a8cc1e844
d04e45045781d6c8c4f02f3b7f2c48418fbab330
/fornumber.py
c50c2497a2210c63f7b53de79a954aca8558a1fd
[]
no_license
alcal3/CSS-301-Portfolio
7825d99dc3841bfc8e611e11d6a624744ced2d8a
bec01c246b9f4a0662b64d0d134deca454a1f442
refs/heads/master
2020-05-09T20:31:04.642477
2019-06-11T21:07:32
2019-06-11T21:07:32
181,410,241
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
#aleks calderon #4.23.2019 #iterative program part a for x in range(1, 20): #for loop goes through numbers 1-20 if x < 1: x = 1 else: x = x * x - 1 print(x)
[ "noreply@github.com" ]
noreply@github.com
65f5d5d7db31e03fff05009390b6ac2b06cc7f29
5d58fa1d54855f18bad5688de4459af8d461c0ac
/plugins/callback/yaml.py
40bc0191f254fdf8b7a04ea6c86e06ff50051353
[]
no_license
nasirhm/general
b3b52f6e31be3de8bae0414da620d8cdbb2c2366
5ccd89933297f5587dae5cd114e24ea5c54f7ce5
refs/heads/master
2021-01-04T07:03:21.121102
2020-02-13T20:59:56
2020-02-13T20:59:56
240,440,187
1
0
null
2020-02-14T06:08:14
2020-02-14T06:08:13
null
UTF-8
Python
false
false
4,855
py
# (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' callback: yaml type: stdout short_description: ...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
56692b2d8d4fdb1f80704b8bf94e317d10fe573e
de8d784448e30cd93a9745d13a189c391df514c1
/DIP/dip_manager/migrations/0004_auto_20190601_1923.py
3c6f2953863219c791cf0764a4221dc5b9aac38b
[]
no_license
Blackstee/DataInPocket
3c30f64598195f75cb7a843000eaeb709d5f2f91
28ebad40d615f76bee32b9e3c6c6410b2a505ca7
refs/heads/master
2022-04-26T23:21:34.125211
2019-06-04T22:53:49
2019-06-04T22:53:49
187,661,939
1
0
null
2022-04-22T21:25:41
2019-05-20T14:57:38
CSS
UTF-8
Python
false
false
1,787
py
# Generated by Django 2.2.1 on 2019-06-01 16:23 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('dip_manager', '0003_auto_20190531_2334'), ] operations = [ migrations.RenameField( ...
[ "ya.nastuha24@gmail.com" ]
ya.nastuha24@gmail.com
4fbe70fbf88650d84fb87c57199e97908cac72f3
1bf7673846aedb5beed2d065f971f2985f70df1b
/lib/stashcache_tester/output/githubOutput.py
e82f08f5b95658cef25fec44fc13f3b8251cb8d3
[]
no_license
StashCache/stashcache-tester
31ee90945186821f9bb0979c7bee942037ae05e7
5031d294050e9c6419c360e804654850efcfa32c
refs/heads/master
2020-12-25T14:12:41.392207
2017-02-23T17:55:51
2017-02-23T17:55:51
40,491,284
0
2
null
2017-02-23T17:55:52
2015-08-10T15:51:17
Python
UTF-8
Python
false
false
6,685
py
import logging import json import time import shutil import os import sys from tempfile import NamedTemporaryFile from stashcache_tester.output.generalOutput import GeneralOutput from stashcache_tester.util.Configuration import get_option from stashcache_tester.util.ExternalCommands import RunExternal class GithubO...
[ "djw8605@gmail.com" ]
djw8605@gmail.com
2cc66030c8992eb883ca25b0c0639e0625254c5d
2d1a9cd436a2c5de70e0bf5a93fbd31970a1ff6b
/setup.py
e56c352a506419ddec00873e42ae9ebd5d02ff11
[ "MIT" ]
permissive
tomstitt/nb_connect_existing
052cc89cbbf0fab35d2feeef388533c76b4ebb01
44de6d37d28287f8cdce5dd0fcef1d4cba22e2d9
refs/heads/master
2020-04-08T14:00:53.402336
2019-10-21T23:51:16
2019-10-21T23:51:16
159,418,217
0
0
MIT
2019-02-11T17:50:43
2018-11-28T00:11:47
Python
UTF-8
Python
false
false
552
py
import setuptools distname = "nb_connect_existing" setuptools.setup( name=distname, packages=[distname], include_package_data=True, data_files=[ ("share/jupyter/nbextensions/%s" % distname, [ "%s/static/index.js" % distname, ]), ("etc/jupyter/nbconfig/tree.d", [ ...
[ "stitt4@llnl.gov" ]
stitt4@llnl.gov
c1dd30a27620a1d021d4dd38f8ff19892a4ca76c
a3160604e980796bfc93ca0fbc647f9767022a14
/lstm.py
6d3df3d34441194159fea72d263e1008fb1ec197
[ "MIT" ]
permissive
JayeshKriplani/Sentiment-Analysis-on-Tweets
033b67fa902d833116a2deb512ea904b051dbd09
1a507c3a18f749f5fa615f72a85ff348d96a06aa
refs/heads/master
2023-08-18T19:05:57.255228
2021-10-07T17:53:21
2021-10-07T17:53:21
300,169,736
0
5
MIT
2020-10-15T10:35:03
2020-10-01T06:22:45
Jupyter Notebook
UTF-8
Python
false
false
4,535
py
import numpy as np import sys from keras.models import Sequential, load_model from keras.layers import Dense, Dropout, Activation from keras.layers import Embedding from keras.callbacks import ModelCheckpoint, ReduceLROnPlateau from keras.layers import LSTM import utils from keras.preprocessing.sequence import pad_sequ...
[ "noreply@github.com" ]
noreply@github.com
2066351bd270fca74bcedff272d08e9570fd7078
94b820091cf25a70ae1d4fe416cabb23bf52af16
/2016/day05/solution.py
e60db96bb69afb2808089083a053027e6ad567e6
[]
no_license
JIghtuse/adventofcode-solutions
049fe0084591b205c531d3dd060b76d149989d30
ae4b06a8a5572d9d08ade6e02f9babbd582b19ac
refs/heads/master
2021-05-04T10:04:01.398777
2017-12-05T16:39:58
2017-12-05T16:39:58
49,514,418
1
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
#!/usr/bin/python3 import hashlib DOOR_ID = "abbhdwsy" def solve_first(): index = 0 digest = "" password = "" while len(password) != 8: while not digest.startswith("00000"): digest = hashlib.md5((DOOR_ID + str(index)).encode("utf-8")).hexdigest() index += 1 pa...
[ "egorov@linux.com" ]
egorov@linux.com
5c49e0ec04fe15cf08be854625cc496120e28c5f
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/typeshed/stubs/keyboard/keyboard/_keyboard_event.pyi
9c511fdccf59bc88a0fc4b133c00ab9036b835c7
[ "MIT", "Apache-2.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
827
pyi
from typing_extensions import Literal from ._canonical_names import canonical_names as canonical_names, normalize_name as normalize_name KEY_DOWN: Literal["down"] KEY_UP: Literal["up"] class KeyboardEvent: event_type: Literal["down", "up"] | None scan_code: int name: str | None time: float | None ...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
6f3afb80f98a418d11eb0cdf9a702c511fa7ef73
f56c7699e814e9ea6b699a9636671227b6021df6
/codeforces/myPractice/dimaAndFriends.py
8228d18512b2dd8b41b65dc732a310ef63c68614
[]
no_license
rishiraj52/Competitive-Programming-CP
0646d789f1f3b87ea6866bb1fec2f0efffa71a1a
091b7df0232ae8bf1f42bfce6136cb6e4d6d3844
refs/heads/main
2023-08-15T06:59:01.139406
2021-10-09T11:41:37
2021-10-09T11:41:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
n=int(input()) l=list(map(int,input().split())) s=sum(l) # s=s%(n+1) tp=[] for i in range(1,6): tp.append(i+s) c=0 for i in range(len(tp)): tp[i]=tp[i]%(n+1) if(tp[i]!=1): c+=1 print(c)
[ "poojanngandhi@gmail.com" ]
poojanngandhi@gmail.com
233d0ec4819d640232d4c681a2454a1e0e5966e1
23d25497d30accc7125f6068ad7c55ebcbea0160
/Python/10828.py
a809aac64a520ee155f389f3eeaf52107078f583
[]
no_license
ParkJeongseop/Algorithm
460689e064529d65e8612493a5d338305ec6311e
388d092ee8b07b7ea76e720053c782790563515b
refs/heads/master
2023-08-30T23:19:46.029510
2023-08-09T11:08:56
2023-08-09T11:08:56
149,557,160
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
import sys; input = lambda:sys.stdin.readline().rstrip() n = int(input()) a = [] for _ in range(n): cmd = input().split() if cmd[0] == 'push': a.append(cmd[1]) elif cmd[0] == 'pop': if a: print(a.pop()) else: print(-1) elif cmd[0] == 'size': print...
[ "parkjeongseop@parkjeongseop.com" ]
parkjeongseop@parkjeongseop.com
35bbad1c68e22cd2e649d0005986964a8941d3a7
63cf26ee97b2c2d97aa951c319b75c340cd839ec
/catalog/views.py
796da70cfaac9841713dd34fb4ea83554e3a3e4a
[]
no_license
Junlli/django_local_library
4a7a2a155380251e8eff42347cc5a195a30e6adf
c54541bf922d0bb180228263038f505e4f54bab6
refs/heads/master
2020-03-27T22:21:59.610300
2018-11-28T16:06:18
2018-11-28T16:06:18
147,224,496
0
0
null
null
null
null
UTF-8
Python
false
false
8,390
py
from django.shortcuts import render # Create your views here. from .models import Book, Author, BookInstance, Genre from django.core.paginator import Paginator from django.shortcuts import render def index(request, page_number = '1'): """ View function for home page of site. """ # Generate counts of so...
[ "279110089@qq.com" ]
279110089@qq.com
4144585f59160e7268a01a9b954689f44dcc5460
44a6e88da453a2e368b014e403843b0c955f21f4
/utils/make_mock_solid_dir.py
49e00504ae9b25d4b9a7a94ae096e077cf8d7ffc
[ "Artistic-2.0" ]
permissive
golharam/genomics
a26b1f9366203ec059cc2e49281909bfc16e6ab4
ca0c7c239b0f04353e2f2fa897db9c24a1211596
refs/heads/master
2020-08-06T10:28:21.604129
2019-09-27T07:51:41
2019-09-27T07:51:41
212,943,378
0
0
Artistic-2.0
2019-10-05T04:25:24
2019-10-05T04:25:23
null
UTF-8
Python
false
false
1,728
py
#!/usr/bin/env python # # make_mock_solid_dir.py: make mock SOLiD directory for test purposes # Copyright (C) University of Manchester 2011 Peter Briggs # ######################################################################## # # make_mock_solid_dir.py # #######################################################...
[ "peter.briggs@manchester.ac.uk" ]
peter.briggs@manchester.ac.uk
2cf88213019f14d023072bcdb66ce6c59f33d25d
36a1a925ce413a5a7fb2f7532195a05a912582ff
/migrations/versions/ac3bccd67d33_.py
9b49b96f5a0abcfce107a3b08538b2dc2c176b0e
[ "MIT" ]
permissive
jonathankamau/CP2-bucket-list-api
3bd185162f7d73dc90dd19b9362ed7d5229d7b23
2e0fc959f9c1f2e3014a9ff13e46831a86454d24
refs/heads/develop
2021-01-21T20:23:00.072005
2017-01-21T12:25:06
2017-01-21T12:25:06
92,224,059
0
0
MIT
2020-07-19T23:47:49
2017-05-23T21:57:28
Python
UTF-8
Python
false
false
2,100
py
"""empty message Revision ID: ac3bccd67d33 Revises: Create Date: 2017-01-11 15:55:18.005603 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'ac3bccd67d33' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "brian.rotich@andela.com" ]
brian.rotich@andela.com
344314724faaff944a443750a3b50494c9c38b40
3849f74abb8dafef7bead636c057f1daa57322fe
/ProjectEuler/new.py
0c7471b7a964df2bce53ee0bc569736b6573acb0
[]
no_license
HaugenBits/CompProg
45d322e68703e5f1a809f3221f5cf3e39327455b
cd3964fe75419b910fa1ccd1bbf925ec188003a0
refs/heads/master
2023-02-15T10:33:15.915271
2021-01-07T15:53:53
2021-01-07T15:53:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
def door_open(status): kontroll_liste = list(status) print(kontroll_liste) resultat_liste = [] print(resultat_liste) if kontroll_liste[8] != 'P' or kontroll_liste[3]==0: # sjekker at gir er P eller sjekker om hovedbryter er på return resultat_liste # hvis ikke P eller hovedbryter av retur...
[ "Erlend.H@student.uib.no" ]
Erlend.H@student.uib.no
73d1f2793e1d0bef481611d80af78f725370823a
a4e18f63187a90a1699a4119f53fef0ba4d7ac39
/frontpage/apps.py
c3872b6e1a86fb947efd8140b57fbf35ca56d104
[]
no_license
Code-Institute-Submissions/lionkiller900-Ecommerce_website_JuneResub
5e071a7ec5715b0d71ab04eea63d20254497e23e
3a31dbc3b23b1075213073db42aac17dedd98007
refs/heads/master
2023-06-04T16:26:27.549116
2021-06-13T12:15:45
2021-06-13T12:15:45
377,456,373
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
from django.apps import AppConfig class HomeConfig(AppConfig): name = 'frontpage'
[ "donalddaniels20@hotmail.com" ]
donalddaniels20@hotmail.com
191671c9fb6640b6e84f4f70774511da1adad553
3c7b3948a33ff9c3478e90d9d531e2f25a02659f
/slackbot/run.py
63a3add248963ccfb0a1da59e0a352e60edca0c3
[]
no_license
h0uk1/RaspLock
3b1834908a6af999e8525c6999e32096036d72e4
498a7b2caab004c3313f5cd17540e6e25e0fde9b
refs/heads/master
2020-04-17T07:04:14.970052
2019-02-22T06:12:29
2019-02-22T06:12:29
166,352,227
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
# coding: utf-8 from slackbot.bot import Bot def main(): bot = Bot() bot.run() if __name__ == "__main__": print('start slackbot') main()
[ "noreply@github.com" ]
noreply@github.com
11754e433ee8f5985f0ae11f9bae4e8dc50213e1
6e8f2e28479566dbaa338300b2d61f784ff83f97
/.history/code/tensorboard_utils_20210411113117.py
69315f5c5b16b26260ed37152698eb1eba53cc5e
[]
no_license
eeng5/CV-final-project
55a7d736f75602858233ebc380c4e1d67ab2b866
580e28819560b86f6974959efb1d31ef138198fc
refs/heads/main
2023-04-09T21:28:21.531293
2021-04-21T19:57:22
2021-04-21T19:57:22
352,703,734
0
0
null
null
null
null
UTF-8
Python
false
false
7,424
py
""" Project 4 - CNNs CS1430 - Computer Vision Brown University """ import io import os import re import sklearn.metrics import numpy as np import tensorflow as tf from matplotlib import pyplot as plt import hyperparameters as hp def plot_to_image(figure): """ Converts a pyplot figure to an image tensor. """ ...
[ "natalie_rshaidat@brown.edu" ]
natalie_rshaidat@brown.edu
4bb26a5a9bf7e092ea415b2aa1d5f9635043ad18
75249b08e8988e632a069bb1d29e94cbab64bbbe
/src/controllers/PIDcontroller.py
3d779ea690959a3557dc624bdbb921bc41d0ed5a
[]
no_license
beksultantuleev/Mambo_UAV_with_UWB
1d3c584f2ed95141069a9993c69108c448b8574d
e9d8392a80f3ccfce54898fcc27275dfb6895b12
refs/heads/master
2023-04-27T11:54:53.066697
2021-05-12T22:17:39
2021-05-12T22:17:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,652
py
from numpy.core.fromnumeric import size import numpy as np import time class PIDcontroller: def __init__(self): self.current_state = [] # meters self.desired_state = [] # meters #setpoint # ________________ self.cmd_input = [] self.Kp = np.ones((1, 3))[0] * 7 ...
[ "beksultan.tuleev@studenti.unitn.it" ]
beksultan.tuleev@studenti.unitn.it
cce9c2c02347ccae443d5f1e8dbebf712c264d0e
73e277935ef28fd05935c93a3f155c9cc6dc6de7
/ctf/crypto/quad_residue/Cipolla.py
e07aed34561ff03170436108e72f4b49b2beca9e
[]
no_license
ohmygodlin/snippet
5ffe6b8fec99abd67dd5d7f819520e28112eae4b
21d02015492fb441b2ad93b4a455dc4a145f9913
refs/heads/master
2023-01-08T14:59:38.618791
2022-12-28T11:23:23
2022-12-28T11:23:23
190,989,347
1
0
null
null
null
null
UTF-8
Python
false
false
3,165
py
#python3 #https://learnblockchain.cn/article/1520 def square_root_of_quadratic_residue(n, modulo): """Square root of quadratic residue Solve the square root of quadratic residue using Cipolla's algorithm with Legendre symbol Returns: int -- if n is a quadratic residue, retur...
[ "laitaizong@gmail.com" ]
laitaizong@gmail.com
0eab1d6d33153e049b27a9a7787fb2e08c582bde
036c70c9fb00800d804378a38edcf2fcad5c65c7
/example/app.py
cfc989ac0e6da992feddb6fadb3527e430ea0b20
[ "MIT" ]
permissive
vuonglv1612/apm-agent-utils
71136b047e793ebd13b3a3bcf49eb3bff916de75
ea804cac6bfd23096b4658952e58315058146e9d
refs/heads/master
2023-06-05T11:20:30.624086
2021-06-21T04:14:07
2021-06-21T04:14:07
336,338,361
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
import logging import elasticapm from apm_agent_utils.utils import add_instrumentation from elasticapm.contrib.flask import ElasticAPM from flask import Flask from example.config import secret_token, server_url, service_name logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__) es = ElasticA...
[ "it.vuonglv@gmail.com" ]
it.vuonglv@gmail.com
c62e6620434762221100e759917e7b1c439e7895
41dd4c10786cf0057c4494fe7991d1ea9b39a462
/practicals/exp4/search_element_in_array.py
d5651b8732eb03c0b746f81a0c8a8432115ccc9c
[]
no_license
ItsMeVArun5/PythonPracticals
baea04e2543c998a34f0ec4bfe99a320c31cc80a
e63b0ab4fc195a2d5246423613d8ed14315c6788
refs/heads/master
2020-12-27T07:52:43.520907
2020-03-31T18:36:08
2020-03-31T18:36:08
237,821,645
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
# Write a Python Program to search an element in array and display its location (Create Definition searchInArray(element,array). def searchArray(element, array): pos = 0 index = 0 found = False for x in array: index += 1 if element == x: found = True pos = index if found == True: print ("location fo...
[ "varunmewada1@gmail.com" ]
varunmewada1@gmail.com
ea807fde95aceafd55268cd9b3b8487b9dc91e09
f5780a6d71ec4def28757a4f90f00ca6a0062ccf
/Tournament/capture.py
5d3c4508e0ef1bbefd971ee8e86bbfcdba080f2d
[]
no_license
sqelliott/cs140-Tournament
031602408f6facb27f71ffb5405cb494a2703724
3a6729dc89b8c5e1c084d1335d57c5e885319ace
refs/heads/master
2021-01-19T19:59:34.586040
2017-03-12T02:24:45
2017-03-12T02:24:45
83,355,493
0
0
null
null
null
null
UTF-8
Python
false
false
30,542
py
# capture.py # ---------- # Licensing Information: Please do not distribute or publish solutions to this # project. You are free to use and extend these projects for educational # purposes. The Pacman AI projects were developed at UC Berkeley, primarily by # John DeNero (denero@cs.berkeley.edu) and Dan Klein (klein@cs....
[ "sqelliot@ucsc.edu" ]
sqelliot@ucsc.edu
769d5f7fe77535a00d206add921664f0c7bd61e3
63913055f86d625786196a880c1d8f82b1b569d5
/haddScript.py
5089d9ba93c7f102a326c468bfac108330b3ece4
[]
no_license
mroguljic/X_YH_4b
328791db1449d5ddef8495df3e0ad8a30aeefba3
78ba7980058bd7759354182c685baf605a4e8a8d
refs/heads/master
2022-11-10T15:09:56.836525
2021-09-29T14:35:46
2021-09-29T14:35:46
248,929,562
0
3
null
2020-12-23T08:18:44
2020-03-21T07:44:38
Python
UTF-8
Python
false
false
962
py
import os directories=[d for d in os.listdir(os.getcwd()) if os.path.isdir(d)] if("semi" in os.getcwd()): semil = True variations = ["nom","sfUp","sfDown","jesUp","jesDown","jerUp","jerDown"] #CR else: semil = False variations = ["nom","jesUp","jesDown","jerUp","jerDown","jmsUp","jmsDown","jm...
[ "matej.roguljic@cern.ch" ]
matej.roguljic@cern.ch
a5982b982057004ee234ce100b0ddd970474ad7f
dcf8f4326d4a535c33316df5135fdfabaede5785
/roles/mafia.py
0d56a43e846f51b25e235871790c61e17a3b0697
[]
no_license
andrewbarry1/MafiaEngine
bcc27dc0e7e6d20118bd173880d5a14a700da21a
c03e79a4fe3748128f63988350d2d21bb767623b
refs/heads/master
2020-04-11T01:14:02.479049
2018-12-04T00:09:45
2018-12-04T00:09:45
124,316,789
1
0
null
null
null
null
UTF-8
Python
false
false
994
py
from role import Role from visit import Visit from enums import * from voting import vote class Mafia(Role): def __init__(self): self.name = "Mafia" self.alignment = Alignment.mafia self.night_chat = Meeting.mafnight def __str__(self): return "Mafia" def get_night_vote(sel...
[ "abarry1@stevens.edu" ]
abarry1@stevens.edu
fe0bd2ceaf4493e021a319b6698c83f78f07f01e
dce2e3b11804fdb141feaa48299fa8cd751f0e5d
/2.两数相加.py
ad357aa9fedb490291ad6f56660209fd8858a61c
[]
permissive
Cosmos-Break/leetcode
bf056efb6f3eb6448df7fb3fc4869992a3e7eb48
9f5f3d24e35b0a482ed40594ea665e9068324dcc
refs/heads/main
2023-06-26T04:29:25.135826
2021-07-19T12:29:29
2021-07-19T12:29:29
293,397,157
0
0
MIT
2020-09-07T01:55:39
2020-09-07T01:55:38
null
UTF-8
Python
false
false
785
py
# # @lc app=leetcode.cn id=2 lang=python3 # # [2] 两数相加 # # @lc code=start # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode: head = ListNode(l...
[ "438854233@qq.com" ]
438854233@qq.com
d543e5a724ba3f971cadba8221431be97ee26b64
7bb6e5319aa544d2d45e2b2f241c13d57f83c1b8
/PyLove 1.5 Objective programming 1/task 5.2.py
e8d1a0ffeb511f653d62a88814842f87faf819e7
[]
no_license
KFranciszek/PyLove-Python-Workshops
64bf52c3e9237f7b90ff4024853c00013f563b85
96c0bc237e41dea637b3e58eecdcad9607c26818
refs/heads/master
2021-05-02T09:15:42.014449
2017-12-05T19:16:05
2017-12-05T19:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
# Create a constructor (__init__) for a class "Human", which will take a name, height and weight. class Human: def __init__(self, name, height, weight): self.name = name self.height = height self.weight = weight human = Human("John", "175", "70") print(human.name)
[ "krzysztof.michalak96@gmail.com" ]
krzysztof.michalak96@gmail.com
e94dcc4d0f738803109dfc73df5e2aa1f11e6c57
f1562ff1c4b03742b3595cded685378f2bbec4e6
/src/run.py
bf9ebdedb992a949f530439682a44401bf31ae56
[]
no_license
bilguunchinzorigEPFL/temtseen
8a95178146127e3d3255f8d94c4a115c495e4833
2ba8e624f41ee8c4bd180719b12ea5e7d4604f5b
refs/heads/master
2022-04-13T11:35:23.372802
2020-04-03T12:48:15
2020-04-03T12:48:15
249,346,223
0
0
null
null
null
null
UTF-8
Python
false
false
3,072
py
import os import resource import sys import time import warnings from datetime import datetime import pandas as pd import dataHandler as data from deltaRegressors import GetRegressor from evaluators import evaluate from featureGenerators import GetFeatureGroup, GetAllFeatureGroupNames warnings.filterwarnings("ignore...
[ "bilguunchinzorig97@gmail.com" ]
bilguunchinzorig97@gmail.com
cdfa3f2f6875bdb4d6aad570e6f6cb1c947e4d52
7dab00e63b7193010344a0f05e0cc641d7091f5f
/students/Zhengtang_Yang/lesson06/calculator/calculator/calculator.py
088b150c43dd11e6331407d9bf0eb71dbda3174f
[]
no_license
aurel1212/Sp2018-Online
9307e872c14c5ddd795bdc738b325de087895d55
263685ca90110609bfd05d621516727f8cd0028f
refs/heads/master
2020-04-05T18:35:49.761140
2018-06-19T18:24:27
2018-06-19T18:24:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
"""This module demonstrates documentation as specified """ from .exceptions import InsufficientOperands class Calculator(object): """ Calculator Class """ def __init__(self, adder, subtracter, multiplier, divider): self.adder = adder self.subtracter = subtracter self.multiplie...
[ "zyang888@uw.edu" ]
zyang888@uw.edu
9442061d1c5d28bd09a835998a2e53cfa07e48e2
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/Scaleform/daapi/view/meta/EventBoardsAwardsOverlayMeta.py
219372a39b6b37e617c2e86dffba37acfa9ed26a
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
736
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/EventBoardsAwardsOverlayMeta.py from gui.Scaleform.framework.entities.BaseDAAPIComponent import BaseDAAPIComponent class EventBoardsAwardsOverlayMeta(BaseDAAPIComponent): def changeFilter(self, id...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
6f1f8161ba95d3088ba7f50b93a121664fb1a322
57abd17391c6ef691509dae512c102f6635dab9b
/tensorflow_datasets/scripts/create_new_dataset.py
6e57f703111ebe42c66b6fd4f7d3415e908e0bac
[ "Apache-2.0" ]
permissive
SinghKislay/datasets
434e50eb3b8584849192f3cabe7305429cc62363
bc09dd59826975f57c861da4bea23fa5d63d61cf
refs/heads/master
2020-05-02T22:27:34.771036
2019-04-10T18:14:41
2019-04-10T18:14:41
176,097,632
0
0
Apache-2.0
2019-03-17T12:25:56
2019-03-17T12:25:55
null
UTF-8
Python
false
false
6,919
py
# coding=utf-8 # Copyright 2019 The TensorFlow Datasets Authors. # # 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...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
78ce0f7dcfae56d27b83005282d451663d29798d
a11d83fced34854664fac72e18d48fde6aa967e4
/0x02-python-import_modules/102-magic_calculation.py
0162921f0da03b752aab68a8227e86622fb4338e
[]
no_license
afarizap/holbertonschool-higher_level_programming
ffe0bf1440726c952f4dd28b908eabc4ccb5225b
ad39e58f9cb20cba4b9e2c14075f216097588f47
refs/heads/master
2023-03-30T15:39:35.184484
2021-03-22T22:55:24
2021-03-22T22:55:24
259,437,040
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
#!/usr/bin/python3 def magic_calculation(a, b): from magic_calculation_102 import add, sub if a < b: c = add(a, b) for i in range(4, 6): c = add(c, i) return c return sub(a, b) if __name__ == '__main__': import dis dis.dis(magic_calculation)
[ "afarizap@gmail.com" ]
afarizap@gmail.com
2fedba0cbdc8a5b29280723b6940c2f71a7bda36
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03546/s442051818.py
0f991e8c96376c793a2bab1a38286d3a650be9e2
[]
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
324
py
h, _ = map(int, input().split()) r = range(10) c = [[int(i) for i in input().split()] for _ in r] for k in r: for i in r: for j in r: c[i][j] = min(c[i][j], c[i][k] + c[k][j]) else: a = [[int(i) for i in input().split()] for _ in range(h)] print(sum(c[i][1] for i in sum(a, []) if i != ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
038a56b6976ac7b4e464d15987f277155fce3956
09cead98874a64d55b9e5c84b369d3523c890442
/py200703_python1/day13_py200814/output_1.py
5599e7b1ca607505095d6c9b8c9ce7737df9672c
[]
no_license
edu-athensoft/stem1401python_student
f12b404d749286036a090e941c0268381ce558f8
baad017d4cef2994855b008a756758d7b5e119ec
refs/heads/master
2021-08-29T15:01:45.875136
2021-08-24T23:03:51
2021-08-24T23:03:51
210,029,080
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
""" output format() output formatting with placeholders string.format() string template placeholder """ x = 1 + 3*4 y = 2 + 5*6 # not recommended print('x=', x, ',', 'y=', y) # recommended print("x={} , y={}") print("x={} , y={}".format(x, y)) print("x={},y={}".format(x, y)) print("x={}, y={}".format(x, y))
[ "lada314@gmail.com" ]
lada314@gmail.com
da82e269a3a1dfb6e360d2f25b7e3108dd81eb6f
261a12381f07cebfdea7a546fc0337f70a116596
/scripts/deploy.py
6c499b800bf324774211c3b95b592d32d44d2964
[]
no_license
MatthewTang/brownie-simple-storage
678ca4dd3107a90628ef333aecaba57d94f66a73
6fd12620306fcb674a84e62212775d089853ff82
refs/heads/main
2023-08-28T05:40:07.014041
2021-10-07T09:06:32
2021-10-07T09:06:32
414,139,407
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
from brownie import accounts, config, SimpleStorage, network # import os def deploy_simple_storage(): """ # ganache account = accounts[0] print(account) # brownie account = accounts.load("freecodecamp-account") print(account) # .env file # account = accounts.add(os.getenv("PRIVA...
[ "matthew.tang@connect.hku.hk" ]
matthew.tang@connect.hku.hk
37d56eb642affafa7f89e93d58f25e90355edf99
c483e2d8ace057eb493377dd916b7aa65054424c
/Module9/definitions/set_ops.py
b5563417d84d9f5566170e0d0b442b8fd184a97b
[]
no_license
puckdisc/Python
204cf379f23ff7129f6b9e7a56a54012ff4d528c
e215c6922dacd7dae29aae982a013e7b57680cae
refs/heads/master
2023-02-09T05:01:45.645266
2021-01-02T03:14:28
2021-01-02T03:14:28
293,377,848
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
def print_set(hockey_set): for x in hockey_set: print(x)
[ "sean.k.gilbert@gmail.com" ]
sean.k.gilbert@gmail.com
3a2ef9fe9d1ee5ac10f8616a6a5a5e7696776e60
da85c029410ee7d0c7474269d68f568caabb7e5d
/PrimeNo.py
f5fcf0a49da74b5d4176944f5450ceb4d164fd59
[]
no_license
apoorvasrivastava98/Python
65f561c90a24c2a6c21cf0c31808a45c7561320c
1c206fd059d912f1037d5c2fa26b447c574daa6d
refs/heads/master
2021-01-15T00:59:37.465295
2021-01-09T08:47:46
2021-01-09T08:47:46
242,821,409
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
def prime(num): c=0 for i in range (1,num+1): if(num % i == 0): c=c+1 if (c == 2): print("Prime number") else: print("Not prime number") prime(15)
[ "noreply@github.com" ]
noreply@github.com
288a88fbeb711f83a092c56afc5ce0b632d920e7
70a5391312947e5e80a077e4c83d79488542f9e8
/test/daplink_board.py
8e02fda12481ce07fa56deedcbcd5edb33ed2180
[ "Apache-2.0" ]
permissive
c1728p9/DAPLink
c6fe99c75d5be4b18529bc2cee2717d704592b38
8e14abbfaeeffab78d7307e22445efaa58501411
refs/heads/master
2021-08-15T12:55:58.132453
2016-03-18T21:23:40
2016-03-18T21:23:40
54,351,174
4
1
null
2016-03-21T01:39:36
2016-03-21T01:36:22
C
UTF-8
Python
false
false
23,460
py
# # DAPLink Interface Firmware # Copyright (c) 2009-2016, ARM Limited, All Rights Reserved # SPDX-License-Identifier: Apache-2.0 # # 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...
[ "russ.butler@arm.com" ]
russ.butler@arm.com
cffddf3d75c1e1ce6fff97c1711d232a66a1205a
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/exercises/1901100012/d07/mymodule/stats_word.py
02ebfde584c7e1c929c260f80257d92f7a50d67b
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
2,934
py
en_text=''' The Zen of Python,by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although ...
[ "40155646+seven-tears@users.noreply.github.com" ]
40155646+seven-tears@users.noreply.github.com
2f23cbd42dee001993bc154511cf225da4760ce6
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/caaa5d634f104a58a218ff663dfc926195e3acaf-<test_notify_sentry_app_and_plugin_with_same_slug>-bug.py
2bb03ab90a78aded197d894082a935887a555e3a
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
def test_notify_sentry_app_and_plugin_with_same_slug(self): event = self.get_event() self.create_sentry_app(organization=event.organization, name='Notify', is_alertable=True) plugin = MagicMock() plugin.is_enabled.return_value = True plugin.should_notify.return_value = True rule = self.get_rule(...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
12e965e5fe3133b0e0ef1ebf221c06861acb67ce
b24a15cb3c84e08ba7efec7bb2b906ccf5ad5d1f
/Day4Pt2.py
c6fdfecf0b6b565a12a2bd7d498ef87584a0ff67
[]
no_license
anmaxwell/AdventofCode2020
361a5651a97902465cc3c17bed07a96e2e9ac06b
385426b9861c1e77e3f03d09eee4a56c3e33366a
refs/heads/main
2023-02-11T14:45:09.330618
2020-12-31T21:55:51
2020-12-31T21:55:51
322,046,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
import cerberus from cerberus import Validator #read in the passport file output = open("Passport.txt", "r") #set validation rules using cerberus schema = {'byr': {'required': True, 'type': 'integer', 'min': 1920, 'max': 2002}, 'iyr': {'required': True, 'type': 'integer', 'min': 2010, 'max': 2020}, ...
[ "aniamaxwell@gmail.com" ]
aniamaxwell@gmail.com
82aed50d228c4f45ff91dae2b61a13a01bd7bd66
87eed57b13eba5fc10756e705821a2fc861a198e
/bfg9000/platforms/host.py
65e15de4fb2bd1e765b040415f4de4a8f23600cb
[ "BSD-3-Clause" ]
permissive
jimporter/bfg9000
379ac2d9debb822defacc6c5e31d7b65468f0973
876966cc82b5520a7bddf88c2a57716c5579b5ba
refs/heads/master
2023-08-04T06:29:44.669098
2023-08-01T03:13:46
2023-08-01T03:13:46
31,297,691
87
21
BSD-3-Clause
2020-08-06T06:38:10
2015-02-25T04:47:12
Python
UTF-8
Python
false
false
334
py
from .core import _get_platform_info, _platform_info, Platform class HostPlatform(Platform): pass def platform_info(*args, **kwargs): return _platform_info('host', *args, **kwargs) def from_json(value): return _get_platform_info('host', value['genus'], value['species'], v...
[ "jporter@mozilla.com" ]
jporter@mozilla.com
63db8074328ec2df1eecc4a39d1ff56e9a2dbc8d
17fe55181333f2b26dae99d1bac6ad738a5d259c
/humantvf
63f0a6d31bfd8497c33ae5615ce0f23b7deb67bc
[]
no_license
ac5tin/pyscripts
419e5fc4ab1e2d967e1b2cec3fe595524239d8a4
dedbcbbef39c3c1b58d8964e751f8bc87c03ca6c
refs/heads/master
2021-08-30T22:51:50.218596
2017-12-19T18:16:12
2017-12-19T18:16:12
111,359,364
0
0
null
null
null
null
UTF-8
Python
false
false
479
#!/usr/bin/env python3 import fileinput import humanize totalSize = 0 noOfFiles = 0 for line in fileinput.input(): perm, owner, size, date, time, *filename = tuple(line.split()) totalSize+=int(size) noOfFiles +=1 print ('{0} {1} {2:>9} {3} {4} {5}'.format(perm, owner, humanize.naturalsize...
[ "austinchang4@gmail.com" ]
austinchang4@gmail.com
8375633539d72e93b7c1229e47d7974529ea3381
d6dacc1cc59e706e0f28294447fc998a28b473a5
/src/main/python/codeforces/run_599A.py
6d7dd3d34fa1b9d762596cd1a230235ec6b36bda
[]
no_license
walkerwell/algorithm-data_structure
8929060a392977c56a00e12ffd28b24026f9b76f
346f7b40c0e2eca641444e9ed2031e2d9f8275ed
refs/heads/master
2021-06-06T16:37:02.630013
2020-06-16T03:13:59
2020-06-16T03:13:59
89,243,335
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
d1,d2,d3=map(int,raw_input().split()) a=[] minOne = min(d1,d2) a.append(minOne*2+(d1+d2-minOne)*2) a.append(d1+d2+d3) minOne = min(d1,d2) a.append(minOne*2+d3*2) print min(a)
[ "wubo@daojia-inc.com" ]
wubo@daojia-inc.com
25b841f075f3629185a27195dc711edccfab72f3
518a8848d3d413e20cd6dc19ed53957aee4e53ea
/MNIST/venv/Scripts/pip3.7-script.py
22ab3b42a2af4ea1aaf6e9d432aa4ceec174c453
[]
no_license
zhangwenyuan919/ML_DL_assignment
f3774e83b6ea256fb6e5876b53fd2412bd988da2
46a08deb6056cbc5c19068acff8e1d334741429b
refs/heads/master
2020-03-31T13:16:23.348662
2019-05-07T03:20:16
2019-05-07T03:20:16
152,248,537
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
#!E:\Pycharm_workstation\MNIST\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[...
[ "zhangwy919@gmail.com" ]
zhangwy919@gmail.com
ac45102df968d218fc338e05d26f433a8cbb2a9e
ee012b9195fecccf8294114bd99645dad6b5a9fa
/meal_plans/views.py
2f7ac4925f2c518bc8a56470b41da25213cc4cee
[]
no_license
Ygritte0/Exercise
54aee24a98aec8f936ec9abc52a38334d74989a3
73a9821ac859df09844a941cb4c682fd11991e6a
refs/heads/master
2020-05-13T23:38:10.970754
2019-04-30T09:53:06
2019-04-30T09:53:06
181,674,802
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from django.shortcuts import render # Create your views here. def index(request): """膳食规划的笔记""" return render(request, 'meal_plans/index.html')
[ "1624849952@qq.com" ]
1624849952@qq.com
b67259b545e8cfe6e437767ead8a3adcfa611214
68f93f44537e8a7990cf6ea248290717df117761
/server/mainapp/urls.py
627c84d4b4391cc5e69e93b65941c97b4a51c783
[]
no_license
Rassoliny/geek-django
c35511384777757e47c622e3a5d38635238790de
fcc435668fd391fca359a9ed51db78deecb9fcd2
refs/heads/master
2020-03-26T13:50:03.498503
2018-09-16T16:34:39
2018-09-16T16:34:39
144,959,006
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
from django.urls import re_path from . import views as mainapp app_name = 'products' urlpatterns = [ re_path(r'^$', mainapp.main, name='main'), re_path(r'products/(?P<pk>\d+)', mainapp.products, name='category'), re_path(r'(?P<pk>\d+)', mainapp.product_detail, name='product'), ]
[ "dimo120@yandex.ru" ]
dimo120@yandex.ru
786ebd5ff17acabbc45a4aa788aa4841f1bbfdf6
a2fc06cf458f896d2217592ac92098863e755a9c
/scripts/src/LaunchCtrlProcess.py
4a83daf52ae5f0570f69750e4b6be94068f6f870
[]
no_license
MrBrood/Stanford-Junior-self-driving-car
ba3f2a07a9366d3566def59fd25f90bad55748d2
d999e94bb287933666dac82129cad6702923a8e1
refs/heads/master
2023-07-18T04:56:02.055754
2020-08-21T01:31:46
2020-08-21T01:31:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,371
py
import time import fcntl import select import subprocess import pty import threading import signal import os, sys from collections import deque class LaunchCtrlEntry(): def start(self): pass def stop(self): pass def kill(self): pass def pty(self): retur...
[ "6959037@qq.com" ]
6959037@qq.com
5f561aaefe686b8c108613598a36bb0fd4b6caae
4b3de9acd1abf814fbc67197a4398d0f14bc8f72
/axigen/health.py
3ee77b0473ac2144cc5f24ed8a9fdb954a3ac7f4
[]
no_license
drucko/axigen-pyton-api
178c45b623aa0444e581be66e2f9efd33bdd023f
d72e81deea363d176924442bf0e28e7df8bf5ad3
refs/heads/master
2020-12-25T16:13:59.067971
2013-06-13T14:44:37
2013-06-13T14:44:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
#!/usr/bin/env from axigen import axigenapi from axigen.connection import ConnectionError as CErr, SocketError as SErr class checks(object): ''' Service Healthckecks class ''' __axigen = None __errors = {} def check_axigen(self, hostname='localhost', port=7000): ''' Axigen s...
[ "vedran.krivokuca@nimium.hr" ]
vedran.krivokuca@nimium.hr
fa56957dd17f57337f2bd60d81d5d4e67d3e37d9
5e454e4fbf08bdf598591fb662a9e3563b204180
/Pycharm Project/CancerClassification/myapp/models.py
cf332da6c6208a353423f7bae0c92e09e75a8012
[]
no_license
AminaJaved/FYP
2e7fc66be691a0928c42fee8a469382c5ade8ebc
fbbff9847cd77d46af760cf5ff9601b68a99a6b6
refs/heads/master
2022-11-11T18:21:01.074901
2020-05-01T16:16:10
2020-07-10T16:17:15
204,167,655
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
from django.db import models from django.contrib.auth.models import User class Snippet(models.Model): name = models.CharField(max_length=100) body = models.TextField() def __str__(self): return self.name class Cancer(models.Model): NPFFR1 = models.CharField(max_length=100) TAS2R19 = mod...
[ "amina.javed420@gmail.com" ]
amina.javed420@gmail.com
27c6f04530538b5ac8c71908ab91361f20ecc16b
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/4013/codes/1671_1079.py
c3bb6e4c00135c7fac261439e8a41a85fc6fb9ce
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
627
py
# Ao testar sua solução, não se limite ao caso de exemplo. from math import * # Leitura dos lados do triangulo a, b, and c a = float(input ("Lado 1: ")) b = float(input ("Lado 2: ")) c = float(input ("Lado 3: ")) print("Entradas:", a, ",", b, ",", c) # Testa se pelo menos uma das entradas eh negativa if ((a > 0) o...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
312a55c81f5be400528ad394e130213573c7a209
7f827c5f4d689d36edb26d1bbd53a55895218100
/accounts/migrations/0001_initial.py
c687b42eb4622568917c1d2eeff249f5ba9caf41
[]
no_license
kanikamital0606/Email-Verification-in-Django-
52b967a8c238cf43fb00e230c43604ee39fd5bd2
84bb6063305f70c81c949d74d57b2b6f78fc5392
refs/heads/master
2023-07-15T20:34:46.246834
2021-08-26T17:48:46
2021-08-26T17:48:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
# Generated by Django 3.2.6 on 2021-08-26 16:38 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "kanikamittal0661996@gmail.com" ]
kanikamittal0661996@gmail.com
b2f8acc6d23fcaa0a04225dff3672850cb63c7b4
0ebda7376eaf61a883094957d917b5f5ad945ce1
/_deprecated/commands/main/AboutCommand.py
81ccd3c1b9477dc7c59787634ba069c8f0e2aa6c
[ "Apache-2.0" ]
permissive
nogipx/morris
6bcdb7f5320bd94075b02907c553477a4b3d3280
955688c6c0b0cae6c3d11ea49b17004477d4fd9b
refs/heads/master
2022-01-05T17:28:38.810492
2019-05-12T18:45:33
2019-05-12T18:45:33
114,779,205
7
1
null
null
null
null
UTF-8
Python
false
false
1,105
py
from commands.core import Command class AboutCommand(Command): def __init__(self): super().__init__() self.triggers = ['about', 'About'] def proceed(self, member, message, attachments, group, **kwargs): if len(args) > 0 and args[1] in self._triggers: about = """ (C) Morri...
[ "nogip@protonmail.com" ]
nogip@protonmail.com
b399717e8a00144e38a55ad77678740ca8dd648d
dc083d8bebc6872552ab9432a7a92eefe4790c19
/dilipadsite/dilipadsite/views.py
028b01b67fecf85bd302b2f48d063b7c5cdbb9ec
[]
no_license
twhyte/lipad
392a97eec81709d7878ea5137e85b064e3b197b6
5ae2b7ef167367b7ef3b1763b6d304a91bbde9c5
refs/heads/master
2020-12-24T07:35:07.520983
2018-01-19T16:31:05
2018-01-19T16:31:05
58,824,095
8
2
null
null
null
null
UTF-8
Python
false
false
1,892
py
import unicodecsv as csv from dilipadsite.models import basehansard from django.http import StreamingHttpResponse, HttpResponse from django.utils.encoding import smart_str import codecs class Echo(object): """An object that implements just the write method of the file-like interface. """ def write(self...
[ "tanya.whyte@mail.utoronto.ca" ]
tanya.whyte@mail.utoronto.ca
d92259e46bd7342cece9cce147714cfe45f8db36
3cf89786d0cf96bc3e9e64e69ac3691026f5e627
/Class.py
ab55bf4d95a8a842da45af559c70bfa6d6276ee3
[]
no_license
UofTPsychProg-fall-2019/project-1-AnnZhang1997
8ea264214e83e0901f5222b29fab1f99fd639410
0673261594395dac06a90bdf7c0f9657f4644ae7
refs/heads/master
2020-12-13T13:33:11.794593
2020-01-21T17:48:54
2020-01-21T17:48:54
234,433,575
0
0
null
null
null
null
UTF-8
Python
false
false
7,112
py
# -*- coding: utf-8 -*- """ Created on Thu Jan 16 19:03:44 2020 @author: Ann Zhang This module contains the code for class MTMSubjectMice and its functions. """ import pandas as pd class MTMSubjectMouse: """A mouse that is a subject in the multiple time memory experiment. === Attributes === SubjectNum: ...
[ "angie.zhang@mail.utoronto.ca" ]
angie.zhang@mail.utoronto.ca
a3833b102545d1c9387ae8d1e32f5eb76d98b791
dd097c7ae744227b0312d762ee0482a3380ff8c6
/interptools.py
be2c119cfc1ff251f2c6d11d1db94c2279481ab4
[]
no_license
moflaher/workspace_python
0d6e98274d923a721db2b345f65c20b02ca59d08
6551e3602ead3373eafce10d11ce7b96bdcb106f
refs/heads/master
2023-03-06T02:15:01.945481
2023-03-01T19:15:51
2023-03-01T19:15:51
20,814,932
3
4
null
null
null
null
UTF-8
Python
false
false
21,812
py
from __future__ import division,print_function import numpy as np import scipy as sp import matplotlib as mpl import matplotlib.tri as mplt import matplotlib.pyplot as plt import os, sys import scipy.io as sio import gridtools as gt import datatools as dt import plottools as pt import projtools as pjt import misctools ...
[ "073208o@acadiau.ca" ]
073208o@acadiau.ca
ecaba36b4b380ae04e3c98b69fa92b4a3c677435
0964a05c266d52c2840fe52a4a550c1e88d03b22
/scanner.py
e08ff775182f91a43ce9a846e3ee2cb1b4b8c57f
[]
no_license
ngriskauskas/CS4280
a0d5244e129589d97fa9a9924a41629ed0fc592c
ca5898f3877edb2ca18f61d5a80c9501de49a069
refs/heads/main
2023-02-02T20:43:51.505489
2020-12-14T06:13:03
2020-12-14T06:13:03
321,250,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,285
py
from enum import Enum from filter import Filter keywords = ["start", "stop", "iter", "void", "int", "exit", "scanf", "printf", "main", "if", "then", "let", "data", "func"] operators = ["=", "=>", "=<", "==", ":", "+", "-", "*", "/", "%", ".", "(", ")", ",", "{", "}", ";", "[", "]"] ...
[ "noreply@github.com" ]
noreply@github.com
dd372fa5126667291f62ebe68819df5c4383239d
982a904a83e2caa7acd8b2ac19cfc5a4fb75bde1
/examples/ch12/snippets_py/12_02.12selfcheck.py
38e7400581c8da0307e75b56462cbcd607ef5a28
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
pdeitel/IntroToPython
73bc349fe40701b51f49d17d7fbc5b9985885e48
978093febf2ed849a2049e0b0860d2c4998306f7
refs/heads/master
2023-02-09T08:04:15.313698
2023-02-03T23:23:42
2023-02-03T23:23:42
173,331,130
249
371
null
2022-12-04T06:52:26
2019-03-01T16:08:37
null
UTF-8
Python
false
false
1,183
py
# Section 12.2.12 Self Check snippets # Exercise 2 from textblob import Word word = Word('boat') word.synsets word.definitions ########################################################################## # (C) Copyright 2019 by Deitel & Associates, Inc. and # # Pearson Education, Inc. All Rights ...
[ "paul@deitel.com" ]
paul@deitel.com
a629ff545360e6bd157e394d377cbc1f1330141e
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/mtttaf002/question1.py
9e72945c0d743ddcf7d64cd2596254bb5b69226b
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
"""produce right aligned list of names tafara mtutu 20 apr 2014""" names = [] count = 0 aligned = [] sort = "" #ask user for names print("Enter strings (end with DONE):") name = input() while name.lower() != "done": if count < len(name): count = len(name) names.append(name) name ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
4003548109aa6ef8ce4e423121fdf12cee5d618a
72d789d4a392a7c5ddd15d0db9451436c24b6866
/Naive_Bayes/simple_bayes.py
9853039dd77c0ab259e2e782d64d2723ed7fa61a
[]
no_license
chaojimali666/cs229_learning
e78e08d3fb2e5dc8bc9ab1dcb1899ed06a2ef34b
3250e1d3e090d6bb73ee87cd96e087821195f249
refs/heads/master
2020-03-24T16:10:51.448201
2018-09-07T10:35:39
2018-09-07T10:35:39
142,815,559
0
0
null
2018-09-07T10:35:40
2018-07-30T02:37:01
Python
UTF-8
Python
false
false
5,371
py
''' PostingList is From http://ml.apachecn.org/mlia/naive-bayes/ Theory refers to Andrew Ng's lecture note part 4 ''' from numpy import * import re def loadDataSet(): postingList=[['my', 'dog', 'has', 'flea', 'problems', 'help', 'please'], ['maybe', 'not', 'take', 'him', 'to', 'dog', 'park',...
[ "wuyongqi@pku.edu.cn" ]
wuyongqi@pku.edu.cn
e5500f8613dd97c63af38a515d3fcaed24f1edfc
ef3fe422fc5644ce37cef2e8eb47a615e0865f27
/0x00-python_variable_annotations/100-safe_first_element.py
a68a172a7b3aeffd93fd5ece78bd0461e3d8fca2
[]
no_license
Manuelpv17/holbertonschool-web_back_end
b1b6d993b378f60e3d2312079b49fb059a2e14a7
c4c60bf08648a8e9c846147808b6a7fbd9a818a7
refs/heads/main
2023-08-27T11:10:50.496692
2021-10-17T16:54:21
2021-10-17T16:54:21
366,537,768
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
#!/usr/bin/env python3 """ 10. Duck typing - first element of a sequence """ from typing import Sequence, Union, Any def safe_first_element(lst: Sequence[Any]) -> Union[Any, None]: """ 10. Duck typing - first element of a sequence """ if lst: return lst[0] else: return None
[ "manuelpv17@outlook.com" ]
manuelpv17@outlook.com
fdc09392606dbaa4da061b3a530db0f87a8dc68c
8771c94dce3c7e30c9e5b5f45cf8683ba9cac6fd
/leetcode/algorithms/p0338_counting_bits_1.py
369900a44f586dcd107afb5c442e1ac2172ed57f
[]
no_license
J14032016/LeetCode-Python
f2a80ecb7822cf12a8ae1600e07e4e6667204230
9a8f5329d7c48dd34de3105c88afb5e03c2aace4
refs/heads/master
2023-03-12T02:55:45.094180
2021-03-07T07:55:03
2021-03-07T07:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
from typing import List class Solution: def countBits(self, num: int) -> List[int]: return [self._hammingWeight(x) for x in range(num + 1)] def _hammingWeight(self, n: int) -> int: count = 0 while n > 0: n = n & (n - 1) count += 1 return count
[ "mao_xiaodan@hotmail.com" ]
mao_xiaodan@hotmail.com
be0f715176bf5675a0da875c7653b2b3412b16bb
05931ab3da3c0f6b0f400e38c503f43d54ceb869
/CompilationTest/EnumTest/results/EnumTest.py
d0c906c8754eaf196355fca3d9268b172d9ec7f4
[ "MIT" ]
permissive
onelang/TestArtifacts
c0881f83c703f89e6d96b1bb757195b60816cea7
3f067308c8da3a6f95a001ff8b2d0a0421ae3285
refs/heads/master
2023-03-28T14:37:25.904076
2021-03-21T14:15:00
2021-03-21T14:15:00
116,868,737
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
from enum import Enum class TestEnum(Enum): ITEM1 = 0 ITEM2 = 1 class TestClass: def test_method(self): enum_v = TestEnum.ITEM1 if 3 * 2 == 6: enum_v = TestEnum.ITEM2 check1 = "SUCCESS" if enum_v == TestEnum.ITEM2 else "FAIL" check2 = "FAIL" if enum_v ==...
[ "koczkatamas@gmail.com" ]
koczkatamas@gmail.com
a145c3315ea277e5e90983ce02f14e0bc9163f53
b825709ddfe1394daa0579e53d69994cb680735b
/zad2_2.py
5d8ada69e05ff442c077304398ec5de5c3eeb5cc
[]
no_license
ZajMar/Python2017MZ
150873aa23688671b3cfab5df3e6eb684991db18
d8cd0197f34914397ba6c10180629b79b43b1732
refs/heads/master
2021-08-29T10:49:55.290201
2017-12-13T19:27:34
2017-12-13T19:27:34
114,157,742
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
import math class Complex(): real=0 imag=0 def __init__(self, real, imag=0.0): self.real = real self.imag = imag def __str__(self): return '(%s, %s)' % (self.real, self.imag) def add(x,y): return Complex(x.real+y.real,x.imag+y.imag) def sub(x,y): return Complex(x.real-y.real,x.imag-y.imag) d...
[ "noreply@github.com" ]
noreply@github.com
1066d6e1a4cd83fc17f1bb1db30c277b655bcba1
5a0409c341b1104738ef5a1c9c6f58fc0c0b4024
/tscraper.py
fd9a935db374a01ef70ef0d684511f1b4c73aaff
[]
no_license
virgoaugustine/TonaScrapper
ae441b17f53fa077b117a965e9aa95dd883416c6
c98f20ad8f125232484d5dade9cbf82c48de5721
refs/heads/master
2022-12-21T00:27:55.877317
2020-09-26T13:44:15
2020-09-26T13:44:15
298,618,345
0
0
null
2020-09-25T15:59:08
2020-09-25T15:59:07
null
UTF-8
Python
false
false
2,536
py
import requests from bs4 import BeautifulSoup import csv import time def get_page(url): response = requests.get(url) if not response.ok: print("Server responded:", response.status_code) else: soup = BeautifulSoup(response.content, "html.parser") return soup def get_detail_data(soup)...
[ "virgoaugustine@gmail.com" ]
virgoaugustine@gmail.com
10d914f403ac5bfd4aacc7330c3db318947f429e
e20ed90b9be7a0bcdc1603929d65b2375a224bf6
/generated-libraries/python/netapp/net/net_ifgrp_info.py
51fb53a5a5d184165370e0966a17a0a5662d4247
[ "MIT" ]
permissive
radekg/netapp-ontap-lib-gen
530ec3248cff5ead37dc2aa47ced300b7585361b
6445ebb071ec147ea82a486fbe9f094c56c5c40d
refs/heads/master
2016-09-06T17:41:23.263133
2015-01-14T17:40:46
2015-01-14T17:40:46
29,256,898
2
0
null
null
null
null
UTF-8
Python
false
false
6,702
py
from netapp.netapp_object import NetAppObject class NetIfgrpInfo(NetAppObject): """ Network interface group information When returned as part of the output, all elements of this typedef are reported, unless limited by a set of desired attributes specified by the caller. <p> When used as inp...
[ "radek@gruchalski.com" ]
radek@gruchalski.com
606f2fff293fb8b975dc6cfbeac4bbc84d72b53e
2ac9115b48feadce419b3a6a7c367809032d1803
/modules/ED_F6.[Map GDP Changes Grid].py
ab353ab49c33fc0b731f976de0b7c3c9cdc4c9ec
[ "MIT" ]
permissive
YixuanZheng/Aerosol_Inequality_2019
f4643910286b52e476038540aaf5509d712bf580
029b198311f192dbb98b96053ce0fbc55a3ab392
refs/heads/master
2020-08-14T07:41:17.080177
2020-02-06T23:21:56
2020-02-06T23:21:56
215,124,879
3
2
null
null
null
null
UTF-8
Python
false
false
3,825
py
# -*- coding: utf-8 -*- ''' This code generates Fig. S6 Spatial distribution of economic impacts introduced by anthropogenic aerosol-induced cooling. by Yixuan Zheng (yxzheng@carnegiescience.edu) ''' import numpy as np import matplotlib.pyplot as plt from netCDF4 import Dataset from mpl_toolkits.basemap import B...
[ "yixuan_zheng@163.com" ]
yixuan_zheng@163.com
dd25744be735043c3fb248a419e1a7d5f9c2a44d
ea29963a93cf9cdafd139e1f7d8ea3f12ebd67bf
/service1/app/models/user.py
389c270c8150a9780a889bb9453e80ed7f823f07
[]
no_license
gojeboy/demo-architecture
42ff97038a7e7bf552525da76d77667e022bd66c
07b2ab66874a9e545b204ad434f901b7cbd6cfe9
refs/heads/master
2023-01-22T15:15:00.752219
2020-04-04T16:16:40
2020-04-04T16:16:40
251,533,310
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
from app import db, app class User(db.Model): __tablename__ = "tbl_user" __table_args__ = {"extend_existing": True} id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(200)) surname = db.Column(db.String(200)) # addresses = db.relationship("address") def __init__(se...
[ "njabsoul@gmail.com" ]
njabsoul@gmail.com
b86128aee5418c0b7ac108bd068d443064cc3ec0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_sermon.py
40a9742cbaf0299a9d7ec6767d646bfc24b37d57
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
#calss header class _SERMON(): def __init__(self,): self.name = "SERMON" self.definitions = [u'a part of a Christian church ceremony in which a priest gives a talk on a religious or moral subject, often based on something written in the Bible: ', u'a long talk in which someone advises other people how they shou...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com