Saravanan666/pypi-org huggingface dataset:
Package: examdays
ExamdaysA Python module that helps you to calculate how many days will you have for preparing your exam.Installationpip install examdaysUsagefromexamdaysimportexamexam(end_year,end_month,end_day)'''For example:If your exam is on 2021,6,30Then:exam(2021,6,30)'''or:importexamdaysexamdays.exam(end_year,end_month,end_day)or in Command Line:$ examdays [end year] [end month] [end day]If you want to use specific colour in the output:$ examdays [end year] [end month] [end day] [colour]Colour List:BLACKREDGREENYELLOWBLUEMAGENTACYANWHITEExample$ examdays 2021 6 20Output:You still have: 6 days!
Good Luck!With Colour:$ examdays 2021 6 30 YELLOWOutput:$ examdays 2021 6 30 blueOutput:TODOAdd Timer functionLicenseMIT
Package: examine-files
Examine FilesChecks to see if magic number contents of files match extensions. Mostly a CTF tool.Free software: MIT licenseDocumentation:https://examine-files.readthedocs.io.FeaturesUtilizes libmagic to analyze file typeCompares analyzed file type with expected type based on file extensionPrints report of matches, mismatches, and unknown statusAccepts custom whitelist or utilizes built-in default for demonstration onlyCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.The core functionality for this script relies onpython-magicby Adam Hupp.
For installation questions outside of Linux (or the provided docker container), please seehttps://github.com/ahupp/python-magic.History0.1.0 (2019-06-08)First release.
Package: examinerview
DescriptionCreate visual timelines for forensic investigationsCreditsThe timeline within the generated HTML file is created byTimelineJS3fromKnightLab. Thank you for your great work.Installationpip install examinerviewUsageFrom command line:python -m examinerview [-h] --data DATA [--output OUTPUT] [--format FORMAT] [--delimiter DELIMITER] [--quotechar QUOTECHAR]OptionShortTypeDefaultDescription--data-dString-Path to csv file--output-oString.Path to output dir--format-fString%Y-%m-%d %H:%M:%S.%fTimestamp format--delimiter-eString;The delimiter for csv file--quotechar-qString"The quotechar for csv fileExampleIn order to generate a timeline, you need to provide a csv file with the following headers:timestampheadlinedescriptionurlcaptionevidencesourceEvent timestamp (Default Format: YYYY-MM-DD HH:mm:ss.sss)Headline as a quick descriptionMore text to describe the eventImage url (jpg, png)Image captionName of the evidencePath to the sourcefor the following data:timestampheadlinedescriptionurlcaptionevidencesource1970-01-01 10:10:10.000The first eventThis is the first event!https://avatars.githubusercontent.com/u/96919731?v=45f0Artefakt 01path/to/artefakt.dbrunpython -m examinerview -d example/timeline.csvan getexample/examinerview.html:LicenseMIT
Package: exam-kernel
Exam KernelA wrapper for the IPython kernel that sanitizes the input before execution.A more in depth explanation can be found in thedocs.This kernel blocks all magic commands including!.The libraries a user can use can be restricted by blocking or allowing certain imports. The moduleimportlibis blocked by default.Installationpip install exam_kernel
python -m exam_kernel.install --sys-prefixConfigurationYou can configure the kernel via theipython_config.py.
This file is usually located under~/.ipython.1. Initialization CodeThis is the code that will be executed every time the kernel is initialized and set via the configuration optionIPKernelApp.exec_lines.Example config:# sample ipython_config.py

c = get_config()

c.IPKernelApp.exec_lines = ['import math', 'import random']In this example the librariesmathandrandomare imported every time the kernel is initialized, making them available to the user right away.2. Allowed ImportsIf you want to allow the user to only use certain libraries, you can specify them using theallowed_importsconfiguration option. All other libraries will be blocked by default if this option is set.Example config:# sample ipython_config.py

c = get_config()

c.ExamKernel.allowed_imports = ['math', 'numpy', 'scipy']In this example the student can only import the librariesmath,numpyandscipy. If the user tries to import any other library (e.g.matplotlib), he or she will see the following message:---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-5-041c468338fc> in <module>
----> 1 raise ModuleNotFoundError('No module named matplotlib or matplotlib blocked by kernel.')

ModuleNotFoundError: No module named matplotlib or matplotlib blocked by kernel.3. Blocked ImportsIf you want to block the user from importing certain libraries, but let them use all others, you can use theblocked_importsconfiguration option.If theallowed_importoption is used, the blocked imports will take no effect.Example config:# sample ipython_config.py

