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 220
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 257
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9e94751b6f70c73ed790cef4cef4bfb8083f9ffd | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/otherforms/_traipsed.py | f59c7ae5d2434f5d2f1133296a72f7b2307b4aa4 | [
"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 | 226 | py |
#calss header
class _TRAIPSED():
def __init__(self,):
self.name = "TRAIPSED"
self.definitions = traipse
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.basic = ['traipse']
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
37e1e2f43b6abf4adb8f7a1bbb7af5db0d5c8355 | 3e640f5c59e6cbd1741afb08212aa0e3627f9752 | /deps/bcRead.py | 296744bfcbb0f25518a6b6d59317e399202bc7a8 | [
"MIT"
] | permissive | CapPow/VARP_supplimental | 36a845cf5713c8d9243d7a1a2ac3afc35472f078 | 1db65f7447ec066232a8cb00c9b86bff9ee11b3f | refs/heads/master | 2023-02-21T11:13:05.537202 | 2021-01-28T05:19:33 | 2021-01-28T05:19:33 | 296,470,678 | 0 | 0 | null | 2021-01-27T23:45:36 | 2020-09-18T00:15:02 | Jupyter Notebook | UTF-8 | Python | false | false | 25,397 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# 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 (at your option) any later version.
# ... | [
"calebadampowell@gmail.com"
] | calebadampowell@gmail.com |
a8de915bd630c78b7ed9df7605161ba20b2c4146 | c46eaf84859f830e63ac09d87870ad1aefc4303a | /Python_Rust_Module/fibrs/setup.py | 72e94b2f54b65c1ed6e732dcab7911459c245054 | [
"MIT"
] | permissive | glella/fib | 7a2b21d6607e50f1916ee4a34baf463c130554ea | 440bdb4da5c4ecb06cabeb4b09770a69e204114a | refs/heads/main | 2023-04-01T15:51:25.049402 | 2021-04-13T23:58:58 | 2021-04-13T23:58:58 | 349,891,326 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 982 | py | import sys
from setuptools import setup
try:
from setuptools_rust import Binding, RustExtension
except ImportError:
import subprocess
errno = subprocess.call(
[sys.executable, '-m', 'pip', 'install', 'setuptools-rust'])
if errno:
print("Please install setuptools-rust package")
... | [
"arkorott@gmail.com"
] | arkorott@gmail.com |
edde427c7169f9711b7de62ead15d113ad9ef1cc | ab52c09c428f73ad0a43a112a68dc7fe71fdacaf | /CSVfileUpload/CSVapp/forms.py | 5a9cf36f79baf2a2f177d593dc008c4ff8ac0b5e | [] | no_license | Raarav/web-engineering | cebb42ee2b25eb46eda0079402049a476cfbd1e9 | 330aacb51ca492318092824701fabdaf5a450546 | refs/heads/master | 2020-04-28T09:25:41.430471 | 2019-07-28T07:32:54 | 2019-07-28T07:32:54 | 175,166,535 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 155 | py | from django import forms
from CSVapp.models import form
class EventsForm(forms.ModelForm):
class Meta:
model = form
fields = "__all__" | [
"33652351+Raarav@users.noreply.github.com"
] | 33652351+Raarav@users.noreply.github.com |
bfe6d834e8798d3475fd843db6ea34bbfcd75c37 | 94cb06d6a89b3518ab103fab3bcc03634283bde1 | /doc/conf.py | 66028559cfc5b5e931cb05980597b20be38f05b7 | [] | no_license | krakphp/lava | 886bf108fa9ce86e284a070569c883ed8a8d6b1b | 88490c5b9bb577289139f73e91ef996362eb6bf1 | refs/heads/master | 2023-08-12T00:35:49.017101 | 2017-09-17T03:08:31 | 2017-09-17T03:08:31 | 84,716,297 | 1 | 0 | null | 2017-09-17T03:08:32 | 2017-03-12T10:08:09 | PHP | UTF-8 | Python | false | false | 9,752 | py | # -*- coding: utf-8 -*-
#
# Mw Http documentation build configuration file, created by
# sphinx-quickstart on Sun Nov 27 18:12:29 2016.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# A... | [
"rj@bighead.net"
] | rj@bighead.net |
e43c62f38f42153c1eeb029ab4ae25e4e477a4a8 | 48db5f8cf922c27d1a1ebab4b98206ca31336c65 | /trainer.py | 8afb7ca41825d2f4225dbb15d85fc659fdfb4136 | [] | no_license | yatendernitk/Machine-Learning-Python | fc45f8339c08d34ebcb8b901491d9251102b1fc7 | 654b75e4d3c4b99ea6e1d48b216fe2e925e994ff | refs/heads/master | 2020-05-23T22:17:27.452184 | 2017-03-14T13:10:34 | 2017-03-14T13:10:34 | 84,795,192 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 997 | py | from scipy import optimize
class trainer(object):
def __init__(self, N):
# Make Local reference to network:
self.N = N
def callbackF(self, params):
self.N.setParams(params)
self.J.append(self.N.costFunction(self.X, self.y))
def costFunctionWrapper(self, params, X, y):
... | [
"ok@Yatenders-MacBook-Pro-2.local"
] | ok@Yatenders-MacBook-Pro-2.local |
2f9d9d0a5f33a0f8e9805fc11884091fcaef038d | 9015783bae7e68571fd349d59a0e7b2c54c5a4a8 | /Factory Method/Bin.py | e143263d0c4e44d4540eb27010b7bda28b4ffdf3 | [] | no_license | Bujno/Design-patterns | 0079fbee05983d099963ccf33996892910f1e1e8 | af9b7ae0ed2a2152b6deed5b59d59369108f7f51 | refs/heads/main | 2023-07-04T13:23:00.178447 | 2021-08-10T17:11:28 | 2021-08-10T17:11:28 | 393,768,565 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 494 | py | from Sweet import Sweet
class GlassBin:
def __init__(self, sweet_type: Sweet):
self.sweet_type = sweet_type
self.limit = 100
self.minimum = 10
self.set_of_sweets = {self.sweet_type.create_sweet() for _ in range(10)}
def restock(self):
if len(self.set_of_sweets)... | [
"0k.bujnowicz@gmail.com"
] | 0k.bujnowicz@gmail.com |
e8cff7405331705ecde8b0a9722786a9a9e6d615 | 11ff14c118240e87c4804d0373e4656d0683d479 | /RatToolAgent/test/firefox_test.py | 63c7ccf8fd97890cb406cd2616cc6efaffa93c1d | [] | no_license | wxmmavis/OS3.1 | e3028d9c79d5a1a17449fea6380fcdda902bdec7 | 26d954344207a82d2298821c3c4f01302393dc7e | refs/heads/master | 2020-03-25T20:07:11.225493 | 2018-08-13T03:20:57 | 2018-08-13T03:20:57 | 144,115,963 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 725 | py | import sys
sys.path += ['../../RatToolAgent']
import RatToolAgent as rta
id = rta.init_and_start_browser()
conf = {
'validation_url': "http://172.16.10.252/authenticated/",
'download_loc': r"//a[@id='logo']",
'file_name': "logo.zip",
'page_title': "Ruckus Automation T... | [
"1475806321@qq.com"
] | 1475806321@qq.com |
6d2bcb830f1e1bd1d6ad5e6a33c2a240bceaeb70 | 7606590d781a134cb1134fcf222f3eee6ce19219 | /contours.py | 7e06f119536b0f48d706000474ee09cedeb6ca49 | [] | no_license | lera000/use_openCV | ccca755938a4ce2feeb30c041d326130dad7afbe | b504f807de5380b91d89d1b9235ad48c559a838e | refs/heads/main | 2023-03-27T09:13:34.643495 | 2021-03-26T08:28:03 | 2021-03-26T08:28:03 | 351,703,905 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 669 | py | import cv2
import numpy as np
img = cv2.imread('D:/rec.jpg', cv2.IMREAD_UNCHANGED)
# изменение цвета на серый
img_grey = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
thresh = 100
ret, thresh_img = cv2.threshold(img_grey, thresh, 255, cv2.THRESH_BINARY)
contours, hierarchy = cv2.findContours(thresh_img, cv2.RETR_TRE... | [
"noreply@github.com"
] | lera000.noreply@github.com |
8eb0ddd533b6242fa21b29701e10215b497fcd90 | d93901e7ff019c7c929594c17b9ed0c575dd1165 | /NumPyNet/box.py | 506948ebbb806413bf3c0380425a8914f0f69669 | [
"MIT"
] | permissive | Nico-Curti/NumPyNet | 0e673ad3da4120cd761a5b1f4c1f0c429cfd20a9 | c5e217751e28f0812282333b83964b7fee217cfb | refs/heads/master | 2022-05-04T04:51:50.076629 | 2022-03-28T10:02:15 | 2022-03-28T10:02:15 | 199,490,280 | 57 | 10 | null | null | null | null | UTF-8 | Python | false | false | 7,109 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division
from __future__ import print_function
import operator
from functools import wraps
__author__ = ['Mattia Ceccarelli', 'Nico Curti']
__email__ = ['mattia.ceccarelli3@studio.unibo.it', 'nico.curti2@unibo.it']
class Box (object):
'''
De... | [
"nico.curti2@unibo.it"
] | nico.curti2@unibo.it |
34629a6d69c14efaa2f5389ad697c3260d71ecd0 | ab1891d96edf63354926158a2a96481b5ab4587f | /app.py | 894802b303109fabdcbdf2204f97f39c6053f3c7 | [] | no_license | Ravikumar-Orsu/BMI-calculator-using-Flask | 2989357ae3e3f6a2ffd133030a3d7dba47d5ed32 | 35b94bbacc46b4b612589f3492f263352dfe013f | refs/heads/main | 2023-03-22T14:31:36.047122 | 2021-03-16T04:54:21 | 2021-03-16T04:54:21 | 348,218,109 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 452 | py | from flask import Flask, render_template,request
app = Flask(__name__)
@app.route("/",methods=['GET','POST'])
def index():
bmi=""
if request.method=="POST" and 'weight' in request.form:
weight=float(request.form.get('weight'))
height=float(request.form.get('height'))
bmi=round(... | [
"noreply@github.com"
] | Ravikumar-Orsu.noreply@github.com |
a9c5032284b09d96cf4da891a6fccb74215aa549 | 72fe58285dbfefb9151ebb7be11279fd55a8f5b2 | /chapter-04-trees-and-graphs/src/find_common.py | 99507b985f0e5a1e699c7800ffaadf6bf7720497 | [] | no_license | bearzk/cracking-the-coding-interview | 65f48c4352651c20ce6faba11d91c641bdfdfb88 | 461ce1887766f45eea57e3383db2c0fc4506e5ca | refs/heads/master | 2021-01-16T18:43:45.664633 | 2013-05-10T01:48:32 | 2013-05-10T01:48:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 741 | py | # coding: utf-8
class Result
def __init__(self, node, is_anc):
self.node = node
self.is_anc = is_anc
def common_anc(root, p, q):
if root is None:
return Result(None, False)
if root is p and root is q:
return Result(root, true)
rx = common_anc(root.left, p, q)
if rx... | [
"sugihara@gmail.com"
] | sugihara@gmail.com |
8fab3a6177d60d8c3c725dbf64490e37be63d9d3 | 0f70a3eee204d7450fc955f10376bd45585b225c | /relational_operator.py | 53644ec930c9346b1ecf57434b82c2da97ac1f7f | [] | no_license | WillyChen123/2015Summer | 958aa4b6b969eff9f9b04052bbea43cf64b60ce8 | a8a3ea886d88db42299fe59880c99323516b2457 | refs/heads/master | 2021-01-01T05:38:35.912470 | 2015-07-15T03:10:55 | 2015-07-15T03:10:55 | 39,056,922 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 63 | py | print 3==5
print 3!=5
print 3>5
print 3>=5
print 3<5
print 3<=5 | [
"st40809@gmail.com"
] | st40809@gmail.com |
f22e1fdd4d81cea8b179bd88fa184e853f2d3167 | 133643780ba3ee33291471261e9d365c3b0bb9ae | /Includes/reset-model.py | e1543f7f67d1c4b0ec89948999389b0ee30c9c68 | [] | no_license | rajeshcummins/streaming-lakehouse | b884919af33a0af8a367dcfbfca469a0c997980c | c5533627a472fae25fcb85662eb11f434efd85d4 | refs/heads/master | 2023-06-02T06:41:47.162425 | 2021-06-15T17:03:23 | 2021-06-15T17:03:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 558 | py | # Databricks notebook source
from mlflow.tracking.client import MlflowClient
from mlflow.utils.rest_utils import RestException
dbutils.widgets.text("model_name", "foo")
model_name = dbutils.widgets.get("model_name")
client = MlflowClient()
try:
for version in [model.version for stage in ["production", "staging"]... | [
"dstrodtman-db"
] | dstrodtman-db |
4394a0d430e67e0281718259baad893a3d33cdd3 | ab67dd529f45972b14e9a42fab5531861dbc582d | /Computer Science GCSE/Project/dobVerify.py | 20173cc912a82ee267f034620ac95d93a95e8402 | [] | no_license | hirurana/Past-Projects | e7f2e767625ca9df175c542f672a9f8ba5734875 | 5c29f59ce4a395f9a2b2b9b65b1d2594e5e5d6fa | refs/heads/master | 2021-08-27T23:47:47.146865 | 2017-12-10T20:27:22 | 2017-12-10T20:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 537 | py | dob = []
#ask for date of birth
newDob = input("Enter you date of birth in this format (e.g 10/08/99): \n")
if int(newDob[0])>3:
print("ERROR1")
newDob = input("Enter you date of birth in this format (e.g 10/08/99): \n")
elif int(newDob[3])>1:
print("ERROR2")
newDob = input("Enter you date... | [
"zcabhra@ucl.ac.uk"
] | zcabhra@ucl.ac.uk |
537d0566875454072446c9da67810baccfa301fc | b46e3837b5fa2e877ad0370aaa62a1c82d01408c | /old_files/akp/akp.py | 79a392d299c8580cab8e206a823db16e33a0ac38 | [] | no_license | alisever/WebCrawling | 13c3236ac1319ef9d7f23012a3d4f72f5dec73b7 | 4de03f9af3b2dec6647f01957fbe92bc4774040c | refs/heads/main | 2023-09-05T19:04:59.069459 | 2021-11-10T16:07:33 | 2021-11-10T16:07:33 | 399,955,870 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,686 | py | import json
import scrapy
base = 'https://www.akparti.org.tr/haberler/kategori/genel-baskan'
class AllSpider(scrapy.Spider):
name = 'akp_all'
start_urls = [base]
page_no = 0
def parse(self, response, **kwargs):
self.page_no += 1
headers = {
"accept": "application/json, ... | [
"alisever96@hotmail.com"
] | alisever96@hotmail.com |
636959b4b870889c2713bd4b762912ae01610e75 | b75d6359ae8166287ad3e2cf0cf0115facfc4e48 | /stonks/stonks_view/urls.py | f26091ebd08a383fe3e698bebfaee4c83446615f | [] | no_license | webclinic017/stonks-5 | 1e9f60da74fb74f4e09bb3f840de0fe1e5141ae8 | 4e5e59c98c420a88eb4836b2316c3820b64b8484 | refs/heads/master | 2023-04-18T07:31:04.963716 | 2021-04-25T17:24:47 | 2021-04-25T17:24:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 866 | py | from django.urls import path, include
from stonks_view import views
from rest_framework.routers import DefaultRouter
router = DefaultRouter()
router.register(r'users', views.UserViewSet)
router.register(r'companies', views.CompanyViewSet)
router.register(r'company-earnings', views.CompanyEarningsViewSet, basename="com... | [
"bulvikk@gmail.ccom"
] | bulvikk@gmail.ccom |
5a452e46158ffd07b091c7de1a10427e119ef214 | 956b239b94b090931232f5f974366ee82bb89fef | /app/auth/email.py | 9eaedbed9bb867d3ae9c8fc1436b50726e8eba49 | [] | no_license | victor-aunon/microblog | 57b3650cf9f999dba32ea4a6d3843dc00ed41bdc | b74107d5a0df4649ee6a8e2e055fba03c01bb09e | refs/heads/master | 2022-12-16T10:36:51.045300 | 2019-04-21T01:22:15 | 2019-04-21T01:22:15 | 180,673,044 | 2 | 0 | null | 2022-12-08T04:58:18 | 2019-04-10T22:25:32 | Python | UTF-8 | Python | false | false | 497 | py | from flask import render_template, current_app
from flask_babel import _
from app.email import send_email
def send_password_reset_email(user):
token = user.get_reset_password_token()
send_email(_('[Microblog] Reset Your Password'), sender=current_app.config['ADMINS'][0],
recipients=[user.email... | [
"angel.aunon.garcia@gmail.com"
] | angel.aunon.garcia@gmail.com |
4bad0a9d74fdc33c1b08594b16c3ae6ae2d4ad36 | 26b6a35e2415d94fbc1c9fc43814309a5d6f443b | /tests/test_openapi_basic.py | f18074c73970570a97135bc4faab94c39ee95a93 | [
"BSD-3-Clause",
"MIT"
] | permissive | BigRLab/apiflask | 57e0c036aa5d284da5340dcecd49108eea651bcd | d6dd5595009be5de6a7741a5a887276c3ac011bf | refs/heads/main | 2023-05-30T21:30:17.930046 | 2021-07-11T04:07:15 | 2021-07-11T04:07:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,700 | py | import json
import pytest
from openapi_spec_validator import validate_spec
from .schemas import BarSchema
from .schemas import BazSchema
from .schemas import FooSchema
from apiflask import doc
from apiflask import input
from apiflask import output
from apiflask import Schema as BaseSchema
from apiflask.fields import ... | [
"withlihui@gmail.com"
] | withlihui@gmail.com |
abcd9cf3a6a72e23d78bf410cfbdac852343d238 | eb40dce4039d528b9cd06dbeda75da09d09d7fc5 | /need_install/Django-1.8.17/tests/basic/models.py | 0ebe3e0b4af812d92177a78a86fa007380fb0e16 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | MulticsYin/MulticsSH | 39b62189446787c7f0f037b1640c9c780bd1dddd | 5837a0bff0e7da0e8535e4e0b31ef6baf24274b4 | refs/heads/master | 2021-08-28T07:53:51.759679 | 2017-12-11T15:31:03 | 2017-12-11T15:31:03 | 82,428,902 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,044 | py | # -*- coding: utf-8 -*-
"""
Bare-bones model
This is a basic model with only two non-primary-key fields.
"""
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Article(models.Model):
headline = models.CharField(max_length=100, default='De... | [
"multics_luo@163.com"
] | multics_luo@163.com |
0ecb406dc4b005795c6d37aaa895fd106844ac7f | b1e7481f8b5bf40c2547c95b1863e25b11b8ef78 | /Kai/crab/NANOv7_NoveCampaign/2017/crab_script_2017_Mu_C.py | a8cd9f368837fbf5bec45d00d8e189ee53cc12fe | [
"Apache-2.0"
] | permissive | NJManganelli/FourTopNAOD | 3df39fd62c0546cdbb1886b23e35ebdc1d3598ad | c86181ae02b1933be59d563c94e76d39b83e0c52 | refs/heads/master | 2022-12-22T22:33:58.697162 | 2022-12-17T01:19:36 | 2022-12-17T01:19:36 | 143,607,743 | 1 | 1 | Apache-2.0 | 2022-06-04T23:11:42 | 2018-08-05T11:40:42 | Python | UTF-8 | Python | false | false | 6,794 | py | #!/usr/bin/env python
import os, time, collections, copy, json, multiprocessing
from PhysicsTools.NanoAODTools.postprocessing.framework.postprocessor import *
from PhysicsTools.NanoAODTools.postprocessing.framework.crabhelper import inputFiles,runsAndLumis
from PhysicsTools.NanoAODTools.postprocessing.modules.common.p... | [
"nicholas.james.manganelli@cern.ch"
] | nicholas.james.manganelli@cern.ch |
0cbc26a7c531c9e66e72aff03e1ef1e05d090406 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2542/60761/235001.py | 0f6cce935b31eb1a6dc6d3e0854022eb80c48159 | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 301 | py | import math
arr=input("")
arr=arr.replace("[","")
arr=arr.replace("]","")
arr=list(map(int,arr.split(",")))
arr.sort()
i=1
maxlen=1
templen=1
while(i<len(arr)):
if(arr[i]==arr[i-1]+1):
templen=templen+1
else:
maxlen=max(templen,maxlen)
templen=1
i=i+1
print(maxlen) | [
"1069583789@qq.com"
] | 1069583789@qq.com |
62130bd3030fa0dac1dd8acc26e97984f4f5efaa | fcd000497f179b1f43fead5a3198b0cbc85a5f0a | /src/smile_to_world_xiaofeng/hello.py | 08c2291ec06d2f8a2a828a4f8667aecddafe99e5 | [
"MIT"
] | permissive | XiaofengZhu/pypi-hello-world | 649480b524a2e9fa6bd347afdeb8ce4c53728a95 | ed980582362774c0b6350e0d0ade358022a14bbd | refs/heads/main | 2023-05-02T14:34:53.842517 | 2021-05-13T20:34:19 | 2021-05-13T20:34:19 | 366,445,915 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 176 | py | import time
class Hello:
def __init__(self):
self._author = 'Xiaofeng Zhu'
def print_message(self):
print('Hello world from {} at {}'.format(self._author, time.time())) | [
"xiaofengzhu@Xiaofengs-MBP.hsd1.wa.comcast.net"
] | xiaofengzhu@Xiaofengs-MBP.hsd1.wa.comcast.net |
9e2c439b85cafbc58738b03142b5eb7d4ab22848 | f0c44fbc139404011f55edc0c6a4f3c07f63a89f | /Assignment_6_Sort_Dataframe_Columns.py | 08be0b7cd396afa624b77cdc2ab28cbe72c46da6 | [] | no_license | A-Kryston/ISM-4402-BI-Public | 9a2e24102da19776b7d54a13b1bf51e621e0cf72 | ffe78e2dbc2c0e1bd184dc59b0710a61d28f80c1 | refs/heads/master | 2020-07-22T23:35:29.094728 | 2019-12-02T21:22:03 | 2019-12-02T21:22:03 | 207,369,185 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 980 | py | #!/usr/bin/env python
# coding: utf-8
# In[ ]:
# Andrea Kryston
# Assignment #6 - Sort columns in a dataframe (pg 60)
# Due Date - October 14, 2019
import pandas as pd # Import pandas library
Location = "Datasets/gradedata.csv" # Locate file to be used for this exercise
df = pd.read_csv(Location... | [
"noreply@github.com"
] | A-Kryston.noreply@github.com |
2905b09b116aa8620144bb52dcea36c4afdbe2c0 | f3065d37482cffadb5fe8caa397a8cc946710485 | /django_structure/src/profiles/migrations/0012_auto_20180321_1745.py | 279bfa92783124289a640b745c930b92b7f4703f | [] | no_license | AlfredMulder/Django_work | 6d006f8b1e0c679ed43377fb891d215e870114a9 | 5d347d6897f58f6977ab584a80edb111ed2dabaf | refs/heads/master | 2020-04-10T21:56:01.475953 | 2019-06-25T15:13:19 | 2019-06-25T15:13:19 | 124,296,776 | 0 | 0 | null | 2018-03-07T21:34:41 | 2018-03-07T21:29:05 | null | UTF-8 | Python | false | false | 440 | py | # Generated by Django 2.0.3 on 2018-03-21 17:45
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('profiles', '0011_auto_20180321_1744'),
]
operations = [
migrations.AlterField(
model_name='profile',
name='image',
... | [
"xanderhref@protonmail.com"
] | xanderhref@protonmail.com |
5e3af5114585babcf6308a0eed07cab9358841d2 | 7edebeae484480e9ecd786308846b434f3ace53c | /python/clu/websocket.py | 7cfe3da86f84c10d7fa762a32a19e9cb9f065dc8 | [
"BSD-3-Clause"
] | permissive | sdss/clu | fb7b220df092447bbbd6de996dc0fa1785b5ff87 | 086e80a6baa783e25f8c7ca73cd4ba5c42234e08 | refs/heads/main | 2023-08-30T00:30:42.191915 | 2023-08-25T19:07:55 | 2023-08-25T19:07:55 | 183,817,446 | 6 | 0 | BSD-3-Clause | 2023-05-25T06:56:06 | 2019-04-27T20:12:55 | Python | UTF-8 | Python | false | false | 3,648 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: José Sánchez-Gallego (gallegoj@uw.edu)
# @Date: 2023-05-25
# @Filename: websocket.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
from __future__ import annotations
import json
from typing import TYPE_CHECKING
from websockets.l... | [
"noreply@github.com"
] | sdss.noreply@github.com |
fc362768e4ec1bd2b2882b5a20af0d37ee5f822a | fbbe424559f64e9a94116a07eaaa555a01b0a7bb | /Keras_tensorflow_nightly/source2.7/tensorflow/contrib/model_pruning/python/layers/core_layers.py | 764ab620bc2227ff5e8e3f473d689e0e133e83d4 | [
"MIT"
] | permissive | ryfeus/lambda-packs | 6544adb4dec19b8e71d75c24d8ed789b785b0369 | cabf6e4f1970dc14302f87414f170de19944bac2 | refs/heads/master | 2022-12-07T16:18:52.475504 | 2022-11-29T13:35:35 | 2022-11-29T13:35:35 | 71,386,735 | 1,283 | 263 | MIT | 2022-11-26T05:02:14 | 2016-10-19T18:22:39 | Python | UTF-8 | Python | false | false | 19,691 | py | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | [
"ryfeus@gmail.com"
] | ryfeus@gmail.com |
b81df29cd5bc086a10b9d34a9da102aebefd5724 | 47766dd4a7fe325ff53db9754d9962d54c3bce20 | /week3/review/3_iterator_filter.py | 80ea40d7c9f41ed54fa37c8d4e41776379da7cfc | [
"Apache-2.0"
] | permissive | skku-overflow/python-2020-2 | 1ed327a075b4ddd6b1feecb5cabc75e8913de726 | def09d9a8ff32ee085edaa5eca89ccc03c29af2a | refs/heads/main | 2023-03-06T16:13:40.439521 | 2021-02-21T07:23:07 | 2021-02-21T07:23:07 | 316,898,851 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 267 | py |
def is_even(n):
return n % 2 == 0
l = [1, 2, 3, 4, 5, 6, 7, 8, 9]
print(l)
evens = list(filter(is_even, l))
print(evens)
def is_first_even(arg):
a, b = arg
return a % 2 == 0
l2 = [(1, 2), (2, 3)]
print(l2)
print(list(filter(is_first_even, l2)))
| [
"kdy1997.dev@gmail.com"
] | kdy1997.dev@gmail.com |
7c658b02af1216d35936435030ac30caedbcf48f | e79888cd68177e7ec5125270cdc52f888e211e78 | /hirao/chapter01/knock04.py | de4c0c4219da8267d76dd51e2e4cbcf9b31ea0fd | [] | no_license | cafenoctua/100knock2019 | ec259bee27936bdacfe0097d42f23cc7500f0a07 | 88717a78c4290101a021fbe8b4f054f76c9d3fa6 | refs/heads/master | 2022-06-22T04:42:03.939373 | 2019-09-03T11:05:19 | 2019-09-03T11:05:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 427 | py | s = "Hi He Lied Because Boron Could Not Oxidize Fluorine. New Nations Might Also Sign Peace Security Clause. Arthur King Can."
drop = ",."
print(s)
for c in list(drop):
s = s.replace(c, "")
s = s.split()
display_list = [1, 5, 6, 7, 8, 9, 15, 16, 19]
ans_dict = {}
for i, word in enumerate(s):
if i + 1 in displ... | [
"reohirao116@gmail.com"
] | reohirao116@gmail.com |
d7212911ec66d3aef973e7604e6b39d5d3ee0e66 | 38242a2852f166267bf65b050ec95ed8cb877852 | /python_tips/manage.py | 7a69fcaa0b68220124d0d1e0fcbc5f915d12f9c7 | [
"MIT"
] | permissive | charlesDavid009/tweety | 33cb9307aba2f131caf6184de785117c6027aa53 | 52d1dcda47c12596a4d37e7e253a41b0130a6a61 | refs/heads/main | 2023-05-31T08:34:06.950645 | 2021-07-14T08:25:19 | 2021-07-14T08:25:19 | 383,505,671 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 667 | 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', 'python_tips.settings')
try:
from django.core.management import execute_from_command_line
except ... | [
"zuesghost1@gmail.com"
] | zuesghost1@gmail.com |
bec783ab3edecf3218d44d70daa4be040eb61f27 | a398e6f0d692130b64c12943b1efdaa6c3a0eac9 | /Chapter08/display_message.py | da194bda7a95a1ce1874642fe44ec068f5e26d7b | [] | no_license | xue9981/LP2 | c0792681c928348d6ff479315eb7e9d80be8a156 | 500d585ffe057b4a8522f9df2b2052e56bbf25f8 | refs/heads/master | 2020-07-30T23:09:06.089682 | 2019-10-01T16:07:22 | 2019-10-01T16:07:22 | 210,391,934 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 110 | py | def display_message():
print("関数の使い方、作成の仕方について学ぶ")
display_message()
| [
"xue@cs.meiji.ac.jp"
] | xue@cs.meiji.ac.jp |
577a5e847afa46777a5a089b90511294bade82fa | 64261553066b91dd774f3e051658f83fd41dc415 | /MediumLevel/LongestSubstringWithoutRepeatingCharacters.py | f38736bb7f38f3fb696a229a234ae0b6ab97781e | [] | no_license | sahilshah1610/LeetCode | 1b5ec827cce3c4d66eda24fd16a1d7266ff8fc47 | 28e65a2caba7cf0c757195f76bcaf17e8dd28419 | refs/heads/master | 2023-03-02T15:36:15.325209 | 2021-02-12T01:48:15 | 2021-02-12T01:48:15 | 314,371,688 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 645 | py | class Solution(object):
def lengthOfLongestSubstring(self, s):
"""
:type s: str
:rtype: int
"""
if len(s)==0:
return 0
mapping = {}
maxLenght=start=0
for i in range(len(s)):
if s[i] in mapping and start <= mapping[s[i]]:
... | [
"sahil.shah56@gmail.com"
] | sahil.shah56@gmail.com |
809f94d693db05b2538535e2564bda1e23251399 | fc76bfd8519ad194a07d21130b74fe5794517056 | /PicoCTF 2017/Level 3/Cryptography/smallRSA/main.py | 65ddd2a955ddfa77ed7e1c613a96d45fb304dade | [] | no_license | t00lbox/CTF-Writeups | 7fe63bbe7a5af3f30d2d9542e2ac51ff828bc0e9 | 62b45e679dee40f75bd4cc914bc2e893a85f20a4 | refs/heads/master | 2020-03-21T14:48:58.859341 | 2018-06-26T00:06:01 | 2018-06-26T00:06:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,077 | py | e = 165528674684553774754161107952508373110624366523537426971950721796143115780129435315899759675151336726943047090419484833345443949104434072639959175019000332954933802344468968633829926100061874628202284567388558408274913523076548466524630414081156553457145524778651651092522168245814433643807177041677885126141
n = 38... | [
"19695201+BOAKGP@users.noreply.github.com"
] | 19695201+BOAKGP@users.noreply.github.com |
9368e2c5913f38ac451218f6b28dc42e68db257c | c7178837cf98e1bc89027d8462c57727ea05de58 | /elections/urls.py | 4474d57f79fb8941a6cafe1abfa416547c0b3f7c | [] | no_license | sook1421/django_j | a04c223a49fb6f7cb9426eb929722eeb70857ba5 | 7d11792fcf723156d6e3667c5df7ef0201ce415f | refs/heads/master | 2021-09-06T23:04:42.955695 | 2018-02-13T05:26:09 | 2018-02-13T05:26:09 | 103,805,459 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 112 | py | from django.conf.urls import url, include
from . import views
urlpatterns = [
url(r'^$', views.index),
]
| [
"sook1421@chol.com"
] | sook1421@chol.com |
13e7dfb79f5a9e988593ddae9d68927018ac1463 | f070c3acba7da2254adc2c12f80e54b830396d40 | /test/venv/bin/futurize | 65e98b939532e827e94109ba696ca6402ce2bfc3 | [] | no_license | liruidesysu/cloudCluster | 241a6ac472ecce9c6b4c966a44304128d258fc9b | fc558b464c3052f59cb1e6326aa22bade556b0c8 | refs/heads/master | 2022-11-06T03:51:31.954607 | 2019-08-22T12:47:53 | 2019-08-22T12:47:53 | 200,144,454 | 0 | 1 | null | 2022-03-29T21:56:02 | 2019-08-02T01:42:17 | Python | UTF-8 | Python | false | false | 252 | #!/home/liruide/Desktop/cloudCluster/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from libfuturize.main import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"liruide_read@outlook.com"
] | liruide_read@outlook.com | |
309503445ede6d2acdd13fee339865beec91d5f7 | 17625b317bdd2111453bdcf05f0e7cdb140b888e | /keepitpossible/backup/unity_lib.py | 82f854bcb2e98ae3d45d901386ba15f6466f3970 | [
"Apache-2.0"
] | permissive | ChenKuanSun/TheObstacleTowerChallenge | e93bdeb74dc0790d965111c9ee41c03472ba7a35 | c2de16930dd88949c0bc6a460f378beae3a04204 | refs/heads/master | 2021-02-27T06:31:10.861317 | 2020-03-07T07:35:25 | 2020-03-07T07:35:25 | 245,587,983 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,491 | py | # coding=utf-8
# Copyright 2018 The Dopamine Authors.
# Modifications copyright 2019 Unity Technologies.
#
# 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... | [
"fgriasa123@gmail.com"
] | fgriasa123@gmail.com |
26030f347e76ad066fd9e10dc35bf688f5b153f8 | b8fd409ee054f68807e607b01f9c7e9bf9e3cbc8 | /newPollApp/asgi.py | 196033b636c49dbe18a7484aa38b2d7d265f3dc0 | [] | no_license | diptajit-dev-biswas/python-startapp | 1fa4e7b5ab9e75f0e139473e82eda1a31a98a90b | f6cd5000cf08a9dba0c5c6b903d70dd88e13449d | refs/heads/main | 2023-07-17T18:54:18.826199 | 2021-08-16T08:11:30 | 2021-08-16T08:11:30 | 396,665,847 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 397 | py | """
ASGI config for newPollApp project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SE... | [
"diptajit@appstangodev.com"
] | diptajit@appstangodev.com |
9a0274111f19a917ed032d7aca9be73c9e930a24 | 02a9e1be198a82793a9e9aea1f0f46cde0e8c85e | /prac_01/broken_score.py | feaede5759932a9410dbe13cbc382d805aaeb5cf | [] | no_license | DaniRyland-Lawson/CP1404-cp1404practicals- | 04cfce69f55b26cf7cf30d2ea2a1198d9514c527 | 8b8776ca5a8dee8f8c21697c79dbbd2cd95320f7 | refs/heads/master | 2020-07-06T22:50:21.130873 | 2019-11-12T03:45:50 | 2019-11-12T03:45:50 | 203,162,819 | 0 | 0 | null | 2019-11-12T03:49:59 | 2019-08-19T11:52:56 | Python | UTF-8 | Python | false | false | 384 | py | """
CP1404/CP5632 - Practical
Broken program to determine score status
"""
# In this section, it took me a little while to realise it is best in order. Highest to lowest.
score = float(input("Enter score: "))
if score < 0 or score >100:
print("Invalid score")
elif score >= 90:
print("Excellent")
e... | [
"noreply@github.com"
] | DaniRyland-Lawson.noreply@github.com |
0b82a15f2668611f51876dc75eb02c6ccb69ac64 | d320dc1177bd40be1ace9e5b76f25b93a22a6e25 | /appium_test/app_base.py | f12af230cec4031049b0a89eb5d3a39812e07a82 | [] | no_license | qq1403332591/Hogwarts15 | 26c6424246ee3677920a5f44967d1ba8c611bc85 | d6cd852fff89b8f901e449276eb95d64ec3e14f3 | refs/heads/master | 2023-01-09T13:46:01.067470 | 2020-11-11T13:15:51 | 2020-11-11T13:28:15 | 304,650,417 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,394 | py | from appium import webdriver
class Base():
def setup(self):
desired_caps = {}
desired_caps['platformName'] = 'Android' # 打开什么平台的app,固定的 > 启动安卓平台
desired_caps['platformVersion'] = '10' # 安卓系统的版本号:adb shell getprop ro.build.version.release
desired_caps['deviceName'] = 'V1938T' # 手... | [
"1403332591@qq.com"
] | 1403332591@qq.com |
85c63654cacf60d20305f0e502209f0294028474 | 0734f6b90379ba0850426db18a9470a161151805 | /setup.py | 46572860be6de6e827439be07ebb60a686330c3e | [
"MIT"
] | permissive | alexhayes/schematics-xml | af69c6ed4437603bc478d0fc66a4f79d0a204d16 | 36ac15a5e2891d238bebe0b3bb3ef8d5e8425ed9 | refs/heads/develop | 2022-08-01T00:03:14.428519 | 2016-11-11T04:54:32 | 2016-11-11T04:54:32 | 72,046,221 | 2 | 3 | MIT | 2022-07-06T19:48:26 | 2016-10-26T21:32:10 | Python | UTF-8 | Python | false | false | 3,726 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
is_setuptools = True
except ImportError:
raise
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages #... | [
"alex@commoncode.io"
] | alex@commoncode.io |
3c22bf817ee148fbc70da528dfb8cff5991cedb0 | f12fac0dd5c9c9eeedff16377d1f57a3cd02ef32 | /Python游戏编程入门/02.初识Pygame:Pie游戏/绘制弧形.py | 8031255f9f3580e0e721331544bdda1f67ae9357 | [] | no_license | SesameMing/PythonPygame | 61fe09a38d1729963b86f348b349572760676195 | ca0554427cd30838d56630e8b1e04aa0e26834a1 | refs/heads/master | 2020-12-07T21:23:56.271193 | 2016-11-25T06:38:06 | 2016-11-25T06:38:06 | 66,639,140 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 685 | py | #!/usr/bin/env python3
# -*-coding:utf-8-*-
# Author:SesameMing <blog.v-api.cn>
# Email:admin@v-api.cn
# Time:2016-11-25 12:51
import sys
import math
import pygame
from pygame.locals import *
pygame.init()
screen = pygame.display.set_mode((600, 500))
pygame.display.set_caption("Drawing Arcs")
while True:
for even... | [
"admin@v-api.cn"
] | admin@v-api.cn |
04e3a1cfd126c0710557c5f5944b73240af4deec | e82b761f53d6a3ae023ee65a219eea38e66946a0 | /All_In_One/addons/vb25/plugins/TexSwirl.py | 9ca7e67f86475efdb3be99c3fa816a582b516141 | [] | no_license | 2434325680/Learnbgame | f3a050c28df588cbb3b14e1067a58221252e2e40 | 7b796d30dfd22b7706a93e4419ed913d18d29a44 | refs/heads/master | 2023-08-22T23:59:55.711050 | 2021-10-17T07:26:07 | 2021-10-17T07:26:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,575 | py | #
# V-Ray/Blender
#
# http://vray.cgdo.ru
#
# Author: Andrey M. Izrantsev (aka bdancer)
# E-Mail: izrantsev@cgdo.ru
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the Li... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
aab147e4b5ac5e64ffb29c9993c9b62cc92184ba | 562d45351e4e23f5548a325b884bd57f93e5373d | /venv/bin/ckeygen | cf97c6fe71ee55d25b62eb485e30a320fc7c17a0 | [] | no_license | manjumugali/BridgeLabz_PythonPrograms | 401efc320804d74017b1e6cbe99b45fd75193243 | ff4093cc9b0256ede9f7ef3a0e042fe352263f82 | refs/heads/master | 2020-04-19T22:17:07.050403 | 2019-02-13T05:18:56 | 2019-02-13T05:18:56 | 168,465,224 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 413 | #!/home/admin1/Desktop/chatApp/venv/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'Twisted==18.9.0','console_scripts','ckeygen'
__requires__ = 'Twisted==18.9.0'
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[0])
... | [
"manjumugali111@gmail.com"
] | manjumugali111@gmail.com | |
299ff26f17f629c6eed7981129ec94c0daf43684 | f5f92ee9f6a4ae8c7a1c029ccab6386b338069d3 | /wk3/f8.py | 1e8bb4259716d19e5d3e8fe13d7fc39ecf21701f | [] | no_license | JustinAnthonyB/Python | 7300a6e25a314b202c098d08e49037557046fb4c | e647376cf43c6ccdceb38f5d7d34ccda7550ea27 | refs/heads/master | 2020-12-10T03:44:34.555223 | 2020-04-02T19:28:56 | 2020-04-02T19:28:56 | 233,493,263 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 833 | py | """
Ask the user to enter a password
Determine if password is
Not acceptable
less than 5 chars
Weak
between 5 and 7
Medium
between 8 and 10 chars
Strong
11 chars or more
Using an if statement, output whether text
meets requirement
Input from user?
1:... | [
"noreply@github.com"
] | JustinAnthonyB.noreply@github.com |
5eb0a435e2e4872f4a9c5255d5028bd2f73e4b3d | 89bbb2e46f844b2be046185a4ee54b6d8986a53b | /instagram/urls.py | e97967c6593fe974c8aae481aecf75dd5aa03231 | [
"Beerware"
] | permissive | SL0KY/instagram-like | aedb0ac222fac3350915199c0979e568ca0314e9 | 1641d44d03b0fb51a51cb96520fed279bd6c2e86 | refs/heads/master | 2020-09-21T14:02:01.761038 | 2020-02-13T09:08:58 | 2020-02-13T09:08:58 | 224,810,401 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,894 | py | """insta URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based v... | [
"dominguesquentin@gmail.com"
] | dominguesquentin@gmail.com |
498848a1ce67711fa364584705c0f90477f76fb5 | 90e049109be38889523b265d2683a4f29a57da30 | /flink-python/pyflink/table/tests/test_table_environment_api.py | 64080f1e53b36dd5df4f0c09993ae8772e33988c | [
"BSD-3-Clause",
"MIT",
"OFL-1.1",
"ISC",
"Apache-2.0",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"CC-BY-3.0",
"LGPL-2.1-only",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-proprietary-license",
"Lic... | permissive | Jasonpengrui/flink | bc7cf1baced87a72a75e2bd0e326a137ed0ab529 | 81a5212cb99b860de9c7384fa14caaa3f5af1c1f | refs/heads/master | 2020-06-10T16:44:23.895203 | 2019-12-09T06:35:08 | 2019-12-09T06:35:08 | 193,673,904 | 0 | 0 | Apache-2.0 | 2019-06-25T09:09:15 | 2019-06-25T09:09:14 | null | UTF-8 | Python | false | false | 10,360 | py | ################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this... | [
"sunjincheng121@gmail.com"
] | sunjincheng121@gmail.com |
40705c7d2144ce3f9aa84b4ded8f1f39a82e78c7 | 60ebf96283c09886366b7b03cf13a53551a9e33a | /movie.py | 2f9a266ca19eba3f04aad4dd762a0a2c3e773059 | [] | no_license | angietibbs618/movies | 85abee6564c21f0d74821d87d8ee56d0d97d09b6 | 792e1ab824e1bff5abd36456b9ee83e1d98ff554 | refs/heads/master | 2021-01-19T11:35:19.897539 | 2017-04-26T14:19:00 | 2017-04-26T14:19:00 | 87,980,231 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 507 | py | import webbrowser
class Movie():
""" This class provides a way to store movie related information"""
valid_ratings = ["G", "PG", "PG-13", "R"]
def __init__(self, movie_title, movie_storyline, poster_image, trailer_youtube):
self.title = movie_title
self.storyline = movie_storyl... | [
"noreply@github.com"
] | angietibbs618.noreply@github.com |
9336731a6cd88e7a8b99c2564c74415e27d8d968 | 1e697dc34e0e4ca3fc877209e21a99d15074e71c | /0x02-python-import_modules/1-calculation.py | f3f7b31bc85c69092d619f0b53f1055e8bd128f4 | [] | no_license | ZoltanMG/holbertonschool-higher_level_programming | 97e51030e2203efd0b9bc0539c9916e58e7b50fb | c50a7263531e115cdbd285bb67de34fed32a41a1 | refs/heads/master | 2023-03-03T03:17:28.447086 | 2021-02-13T02:40:33 | 2021-02-13T02:40:33 | 259,444,476 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 316 | py | #!/usr/bin/python3
if __name__ == '__main__':
from calculator_1 import add, sub, mul, div
a = 10
b = 5
print('{} + {} = {}'.format(a, b, add(a, b)))
print('{} - {} = {}'.format(a, b, sub(a, b)))
print('{} * {} = {}'.format(a, b, mul(a, b)))
print('{} / {} = {}'.format(a, b, div(a, b)))
| [
"zoltanmoragarcia@gmail.com"
] | zoltanmoragarcia@gmail.com |
c04479133e596d0015f9df6569bf7d2c2283e6d1 | b23c6c02d9b54c987bca2e36c3506cf80fa28239 | /python databse connectivity progs/bind variable.py | a9bf8a8d9dcc71bd722251121197416765b6ba4e | [] | no_license | nishikaverma/Python_progs | 21190c88460a79f5ce20bb25d1b35f732fadd642 | 78f0cadde80b85356b4cb7ba518313094715aaa5 | refs/heads/master | 2022-06-12T14:54:03.442837 | 2020-05-08T10:28:58 | 2020-05-08T10:28:58 | 262,293,571 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 953 | py | import cx_Oracle
try:
conn=cx_Oracle.connect("system/oracle123@localhost/orcl")
print("connection established")
cur=conn.cursor()
print("cursor created!")
print("***********************")
cur.execute("Select Book_name,Book_price from Books")
for x in cur:
print(x)
pr... | [
"nishika.verma@live.com"
] | nishika.verma@live.com |
c9e5718005ed29e21e424f7db8f4e8370bf44c9a | b23a9b67159c94d881513d3c19351d591329476f | /mc/OffPolicyMc.py | 2ef1b7efe5a29f7169ed8d14df05c038efa94954 | [] | no_license | zuofeng1997/rl | 1a0933296cd2319375fc10bf69fde74e0fe15be1 | 90d64bbc5335e255417b0d1a91b5555f17d4d8cb | refs/heads/master | 2020-03-22T11:28:41.107250 | 2018-08-21T07:15:40 | 2018-08-21T07:15:40 | 139,973,196 | 8 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,837 | py | from copy import deepcopy
import numpy as np
class FiniteMcModel:
def __init__(self,state_space,action_space,gamma=0.99,epsilon=0.3):
self.gamma = gamma
self.epsilon = epsilon
self.Q = None
if isinstance(action_space,int):
self.action_space = np.arange(action_space)
... | [
"1065504865@qq.com"
] | 1065504865@qq.com |
6388a3763a8737a12142d29fd6a3202fbd197144 | 31ff066c1e0b3d2e88326ca66584ef579484ba09 | /final/fractal/fractal/settings.py | ca82802c1d21423383704d39fceb886d1d6f8b8e | [] | no_license | Lightningbread76/YellowBrick | c82b757c4f2bf5fe6b6ce8c42efb231c1653575d | dd144da0e6676a0d6df669b8caeb7a9c5220c5e7 | refs/heads/main | 2023-04-15T15:30:48.179818 | 2021-04-23T16:39:07 | 2021-04-23T16:39:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,172 | py | """
Django settings for fractal project.
Generated by 'django-admin startproject' using Django 2.2.7.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
#... | [
"quinnrelyea@gmail.com"
] | quinnrelyea@gmail.com |
f267f2ee5db997cb0bd07c85bbca1589021cfe18 | 407d602bc989d0a7c49a441e75332c7f4d4db01d | /id3.py | 1c4d73e15e0caba9027a78fe65f17c9d08d7f7d1 | [] | no_license | thkm0620/goodWordAttack | 902e25080f844c6461bb5e4bcf803c1dd1e2b3eb | 9785290abae4cf60ab3652d7b00cb0471347b11e | refs/heads/master | 2023-02-01T05:47:49.381339 | 2020-12-19T05:59:06 | 2020-12-19T05:59:06 | 322,638,193 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,655 | py | # coding=utf-8
import openpyxl
import numpy as np
from cleanText import cleanString
from sklearn import tree
from sklearn.metrics import confusion_matrix, f1_score, precision_score, recall_score
from sklearn.model_selection import train_test_split
from sklearn.feature_extraction.text import CountVectorizer, TfidfVecto... | [
"thkm0620@naver.com"
] | thkm0620@naver.com |
9fc5c37346192644bc12a0b5a2a6817f98a26c5e | f384d0bd72edf56edc06b2bba84fc8ca8e73e6e5 | /calculos/salinidad.py | 61c1537b557a0c5704df400ab75a1f2a59373a73 | [] | no_license | jvaldesa/lia | ec44ed98f5efcd2cc1689040684a210dc6dadea1 | 7d362fb351142463f5e35bb0fbe8773efee5158c | refs/heads/master | 2020-04-04T20:33:56.740231 | 2019-05-07T14:53:01 | 2019-05-07T14:53:01 | 156,251,086 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,166 | py | from decimal import Decimal
def cationes(titulacionCaMg, normalidadEDTA, titulacionCa, alicuota, Na, K):
titulacionCaMg = Decimal(titulacionCaMg)
normalidadEDTA = Decimal(normalidadEDTA)
titulacionCa = Decimal(titulacionCa)
alicuota = Decimal(alicuota)
Na = Decimal(Na)
K = Decimal(K)
"""
... | [
"jvaldes_a@hotmail.com"
] | jvaldes_a@hotmail.com |
a0f39619acc90f05c7ecc8ea66be9b18ee6058d7 | a63edabd559753582d464460afe0d8f2a3377b37 | /SpiderNode/preWork.py | 3ab2c0e734bfd7d77290f157c6363853e21188ad | [] | no_license | liangxs0/lagouCrawler | 6324d688a10fde86ecf813e696c164e4dbe72cf5 | d17d51e37f7078923e00baef40fc2440eeebf059 | refs/heads/master | 2020-03-13T17:32:31.645516 | 2018-04-15T14:09:15 | 2018-04-15T14:09:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,825 | py | #-*-coding:utf-8-*-
import requests
from lxml import etree
import json
import urllib.parse
#获取首页的工作分类
def getIndexPageJob():
url="https://www.lagou.com/"
header={'User-Agent':"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36"}
proxies={"htt... | [
"lrtxpra@163.com"
] | lrtxpra@163.com |
7e389d1992dc7ee70f3f25ef939fa71ea01b2db2 | 3b64e5707567bfeed3bf69fdedc7702a75677115 | /List-2/count_evens.py | f9c71645d93dc0fd6fe9ed479bac07775f67eb85 | [] | no_license | fearlessfreap24/codingbatsolutions | 1b730f4e76da6c6dca9670dcea3f3092ba690d44 | 7d3bcd6f347db41794572700d05e87db3f0ca478 | refs/heads/master | 2020-03-25T04:03:01.802798 | 2018-08-18T11:47:17 | 2018-08-18T11:47:17 | 143,374,980 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 283 | py | def count_evens(nums):
sum = 0
for i in range(len(nums)):
if nums[i] % 2 == 0:
sum += 1
return sum
if __name__ == "__main__":
print(count_evens([2, 1, 2, 3, 4])) # 3
print(count_evens([2, 2, 0])) # 3
print(count_evens([1, 3, 5])) # 0
| [
"dylanaperez@yahoo.com"
] | dylanaperez@yahoo.com |
be3f6184a13b0ec8ef97011496b815a287a03c3b | 6a76709e8a7fbcdfc3372120a4086718a07a270a | /dataset/dataset.py | 8517ccd17567d2c124b6211acfeb950ee765e64f | [] | no_license | jungdaechul-coderepo/EfficientDet | 17e831f5146934e276e243529709b94bbfbfa3f1 | ff132eb985676edc6df8e6c5a629f4974df47010 | refs/heads/main | 2023-05-12T08:28:57.840999 | 2020-11-26T08:54:11 | 2020-11-26T08:54:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,902 | py | import torch
import torch.nn as nn
import os
import glob
from PIL import Image
import time
import cv2
class Retina_dataset(object):
def __init__(self, input_dir,transform, input_format='RGB', output_format='RGB'):
self.input_imgs=[]
self.input_format=input_format
self.output_format... | [
"bigpicture.jh@gmail.com"
] | bigpicture.jh@gmail.com |
3e50eb432278799573f1eb0faf52a1893f21fc48 | 3fe6529e3733a0d703e3ce12790e90195037ada0 | /interview/interview/urls.py | 5859e55f97526d0abfd0db7dc90aa30c0124b0e5 | [] | no_license | vkit/zypol | cc536b66b45333211f7be3ee131a4325665fd2d6 | db7306c32f473b6852b3561f97ca9c8c50be2709 | refs/heads/master | 2021-07-09T08:11:49.920719 | 2017-10-06T11:40:37 | 2017-10-06T11:40:37 | 105,997,858 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 876 | py | """interview URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-b... | [
"noreply@github.com"
] | vkit.noreply@github.com |
b48a2e29d81c5d7ddbf5cc76cd714fe6c1483872 | 9e27f91194541eb36da07420efa53c5c417e8999 | /twilio/twiml/messaging_response.py | abb58ff2c6d33ad1d66998d8f9520dd3786f329a | [] | no_license | iosmichael/flask-admin-dashboard | 0eeab96add99430828306b691e012ac9beb957ea | 396d687fd9144d3b0ac04d8047ecf726f7c18fbd | refs/heads/master | 2020-03-24T05:55:42.200377 | 2018-09-17T20:33:42 | 2018-09-17T20:33:42 | 142,508,888 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,875 | py | # coding=utf-8
"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
import json
from admin.twilio.twiml import (
TwiML,
format_language,
)
class MessagingResponse(TwiML):
""" <Response> TwiML for Messages """
def __init__(self, **kwargs):
su... | [
"michaelliu@iresearch.com.cn"
] | michaelliu@iresearch.com.cn |
cbd142b626698fe1debd6ecef0822cc0d7b13f7f | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_150/ch50_2020_04_13_03_25_44_929209.py | a262c1522f55ac719f56e8c2e06b6e69fde73ed5 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 230 | py | def junta_nome_sobrenome(nome, sobrenome):
nome_e_sobrenome = []
i = 0
while i < len(nome) and i < len(sobrenome):
nome_e_sobrenome.append(nome[i] + ' ' +sobrenome[i])
i += 1
return nome_e_sobrenome | [
"you@example.com"
] | you@example.com |
ced5ac21aec05c62ab3a5d490799f6547ae76833 | 40686808bb915db93c03069bfe4ab9ec73663c19 | /classification_testing.py | dac47c7d32750fcf6ad52f3914b4abf012619c31 | [] | no_license | AzogDefiler/classification_wav | 340f2be9352c284fc23d6f3df3d38a15d30d97a6 | 3a36d4533f13afda181a8f6a442b879cb7a8fa72 | refs/heads/master | 2020-03-22T03:25:43.989167 | 2018-07-02T19:21:09 | 2018-07-02T19:21:09 | 139,431,579 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,696 | py |
# coding: utf-8
# In[1]:
# Aminov Rezo
import numpy as np
import wave
import pandas as pd
import matplotlib.pyplot as plt
get_ipython().magic('matplotlib inline')
from glob import glob
import random
import struct
from keras.models import *
from keras.layers import *
from keras.callbacks import *
import librosa
... | [
"aminov@skytracking.ru"
] | aminov@skytracking.ru |
9379fb1cf8f8a0ce4ebdd89c1b183018f97816d5 | 7b82cd6d0c8d7eb968ec4eb2dc7020316880e690 | /aswissues/migrations/0013_auto_20191119_2241.py | e3afc2b41389cc02b6ce0652b70c209ab9ffecb5 | [] | no_license | kennyangelfib/ASW-Issue-Tracker | abbeed5e5517f74beb66a06225df19de926fd250 | d9087ad422b6f97de8854bc936943001387d168e | refs/heads/master | 2022-04-11T21:27:46.933937 | 2020-01-14T13:43:37 | 2020-01-14T13:43:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,414 | py | # Generated by Django 2.2.7 on 2019-11-19 22:41
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('aswissues', '0012_merge_20191119_2215'),
]
operations = [
migrations.Alter... | [
"andreugallofre@gmail.com"
] | andreugallofre@gmail.com |
4450a20d24354e763675dde15bcfdb903c38b2d4 | f2982bb689fa9eecbf1503d0db5688923802d507 | /KRTimedDraw.py | efdfe94a8b8fce5b537587dcff98902d9ccd6bc1 | [] | no_license | KareshiKraise/timeDrawingHelper | 448d0340e1103f0a52f075137001c89c029b1247 | 809f2fa136300b04d8c27250d7f2165dfd73dd7f | refs/heads/main | 2023-06-04T06:50:17.993974 | 2021-06-22T21:34:38 | 2021-06-22T21:34:38 | 358,704,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,626 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '.\timedHelper.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
#
from PyQt5 import QtCor... | [
"vitormoraesaranha@gmail.com"
] | vitormoraesaranha@gmail.com |
2b9d7f843e20d0de53d6b81d06487d22edf5c41c | ea93c59912c4654a87c06eba3dd4b7eda989463b | /my_blog_project/my_blog_project/asgi.py | 85753b9ab25a95115448a630ebf196277b6e070a | [] | no_license | ruhulamin1998/django-blog-project | e88b3fd8ef457c7eb4ee3149fa0f1969f5489c73 | 1f11f9eb2015a0cfb98dfb720c0379eee107e51c | refs/heads/main | 2023-03-04T20:47:59.453834 | 2021-02-09T06:25:34 | 2021-02-09T06:25:34 | 337,301,816 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 407 | py | """
ASGI config for my_blog_project project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJAN... | [
"ruhulamin.raj1998@gmail.com"
] | ruhulamin.raj1998@gmail.com |
708ef071fd1faafca78472a84eda933ffbb64c07 | 1702a4ffbc68266e4f232389f7a5f9cc44cb489b | /hello.py | 6575b82784245fb5e88b9822dc71c860e58085ec | [] | no_license | Caspeezie/TDDAssignments | 6d0c988b458797bc0826d1e1cf338df15d337f4c | c8830df877b85025c4064dc1c8933b8915d88aad | refs/heads/master | 2022-12-22T08:16:23.884642 | 2020-09-15T11:29:49 | 2020-09-15T11:29:49 | 276,622,102 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 161 | py | #This program says hello and asks for your name
print('Hello World')
print('What is your name?')
myName = input()
print('It is good to meet you, ' +myName)
| [
"noreply@github.com"
] | Caspeezie.noreply@github.com |
e36fa96a6b594bb9c54e0f68eb1cdc6daad6b8e1 | 441508533c0f46814e5c5248ca31858afc3a2f7e | /a/b.py | ecf6c8fc51e30df4ea2a6b660a31b92d01ab8553 | [] | no_license | phiresky/poetry-install-self-issue | 7e72ef08821959ed346163756e2ed51f00fc0148 | 47b2e7842555c94f9f07ed80096b48010e6a9b1e | refs/heads/master | 2020-04-10T16:29:32.768434 | 2018-12-10T15:32:03 | 2018-12-10T15:32:03 | 161,147,014 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28 | py | import c.x
print(c.x.test)
| [
"robin.ruede@philips.com"
] | robin.ruede@philips.com |
a1816820f2b5b9ae3603a6eb633cc4c41cc5b75c | 4825a6b905d49c787996058e23e99f2d1785e3d4 | /Lab12.py | a7f8dbb2c50fe805cb29362c411bfac41519aff8 | [] | no_license | dylansidney25/Lab-12 | 510fe50ab3b67d06b5feb913c2cc4dd836524794 | 0d00ac2966afb53f4799af6fb0488beb4f834ebc | refs/heads/main | 2023-03-29T19:31:27.323802 | 2021-04-02T20:18:00 | 2021-04-02T20:18:00 | 354,121,234 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 591 | py | import cv2 as cv
import sys
img = cv.imread('dragon2.png') #Selects the file to be used
img = cv.resize(img,None,fx=3, fy=3, interpolation = cv.INTER_CUBIC) #This resized the window
if img is None: #Checks if there is a file
sys.exit("The image could not be... | [
"noreply@github.com"
] | dylansidney25.noreply@github.com |
5d301c3d4a4175d621b5d2c952a421bcdec1afd2 | 8683b28b47acceb6fc7677dcea3248a926fb95dd | /cities/views.py | 66bc591e3bb5cd2b59f0018e82f5e910ccdf6d71 | [] | no_license | pavhrablis/find_routes | e2463714a94ee90411634934064cd56402d247ce | 228cdef0c553bab9f4c1328c3263209c974b8c57 | refs/heads/master | 2023-02-17T18:22:00.505675 | 2021-01-21T10:39:23 | 2021-01-21T10:39:23 | 330,508,849 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,211 | py | from django.contrib import messages
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib.messages.views import SuccessMessageMixin
from django.core.paginator import Paginator
from django.shortcuts import render, get_object_or_404
from django.urls import reverse_lazy
from django.views.generic im... | [
"palik1hrablis@gmail.com"
] | palik1hrablis@gmail.com |
45d758380acbf60b955a49e002bc95f70394a173 | d919fff21345c9553bd3095f639a8049be53c3d6 | /OrderPizza/migrations/0004_subtoppings.py | efb945020d66d556e8ae6ac99e546a4aca2c0f70 | [] | no_license | parathan/Pizza-Place | 36ae461e828c1191db9829cd5d870b820236acde | 56511f02df5d28196422f85f25a8230e3e730713 | refs/heads/master | 2022-07-24T20:40:26.603536 | 2020-05-23T16:24:36 | 2020-05-23T16:24:36 | 263,726,742 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 784 | py | # Generated by Django 3.0.6 on 2020-05-15 02:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('OrderPizza', '0003_auto_20200514_2114'),
]
operations = [
migrations.CreateModel(
name='SubToppings',
fields=[
... | [
"parathan243@gmail.com"
] | parathan243@gmail.com |
69f0025f1980926d00241e4f3d009bc18b75f4f2 | dfca79dd44910df779eb33a5e9a5d2d6689eb23a | /gifs/migrations/0002_auto_20180818_2349.py | 993068e30a6674542c51f747984712ea60a1ad58 | [] | no_license | madevelascom/topgifs | 193094961fbdbc2773fa03cda1d0eade8e81b4dc | 94bfdc20eebda746f70148c0318f6ab23f31bbf6 | refs/heads/master | 2020-03-26T19:40:03.405553 | 2018-08-23T07:39:09 | 2018-08-23T07:39:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 830 | py | # Generated by Django 2.1 on 2018-08-19 04:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('gifs', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='gif',
name='contador',
field=mod... | [
"m_velasco93@hotmail.com"
] | m_velasco93@hotmail.com |
1bbf137aa6b4ac31b07c38f1907aa7110050b58e | 045385ba95f62658d15688e7dade4e7e618ebb08 | /report.py | c7c92504a04ca5fc40db5f9ceb120fc9823c7131 | [] | no_license | tarunbodapati/player.py | eb04739737223ed0e185f6cf62389a444e61875f | 97587573587dfec1a3b3f75b41bcb4cb4f3f741d | refs/heads/master | 2020-06-21T05:33:25.378068 | 2020-02-25T10:00:16 | 2020-02-25T10:00:16 | 197,356,916 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,250 | py | A NOVELL APPROACH FOR DETECTION OF LUNG TUMOUR
Abstract:
Delineation of lung tumor from adjacent tissue from different computed tomography images (CT) creates many difficulties due to the similarities in images.... | [
"noreply@github.com"
] | tarunbodapati.noreply@github.com |
739b69b48836c90b0897da6f89d31fa83298ca3a | ca683bdfd7e3a02056965f8f5452daa232455fe2 | /users/admin.py | e38ab5c53af47e20d9c8940e891f0af9da8c269a | [] | no_license | GuillermoRuizDev/DJango_RedSocial | 63e890b6ceae20ef78b382ab80850f94902ee67f | 19e77b3a2c924fec516426565843c87a6c3dc638 | refs/heads/main | 2023-06-27T00:21:13.059760 | 2021-08-01T12:17:46 | 2021-08-01T12:17:46 | 378,261,983 | 0 | 0 | null | 2021-07-26T09:05:02 | 2021-06-18T20:49:17 | Python | UTF-8 | Python | false | false | 1,964 | py | """ Admin Users classes. """
#Django
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
#Models
from django.contrib.auth.models import User
from users.models import Profile
from posts.models import Post
# Register your models here.
#admin.site.register(Profile)
@admin.... | [
"gui.ruiz.alvarado@gmail.com"
] | gui.ruiz.alvarado@gmail.com |
be01e83be789080320012167b97227cca786a513 | 2488718297e47d726471f5aafb76369390912d5a | /Medicine predictor for The disease.py | 10ca4508a428e2c16874fae6221bb2084fe751b6 | [] | no_license | HarshaVardhanReddy18/HOUSE-MD | 9c9f887cdea34cf285e546ee01c9e60539bc2e6c | 659340a672ec9a89040ec614b8204b58c732339c | refs/heads/master | 2022-12-19T18:40:59.666603 | 2020-10-09T17:22:02 | 2020-10-09T17:22:02 | 296,778,441 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,423 | py | # -*- coding: utf-8 -*-
"""
Created on Sat Sep 19 12:26:24 2020
@author: shaur
"""
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import os
os.chdir("D:\data sets")
dataset = pd.read_csv('web_sacrapped.csv', delimiter = ',', quoting = 3)
a=dataset.iloc[:,:2]
x=a.iloc[:,:1]
... | [
"noreply@github.com"
] | HarshaVardhanReddy18.noreply@github.com |
45f343096530fa01c5f2708f14403031fa6baa1f | 5332fef91e044555e605bb37cbef7c4afeaaadb0 | /hy-data-analysis-with-python-2020/part06-e07_binding_sites/src/binding_sites.py | 6baad43f425d059dd9d258e457e1d88a1b708b0e | [] | no_license | nopomi/hy-data-analysis-python-2019 | f3baa96bbe9b6ee7f0b3e6f6b8b0f3adfc3b6cc8 | 464685cb377cfdeee890a008fbfbd9ed6e3bcfd0 | refs/heads/master | 2021-07-10T16:16:56.592448 | 2020-08-16T18:27:38 | 2020-08-16T18:27:38 | 185,044,621 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,379 | py | #!/usr/bin/env python3
import pandas as pd
import numpy as np
import scipy
from sklearn.cluster import AgglomerativeClustering
from sklearn.metrics import accuracy_score
from sklearn.metrics import pairwise_distances
from matplotlib import pyplot as plt
import seaborn as sns
sns.set(color_codes=True)
import scipy.sp... | [
"miska.noponen@gmail.com"
] | miska.noponen@gmail.com |
2ee2ccec5dbf7843302c65bae409bb7fdcc29b2a | 09e57dd1374713f06b70d7b37a580130d9bbab0d | /benchmark/startQiskit_noisy3325.py | ba3c7f7f745af20e6283d8398fd4aeb577461651 | [
"BSD-3-Clause"
] | permissive | UCLA-SEAL/QDiff | ad53650034897abb5941e74539e3aee8edb600ab | d968cbc47fe926b7f88b4adf10490f1edd6f8819 | refs/heads/main | 2023-08-05T04:52:24.961998 | 2021-09-19T02:56:16 | 2021-09-19T02:56:16 | 405,159,939 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,323 | py | # qubit number=4
# total number=44
import cirq
import qiskit
from qiskit.providers.aer import QasmSimulator
from qiskit.test.mock import FakeVigo
from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister
from qiskit import BasicAer, execute, transpile
from pprint import pprint
from qiskit.test.mock import ... | [
"wangjiyuan123@yeah.net"
] | wangjiyuan123@yeah.net |
deaa0857f040e4558c3a3aa27b0b1ff32bf995cc | 487ce91881032c1de16e35ed8bc187d6034205f7 | /codes/CodeJamCrawler/CJ_16_1/16_1_3_ka_ya_c.py | 7735ad455887347c1c5a1e4c3582e3531bafa93a | [] | no_license | DaHuO/Supergraph | 9cd26d8c5a081803015d93cf5f2674009e92ef7e | c88059dc66297af577ad2b8afa4e0ac0ad622915 | refs/heads/master | 2021-06-14T16:07:52.405091 | 2016-08-21T13:39:13 | 2016-08-21T13:39:13 | 49,829,508 | 2 | 0 | null | 2021-03-19T21:55:46 | 2016-01-17T18:23:00 | Python | UTF-8 | Python | false | false | 1,141 | py | def solve(n, fs):
fs = [f-1 for f in fs]
lp = [None for p in xrange(n)]
for i in xrange(n):
chk = [False for p in xrange(n)]
p = i
cnt = 0
while not chk[p] and not lp[p]:
chk[p] = True
p = fs[p]
cnt += 1
if p == i:
... | [
"[dhuo@tcd.ie]"
] | [dhuo@tcd.ie] |
e9bdcafd637d894057834d086307fedfa9f62b56 | 17a1529d0403a8f2b5b1080305a0b61de61c1477 | /api/radiam/api/tests/permissionstests/datasetdatacollectionmethodpermissionstests.py | 0617cc4fd8c24ef85695bc483c62d91b49779f31 | [
"MIT"
] | permissive | usask-rc/radiam | 903dc6f21d17e371141a642d94e877ec993c3a66 | 6db6794fd1811b316dee6f6661986e027d8a594b | refs/heads/master | 2022-05-15T07:48:48.183526 | 2022-04-19T15:01:48 | 2022-04-19T15:01:48 | 237,302,758 | 2 | 1 | MIT | 2022-04-19T14:58:27 | 2020-01-30T20:48:56 | Python | UTF-8 | Python | false | false | 14,941 | py | import json
from rest_framework.test import APITestCase
from rest_framework.test import APIRequestFactory
from rest_framework.test import force_authenticate
from django.urls import reverse
from radiam.api.models import (
User, Dataset, DataCollectionMethod, DatasetDataCollectionMethod
)
from radiam.api.views imp... | [
"todd.trann@usask.ca"
] | todd.trann@usask.ca |
9646ac4cc55d9a5e30e41d7546f3ca1df7b888f9 | f0d9ba8456cdad2b2fa711fa8975b41da7af1784 | /worms/tests/__init__.py | 2b9503765bab2d60bb03f655ddf70c5209239ab5 | [
"Apache-2.0"
] | permissive | willsheffler/worms | f1d893d4f06b421abdd4d1e526b43c2e132e19a2 | 27993e33a43474d647ecd8277b210d4206858f0b | refs/heads/master | 2023-04-08T01:18:33.656774 | 2022-06-09T20:04:55 | 2022-06-09T20:04:55 | 118,678,808 | 6 | 5 | NOASSERTION | 2021-10-05T22:28:24 | 2018-01-23T22:30:45 | Python | UTF-8 | Python | false | false | 670 | py | # -*- coding: utf-8 -*-
"""Unit test package for worms."""
import os
import pytest
try:
import pyrosetta
HAVE_PYROSETTA = True
only_if_pyrosetta = lambda x: x
try:
import pyrosetta.distributed
HAVE_PYROSETTA_DISTRIBUTED = True
only_if_pyrosetta_distributed = lambda x: x
except Impor... | [
"willsheffler@gmail.com"
] | willsheffler@gmail.com |
100bda6658216fe7f659d6bfc212e9f3abf66c93 | 40b407afc90402e8374f44a504c286c962f72f76 | /run.py | 763bbea9b9844c06c4c16006597f6ee15e168b7d | [] | no_license | ThatTechGuy/RF-DCA | bce60ca5de196fa4408ff229cefb01b1ec06746b | ccfd25f6e51515ed47127f95c3dc7ac61f5e1c4c | refs/heads/master | 2021-01-17T20:02:40.371378 | 2016-05-07T14:59:02 | 2016-05-07T14:59:02 | 45,054,350 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 62 | py | from dca import app
if __name__ == '__main__':
app.run()
| [
"rmartin@fullsail.edu"
] | rmartin@fullsail.edu |
608b82ddbdfb60e287c7eefdc12c1720cb30fdaf | 497ead1ee1e09a2530aa771ae059989e341684d7 | /python/cuml/tests/test_preprocessing.py | 5f571d8fd3b65acdba8035c0565dded708eeb5ec | [
"Apache-2.0"
] | permissive | xieliaing/cuml | 193f5753696bbfd4de8e3eaef919c18da2fd1d1a | 78092ddde28d5a810e45d6186f049c1309121408 | refs/heads/master | 2022-11-10T16:45:38.818055 | 2022-11-03T23:12:07 | 2022-11-03T23:12:07 | 159,592,316 | 0 | 0 | Apache-2.0 | 2018-11-29T01:59:07 | 2018-11-29T01:59:07 | null | UTF-8 | Python | false | false | 36,389 | py | # Copyright (c) 2020-2022, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | [
"noreply@github.com"
] | xieliaing.noreply@github.com |
e25fd776db4cf8dfcdb7f6e854d3db92deb6dbc6 | 00da73f35308b860ef9a3c6eb6cdaf8c89608f57 | /deps/requests/adapters.py | cdaabdbee6f16c829f051891b4fe6ff7b718df96 | [
"MIT"
] | permissive | kylebebak/Requester | 32abf8a56ba0e9e42fdd25b13ce48d40a87f20e0 | 7f177bc417c45fd1792c6020543a4c6909e3ea21 | refs/heads/master | 2022-07-17T11:09:30.238568 | 2022-05-05T17:31:48 | 2022-05-05T17:38:56 | 89,746,594 | 333 | 16 | MIT | 2021-02-23T14:43:12 | 2017-04-28T21:37:08 | Python | UTF-8 | Python | false | false | 20,880 | py | # -*- coding: utf-8 -*-
"""
requests.adapters
~~~~~~~~~~~~~~~~~
This module contains the transport adapters that Requests uses to define
and maintain connections.
"""
import os.path
import socket
from urllib3.poolmanager import PoolManager, proxy_from_url
from urllib3.response import HTTPResponse
from urllib3.util ... | [
"kylebebak@gmail.com"
] | kylebebak@gmail.com |
705b762aac98d0ee84e4cbc313bdf63e847cf8f6 | 79b2b24205f17ade5b41f3df5bd0869b87b3fa1e | /xfrmer.py | 659d75702950f2f0104abd94f46b802ffa978ae5 | [] | no_license | metrologist/Current-Transformer-Scale | 3539d129c31934053e286c621cf71748a5d00ee4 | 004987f058796de19cbc2efbed8ae305c1b74f5b | refs/heads/master | 2020-05-07T21:45:48.044136 | 2019-04-12T02:49:19 | 2019-04-12T02:49:19 | 180,917,454 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,867 | py | from __future__ import division
from __future__ import print_function
class TRANSFORMER(object):
"""
The TRANSFORMER class captures the essential structure of a transformer. It is specifically constructed for use
with MSL's two-stage primary reference current transformers. These transformers have a... | [
"noreply@github.com"
] | metrologist.noreply@github.com |
419c0aaf771b74098121ba21ec364f0ae708f144 | a672f92dba39ce7cab2bf6ce3276ee06ff20b3be | /classification/util.py | b8cb62de26385e36f144c3a59e5d6378b687ea07 | [
"MIT"
] | permissive | BobbyZhouZijian/AI-Algo-Implmentations | 6af10a23276492d735686aeacdfa29257d406295 | 5592d3c358cc1611a1bde61797b93c0d6eee10c6 | refs/heads/main | 2023-08-05T06:37:04.027003 | 2021-09-30T05:30:31 | 2021-09-30T05:30:31 | 370,375,438 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,164 | py | import pandas as pd
import numpy as np
import math
def get_input_label_split(train_data, label_name=None):
if label_name == None:
train = train_data.iloc[:,:].to_numpy()
return train
y = train_data[label_name].to_numpy()
train = train_data.drop(columns=[label_name])
train = train.iloc[:... | [
"zephyroszhou@gmail.com"
] | zephyroszhou@gmail.com |
b9e1f9a4e83ce496a09c5efd5b204b28738b2214 | 4ab9b679881e80b1e277d4d08840e5e62cc91c5a | /learngh/settings/base.py | cd75583de0fc19fa427def4322f4fe2022f693e3 | [] | no_license | agbekofrank/learnghb | 8987fd4c543a85752c03f473124e8ca82b959545 | a43560a18d807aae3d3f507b4f37f07e6e889852 | refs/heads/main | 2023-07-22T19:06:07.654386 | 2021-08-28T01:39:15 | 2021-08-28T01:39:15 | 400,674,147 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,148 | py |
import os
import dotenv
from datetime import timedelta
# import django_heroku
# import dj_database_url
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# Quick-start development settings - unsuitable for ... | [
"frank.agbeko@amalitech.org"
] | frank.agbeko@amalitech.org |
c694bd620048754305caaa671e59cd8415f16dab | 077e1d088b31e8858e6f2d7f855e18d9a7a0ac09 | /creditManage/views.py | 753f8c72207ffeb123a0ec7552b56cb4b619ded3 | [] | no_license | sagatachatterjee/Credit-Management | 9382a16cf4c10269a2d5f882d880c2647f40b5a4 | 6a7b57222f2e2f3b9891ce418cb325d420d64533 | refs/heads/master | 2020-05-03T11:41:21.998242 | 2019-03-21T09:37:53 | 2019-03-21T09:37:53 | 178,606,533 | 1 | 0 | null | 2019-03-30T20:11:25 | 2019-03-30T20:11:25 | null | UTF-8 | Python | false | false | 2,100 | py | from django.shortcuts import render
from django.http import HttpResponse
from django.contrib.auth.models import User
from .models import user_detail,transaction
from django.views.decorators.csrf import csrf_exempt
# Create your views here.
ids=0
def index(request):
return render(request,'creditManage/index.htm... | [
"noreply@github.com"
] | sagatachatterjee.noreply@github.com |
440528b10e009c56ce24ed669064d788fd80bd40 | 5e6a21328057f91d489319533e1927b8107b9e0c | /Tests/test_mixture.py | 92eabbb87afe89edf29f0e699e6b252eaf5bcab2 | [
"BSD-3-Clause"
] | permissive | murrayrm/BioCRNPyler | d84437326742a04ac508a7e068c19a8c8816d7d7 | 2e7d4c521b1ebdf7cff6867b25cbee014e0ee1a3 | refs/heads/master | 2020-07-05T10:12:56.382470 | 2020-04-23T20:03:01 | 2020-04-23T20:03:01 | 202,620,151 | 1 | 0 | BSD-3-Clause | 2019-08-15T22:35:16 | 2019-08-15T22:35:16 | null | UTF-8 | Python | false | false | 3,540 | py | # Copyright (c) 2019, Build-A-Cell. All rights reserved.
# See LICENSE file in the project root directory for details.
from unittest import TestCase
class TestMixture(TestCase):
def test_add_species(self):
from biocrnpyler import Mixture
from biocrnpyler import Species
species = Speci... | [
"zoltuz@gmail.com"
] | zoltuz@gmail.com |
383fb7131e139dd7887a2437e60848af1d58580f | 70add60ba088146dd4984d232c6a7136f3f57765 | /hack/gopath_from_workspace.py | cd64f6b3532712864f3d8896b95453fbe8b4447d | [
"Apache-2.0"
] | permissive | ericchiang/cluster-registry | 1983a213ede3e23cd2ea3565912787ba706fbe49 | 3551dbcb0da06364fc8c0c1e9c3f1c9230d9f537 | refs/heads/master | 2021-03-30T17:12:13.950798 | 2017-10-20T20:06:49 | 2017-10-23T22:34:44 | 108,303,248 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,338 | py | #!/usr/bin/env python
# Copyright 2017 The Kubernetes 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 appli... | [
"dvorakviolinist@gmail.com"
] | dvorakviolinist@gmail.com |
b48acca645c875be946e114f798a9563f27d31d1 | e56e7d398376e575d0b42fa36070f071277fae75 | /blog/models.py | 547c946c1179a5983e2a2428333286dd1a097a47 | [] | no_license | AdebambiComfort/My-Blog | 00ef8cce812a941c58483b1f9d01afe9b4067f72 | bd504390c983eed2ce7f308e9e00b6bcc676bf5c | refs/heads/master | 2020-07-01T04:27:36.641489 | 2019-08-07T13:14:32 | 2019-08-07T13:14:32 | 201,048,214 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 484 | py | from django.db import models
from django.utils import timezone
class Post(models.Model):
author = models.ForeignKey('auth.User', on_delete=models.CASCADE)
title = models.CharField(max_length=200)
text = models.TextField()
created_date = models.DateTimeField(
default=timezone.now)
published_date = mode... | [
"olatundecomfort94@gmail.com"
] | olatundecomfort94@gmail.com |
410f0bef7e07bb907331e8704631f93f9140cc98 | edfc985df440d4f5fee3ebbf6a52dfd70baa06e4 | /Funktiot/average.py | 859e2faeca5e0127ba8a1d6ee43c9385377a97a6 | [] | no_license | Sanbu94/Python-kurssi2021 | 9fe5e832b1268a89b2fc9efcaa7062ad307163d4 | e8d5deb7b03eb6f15b5f846d899f221bd5568efe | refs/heads/master | 2023-04-19T04:22:23.281939 | 2021-03-25T15:14:31 | 2021-03-25T15:14:31 | 331,665,015 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 460 | py | numbers = [1,2,3,4,5]
sum = 0
for number in numbers:
sum -= number
average = sum / len(numbers)
print(average)
print("\n")
numbers = [9,8,7,6,5]
sum = 0
for number in numbers:
sum -= number
average = sum / len(numbers)
print(average)
#Funktio määritetään def-avainsanalla. Funktio input (parametrit) määri... | [
"Seppälä"
] | Seppälä |
f81d9c26faead21f3a35dec21c9bbdcb0bf3d125 | 7d887c7faca559007eb2000cc5663267db70407d | /Intern Project/Importing Data AMFI/Importing data from API MF.py | 9c9947a7901fd7553663c063a12c776f592ab305 | [] | no_license | yuanmimi/Intern-V2 | b67175850273fe51036656cf33612a6e7b461ab3 | a167003121649f9f5bfd8fb5a3d6143ed70ac27c | refs/heads/master | 2020-07-03T10:47:08.886698 | 2018-05-03T13:01:18 | 2018-05-03T13:01:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,262 | py | # -*- coding: utf-8 -*-
"""
Created on Thu Apr 19 11:47:20 2018
@author: ashwin.monpur
"""
import requests
import pandas as pd
#from pymongo import MongoClient
from bs4 import BeautifulSoup
conn = MongoClient()['mf']
from sqlalchemy import create_engine
engine = create_engine("mysql://neel:pass@123@loc... | [
"noreply@github.com"
] | yuanmimi.noreply@github.com |
297467e64e5b45612d4fe55253b3388b8442f79f | 770d4df866b9e66a333f3ffeacdd659b8553923a | /results/0193/config.py | fbbe800c6116da5429a209d219fc7846de53d1e2 | [] | no_license | leojo/ResultsOverview | b2062244cbd81bc06b99963ae9b1695fa9718f90 | a396abc7a5b4ab257150c0d37c40b646ebb13fcf | refs/heads/master | 2020-03-20T19:52:37.217926 | 2018-08-05T12:50:27 | 2018-08-05T12:50:27 | 137,656,327 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,322 | py | import os
import numpy as np
import waveUtils
class config(object):
def __init__(self):
self.prepare_data()
# Bsub arguments
bsub_mainfile = "main.py"
bsub_processors = 4
bsub_timeout = "4:00"
bsub_memory = 8000
# Epoch and batch config
batch_size = 128
latent_dim = 100
epochs = 100
epoch_updates = 10... | [
"leojohannsson91@gmail.com"
] | leojohannsson91@gmail.com |
8324ea9c3819e8342075531c35de89cf7e1ffaae | 41495ab6e6e646866d8fb26af504214384fa18f6 | /cloud_scheduler/filters/disk_filter.py | bbdb1c65b8c8256add7e8be0f0425efb5f8190a1 | [] | no_license | glfpes/cloud_scheduler | 8760c0c3be9e537ae2ce040f5fdffd18e8920c0a | 09d9a58a9c23f0794098381e4a9e38336fc69d90 | refs/heads/master | 2021-01-19T00:06:37.698895 | 2016-06-07T09:28:23 | 2016-06-07T09:28:23 | 54,368,918 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 339 | py |
from cloud_scheduler import filters
class DiskFilter(filters.BaseCloudFilter):
def cloud_passes(self, cloud_state, filter_properties):
disk_limit_gb = filter_properties['disk_gb']
return cloud_state['disk_gb'] >= disk_limit_gb
@staticmethod
def get_mark(self):
return '... | [
"glfpes@gmail.com"
] | glfpes@gmail.com |
59df0d23f042d14bf354f6eaf802191e9da2833e | 3976b7564bae6867fefeaeca8c2f600251c9d3f5 | /aquacrop/classes.py | 340cbfc869e5839549d58d5c5b10088f75cd79ce | [
"Apache-2.0"
] | permissive | LLatyki/aquacrop | 9391aadb44c847f0c0d363b410846e122399be62 | 0382df63c126bec2754ac7ee3e8b4ef2816d8c0d | refs/heads/master | 2023-03-20T01:14:20.275605 | 2021-03-02T10:43:45 | 2021-03-02T10:43:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 60,333 | py | # AUTOGENERATED! DO NOT EDIT! File to edit: nbs/04_classes.ipynb (unless otherwise specified).
__all__ = ['ClockStructClass', 'OutputClass', 'ParamStructClass', 'SoilClass', 'CropClass', 'IrrMngtClass',
'IrrMngtStruct', 'spec', 'FieldMngtClass', 'FieldMngtStruct', 'spec', 'GwClass', 'InitWCClass', 'CropStru... | [
"tomk10tk@gmail.com"
] | tomk10tk@gmail.com |
661cac8acf0eadfcb8a1d63605e97bdbdb2e9740 | 2652fd6261631794535589427a384693365a585e | /trunk/workspace/Squish/src/TestScript/UI/suite_UI_62/tst_UI_62_Cellular_design/test.py | 4b116d08c137cfe84f4e37aea4edc7de3cf116e4 | [] | no_license | ptqatester1/ptqa | 88c652380167f64a953bfd7a65041e7d8ac48c90 | 5b5997ea459e9aac17db8da2041e2af331927104 | refs/heads/master | 2021-01-21T19:06:49.275364 | 2017-06-19T03:15:00 | 2017-06-19T03:15:00 | 92,115,462 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,323 | py | ######################
#Author: Alex Leung ##
######################
from API.Utility import UtilConst
from API.Utility.Util import Util
from API.ComponentBox import ComponentBoxConst
from API.Device.EndDevice.PC.PC import PC
from API.Device.CellTower.CellTower import CellTower
from API.Device.COServer.COServer import... | [
"ptqatester1@gmail.com"
] | ptqatester1@gmail.com |
a270947c1b4f962a0d9e5be8ec990bbefd2b4a32 | 3a39ddc4a8600ffc5110453867370c1d8e2da121 | /x11-libs/libXcomposite/libXcomposite-0.4.3.py | 8ce4b041dc0124e9f86b8c9c3514052f3dd809a7 | [] | no_license | seqizz/hadron64 | f2276133786c62f490bdc0cbb6801491c788520f | ca6ef5df3972b925f38e3666ccdc20f2d0bfe87e | refs/heads/master | 2021-01-18T04:53:09.597388 | 2013-02-25T21:25:32 | 2013-02-25T21:25:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 468 | py | metadata = """
summary @ X11 Composite extension library
homepage @ http://xorg.freedesktop.org/
license @ MIT
src_url @ http://xorg.freedesktop.org/releases/individual/lib/libXcomposite-$version.tar.bz2
arch @ ~x86
"""
depends = """
runtime @ x11-libs/libXfixes x11-proto/compositeproto
"""
#srcdir = "libXcomposite-%... | [
"bburaksezer@gmail.com"
] | bburaksezer@gmail.com |
3f61ca63f7dff361e526f2cf6d6398aa22d96de4 | 398815d5f6afc295a09badb4ea12f4911aaf39ba | /flasky/migrations/versions/f4efa5ae67c7_.py | 46d8ea1f5ec1fa3f06925c65221bb3646cf3138e | [] | no_license | mookrs/laboratory | 920cc92e116a26d632ec3e8d79438bdd80c4595c | 797191caaf4b15b8e87ec7bc103e25c7244c6b05 | refs/heads/master | 2021-01-17T01:57:10.123565 | 2018-10-02T09:55:51 | 2018-10-02T09:55:51 | 31,777,780 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,011 | py | """empty message
Revision ID: f4efa5ae67c7
Revises: f4fb3aa6b327
Create Date: 2016-08-19 11:11:31.888282
"""
# revision identifiers, used by Alembic.
revision = 'f4efa5ae67c7'
down_revision = 'f4fb3aa6b327'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - ... | [
"mookrs@gmail.com"
] | mookrs@gmail.com |
d850a1c802074e8537dcabef5abf6157fab5c3a0 | db5e84b22b184242b406bb689b84dba4813b179d | /package_example/example_package/__init__.py | ea725f6c05a849f2cdf0a9597195459448fe1733 | [] | no_license | ErikBjare/python-examples | 46b23629d380efe94ae965256083060f616031c1 | 0f030392bfdf17b93dd14844cb5c35c09f6e8840 | refs/heads/master | 2021-01-16T18:19:14.676416 | 2015-05-08T11:28:40 | 2015-05-08T11:28:40 | 35,238,187 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 279 | py | # If you want to import all variables in the functions.py file directly into the example_package namespace, use this
from .functions import *
# If you want to import the functions.py file into it's own sub-namespace (example_package.functions), use this
from . import functions
| [
"erik.bjareholt@gmail.com"
] | erik.bjareholt@gmail.com |
fe1fc30924e2f2f7aaddfc9e65cfe82ff258f58f | b27f5bff09fab83d2a5970034cd2c2351a8346f2 | /outsource/migrations/0007_auto_20170726_1838.py | 37c8a92c36f8a3c4cf274b86c7bb7e7850228f05 | [] | no_license | cafemoa/takeit_server | 079b4561c1c970a6fa5f508a54fb84d6c8d63610 | fa674ae25d8eb3671f2f73ef43fee7744d257814 | refs/heads/master | 2022-12-10T20:41:17.716496 | 2019-01-14T17:47:50 | 2019-01-14T17:47:50 | 100,565,936 | 1 | 0 | null | 2022-11-22T01:45:43 | 2017-08-17T05:44:01 | JavaScript | UTF-8 | Python | false | false | 592 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-07-26 09:38
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('outsource', '0006_mydevice... | [
"canon0115@naver.com"
] | canon0115@naver.com |
3ce8513dc49bbd7f39174d24d24c9ef059686e0d | 805fe894bbe1d4072a2b083c4d874d0566cd69d0 | /woocommerce.py | 36e1aeb5ac57b29aa5754c1182b1e8941922b6c0 | [] | no_license | Popss2701/Lite | dce6d354008d69c37f2fb20689315a5356f8b0a9 | 817a322bdcca80bc1f9ce0b25e3aa6dd97e70007 | refs/heads/master | 2023-03-27T11:46:55.768279 | 2021-03-23T18:48:37 | 2021-03-23T18:48:37 | 290,103,787 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 271,230 | py | import copy
import csv
import re
from collections import defaultdict
from urllib.parse import unquote
import phpserialize
import chardet
from cartmigration.libs.utils import *
from cartmigration.models.cart.wordpress import LeCartWordpress
# tested with woocommerce335
class LeCartWoocommerce(LeCartWordpress):
WARNI... | [
"noreply@github.com"
] | Popss2701.noreply@github.com |
59534247ee1449496330021da54fc527d05a14e3 | 34a043e6961639657e36e7ac9fd459ad5b1f6de1 | /openpathsampling/experimental/storage/test_mdtraj_json.py | f3c57c4ad31a103b69866649884b52ccf8542b6a | [
"MIT"
] | permissive | dwhswenson/openpathsampling | edaddc91e443e7ffc518e3a06c99fc920ad9d053 | 3d02df4ccdeb6d62030a28e371a6b4ea9aaee5fe | refs/heads/master | 2023-02-04T12:31:17.381582 | 2023-01-30T21:17:01 | 2023-01-30T21:17:01 | 23,991,437 | 3 | 1 | MIT | 2022-08-12T17:48:04 | 2014-09-13T10:15:43 | Python | UTF-8 | Python | false | false | 2,273 | py | from .mdtraj_json import *
import pytest
import numpy as np
import numpy.testing as npt
from ..simstore.custom_json import bytes_codec, numpy_codec, custom_json_factory
from ..simstore.test_custom_json import CustomJSONCodingTest
from openpathsampling.tests.test_helpers import data_filename
class MDTrajCodingTest(C... | [
"dwhs@hyperblazer.net"
] | dwhs@hyperblazer.net |
3493381777ce41dcb975ad7f011e2b61b299f283 | 69d0deb5921edc82eea0ae184db99b87a0ca6900 | /catkin_ws/build/srrg2_solver_calib_addons/catkin_generated/pkg.installspace.context.pc.py | f987c6cfb6f21976c245dc0a57e1233ba5d4bbf7 | [
"MIT"
] | permissive | laaners/progetto-labiagi_pick_e_delivery | 8d4006e206cd15b90b7e2291876c2b201e314621 | 3453bfbc1dd7562c78ba06c0f79b069b0a952c0e | refs/heads/main | 2023-08-19T00:17:51.491475 | 2021-09-16T16:35:45 | 2021-09-16T16:35:45 | 409,192,385 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 519 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include".split(';') if "${prefix}/include" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-lsrrg2_solver_calib_utils_library".split(';') if "-... | [
"hu.183947@studenti.uniroma1.it"
] | hu.183947@studenti.uniroma1.it |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.