Saravanan666/pypi-org huggingface dataset:
Package: example-pkg-tttienthinh
Packaging Python ProjectsFollowing thiscourseCoding stepsMake sure you have the latest versions of PyPA’s build installed:pipinstall--upgradebuildThis command should output a lot of text and once completed should generate two files in the dist directory:buildUploading the distribution archivesYou can use twine to upload the distribution packages. You’ll need to install Twine:pipinstall--upgradetwineOnce installed, run Twine to upload all of the archives under dist:twineuploaddist/*
Package: example-pkg-UCMEC
User-Centric Mobile Edge Computing EnvironmentA single/multi-agent environment for Reinforcement LearningTable of ContentsAbout the ProjectGetting StartedInstallationUsagePlease CiteContributingContactAbout The ProjectThis environment is a mixed cooperative-competitive game, which focuses on the coordination of the agents involved. Agents navigate a world and offload computing tasks to the edge computing-enabled CPU via user-centric wireless transmission.Getting StartedInstallationInstall using pippipinstallUCMECOr to ensure that you have the latest version:gitclonehttps://github.com/qlt315/UCMEC_env.gitcdUCMEC_env
pipinstall-e.UsageCreate environments with the gym framework.
First importimportUCMECThen create an environment:env=gym.make("MA_UCMEC_env")# for single-agentorenv=gym.make("SA_UCMEC_env")# for multi-agentSimilarly to Gym, step() function in multi-agent environment is defined asobs,reward,done,info=env.step(actions)Where obs, rewards, done and info are LISTS of N items (where N is the number of agents). The i'th element of each list should be assigned to the i'th agent.
action space is a LIST of N*M numbers that should be executed in that step.(M is the number of actions for each agent, like offloading decision, power allocation, etc.)Please CiteThe paper that first uses this implementation of single-agent UCMEC environment:@ARTICLE{ucmec2022,
    author={Qin, Langtian and Lu, Hancheng and Wu, Feng},
    journal={IEEE Communications Magazine},   
    title={When User-Centric Network Meets Mobile Edge Computing: Challenges and Optimization},   
    year={2022},  
    volume={},  
    number={},
    pages={1-7},  
    doi={10.1109/MCOM.006.2200283}
    }ContributingFork 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 RequestContactLangtian Qin -qlt315@mail.ustc.edu.cnProject Link:https://github.com/qlt315/UCMEC_env
Package: example-pkg-Van13
You can use this package , enter two special times(such as '2020-03-05 16:29:02' . Tips : don't change and miss '-' , ' ' , ':') , and you will get a feedback about the bridge of two times . Besides , you can use an end time to sub a start time , and get the difference between them.
#E.g:
start_time = Mytimer('2017-01-20 12:00:00')
end_time = Mytimer('2017-02-22 12:30:20')
print(end_time.calseconds(start_time))
print(end_time - start_time)
Package: example-pkg-very-gui
chinese:gui是一个开源的python库，使用此库需要一下库easygui这是一个非常简单的gui第三方库，大部分功能需要依靠他pip3 install easyguitkinter这是python的自带库，非常强大，复杂的功能都靠它无这个库主要为初学者开发，持续更新。主要函数有：函数主要功能open_path()打开文件，返回路径open_io()打开文件，返回io流msgbox(msg)文本弹窗，有ok按钮enterbox(enter)文本弹窗，有输入框和ok，有返回值save()保存文件，返回路径jdt()进度条English：GUI is an open source Python library. You need to use this libraryeasyguiThis is a very simple GUI third-party library, and most functions need to rely on it .pip3 install easyguitkinterThis is the built-in Library of Python. It is very powerful and has complex functionsnothingThis library is mainly developed for beginners and continuously updated.The main functions are:functionmajor functionopen_ path()Open the file and return the pathopen_ io()Open the file and return to the IO streammsgbox(msg)Text pop-up window with OK buttonenterbox(enter)Text pop-up window with input box and OK and return valuesave()Save the file and return the pathjdt()progress bar
Package: example-pkg-vwinnv
Flask==0.11.1
Jinja2==2.8
MarkupSafe==0.23
Werkzeug==0.11.11
requests
numpy
clint
oauth2client
scipy
flask_restful
flask-jsonpify
pymongo
gspread
pandas
stringdist
sklearn
pythainlp
xlrd
gensim
pymongo
scikit-learn
uvicorn==0.11.5
sanic==20.3.0
gunicorn==19.9.0
Package: example-pkg-willygoodwill
# Example PackageThis is a simple example project. The goal of this project is to deliver Ikea price list. In order to do this the package parses ikea products and combine them all to the ultimate list with prices. You can find the full code here[Github code](https://github.com/WillyGoodwill/example_pkg).# Console Usage
Type in consolepython3 -m example_pkg# Python Editor Usage
Type in python editorfrom example_pkg.mod1 import *Furniture().parsing()
Package: example-pkg-yjko
tensorflow-object-contour-detectionThis is a tensorflow implimentation of Object Contour Detection with a Fully Convolutional Encoder-Decoder Network (https://arxiv.org/pdf/1603.04530.pdf) .REQUIREMENTS :pip install requirements.txtLabel Preparation :To prepare the labels for contour detection from PASCAL Dataset , run create_lables.py and edit the file to add the path of the labels and new labels to be generated . Use this path for labels during training.TRAINING :python train.py \
    --max_to_keep=50 \
    --Epochs=100 \
    --momentum=0.9 \
    --learning_rate=.0000001 \
    --train_crop_size=480 \
    --clip_by_value=1.0 \
    --train_text = ${path to text file} \
    --log_dir = ${path to where logs will be saved} \
    --tf_initial_checkpoint=${PATH_TO_CHECKPOINT} \
    --label_dir = ${path to label directory} \
    --image_dir = ${path to image directory}EVALUATION :python eval.py \
    --checkpoint=${path to checkpoint to be evaluated} \
    --save_preds=${path to folder where predictions will be saved} \
    --image_dir = ${path to image directory} \
    --eval_crop_size=480 \
    --eval_text =  ${path to eval text file}Results :
Package: example-pkg-your-royaso
[32m《除夜有怀》[m
[33m作者：崔涂[m
迢递三巴路，羁危万里身。
乱山残雪夜，孤烛异乡人。
渐与骨肉远，转于僮仆亲。
那堪正漂泊，明日岁华新。
Package: example-pkg-zx1
Example PackagenestList.py是一个可以打印缩进列表的示例函数,示例代码如下：from example_pkg_zx1 import nestList
alist = ["grace", "angle", "roy", 
            ["anna", "jhon", "richard", ["nio", "lily"]], 
            "bluce"]        
nestList.print_list(alist)
Package: example-project-python
example-project-pythonExample python projectDetailsThis project is a pure python project using modern tooling. It uses aMakefileas a command registry, with the following commands:make: list available commandsmake develop: install and build this library and its dependencies usingpipmake build: build the library usingsetuptoolsmake lint: perform static analysis of this library withflake8andblackmake format: autoformat this library usingblackmake annotate: run type checking usingmypymake test: run automated tests withpytestmake coverage: run automated tests withpytestand collect coverage informationmake dist: package library for distribution
Package: example-publish-pypi-devterminal
Example Project===============
This is an example project that is used to demonstrate how to publish
Python packages on PyPI. To take a look at the step by step guide on how to
do so, make sure you readmy article on Towards Data Science <https://towardsdatascience.com/how-to-upload-your-python-package-to-pypi-de1b363a1b3>_.
Package: example-pybr
# import example_pybr - Example of a simple Python package[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)## Installation```pip install example_pybr```## Usage```>>> from example_pybr import example_pybr>>> example_pybr.hello()"Hello, PyBR14!"```## ContributingPRs are welcome, if you have any questions don't be afraid to open an issue.And remember: Always pull before pushing =)
Package: example-qspec
Summary：This package includes codes and data for "Efficient Bayesian Inference on Quantile Spectral Analysis of Multivariate Stationary Time Series" by Zhixiong Hu and Raquel Prado.The codes are written in Python 3.7.0 (suggested version >= 3.7).Author: Zhixiong HuSet UpInstall Anaconda Python from:https://www.anaconda.com/products/individualNote:If conda command is still unavailable in the terminal, please open Anaconda Navigator app (installed in the previous step) and open the terminal as following:Open the terminal as in the previous step. To install the package, type 'pip install -ihttps://pypi.org/simple/example-qspec==0.1.0' (or type 'pip install --upgrade example_qspec')'cd' to where the [packaging_tutorial/test] folder is located (set [test] as work directory)Run Test Code:In the [test] folder, [runbook_1.py] and [runbook_2.py] are runbooks to show how to use our approach to reproduce part of the results in the paper.Use Anacoda Prompt command line, type 'python runbook_1.py' or 'python runbook_2.py' to run the test code.The results will be stored (as .png files) in [test] folder.The [test/utils] folder includes sample data used in the runbooks.Use .npy data in RAll the data is stored as .npy files. To load .npy in R, use the following command:# R code, please download reticulate R package first

library(reticulate)
np <- import("numpy")
array = np$load('test/utils/qvar1.npy') # specify where .npy isUseful linkes:Anaconda:https://www.anaconda.com/products/individualtensorflow:https://www.tensorflow.org/api_docs(Tensorflow GPU setup:https://www.tensorflow.org/install/gpu)tensorflow-probability:https://www.tensorflow.org/probabilityNoteWe are actively updating the code. For example, currently the naming convention is messy. In the next step, we want to follow PeP-8 style to improve the readability and consistency of our Python code.
Package: example-robot-data
Example robot URDFsThis repository includes a set of robot descriptions that are aimed to be used in benchmarking, unit-tests, teachings,
tutorials or show-cases. These source files do not intend to substitute their original repositories.:penguin: Installation:package: From Debian / Ubuntu packages, withrobotpkgIf you have never added robotpkg's software repository,do it now:sudotee/etc/apt/sources.list.d/robotpkg.list<<EOFdeb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -sc) robotpkgEOFcurlhttp://robotpkg.openrobots.org/packages/debian/robotpkg.key|sudoapt-keyadd-
sudoaptupdateinstallation of example-robot-data and its python utils:sudoaptinstallrobotpkg-py3\*-example-robot-data:snake: FromAs simple as that:condainstallexample-robot-data-cconda-forge:turtle: With ROSJust clone it (with--recursive) into a catkin workspace.:file_folder: From sourceClone it (with--recursive), create abuilddirectory inside, and:cmake..&&make&&makeinstall:robot: Show a robot withgepetto-guipython -m example_robot_data -hto list available robots.:copyright: Credits:writing_hand: Written byCarlos Mastalli, Heriot-Watt University :uk:Guilhem Saurel, LAAS-CNRS :fr::construction_worker: With contributions fromJustin Carpentier, INRIA :fr:Pierre Fernbach, LAAS-CNRS :fr:Florent Lamiraux, LAAS-CNRS :fr:Wolfgang Merkt, University of Oxford :uk:Josep Martí Saumell, IRI: CSIC-UPC :es:Louis Montaut, INRIA :fr:, CTU :czech_republic:Sergi Martinez, Heriot-Watt University :uk:
Package: example-robot-data-jnrh2023
Example robot URDFsThis repository includes a set of robot descriptions that are aimed to be used in benchmarking, unit-tests, teachings,
tutorials or show-cases. These source files do not intend to substitute their original repositories.:penguin: Installation:package: From Debian / Ubuntu packages, withrobotpkgIf you have never added robotpkg's software repository,do it now:sudotee/etc/apt/sources.list.d/robotpkg.list<<EOFdeb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -sc) robotpkgEOFcurlhttp://robotpkg.openrobots.org/packages/debian/robotpkg.key|sudoapt-keyadd-
sudoaptupdateinstallation of example-robot-data and its python utils:sudoaptinstallrobotpkg-py3\*-example-robot-data:snake: FromAs simple as that:condainstallexample-robot-data-cconda-forge:turtle: With ROSJust clone it (with--recursive) into a catkin workspace.:file_folder: From sourceClone it (with--recursive), create abuilddirectory inside, and:cmake..&&make&&makeinstall:robot: Show a robot withgepetto-guipython -m example_robot_data -hto list available robots.:copyright: Credits:writing_hand: Written byCarlos Mastalli, The University of Edinburgh :uk:Guilhem Saurel, LAAS-CNRS :fr::construction_worker: With contributions fromJustin Carpentier, INRIA :fr:Pierre Fernbach, LAAS-CNRS :fr:Florent Lamiraux, LAAS-CNRS :fr:Wolfgang Merkt, University of Oxford :uk:Josep Martí Saumell, IRI: CSIC-UPC :es:Louis Montaut, INRIA :fr:, CTU :czech_republic:
Package: example.rtsubsites_theme
ContentsIntroductionExample detailsAccessing the SubsiteIf you don’t provide the optional RequestHeaderIf your theme don’t provide a custom viewlet logoA .conf Apache configuration fileAuthorsChangelogIntroductionThis is only an example Plone theme, to be used for testing in a simple way all theredturtle.subsitesfeatures.For a complete list of the features, and for know how to configure properly Apache in front
of Plone, refer to the documentation.This is a sillySunburstextensions with:a different logo imagean additional image in the logo viewleta custom CSS (that make all more gray)a custom JavaScript (that display “Welcome To The demo”)a customized main_template where the footer has been removedExample detailsLet say that you have a Plone site accessible throughhttp://mycompany.com/, where you didn’t
applied any Plone theme (so probably Sunburst base theme).This will be your back-end URL.Basic Sunburst view of the main siteAccessing the SubsiteIf properly configured, when you access thefront-end URL, you will see the new theme with all it’s
customizations.The example theme, visiting the SubsiteYou can also visit a subsite sub-sections:The example theme, visiting a Subsite folderIf you don’t provide the optional RequestHeaderAs said in the documentation, the use of theApache RequestHeadercan be optional for some themes.
Here how you will see the subsite if not provided properly.The example theme, visiting the Subsite without the proper RequestHeaderAs you can see, all CMF skins customization (site logo and main_template) are lost.If your theme don’t provide a custom viewlet logoThese theme provide a custom logo viewlet that properly use the redturtle.subsites basic ones, as
described in the documentation.You need a new logo viewlet only if you need something different from Plone standard as in this example (where
we have two images in the logo).Disabling this viewlet will show the subsite as follow:The example theme with disabled custom logo viewletA .conf Apache configuration fileHere a part of the Apache configuration file for use this theme with a subpath (http://mycompany.com/subsite):ServerName mycompany.com
ServerAlias www.mycompany.com
ServerAdmin ...

...

RewriteEngine On

SetEnvIf Request_URI "^/subsite(.*)" SUBSITE
RequestHeader append plone_skin "Example Theme for redturtle.subsites" env=SUBSITE

RewriteRule ^/subsite(.*) \
"http://127.0.0.1:8080/VirtualHostBase/http/%{SERVER_NAME}:80/Plone/++skin++Example Theme for redturtle.subsites/VirtualHostRoot/subsite/$1" [L,P]
ProxyPassReverse /subsite http://127.0.0.1:8080/

RewriteRule ^/(.*) \
"http://127.0.0.1:8080/VirtualHostBase/http/%{SERVER_NAME}:80/Plone/VirtualHostRoot/$1" [L,P]
ProxyPassReverse / http://127.0.0.1:8080/

...AuthorsThis product was developed by RedTurtle Technology team.Changelog0.1.0 (2011-07-29)Initial release
Package: examples
Read Latest Documentation-Browse GitHub Code RepositoryeXamples(AKA: xamples for SEO) is a Python3 library enabling interactable, self-documenting, and self-verifying examples. These examples are attached directly to Python functions using decorators or via separateMODULE_examples.pysource files.Key Features:Simple and Obvious API: Add@examples.example(*args, **kwargs)decorators for each example you want to add to a function.Auto Documenting: Examples, by default, get added to your functions docstring viewable both in interactive interpreters and when usingportrayorpdocs.Signature Validating: All examples can easily be checked to ensure they match the function signature (and type annotations!) with a single call (examples.verify_all_signatures()).Act as Tests: Examples act as additional test cases, that can easily be verified using a single test case in your favorite test runner: (examples.test_all_examples()).Async Compatibility: Examples can be attached and tested as easily against async functions as non-async ones.What's Missing:Class Support: Currently examples can only be attached to individual functions. Class and method support is planned for a future release.Quick StartThe following guides should get you up and running using eXamples in no time.Installation- TL;DR: Runpip3 install exampleswithin your projects virtual environment.Adding Examples-
TL;DR: Add example decorators that represent each of your examples:# my_module_with_examples.py
 from examples import example

 @example(1, number_2=1, _example_returns=2)
 def add(number_1: int, number_2: int) -> int:
     return number_1 + number_2Verify and Test Examples-
TL;DR: runexamples.verify_and_test_exampleswithin your projects test cases.# test_my_module_with_examples.py
 from examples import verify_and_test_examples

 import my_module_with_examples


 def test_examples_verifying_signature():
     verify_and_test_examples(my_module_with_examples)Introspect Examples -import examples

 from my_module_with_examples import add


 examples.get_examples(add)[0].use() == 2Why Create Examples?I've always wanted a way to attach examples to functions in a way that would be re-useable for documentation, testing, and API proposes.
Just like moving Python parameter types from comments into type annotations has made them more broadly useful, I hope examples can do the same for example calls.I hope you too findeXamplesuseful!~Timothy Crosley
Package: example_sdk
Базовый код для разработки своего SDK + CLIapps -- Хранилище классов, в котором лежит код с основной логикой
cli -- Логика обработки CLI команд
core -- Настройки, подключения и все остальное общее
packages -- Тут я храню объекты для собственной реализации каких-то протоколов, удобных декораторов
services -- Классы для работы с какими-то внешними сервисами. Тут возможно нужна пагинация, хитрая авторизация и тому подобноеmain-- Тут выполняется код, когда приложение вызывается как cliinit-- Тут хранится список объектов, которые доступны для импорта из корняfrom basic_sdk import someи бывает иногда здесь нужно импортировать что-то, чтобы объекты определились при стартеДля пуша в pypi нужно прописатьPOETRY_PYPI_TOKEN_PYPIв .env и выполнитьmake pushЧто будет:Пройдут тестыСделаетсяpoetry lockИ пройдет линтеры
Package: example-search-balancy-0.9
SearchScript's main functionality is searching for a keyword or a phrase via bing.com or duckduckgo.com search engines.It allows choosing search engine, number of results, saving format, possibility to search urls recursively.How to install locallyPython3 and Pip3 should be already installed.Installation is made by command:pipinstallsearchHow to useThe usual way to use search is follow:fromsearchimportsearchsearch(keyword="python")Complete list of script arguments :keyword- is a word, or a phrase to search. Default value is 'python'.engineis the search engine to use for search (bing, duckduckgo). Default value is 'bing'.numberis the number of searched urls of 1st rang. Default value is 3.number2is the number of recursively searched urls of 2nd rang. Default value is 2.formatis saving format (csv, json, console). Default value is 'json'.recursivelyif is True, then script will use recursive searching.Example of usingsearchwith arguments:search(engine="bing",number=2,number2=3,recursively=True,keyword="javascript",format="console")In this case it will search for a phrase "javascript" via bing search engine and will print into console
8 found urls (2 urls of 1st rang and 2*3 urls of 2nd rang)
Package: exampletutorial
Aesthetic ASCII (EXAMPLE TUTORIAL)GenerateA E S T H E T I CASCII art.InstructionsInstall:pip install exampletutorialGenerate an aesthetic ASCII visual:fromexampletutorialimportsynthesize# initialize drive object (to generate visuals)drive=synthesize.Drive()# generate a ASCII visual (dark_mode optional)drive.generate(dark_mode=True)# save to pngdrive.to_png('aesthetic.png')Ride the space skyway home to 80s Miami
Package: example-wolt-package-debug-ci-issues
example_wolt_package_debug_ci_issuesDocumentation:https://rtaycher.github.io/example_wolt_package_debug_ci_issuesSource Code:https://github.com/rtaycher/example_wolt_package_debug_ci_issuesPyPI:https://pypi.org/project/example_wolt_package_debug_ci_issues/what it says on the tin, not a real packageInstallationpipinstallexample_wolt_package_debug_ci_issuesDevelopmentClone this repositoryRequirements:PoetryPython 3.7+Create a virtual environment and install the dependenciespoetryinstallActivate the virtual environmentpoetryshellTestingpytestDocumentationThe documentation is automatically generated from the content of thedocs directoryand from the docstrings
of the public signatures of the source code. The documentation is updated and published as aGithub project pageautomatically as part each release.ReleasingTrigger theDraft release workflow(pressRun workflow). This will update the changelog & version and create a GitHub release which is inDraftstate.Find the draft release from theGitHub releasesand publish it. When
a release is published, it'll triggerreleaseworkflow which creates PyPI
release and deploys updated documentation.Pre-commitPre-commit hooks run all the auto-formatters (e.g.black,isort), linters (e.g.mypy,flake8), and other quality
checks to make sure the changeset is in good shape before a commit/push happens.You can install the hooks with (runs for each commit):pre-commitinstallOr if you want them to run only for each push:pre-commitinstall-tpre-pushOr if you want e.g. want to run all checks manually for all files:pre-commitrun--all-filesThis project was generated using thewolt-python-package-cookiecuttertemplate.
Package: examregressor
package_namekrocketis a Python library for space programming hackers who frequently hear about in the news
when theyhackinto nasa systems.InstallationUse the package managerpipto installkrocket.pipinstallkrocketUsageimportkrocket# returns 'words'package_name.module_name('word')# returns 'geese'package_name.module_name('goose')# returns 'phenomenon'package_name.module_name('phenomena')LicenseMIT
Package: exams2anki
exams2ankiConvertExamTopicspages to Anki decks!RequirementsAt least one of the following webdrivers must be installed and in your PATH environment variable:chromedriverEdge WebDriverChrome will be used by default, if you wish to use the Edge WebDriver use the flag--edge.Installationpip install exams2ankiUsageexams2anki --helpInstall local versionIf you have cloned this repository you can run:python3 setup.py installBuild and publishIf you had created this package you would be able to run:python3 setup.py sdist bdist_wheel
twine upload dist/*TemplateYou can experiment creating your own template based on the existing ones using the--templateoption.Licenseexams2anki - Convert ExamTopics pages to Anki decks
Copyright (C) 2021  Guilherme Caulada

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.