c = get_config()

c.ExamKernel.blocked_imports = ['math', 'numpy', 'scipy']In this example the student can not import the librariesmath,numpyandscipy. If the user tries to import a blocked library (e.g.math), he or she will see the following message:---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-5-041c468338fc> in <module>
----> 1 raise ModuleNotFoundError('No module named math or math blocked by kernel.')

ModuleNotFoundError: No module named math or math blocked by kernel.
Package: examon
ExamOnWhat is ExamOnLearning Python Content Management System (LPCMS)FeaturesGenerate content from plain Python codeAutomatic categorisation of contentPrequisitesPython 3.9.16 or laterPip3Quick Startpipinstallexamon
examoninit
examonpackageinstall
examonCustomising Your ExamSet the active reposExamon will only use questions from repositories you have added and are marked as activeexamonreposlist
examonreposadd_active<reponame>Use the tag filterexamonrun--tags"<tag_one>, <tag_two>"Active Exam RepositoriesCreating your own ExamSecurityRoadmap
Package: exampe-pip-package
Installation$[sudo]pipinstallexampe_pip_packageFeaturesexample for add a new pip package.add some doc about learn how to release a pip package.Classesclass__doc__exampe_pip_package.pip_testExamples>>>fromexampe_pip_packageimportpip_test>>>example=pip_test()>>>example.get_info()Hello,thisisjustapippackageexample.Packagenameisexampe_pip_packagePIP 包生成发布使用学习文档源代码项目结构│LICENSE//证书，可以任选一个的│README.md//说明文档│setup.py//安装包│├─exampe_pip_package//源代码目录│__init__.py//源代码文件│└─tests-exampe_pip_package-examples//测试源代码的目录└─pip_test.get_info//按照类来进行测试子目录的命名pip_test.get_info//按照方法来命名测试类文件安装必要的软件安装生成归档文件的软件python-mpipinstall--user--upgradesetuptoolswheel安装发布上传包python-mpipinstall--user--upgradetwine注册 PYPI 账号测试账号注册地址，用于测试版本。正式账号注册地址，用于正式版本发布。Note： 测试账号和正式账号注册一次就可以的，但是要分别去认证可发布的邮箱。打包和发布生成发布包（生成归档文件）pythonsetup.pysdistbdist_wheel注册包twineregisterdist/exampe_pip_package.whl发布发布到测试环境twineupload--repository-urlhttps://test.pypi.org/legacy/dist/*发布到正式环境twineupload--repository-urlhttps://upload.pypi.org/legacy/dist/*发布说明E:\selfDatas\exampe_pip_package>twineupload--repository-urlhttps://test.pypi.org/legacy/dist/*Enteryourusername:输入用户名，不是邮箱Enteryourpassword:输入密码Uploadingdistributionstohttps://test.pypi.org/legacy/……包管理包已经上传成功的话，可以登录PyPI 网站可以在右侧导航栏看到管理入口。
点击包名进去后你可以对你的包进行管理。发布成功后安装（pip install 方式）测试包的安装pipinstall-ihttps://test.pypi.org/simple/exampe-pip-package正式版本的安装pipinstallexampe-pip-package更新包，可以使用--upgrade参数来更新pipinstallexampe-pip-package--upgrade安装包后的使用import 方式使用>>>fromexampe_pip_packageimportpip_test>>>example=pip_test()>>>example.get_info()Hello,thisisjustapippackageexample.Packagenameisexampe_pip_package发布成功后安装（requirements 方式使用）目录结构E:.main.py# 需要使用包的代码requirements.txt# 需要使用到包的包名run.sh# 安装包并执行文件详见 requirements 方式使用免授权方式发布在 Home 目录下创建文件~/.pypirc，内容如下[distutils]index-servers=pypi[pypi]repository:https://pypi.python.org/pypiusername:<username>password:<pass># 不设置的话，发布时会提示手动输入的可能遇到的错误错误的用户验证信息，你需要创建一个用户验证文件 ~/.pypirc。请参阅上文。Uploadfailed(403):Invalidornon-existentauthenticationinformation.你需要先注册你的包才可以开始上传，运行注册命令：python setup.py registerUploadfailed(403):Youarenotallowedtoedit'xxx'packageinformation你的 PyPI 账户还没完成邮箱验证，你需要去注册邮箱找到一封验证邮件完成验证后再重试失败的步骤。Serverresponse(401):Incompleteregistration;checkyouremail你的 setup.py 文件中的 classifier 信息有误，请按官网的正确分类书写classifier.Serverresponse(400):Invalidclassifier"Topic :: Software Development :: Utilities"你还没打包就开始了上传命令，建议打包和上传的操作放在一起做，比如：twine upload dist/*error:Nodistfilecreatedinearliercommand网络问题，请再次尝试error:Uploadfailed(499):ClientDisconnected每次必须使用不同的版本号，所以建议先在测试版测试好了，再在正式版发布的。Uploadfailed(400):Filealreadyexists更多相关信息，见官方文档。More info
Package: example0934
project_titleproject_descriptionExplore the docs Â»View DemoÂ·Report BugÂ·Request FeatureTable of ContentsAbout The ProjectBuilt WithGetting StartedPrerequisitesInstallationUsageRoadmapContributingLicenseContactAcknowledgementsAbout The Project![Product Name Screen Shot][product-screenshot]Here's a blank template to get started:To avoid retyping too much info. Do a search and replace with your text editor for the following:github_username,repo_name,twitter_handle,email,project_title,project_descriptionBuilt WithGetting StartedTo get a local copy up and running follow these simple steps.PrerequisitesThis is an example of how to list things you need to use the software and how to install them.npmnpminstallnpm@latest-gInstallationClone the repogitclonehttps://github.com/github_username/repo_name.gitInstall NPM packagesnpminstallUsageUse this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.For more examples, please refer to theDocumentationRoadmapSee theopen issuesfor a list of proposed features (and known issues).ContributingContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make aregreatly appreciated.Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull RequestLicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactYour Name -@twitter_handle- emailProject Link:https://github.com/github_username/repo_nameAcknowledgements
Package: example1111111-pkg-bravo1996
dokr - Make your docker and ecs tasks easyA Helper pip package for docker and ECS tasks. This pip package helps you automate your CI/CD pipeline. If your using docker and Amazon ECS for deployments, this tool can be really helpful. This package uses aws cli and ecs cli. MakAssumptions:Assuming python is installed on your system.Docker is installed on your systemaws-cliis installed and credentials are configured on your system.ecs-cliis installed on system [For Log Command only]Installdokron your system using :pip install dokrECS Optionslogin into ecs directly (Assuming awscli is installed and configured)dokr ecs loginDeploy an image on a clusterdokr ecs deploy --cluster cluster_name --service service_name --tag image_versionCheck ecs running logs of a Task -  this command will ask for cluster/service and task defination.Note:Install ecs-cli before running this command  from here:https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.htmldokr ecs logDocker Helper CommandsPrune whole system -  Cleans unused images, containers and volumes.dokr dock --clean-allDelete all the images matching the patterndokr dock --clean pattern_xxxAdd a tag to the existing image matching the provided pattern  (for latest tag only)dokr dock --tag pattern_xxx tag_namePush all images on a system matching a patternThis will push all images matching pattern 'pat'dokr dock --push patAWS CommandsCheck current public ip of a machine on AWSdokr aws --ip jenkinsRun Apps (subsitute todocker runcommand and DockerCompose)Configure your default values(like docker registry, port mapping, volume mapping etc. that will be same for all apps):Add an new app for deployment:Run all configured apps:Run a particular  app from ECR tags:Run a particular  app by providing a tag:Development:Clean ununsed:rm -rf build/ dist/ *egg* **.pyc __pycache__Build package:python setup.py bdist_wheeldeploy package:python -m twine upload dist/*follow this link for more detailshttps://dzone.com/articles/executable-package-pip-install
Package: example1-pkg-rich
demo-pip-sample# Uploadpython3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
    Output
    Enter your username: rich_python
    Enter your password: 
    Uploading example1_pkg_rich-0.0.1-py3-none-any.whl
    100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 17.2k/17.2k [00:01<00:00, 9.20kB/s]
    Uploading example1-pkg-rich-0.0.1.tar.gz
    100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.76k/4.76k [00:00<00:00, 5.82kB/s]

    View at:
    https://pypi.org/project/example1-pkg-rich/0.0.1/installpip3 install example1-pkg-richcallpython3     # terminal
OTHER_SECRET="test-secret"

# Client
export OTHER_SECRET="test-secret"

from clientTest import utils
utils.utilsFechaOfClient()tree├── LICENSE
├── README.md
├── build
│   ├── bdist.macosx-10.13-x86_64
│   └── lib
│       └── clientTest
│           ├──init.py
│           ├──main.py
│           └── utils.py
├── clientTest
│   ├──init.py
│   ├──main.py
│   ├── config.cfg
│   └── utils.py
├── dist
│   ├── example1-pkg-rich-0.0.1.tar.gz
│   └── example1_pkg_rich-0.0.1-py3-none-any.whl
├── example1_pkg_rich.egg-info
│   ├── PKG-INFO
│   ├── SOURCES.txt
│   ├── dependency_links.txt
│   └── top_level.txt
└── setup.py
Package: exampleapp2
Note: write your logic code inexampleappdirectory then write your tests file intestsdirectory.
Note: you have to choose suitable package_name because of test.pypi won't accept any repeated package_name.
Note: replace exist links inproject_urlsinsetup.pywith your own links.
Note: fillrequirements.txtwith dependencies that your package need.Local InstallBefore uploading our package to PyPI we can confirm that our package can be installed via pip install by navigating to our package directory and entering:pipinstall.orpipinstall-e.if you want make it editable.This should then install our package like any other package install via pip:BuildOnce we’ve written our code files, setup configuration, and tested the install — we’re ready to build our package distribution.The build process creates a new directorydistwhich will contain a.tar.gzand.whlfile — this is what we need to publish our package to PyPI.To build ourdistfiles, we use a tool creatively namedbuild. First, we type:pipinstallbuildthen, while in our package directory — type:python-mbuildOnce this is complete, we should find a new /dist directory inside our package directory.Publish to TestPyPIFinally, we are ready to publish our new Python package! Again, we make use of another package calledtwine. We install this with:pipinstalltwineOnce installed, we upload to TestPyPI — a ‘test’ version of PyPI so that we can double-check that we have set everything up correctly. We do this by typing:python-mtwineupload--repositorytestpypidist/*At this point, we’ll need to login to TestPyPI — if you don’t have an account, sign up for onehere. If everything is set up correctly, our package will be uploaded:Now, we can test that our new package works through another pip install — but this time from TestPyPI:pipinstall-ihttps://test.pypi.org/simple/exampleapp(If you find that the package is already installed — justpip uninstall exampleapp).PyPIOnce we’ve confirmed that the package works — we take our final step, publishing to PyPI. Again, you’ll need to registerhere.Next, we upload our package to PyPI with:python-mtwineupload--repositorypypidist/*And we’re done!That’s our first Python package deployment — it’s surprisingly straightforward. We can go ahead andpip install exampleappto use the package.
Package: example-cli-python
example cli in python package.
(forked from jgehrcke/python-cmdline-bootstrap)Installation sets up commandSituation before installation:$ hello
bash: hello: command not foundInstallation right from the source tree (or via pip from PyPI):$ python setup.py install

$ pip install example-cli-pythonNow, thehellocommand is available:$ hello ojixzzz
Example version 1.0.0.
Argument strings: ['ojixzzz']
Package: examplecurves
examplecurvesexamplecurvesis a module outsourced fromarithmeticmeancurves.
Its main purpose is to provide exemplary families of curves for testing and
debugging purposes.Installation$pipinstallexamplecurvesIf available the latest development state can be installed from gitlab.$pipinstallgit+https://gitlab.com/david.scheliga/examplecurves.git@devBasic UsageRead-the-docsfor a more detailed documentation.ContributionAny contribution by reporting a bug or desired changes are welcomed. The preferred
way is to create an issue on the gitlab's project page, to keep track of everything
regarding this project.Contribution of Source CodeCode styleThis project follows the recommendations ofPEP8.
The project is usingblackas the code formatter.WorkflowFork the project on Gitlab.Commit changes to your own branch.Submit apull requestfrom your fork's branch to our branch'dev'.AuthorsDavid Scheliga@gitlab@LinkedinInitial workMaintainerLicenseThis project is licensed under the GNU GENERAL PUBLIC LICENSE - see theLICENSEfile for detailsAcknowledgeCode style: blackChangelogThis changelog is inspired byKeep a Changelog.[1.0.0] - 2021-02-13FixedPlot functions did remove figures, leaving documentation without example diagrams.RemovedDeprecated alpha note from README.md[1.0.0rc1] - 2021-02-13Added.coveragerc, .travis.yml, makefile, tox.ini, tests/load_test.py, tests/plot_test.pyChangedCreatesCurves inherits from abc.ABCsetup.py to setup.cfgRemovedDeprecated functions create, load[0.5a0.post1] - 2021-01-08FixedMissing requirements for installation via pip.[0.5a0] - 2021-01-02AddedNew families of curvesVerticalLinear0,VerticalLinear1,VerticalLinear2andVerticalLinear3.[0.4a0] - 2020-12-27AddedNew families of curvesDiagonalLinear0,DiagonalLinear1,DiagonalLinear2andDiagonalLinear3.ChangedThe necessity of sub classes of static linear families of curves was removed, changing
the creation and documentation layout. In this case all subclasses were removed, since
they wasn't meant to be used directly anyway.[0.3a0] - 2020-12-17AddedNew families of curvesHorizontalLinear1,HorizontalLinear2andHorizontalLinear3.[0.2a1] - 2020-12-17FixedMissing parameter leading to broken installation.Missing requirement 'dicthandling'[0.2a0] - 2020-12-15AddedA normal distributed linear family of curves withLinearHorizontal0.Support for loading curve creation parameters from json files.resourcessubpackage for parameter files.ChangedTurned moduleexamplecurves.pyinto aexamplecurvespackage.Shifted project tosetuptools_scm; updated setup.pyRemovedConstant __version__ is removed; package version is now managed solely by git
tags.[0.1a0] - 2020-12-05Changedadded classStaticto distinguish static curves from random curves, which
are on the way.deprecatedMethodcreatewill be moved toStaticin the next release.[0.0a1] - 2020-12-05First code release of examplecurves
Package: example-dankersw-vinnter-hil
Vinnter HILPython package to interact with the hil hardware.Usagepip3 install vinnter-hilfromvinnter_hil.hardware_interactionimportHardwareControlerserial_config={'port':'/dev/ttyACM0','baudrate':115200,'term_seq':b'uart:~$ ','timeout':1}gpio_config={'host':'192.168.0.103','port':8888}pinout={'reset':16,'power':17}hw_controler=HardwareControler(serial_config=serial_config,gpio_config=gpio_config,pinout=pinout)
Package: example-dankersw-vinnter-hil-vinnter-hil
Vinnter HILPython package to interact with the hil hardware.Usagepip3 install vinnter-hilfromvinnter_hil.hardware_interactionimportHardwareControlerserial_config={'port':'/dev/ttyACM0','baudrate':115200,'term_seq':b'uart:~$ ','timeout':1}gpio_config={'host':'192.168.0.103','port':8888}pinout={'reset':16,'power':17}hw_controler=HardwareControler(serial_config=serial_config,gpio_config=gpio_config,pinout=pinout)
Package: example-gitlab-python-project
Example GitLab Python ProjectPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://example-gitlab-python-project.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand thecookiecutter-pypackage-gitlabproject template.Changelog0.1.0 (2020-12-05)First release on PyPI.
Package: example-lfuncs
Example package for teaching pip usage with PythonThis package contains a modulelfuncsthat has the following functions:find_startswith_in_list(prefix, list)given a prefix and a list, this functions will return a list with all the elements in provided list that start with the provided prefix. The function assumes prefix and all list elements are strings.find_endswith_in_list(suffix, list)given a suffix and a list, this functions will return a list with all the elements in provided list that end with the provided suffix. The function assumes suffix and all list elements are strings.split_lists(list, prefix)given a prefix and a list, this functions will return two lists, one that contains all elements that start with the provided prefix and one with all other elements. The function assumes prefix and all list elements are strings.joke()prints a joke.
Package: example-loopback-kr
Incididunt nisi enim non nulla consequat id. Ex ea esse exercitation deserunt. Adipisicing deserunt excepteur Lorem ex proident consectetur do elit velit adipisicing. Aute nulla veniam velit enim minim exercitation sunt do fugiat cillum aliqua amet.Lorem velit ad mollit cupidatat consectetur officia culpa ut incididunt id sint. Cillum irure minim exercitation eiusmod eiusmod qui est. Aliqua Lorem sint duis anim excepteur eu minim Lorem. Consectetur in nulla officia ea duis cillum. Voluptate irure sint mollit veniam magna irure magna. Aliquip commodo veniam officia elit eiusmod velit.Commodo adipisicing id Lorem consequat pariatur elit nostrud laborum eu tempor aute consequat officia. Elit dolore deserunt elit ut nostrud voluptate proident sunt sit culpa ut ea. Dolore minim anim quis cillum ipsum eiusmod.