Saravanan666/pypi-org huggingface dataset:
Package: deb-parse
Deb-ParseA simple parser forDebian control file formats.Once initialized, it exposes three attributes with information from the input Control File, and one method to export the information to a JSON file.A CLI functionality may be added later.InstallationInstall usingpip:$pipinstall--userdeb-parseUsageImport it in your projectfromdeb_parse.parserimportParserInitialze it with a valid Control File path or a string that follows the schema:my_parser=Parse("/var/lib/dpkg/status")Note:ATypeErroris raised if the input is notstrNote:AValueErroris raised if the input string or path don't follow the schemaIf everything goes well,my_parserwill now have three accessible attributes:my_parser.pkg_namesoutputs alistof package names in the inputmy_parser.raw_pkg_infooutputs alistof rawdictobjects as seen in inputmy_parser.clean_pkg_infooutputs alistof cleaned updictobjects with more useful informationExamples:print(my_parser.pkg_names)['libws-commons-util-java','python-pkg-resources','tcpd',...]print(my_parser.raw_pkg_info)[{'name':'libws-commons-util-java','details':{'status':'install ok installed','priority':'optional','section':'java','installed-size':'101','maintainer':'Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>','architecture':'all','version':'1.0.1-7','description':'Common utilities from the Apache Web Services Project\nThis is a small collection of utility classes, that allow high\nperformance XML processing based on SAX.','original-maintainer':'Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>','homepage':'http://ws.apache.org/commons/util/'}},...]print(my_parser.clean_pkg_info)[{'name':'libws-commons-util-java','details':{'version':'1.0.1-7','synopsis':'Common utilities from the Apache Web Services Project','description':'This is a small collection of utility classes, that allow high\nperformance XML processing based on SAX.','depends':None,'alt_depends':None,'reverse_depends':None}},...]If you want, you can also dump the parsed information in a JSON file using.to_json_file():Attributes:outfile=str, default:'./datastore/dpkgs.json'names_only=bool, default:False(ifTrueoutputs list of names and cancelsrawoption)raw=bool, default:False(ifTrueoutputs raw parse)If both options areFalse, JSON will be based on clean package informationDevelopmentFor working ondeb-parse, you will need Python >= 3.7 andpipenvinstalled. Configurepipenvto create its.venvin the current folder if you want to use the VS-Code settings. With these installed, run the following command to create a virtualenv for the project and fetch the dependencies:$pipenvinstall--dev
...Next, activate the virtual environment and get to work:$pipenvshell
...(deb-parse)$
Package: debpkgr
debpkgrPure Python implementation of Debian/Ubuntu packaging and repository utilities.The allows one to perform various Debian-specific operations on
non-Debian systems, in the absence of typical system-provided
utilities (e.g. apt).ExampleInspect Packagefromdebpkgr.debpkgimportDebPkgpkg=DebPkg.from_file('/path/to/foo.deb')print(pkg.name)print(pkg.nevra)print(pkg.md5sum)print(pkg.package)Create Repofromdebpkgr.aptrepoimportcreate_reponame='test_repo_foo'arches=['amd64','i386']description='Apt repository for Test Repo Foo'files=[]forroot,_,flinos.walk(temp_dir):forfinfl:iff.endswith('.deb'):files.append(os.path.join(root,f))repo=create_repo(self.new_repo_dir,files,name=name,arches=arches,desc=description)Signature SupportIt is possible to sign the repository metadata using a wrapper script /
executable around GPG or another GPG-signing facility (like a [Hardware Security Module](https://en.wikipedia.org/wiki/Hardware_security_module).To do so, you will need to pass aSignOptionsobject to the lower-levelAptRepoclass as thegpg_sign_optionsargument:gpg_sign_options=SignOptions(cmd="/usr/local/bin/sign.sh",key_id="45BA0816")repo=AptRepo(repo_dir,repo_name,gpg_sign_options=gpg_sign_options)The supplied sign command has to be an executable.It will be supplied the path to aReleasefile to be signed, and is
expected to produce a file namedRelease.gpgin the same directory as theReleasefile.Additionally, the sign command will be passed the following environment
variables:GPG_CMDGPG_KEY_ID(if specified in the configuration file)GPG_REPOSITORY_NAMEGPG_DISTThe sign command may decide on a key ID to use, based on the repository name
or the dist that is being signed.A minimal sign command using GPG could be:#!/bin/bash -eKEYID=${GPG_KEY_ID:-45BA0816}gpg--homedir/var/lib/debpkgr/gpg-home\--detach-sign--default-key$KEYID\--armor--output${1}.gpg${1}You could import your password-less GPG keys like this:mkdir/var/lib/debpkgr/gpg-homechmod0700/var/lib/debpkgr/gpg-homegpg--homedir/var/lib/debpkgr/gpg-home--import<path-to-secret-keys>
Package: debrandom
debrandomA dum random number generator that always adds a prefix.. why, cus its broken!Local Development / TestingCreate and activate a virtual environmentRunpip install -r requirements-dev.txtto do an editable installRunpytestto run testsType CheckingRunmypy .Create and upload a package to PyPIMake sure to bump the version insetup.cfg.Then run the following commands:rm-rfbuilddist
pythonsetup.pysdistbdist_wheelThen upload it to PyPI usingtwine:twineuploaddist/*
Package: debrepo
About-----**debrepo** is a library for inspecting composes of Debian repositories andtheir elements, including package archives. It includes classes capable ofreading compose, repository, and package data from the filesystem, and methodsto compare the data between different versions. To this end, the:doc:`debrepodiff` tool provides a command line interface for comparingcomposes.Installation------------In the ``debrepo`` directory containing ``setup.py``, run:.. code:: shpython setup.py install
Package: debrfstats
debrfstats==========Debian RFS statistics software.This is a collection of scripts to generate statistics of a RFS queue in Debian.Look into main.py file for examples.# RequiresSOAPpy, dateutil, requests, and Python 2.7 :cry:.# How to useImports:```pythonfrom debrfstats.RFSStats import RFSStatsfrom debrfstats.get_done_date import get_done_datefrom datetime import date```Check done_date of bug:```pythonprint(get_done_date(657783))```Do not use cache:```pythonprint(get_done_date(759603, nocache=True))```Make some stats. First create an object - it can last, all RFS bugs are downloaded using SOAP.```pythonstats = RFSStats()```Calculate global MTTGS (from 2012-1-1 until now()):```pythonprint(stats.get_global_mttgs())```Calculate global MTTGS in range:```pythonprint(stats.get_global_mttgs(end=date(2014-1-1))print(stats.get_global_mttgs(start=date(2013-1-1), end=date(2014-1-1))```Get closed bugs on e.g. 2013-9-24:```pythonfor i in stats.get_closed_by_day(date(2013,9,24)):print(i)```Get range stats csv to stdout `date,open,done,opened,closed,mttgs`:```pythonfor i in stats.get_range_stats(date(2012,1,1), date.today()):print(i)```
Package: debseed
DebseedCreate ISO images to automate Debian installations, by appending apreseed fileto Debian official images.PrerequisitesThis application must be run on Linux and requirespython3,xorrisoandisolinux. Example on Debian:sudo apt install python3-pip xorriso isolinuxInstallationInstall the application usingpip:pip3 install debseedOr, if you wish to automatically publish the generated ISO files to a VMWare datastore, install the application with additional dependencies:pip3 install debseed[vmware]Usage examplesDownload latest Debian ISO file and generate a custom ISO file from it, using the generic edition:debseed updateGenerate a custom ISO file from a specific image and preseed file:debseed generate debian-11.5.0-amd64-netinst.iso path/to/preseed.cfgTo print full usage instructions, run:debseed --helpConfigurationConfiguration of Debseed is defined in the following files (by decreasing priority):local.confin current working directory~/.config/debseed/debseed.confin home directoryC:/ProgramData/debseed/debseed.conf(Windows) or/etc/debseed/debseed.conf(Linux)Configuration section[debseed]contains general-purpose application settings.Specific sets of generation parameters, callededitions, are configured in their own configuration section. For example, section nameddefaultis configured using configuration section[debseed:default].Seeexample.DevelopmentCreate Python virtual environment (example on a Debian workstation):python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip wheel
pip install -r requirements_all.txtRun commands:python -m debseed --helpClean repository:find.\(-name__pycache__-o-namebuild-o-namedist-o-name"*.egg-info"\)-not-path"./.venv/*"-execrm-rf{}\;Create Python redistribuable package:pip wheel --no-deps -w dist .Prepare Twine for package upload (if necessary):pipinstalltwine$env:REQUESTS_CA_BUNDLE="...ca-certificates.crt"Check package (in particular, verify version in file name):twine check dist/...Upload le paquet:twine upload --repository ...  dist/...TroubleshootingDisplay information about an ISO fileUsing commandisoinfofrom Debian packagegenisoimage:isoinfo -d -i path.isoExtract initial ramdiskcd debseed.tmp/...
mkdir extracted-initrd
cd  extracted-initrd
cpio -idm < ../initrdUpdate Debian signing GPG keygpg --keyserver hkp://keyring.debian.org:80 --keyserver-options http-proxy=http://... --recv-keys DF9B9C49EAA9298432589D76DA87E80D6294BE9B
gpg --output debseed/assets/debian-cd-signing.gpg --export DF9B9C49EAA9298432589D76DA87E80D6294BE9BCreate local NAT network 10.0.2.2/24 for Hyper-V VMsTo reproduces VirtualBox default networking, where10.0.2.2is the address of the host as seen from the VMs, configure an internal virtual switch in Hyper-V, using the following Powershell commands (with elevated privileges):New-VMSwitch-Name"10.0.2 Switch"-SwitchTypeInternal-Notes"For VMs in network 10.0.2.2/24"New-NetIPAddress-IPAddress10.0.2.2-PrefixLength24-InterfaceAlias"vEthernet (10.0.2 Switch)"Get-NetNat|?Name-Eq"10.0.2 Nat"|Remove-NetNat-Confirm:$FalseNew-NetNat-Name"10.0.2 Nat"-InternalIPInterfaceAddressPrefix10.0.2.0/24
Package: deb-subscription
deb_subscriptionIt's a tool for to add katello repositories to debian host and to register debian host to katello"This tool work with python2 or python3Tested with Python 2.7.13 and Python 3.5.3 on Debian 9Installation and Useapt update   
apt install -y apt-transport-https gnupg  
apt install python-pip 

# add to /etc/hosts
# <ip_katello> <fqdn_katello>

pip install deb-subscription   

deb_subscription --fqdn katello.domain.tld --organization ORG --location LOC --activation_key ACT_KEY --username admin --password xxxxxxxx
Package: debtcollector
DebtcollectorA collection of Python deprecation patterns and strategies that help you
collect your technical debt in a non-destructive manner. The goal of this
library is to provide well documented developer facing deprecation
patterns that start of with a basic set and can expand into a larger
set of patterns as time goes on. The desired output of these patterns
is to apply the warnings module to emit DeprecationWarning or PendingDeprecationWarning
or similar derivative to developers using libraries (or potentially
applications) about future deprecations.Free software: Apache licenseDocumentation:https://docs.openstack.org/debtcollector/latestSource:https://opendev.org/openstack/debtcollectorBugs:https://bugs.launchpad.net/debtcollectorRelease Notes:https://docs.openstack.org/releasenotes/debtcollector
Package: debts
A simple library and cli-tool to help you solve some debts settlement scenarios.InstallationFrom a command-line interface, run:$ pip install debtsFrom the command-lineYou can invoke the solver from the command-line. To do so, you need to pass it
the arguments in a specific way:$ debts --settle "Emeline -200, Alexis -400, Rémy +500, Alexis +100"
Emeline → Rémy: 200.0
Alexis → Rémy: 300.0You can also read from a JSON file:$ debts --settle data.json --parser=jsonAnd optionally render a HTML table with the results:$ debts --settle data.json --parser=json --renderer=html > index.htmlWhich should look like this:As a libraryIf you want to use it as a library, here is how it works:>>> from debts import settle
>>> settle([('Emeline', -200), ('Alexis', -400), ('Rémy', +500), ('Alexis', +100)])
[('Emeline', 200.0, 'Rémy'), ('Alexis', 300.0, 'Rémy')]That’s all folks!TestingEverything is tested and should work. If it doesn’t, please take the time to
open an issue here! Thanks :-)To run the tests yourself:$ pip install -e .
$ pip install -r dev-requirements.txt
$ py.test tests
Package: debu
debu© 2018 SiLeader.OverviewAutomatic deployment and build tool.You can use this package as normal python package and interpreter.Featuresexecute commandscopy filesexecute debu scriptdebu scriptFeaturesdisplay data (print and echo)execute commandscopy filesvariablescommentsdata typesnameexprmeaningstr"str"string typeint(hex)0xbeefhexadecimal integerint(dec)129decimal integerint(oct)0o127octal integerint(bin)0b101binary integerhostuser@host:port, user@hostSSH host namescript syntaxprint and echoprint "data"
echo "data"comments# comment
print "data" # commentcopy fileshost_source >> host_destination: copy /path/to/source /path/to/destinationexecute command# execute ls command in host
host: lsvariables# assign
var1 = "data"

# copy variable
var2 = var1

# use in host name
host = user@example.com
host: ls
Package: de-bucket-download
Springbuk DE S3 Bucket DownloadBucket Download is a python script to download an aws s3 bucket to expedite getting the files for a mappingInstalationUse the package managerpipto install foobar.pipinstallde_bucket_downloadUsageThe user must have the aws cli downloaded and configured successfully for this to work.
Only Those with acces to the springbuk aws s3 will be able to use this, and this will only
function to download the incoming folder of any specified bucket.$python-mdt
Whatisthebucketname?
userinputhere(example:name_mi_1)Inputdirectoryfordownload(blankforhere)userinputhereThis is a command line tool. In the command line the user can typedtto activate it.
This will prompt the user to enter the bucket name for their mapping.
Next, the user will be prompted to input the directory they would like the files downloaded.
Hitting enter with nothing written will default to the directory the user is currently in.
Package: debug-a
A股变化莫测，光靠一双眼睛、 四台显示器盯盘难免会有疏漏。如果能有个程序， 模拟人的盯盘动作，实时监控盘面变化， 一旦发现“异常变化”还能发送预警消息， 那就再好不过了。本项目的目标就是实现这样一个程序， 即实现A股交易时间自动盯盘， 检测到“异常情况”，实时发送通知预警。
Package: debugActivity
debugA浼樺寲android 鍒嗘瀽杩囩▼銆乴ldb璋冭瘯娴佺▼ , 闇瑕佹彁鍓嶉厤缃ソjava鍜宎db鐜锛屾彁鍓嶉氳繃adb 鍜 jdb 鍚姩琚皟璇曠殑搴旂敤銆绛惧悕鐢ㄥ唴缃殑jks绛惧悕debugActivity -s apkPath璋冭瘯妯″紡鍚姩锛宩db鑷姩闄勫姞, 闇瑕佸寘鍚 鍜 mainActivity鐨勫悕绉debugActivity -p packageName -a activityName鑷姩灏唋ldb-server鎺ㄩ佸埌鎵嬫満锛屽苟鍚姩锛岀粦瀹9999绔彛debugActivity -lusageusage: debugA [-h] [-p PACKAGE] [-a ACTIVITY]

start a debug activity

options:
-h, --help            show this help message and exit
-p PACKAGE, --package PACKAGE
-a ACTIVITY, --activity ACTIVITY
-s SIGN signApkPath璁板綍涓嬫墦鍖呮祦绋嬶紝python setup.py bdist_wheel --universal
twine upload dist/*
HTTPS_PROXY=socks5://192.168.50.47:7890 twine upload dist/*
Package: debug-cache
Note. This is Alpha software, use with caution.A cache meant to speed up debugging and testing process. Stores intermediate results in files.Installationpip install debug-cacheUsagefromdebug_cacheimportDebugCachecache=DebugCache(path='/path/to/debug_cache')# or just use defaultfromdebug_cacheimportcacheFirstdebug_cacheusage is to fasten repeated and heavy calls to tighten edit/rerun loop:@cache.cacheddefsome_function(x,y):# do somethingreturnresSeconddebug_cacheusage is to check that function results didn’t change. Useful when refactoring or optimizing:# Check that function results didn't change, they need to be cached first@cache.checkeddefsome_function(x,y):# ...# Same, but cache first time, check all subsequent ones@cache.checked(strict=False)defsome_function(x,y):# ...This will stop and start debugger if function results don’t match ones saved earlier. Strict version also stops if no cached results are found.
Package: debugckage
This package contains functions to help debugging :dprint : function that enables to print the name and the value of the input parameter of the functionYou can install it through pip :pipinstalldebugckageExemples of use :>>>fromdebugckageimportdprint>>>>>>var1=10.0>>>dprint(var1)var1:10.0>>>fromdebugckageimportdprint>>>>>>deftest():>>>"""
>>>         test function
>>>     """>>>>>>var2="a">>>dprint(var2)>>>>>>test()var2="a">>>fromdebugckageimportdprint>>>>>>classTest():>>>"""
>>>         test class
>>>     """>>>>>>def__init__(self):>>>"""
>>>             class constructor
>>>         """>>>>>>self.var3=45>>>>>>deftest_method():>>>"""
>>>             test method
>>>         """>>>>>>dprint(self.var3)>>>>>>t=Test()>>>t.test_method()[classinstanceis:"t"]self.var3=45The code has been developped under Python 3.7 ans is under theWTFPLlicense.
Package: debug-download-sfx
涓浜洪」鐩-骞跺彂鏂囦欢涓嬭浇鍔╂墜闆躲佷换鍔瀹炵幇涓涓鍙浠ュ苟鍙戜笅杞芥枃浠剁殑杞浠躲涓銆佽佹眰闃呰讳釜浜鸿蒋浠跺紑鍙戞祦绋嬶紙PSP锛夌殑鐩稿叧璧勬枡銆鍙閫夌殑璇瑷鍖呮嫭:C++锛孞ava锛孭ython銆傝繍琛岀幆澧冧负64bit Windows 10銆鎻愪氦鐨勪唬鐮佽佹眰缁忚繃浠ｇ爜璐ㄩ噺鍒嗘瀽宸ュ叿鐨勫垎鏋愬苟娑堥櫎鎵鏈夌殑璀﹀憡銆傚俒Code Quality Analysis](http://msdn.microsoft.com/en-us/library/dd264897.aspx)銆瀹屾垚椤圭洰鐨勯栦釜鐗堟湰涔嬪悗锛岃蜂娇鐢鎬ц兘鍒嗘瀽宸ュ叿鏉ユ壘鍑轰唬鐮佷腑鐨勬ц兘鐡堕堝苟杩涜屾敼杩涖浣跨敤鍗曞厓娴嬭瘯瀵归」鐩杩涜屾祴璇曪紝骞舵煡鐪嬫祴璇曞垎鏀瑕嗙洊鐜囩瓑鎸囨爣锛涘苟鍐欏嚭鑷冲皯10涓娴嬭瘯鐢ㄤ緥纭淇濅綘鐨勭▼搴忚兘澶熸ｇ‘澶勭悊鍚勭嶆儏鍐点傚俒Studio Profiling Tools](https://msdn.microsoft.com/en-us/library/mt210448.aspx)銆浣跨敤Git鏉ョ＄悊婧愪唬鐮佸拰娴嬭瘯鐢ㄤ緥锛浠ｇ爜鏈夎繘灞曞嵆绛惧叆鏈鍦颁粨搴擄紝瀹氭湡鎺ㄩ佸埌鏈嶅姟鍣ㄤ笂锛屽苟鍙戦佸悎骞惰锋眰鎻愪氦姣忓懆鐨勫伐浣滄垚鏋溿傜惧叆璁板綍涓嶅悎鐞嗙殑椤圭洰浼氳鎶芥煡璇㈤棶椤圭洰缁嗚妭銆鎸夌収瑕佹眰鍙戝竷鍗氬锛岀粨鍚堜釜浜洪」鐩鐨勫疄璺电粡鍘嗭紝鎾板啓瑙ｅ喅椤圭洰鐨勫績璺鍘嗙▼涓庢敹鑾枫鍗氬涓庨」鐩鏄庢樉涓嶇︾殑浣滀笟灏嗗彇娑堜綔涓氭垚缁┿娉ㄦ剰锛氳佹眰3銆4銆5鏍规嵁鎵閫夌紪绋嬭瑷浣跨敤瀵瑰簲鐨勫紑鍙戝伐鍏锋潵瀹屾垚銆浜屻侀渶姹傦細鍒3涓闃舵靛畬鎴愶紝姣忓懆鏇存柊銆绗1闃舵 瀹炵幇鍗曚釜鏂囦欢鐨勪笅杞藉姛鑳鍙浠ラ氳繃鍙傛暟鎸囧畾瑕佷笅杞界殑鏂囦欢鍦板潃锛屼笅杞界殑骞跺彂绾跨▼鏁帮紙榛樿ょ嚎绋嬫暟涓8锛夛紝瀛樻斁鏂囦欢鐨勫湴鍧锛堥粯璁や负褰撳墠鐩褰曪級銆鍖呮嫭浠ヤ笅鍙傛暟锛--url URL, -u URL                URL to download
--output filename, -o filename   Output filename
--concurrency number, -n number  Concurrency number (default: 8)娉ㄦ剰锛氬苟涓嶆槸鎵鏈夌綉绔欓兘鏀鎸佸氱嚎绋嬪苟鍙戜笅杞斤紝闇瑕佸厛杩涜屾娴嬨绗2闃舵 瀹炵幇鎵归噺澶氬崗璁鏂囦欢涓嬭浇鍔熻兘鎸囧畾涓嬭浇鍦板潃鏃鍙浠ュ湪鍙傛暟涓鎸囧畾澶氫釜瑕佷笅杞界殑鏂囦欢鍦板潃锛屽嵆鍏佽镐娇鐢ㄥ氫釜url鍙傛暟鍙浠ュ皢杩欎簺鍦板潃鏀惧叆涓涓鏂囨湰鏂囦欢涓锛屾寚瀹氫粠璇ユ枃浠朵腑璇诲彇銆傚弬鏁--input filename, -i filename filename with multiple URL鏀鎸佷娇鐢ㄦｅ垯琛ㄨ揪寮忔潵鐢熸垚澶氫釜涓嬭浇鍦板潃锛鍚屾椂锛岄櫎鏀鎸乭ttp/https鍗忚澶栵紝涔熻兘澶熸敮鎸佸俧tp, bittorrent锛岀佸姏閾剧瓑銆涓夈佸崥瀹㈡挵鍐欒佹眰锛鍦ㄤ釜浜虹洰褰曚笅锛屼娇鐢∕arkdown缂栧啓涓浜哄崥瀹锛屽缓璁姣忓懆鑷冲皯鍙戝竷涓娆°傚崥瀹㈠叡15鍒嗭紝鍏蜂綋瑕佹眰濡備笅锛鍦ㄥ紑濮嬪疄鐜扮▼搴忎箣鍓嶏紝鍦ㄤ笅杩癙SP琛ㄦ牸璁板綍涓嬩綘浼拌″皢鍦ㄧ▼搴忕殑鍚勪釜妯″潡鐨勫紑鍙戜笂鑰楄垂鐨勬椂闂淬傦紙0.5鈥橈級瑙ｉ樻濊矾鎻忚堪銆傚嵆鍒氬紑濮嬫嬁鍒伴樼洰鍚庯紝濡備綍鎬濊冿紝濡備綍鎵捐祫鏂欑殑杩囩▼銆傦紙3鈥橈級璁捐″疄鐜拌繃绋嬨傝捐″寘鎷浠ｇ爜濡備綍缁勭粐锛屾瘮濡備細鏈夊嚑涓绫伙紝鍑犱釜鍑芥暟锛屼粬浠涔嬮棿鍏崇郴濡備綍锛屽叧閿鍑芥暟鏄鍚﹂渶瑕佺敾鍑烘祦绋嬪浘锛熷崟鍏冩祴璇曟槸鎬庝箞璁捐＄殑锛燂紙5鈥橈級璁板綍鍦ㄦ敼杩涚▼搴忔ц兘涓婃墍鑺辫垂鐨勬椂闂达紝鎻忚堪浣犳敼杩涚殑鎬濊矾锛屽苟灞曠ず涓寮犳ц兘鍒嗘瀽鍥撅紙濡備娇鐢╒isual Studio鐨勬ц兘鍒嗘瀽宸ュ叿鑷鍔ㄧ敓鎴愶級锛屽苟灞曠ず浣犵▼搴忎腑娑堣楁渶澶х殑鍑芥暟銆傦紙3鈥橈級浠ｇ爜璇存槑銆傚睍绀哄嚭椤圭洰鍏抽敭浠ｇ爜锛屽苟瑙ｉ噴鎬濊矾涓庢敞閲婅存槑銆傦紙3鈥橈級鍦ㄤ綘瀹炵幇瀹岀▼搴忎箣鍚庯紝鍦ㄤ笅杩癙SP琛ㄦ牸璁板綍涓嬩綘鍦ㄧ▼搴忕殑鍚勪釜妯″潡涓婂疄闄呰姳璐圭殑鏃堕棿銆傦紙0.5鈥橈級闄勶細PSP 2.1琛ㄦ牸PSP2.1Personal Software Process Stages棰勪及鑰楁椂锛堝垎閽燂級瀹為檯鑰楁椂锛堝垎閽燂級Planning璁″垝路 Estimate路 浼拌¤繖涓浠诲姟闇瑕佸氬皯鏃堕棿Development寮鍙路 Analysis路 闇姹傚垎鏋 (鍖呮嫭瀛︿範鏂版妧鏈)路 Design Spec路 鐢熸垚璁捐℃枃妗路 Design Review路 璁捐″嶅 (鍜屽悓浜嬪℃牳璁捐℃枃妗)路 Coding Standard路 浠ｇ爜瑙勮寖 (涓虹洰鍓嶇殑寮鍙戝埗瀹氬悎閫傜殑瑙勮寖)路 Design路 鍏蜂綋璁捐路 Coding路 鍏蜂綋缂栫爜路 Code Review路 浠ｇ爜澶嶅路 Test路 娴嬭瘯锛堣嚜鎴戞祴璇曪紝淇鏀逛唬鐮侊紝鎻愪氦淇鏀癸級Reporting鎶ュ憡路 Test Report路 娴嬭瘯鎶ュ憡路 Size Measurement路 璁＄畻宸ヤ綔閲路 Postmortem & Process Improvement Plan路 浜嬪悗鎬荤粨, 骞舵彁鍑鸿繃绋嬫敼杩涜″垝鍚堣鍥涖佽瘎鍒嗚勫垯涓浜洪」鐩鍒嗘暟鐢变笁閮ㄥ垎缁勬垚锛屽垎鍒鏄鍗氬 鈥 15鍒嗭紝鍒嗘暟缁勬垚鍦ㄥ崥鏂囪勮寖涓銆绋嬪簭 鈥 35鍒10鍒嗕负婧愪唬鐮佺＄悊璇勫垎锛岃ヨ瘎鍒嗕富瑕侀氳繃婧愪唬鐮佺＄悊涓鐨刢ommit娉ㄩ噴淇℃伅锛屽為噺淇鏀圭殑鍐呭癸紝鏄鍚︽湁杩愯岃存槑绛夌粰鍒嗐
20鍒嗕负姝ｇ‘鎬ц瘎鍒嗭紝姝ｇ‘鎬ф祴璇曚腑杈撳叆鑼冨洿闄愬埗鍦 1-1000锛岃佹眰绋嬪簭鍦 60 s 鍐呯粰鍑虹粨鏋滐紝瓒呮椂鍒欒ゅ畾杩愯岀粨鏋滄棤鏁堛
5鍒嗕负鎬ц兘璇勫垎锛屾ц兘娴嬭瘯涓杈撳叆鑼冨洿闄愬埗鍦 10000-1000000锛屾病鏈夋椂闂寸殑鏈灏忚佹眰闄愬埗銆
褰撶▼搴忕殑姝ｇ‘鎬ц瘎鍒嗙瓑浜20鍒嗘椂鎵嶅彲浠ュ弬涓庢ц兘璇勫垎鐜鑺傦紝鎵浠ヨ峰悇浣嶅悓瀛﹀姟蹇呬繚璇佽嚜宸辩▼搴忕殑姝ｇ‘鎬с娉ㄦ剰浜嬮」锛鎸夋椂闂村畬鎴愬苟鎻愪氦鈥斺旀ｅ父璇勫垎
鏅氫氦涓鍛ㄤ互鍐呪斺旀姌鎵90%
鏅氫氦涓鍛ㄤ互涓娾斺旀姌鎵70%
涓嶄氦鎴栨妱琚鈥斺0鍒嗐愪弗绂佷唬鐮佷笌鍗氬㈢瓑涓鍒囧舰寮忕殑鎶勮锛佽峰悇浣嶅悓瀛﹀崈涓囦笉瑕佽Е纰板簳绾匡紝鍕胯皳瑷涔嬩笉棰勪篃锛併
Package: debuggerModule
Python Debug ModuleInstallpip install debuggerModuleExamplefromdebuggerimportgetLogger#log filename optionDEBUG=getLogger('filename')DEBUG.INFO("log")TypesDEBUG.DEBUG: greenDEBUG.INFO: blueDEBUG.WARNING: yellowDEBUG.ERROR: redDEBUG.CRITICAL: bold redPyPi page: (https://pypi.org/project/debuggerModule/)Change Log0.1 (14/02/2022)First Release0.3 (15/02/2022)Add new feature save to log file0.4 (15/02/2022)Update setup.py README format
Package: debuggerPy
DEBUG DE VARIAVEISProjeto criado com o intuito de facilitar o dabug de variavel em pythonUso/ExemplosExemplo de uso

teste = [
          {
              "id": "637e0bbedaf70ce56a20e5aa",
              "email": "owen_colon@xylar.allfinanz",
              "roles": [
              "guest",
              "owner"
              ],
              "apiKey": "860a1784-ed4c-4e3f-962a-d3136e0b542a",
              "profile": {
              "dob": "1992-04-13",
              "name": "Owen Colon",
              "about": "Sint minim nisi dolor adipisicing sit. Duis id cillum nulla aliquip.",
              "address": "25 Homecrest Avenue, Elwood, Ohio",
              "company": "Xylar",
              "location": {
                  "lat": 29.216208,
                  "long": -39.477052
              }
              },
              "username": "owen92",
              "createdAt": "2010-12-17T23:32:45.095Z",
              "updatedAt": "2010-12-18T23:32:45.095Z"
                   }
        ]

debug("teste", exitDebug=True) -> função para ser utilizada

retorno da função abaixo

+------------+----------------+--------------------------------------------------------------+
| Variável   | Type           | Valor                                                        |
+============+================+==============================================================+
| teste      | <class 'list'> | [{'id': '637e0bbedaf70ce56a20e5aa', 'email':                 |
|            |                | 'owen_colon@xylar.allfinanz', 'roles': ['guest', 'owner'],   |
|            |                | 'apiKey': '860a1784-ed4c-4e3f-962a-d3136e0b542a', 'profile': |
|            |                | {'dob': '1992-04-13', 'name': 'Owen Colon', 'about': 'Sint   |
|            |                | minim nisi dolor adipisicing sit. Duis id cillum nulla       |
|            |                | aliquip.', 'address': '25 Homecrest Avenue, Elwood, Ohio',   |
|            |                | 'company': 'Xylar', 'location': {'lat': 29.216208, 'long':   |
|            |                | -39.477052}}, 'username': 'owen92', 'createdAt':             |
|            |                | '2010-12-17T23:32:45.095Z', 'updatedAt':                     |
|            |                | '2010-12-18T23:32:45.095Z'}]                                 |
+------------+----------------+--------------------------------------------------------------+