Saravanan666/pypi-org huggingface dataset:
Package: example-package-HA-TUONG-NGUYEN-NEW
🐼nguyenpanda🐼nguyenpandaOverviewWelcome to the world ofnguyenpanda, a Python library that brings you the essence of utility packages,
each named after animals, perfectly representing its unique domain.🦋 butterflyEmbark on a journey through randomness and chaos with the enigmaticbutterflypackage.
Delve into the realms of uncertainty, probability, and statistics.
Embrace the unpredictable nature of nguyenpanda'sbutterfly.
Remember, even the flutter of abutterfly'swings can cause significant changes in a complex system,
so seize the opportunity to explore its mysteries.🦉 owlIlluminate the path to mathematical enlightenment with the wisdom of theowl.
Ascend to mastery in calculus, conquer the realms of linear algebra,
and traverse the diverse landscapes of mathematics.
Allow nguyenpanda'sowlto be your steadfast companion on your intellectual odyssey.🐦‍⬛ ravenEnter the realm of the raven, where intelligence and innovation
converge in a comprehensive library of data structures
Inspired by the ingenuity of the raven, this package offers elegant data structures classes.🦢 swanIndulge in the beauty of aesthetics and user interfaces with the elegantswanpackage.
Dive into the world of colors, front-end development, GUI, and more.
Transform your applications into visual masterpieces withswan.InstallationTo embark on your nguyenpanda adventure, install the library with the following command:pipinstallnguyenpandaFor a specific version, gracefully flutter to your desired release with:pipinstallnguyenpanda==<version>Getting StartedUnleash the power of nguyenpanda by delving into the documentation and perusing code examples within each package directory. Witness the harmonious convergence of butterfly, owl, and swan as they elevate your projects in distinct domains.🤝 ContributionsBecome a part of the nguyenpanda community! Share your ideas, report bugs, or request features through GitHub issues. We welcome your contributions and enhancements.🪪 Licensenguyenpanda is released under the MIT License. Feel the freedom to explore, utilize, and contribute, respecting the terms outlined in the license.☎️ ContactHà Tường Nguyên (Mr.)Computer ScienceOffice for International Study Programs | HCMC University of TechnologyContact via:Gmail:nguyen.hatuong0107@hcmut.edu.vnGmail:hatuongnguyen0107@gmail.comHappy coding with nguyenpanda! 🚀
Package: example-package-hchiam
My notes:Register for an account on test.pypi, and get an API token.https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives# update the pyproject.toml [project] name (to be the package name)python3-mpipinstall--upgradebuild# go to folder that contains pyproject.toml and run this:python3-mbuildhttps://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archivespython3-mpipinstall--upgradetwine# go folder containing dist and run this:python3-mtwineupload--repositorytestpypidist/*# for username, literally enter username as __token__# for password, use your API key from your test.pypi account, including pypi- prefix# https://test.pypi.org/search/?q=example_package_hchiam# https://test.pypi.org/project/example-package-hchiam/(more steps if you want to test the test-only version of your package:https://test.pypi.org/project/example-package-hchiam/)To upload the production-ready version of your package: (pypi requires a separate registration and API key set up from the test.pypi site)python3-mtwineuploaddist/*# for username, still literaly enter __token__# for password, use your other API key from your pypi account, including pypi- prefix# https://pypi.org/search/?q=example_package_hchiam# https://pypi.org/project/example-package-hchiam/https://pypi.org/project/example-package-hchiam/# python3 -m pip install [your-package]python3-mpipinstallexample_package_hchiam/tests/test_example.pyshows a good example of how the package will be used by users, where you can see a method from an inner/non-__init__file, e.g.:fromexample_package_hchiam.exampleimportadd_oneStreamlined thereafter:# update code# update pyproject.toml version number# remove the old .whl and .gz filesrm-rfdist
python3-mbuild
python3-mtwineupload--repositorytestpypidist/*
python3-mtwineuploaddist/*

python3-mpipinstallexample_package_hchiam
Package: example-package-Jahnvi
TOPSISTOPSIS is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion.FunctionperformTopsis(dataframe,weight,impact)

Parameters:
    DataFrame : Pandas DataFrame on which TOPSIS is to be applied
    weight : python string, numeric values separated by comma
    impact : python string, + or - separated by comma

Return Value:
    pandas DataFrame containing addition columns - TOPSIS score and TOPSIS rank
Package: example-package-joaopcnogueira
Example PackageThis is a simple example package. You can useGithub-flavored Markdownto write your content.Setup$ git cloneTo install the package locally:$makeinstallTo build the wheels and source distributions files:$makebuildTo upload the builded package to PyPI:$makeuploadIn order to build and upload sequentially, you should just:$makepypiUsagefromexample_package_joaopcnogueiraimportexampleexample.add_one(10)for the CLI interface, just go:$python-mexample_package_joaopcnogueira--add-two20Package Structureexample_package_joaopcnogueira/The package folder, within it there is the python modules.example_package_joaopcnogueira/__init__.pyFile that indicates that the folderexample_package_joaopcnogueirais a packageexample_package_joaopcnogueira/example.pyPython modulepyproject.tomlFile that contains metadata information about the package and how to build it. It's the current recommendation instead of setup.pyREADME.mdThis actual file, where we put information about the package to be read by humans..gitignoreGit special file which indicates what files and folders should not be tracked by git.MakefileA configuration file which handles command line utilities on how to install, build and upload the project to PyPI.notebooks/Folder where notebooks files exists.tests/Folder where the tests code exists.ReferencesPackaging Python Projects from PyPA - Python Project Authority
Package: example-package-Jsqfylune
BlackSwanlab 用户使用指南为了帮助您更好地理解如何使用我们的Swanlab库进行模型训练过程中的损失和准确度实时跟踪，这里提供了详细的步骤。1. 安装 BlackSwanlab首先，您需要安装BlackSwanlab库。可以使用以下命令通过pip进行安装：pipinstallBlackSwanlab2. 导入 BlackCat 类在您的训练代码中，首先需要做的是导入我们提供的BlackCat类。您可以通过以下方式进行：fromBlackSwanlab.trackerimportBlackCat3. 定义训练函数在开始训练之前，您需要定义一个训练函数。这是一个典型的训练函数例子：defmy_training_function(epoch):# 在这里插入您的训练代码# 根据您的模型和数据计算损失和精度# 假设我们在这里随机生成一些数据importrandomloss=random.uniform(0,1)accuracy=random.uniform(0,1)returnloss,accuracy注意: 您的训练函数必须接受一个名为epoch的参数，并返回两个值：loss和accuracy。4. 实例化和使用 BlackCat 类接下来，您可以实例化BlackCat类，并将您的训练函数作为参数传给它。然后，只需调用track()方法即可启动训练：tracker=BlackCat(epochs=100,user_training_func=my_training_function)tracker.track()在训练开始后，Swanlab将会启动一个Flask服务器，实时更新并提供训练的损失和精度数据。5. 查看实时训练指标最后，您可以使用任意的web浏览器，访问http://localhost:5000/metrics来查看训练的实时指标。注意: 如果您运行的主机有端口访问限制，您可能需要对您的网络配置进行相应的调整。这就是所有您需要了解的训练和实时监控训练过程的步骤。如果您遇到任何问题，欢迎提交问题或联系我们。Swanlab团队祝您使用愉快！
Package: example-package-Loicpln
M1-2022-gitIntroductionThis repository is a fork from the previous repository.
The bugs in the converter have been fixed and now we want to publish our work as a publicly available python package.Getting startedYou should be working fromyour own repositorythat is a fork of M1-2022-git-workflow.
In order to run this project, you will have to follow these steps.Clone this projectmove into the project foldercdM1-2022-git-workflowSet up a virtual environmentCreate the virtual environmentpython-mvenvmyvenvActivate venv.venv/bin/activateInstall pytestpipinstall-UpytestExecute main scriptpythonmain.pyInstructionsMerge feature branch into devNow that the converter has no more bugs, we want to merge our branch feature into the dev branch.
We will do a pull request (on your own repo). On GitHub, go to the "Pull requests tab" and click "New pull request".
Selectbaseandcompare. Remember : we want to mergedecimal-binary-converterintodev.
Then,Create the pull request. Add some description of the work you have done and publish the Pull Request.Note: We could have just mergedecimal-binary-converterintodevfrom the command line. However, when working on a real project, you probably won't have the rights to do so. Remember : dev is a public branch. So all the work going down there should be carefully reviewed and tested.Publish your workWe now have an awesome binary/decimal two ways converter ! It's time to publish it so the rest of the world can enjoy it !
We will publish it on PyPI (Python Package Index) which is a public repository of softwares for Python.First, you have to create an account onPypi.orgThen, in your repository, you will find a.github directoryInside this directory, you will find .yml files that defines workflows (using GitHub actions)Open the yml files and take time to understand them. Do not hesitate to ask the teacher about themHands on !We want to create a workflow that will, on publish, test our code and if tests succeed, then publish our package on PyPIIn GitHub, click on theActionstab, then click onnew workflowChoose among the suggestions the template that best suits your use-case and clickConfigureYou may find some useful informations in thePython documentationWhen creating a release on GitHub, do not forget to create a tag corresponding to that releasePull requestOnce the workflow is setup and tested (you have published your package using it) you can open a pull request to theoriginal repository
Package: example-package-loic-S
M1-2022-gitIntroductionThis repository is a fork from the previous repository.
The bugs in the converter have been fixed and now we want to publish our work as a publicly available python package.Getting startedYou should be working fromyour own repositorythat is a fork of M1-2022-git-workflow.
In order to run this project, you will have to follow these steps.Clone this projectmove into the project foldercdM1-2022-git-workflowSet up a virtual environmentCreate the virtual environmentpython-mvenvmyvenvActivate venv.venv/bin/activateInstall pytestpipinstall-UpytestExecute main scriptpythonmain.pyInstructionsMerge feature branch into devNow that the converter has no more bugs, we want to merge our branch feature into the dev branch.
We will do a pull request (on your own repo). On GitHub, go to the "Pull requests tab" and click "New pull request".
Selectbaseandcompare. Remember : we want to mergedecimal-binary-converterintodev.
Then,Create the pull request. Add some description of the work you have done and publish the Pull Request.Note: We could have just mergedecimal-binary-converterintodevfrom the command line. However, when working on a real project, you probably won't have the rights to do so. Remember : dev is a public branch. So all the work going down there should be carefully reviewed and tested.Publish your workWe now have an awesome binary/decimal two ways converter ! It's time to publish it so the rest of the world can enjoy it !
We will publish it on PyPI (Python Package Index) which is a public repository of softwares for Python.First, you have to create an account onPypi.orgThen, in your repository, you will find a.github directoryInside this directory, you will find .yml files that defines workflows (using GitHub actions)Open the yml files and take time to understand them. Do not hesitate to ask the teacher about themHands on !We want to create a workflow that will, on publish, test our code and if tests succeed, then publish our package on PyPIIn GitHub, click on theActionstab, then click onnew workflowChoose among the suggestions the template that best suits your use-case and clickConfigureYou may find some useful informations in thePython documentationWhen creating a release on GitHub, do not forget to create a tag corresponding to that releasePull requestOnce the workflow is setup and tested (you have published your package using it) you can open a pull request to theoriginal repository
Package: example-package-lth
Python Example PackageClone of cjolowicz/hypermodern-pythonMaking an example package usingmodernPython toolchain.
To quick start with aCookiecuttertemplate, refer tohttps://github.com/cjolowicz/cookiecutter-hypermodern-python.Topics covered:Create a package insrclayoutManage dependency withPoetryCommand-line interfaces withclickConsume a REST API withrequestsUnit testing withpytestCode coverage withCoverage.pyTest automation withNoxMocking withpytest-mockEnd-to-end testingLinting withflake8Code formatting withblackChecking import withflake8-import-orderFinding more bugs withflake8-bugbearIdentifying security issues withbanditFinding security vulnerabilities in dependencies withSafetyManaging dependencies inNoxsessions withPoetryManaging Git hooks withpre-commit
Package: example-package-Mailliw83
M1-2022-gitIntroductionThis repository is a fork from the previous repository.
The bugs in the converter have been fixed and now we want to publish our work as a publicly available python package.Getting startedYou should be working fromyour own repositorythat is a fork of M1-2022-git-workflow.
In order to run this project, you will have to follow these steps.Clone this projectmove into the project foldercdM1-2022-git-workflowSet up a virtual environmentCreate the virtual environmentpython-mvenvmyvenvActivate venv.venv/bin/activateInstall pytestpipinstall-UpytestExecute main scriptpythonmain.pyInstructionsMerge feature branch into devNow that the converter has no more bugs, we want to merge our branch feature into the dev branch.
We will do a pull request (on your own repo). On GitHub, go to the "Pull requests tab" and click "New pull request".
Selectbaseandcompare. Remember : we want to mergedecimal-binary-converterintodev.
Then,Create the pull request. Add some description of the work you have done and publish the Pull Request.Note: We could have just mergedecimal-binary-converterintodevfrom the command line. However, when working on a real project, you probably won't have the rights to do so. Remember : dev is a public branch. So all the work going down there should be carefully reviewed and tested.Publish your workWe now have an awesome binary/decimal two ways converter ! It's time to publish it so the rest of the world can enjoy it !
We will publish it on PyPI (Python Package Index) which is a public repository of softwares for Python.First, you have to create an account onPypi.orgThen, in your repository, you will find a.github directoryInside this directory, you will find .yml files that defines workflows (using GitHub actions)Open the yml files and take time to understand them. Do not hesitate to ask the teacher about themHands on !We want to create a workflow that will, on publish, test our code and if tests succeed, then publish our package on PyPIIn GitHub, click on theActionstab, then click onnew workflowChoose among the suggestions the template that best suits your use-case and clickConfigureYou may find some useful informations in thePython documentationWhen creating a release on GitHub, do not forget to create a tag corresponding to that releasePull requestOnce the workflow is setup and tested (you have published your package using it) you can open a pull request to theoriginal repository
Package: example-package-MathildeH-28
M1-2022-gitIntroductionThis repository is a fork from the previous repository.
The bugs in the converter have been fixed and now we want to publish our work as a publicly available python package.Getting startedYou should be working fromyour own repositorythat is a fork of M1-2022-git-workflow.
In order to run this project, you will have to follow these steps.Clone this projectmove into the project foldercdM1-2022-git-workflowSet up a virtual environmentCreate the virtual environmentpython-mvenvmyvenvActivate venv.venv/bin/activateInstall pytestpipinstall-UpytestExecute main scriptpythonmain.pyInstructionsMerge feature branch into devNow that the converter has no more bugs, we want to merge our branch feature into the dev branch.
We will do a pull request (on your own repo). On GitHub, go to the "Pull requests tab" and click "New pull request".
Selectbaseandcompare. Remember : we want to mergedecimal-binary-converterintodev.
Then,Create the pull request. Add some description of the work you have done and publish the Pull Request.Note: We could have just mergedecimal-binary-converterintodevfrom the command line. However, when working on a real project, you probably won't have the rights to do so. Remember : dev is a public branch. So all the work going down there should be carefully reviewed and tested.Publish your workWe now have an awesome binary/decimal two ways converter ! It's time to publish it so the rest of the world can enjoy it !
We will publish it on PyPI (Python Package Index) which is a public repository of softwares for Python.First, you have to create an account onPypi.orgThen, in your repository, you will find a.github directoryInside this directory, you will find .yml files that defines workflows (using GitHub actions)Open the yml files and take time to understand them. Do not hesitate to ask the teacher about themHands on !We want to create a workflow that will, on publish, test our code and if tests succeed, then publish our package on PyPIIn GitHub, click on theActionstab, then click onnew workflowChoose among the suggestions the template that best suits your use-case and clickConfigureYou may find some useful informations in thePython documentationWhen creating a release on GitHub, do not forget to create a tag corresponding to that releasePull requestOnce the workflow is setup and tested (you have published your package using it) you can open a pull request to theoriginal repository
Package: example-package-moudexiao
Example PackageThis is a simple example package. You can useGithub-flavored Markdownto write your content.importgzipdefun_gz(file_name):#获取文件名，去掉后缀名f_name=filename.replace(".gz","")#开始解压g_file=gzip.GzipFile(file_name)#读取解压后的文件，并写入去掉后缀名的同名文件open(f_name,"wb+").write(g_file.read())g_file.close()un_gz('D:\D盘\Desktop\cvyuan-0.1.tar.gz')#绝对路劲echo"# duoyuantongji">>README.md
gitinit
gitaddREADME.md
gitcommit-m"first commit"gitbranch-Mmain
gitremoteaddoriginhttps://github.com/moudexiao/duoyuantongji.git
gitpush-uoriginmain


gitremoteaddoriginhttps://github.com/moudexiao/duoyuantongji.git
gitbranch-Mmain
gitpush-uoriginmain
Package: example-package-Mouritech-storage
At the moment, our code is capable of storing the files in the database. However, this is not a desirable practice. With time our database will get "fat" and slow, and we do not want that to happen. Images haven't been stored in databases as blobs for a while now, and you'll typically save images on your own server where the application is hosted on, or on an external server or service such as AWS's S3.Multiple file input
from django.forms import ModelForm, ClearableFileInput
from .models import Beastclass BeastForm(ModelForm):
class Meta:
model = Beast
fields = 'all'
widgets = {
'media': ClearableFileInput(attrs={'multiple': True})
}
Package: example-package-muellerjo
dl_PyPIMinimal Example for generating public librariesGenerating distribution archivespy -m pip install --upgrade buildpy -m buildUploading the distribution archivespy -m pip install --upgrade twinetwine upload --repository-url https://upload.pypi.org/legacy/ dist/*You will be prompted for a username and password. For the username, usetoken. For the password, use the token value, including the pypi- prefix.After the command completes, you should see output similar to this:Uploading distributions to https://test.pypi.org/legacy/
Enter your username: __token__
Uploading example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.2/8.2 kB • 00:01 • ?
Uploading example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 kB • 00:00 • ?Once uploaded, your package should be viewable on TestPyPI; for example:https://test.pypi.org/project/example_package_YOUR_USERNAME_HERE.
Package: example-package-nqtuan
READMEThis is a simple example package.What is this repository for?Quick summaryVersionLearn MarkdownHow do I get set up?Summary of set upConfigurationDependenciesDatabase configurationHow to run testsDeployment instructionsContribution guidelinesWriting testsCode reviewOther guidelinesWho do I talk to?Repo owner or adminOther community or team contact
Package: example-package-PERRIN-Liam
M1-2022-gitIntroductionThis repository is a fork from the previous repository.
The bugs in the converter have been fixed and now we want to publish our work as a publicly available python package.Getting startedYou should be working fromyour own repositorythat is a fork of M1-2022-git-workflow.
In order to run this project, you will have to follow these steps.Clone this projectmove into the project foldercdM1-2022-git-workflowSet up a virtual environmentCreate the virtual environmentpython-mvenvmyvenvActivate venv.venv/bin/activateInstall pytestpipinstall-UpytestExecute main scriptpythonmain.pyInstructionsMerge feature branch into devNow that the converter has no more bugs, we want to merge our branch feature into the dev branch.
We will do a pull request (on your own repo). On GitHub, go to the "Pull requests tab" and click "New pull request".
Selectbaseandcompare. Remember : we want to mergedecimal-binary-converterintodev.
Then,Create the pull request. Add some description of the work you have done and publish the Pull Request.Note: We could have just mergedecimal-binary-converterintodevfrom the command line. However, when working on a real project, you probably won't have the rights to do so. Remember : dev is a public branch. So all the work going down there should be carefully reviewed and tested.Publish your workWe now have an awesome binary/decimal two ways converter ! It's time to publish it so the rest of the world can enjoy it !
We will publish it on PyPI (Python Package Index) which is a public repository of softwares for Python.First, you have to create an account onPypi.orgThen, in your repository, you will find a.github directoryInside this directory, you will find .yml files that defines workflows (using GitHub actions)Open the yml files and take time to understand them. Do not hesitate to ask the teacher about themHands on !We want to create a workflow that will, on publish, test our code and if tests succeed, then publish our package on PyPIIn GitHub, click on theActionstab, then click onnew workflowChoose among the suggestions the template that best suits your use-case and clickConfigureYou may find some useful informations in thePython documentationWhen creating a release on GitHub, do not forget to create a tag corresponding to that releasePull requestOnce the workflow is setup and tested (you have published your package using it) you can open a pull request to theoriginal repository
Package: example-package-priya2
Open command prompt
Go to the directory where you have this folder(D:\Project1>) Project1 is the folder having all the files and packages
Now run the cmd "pip install package" press enter
Now run the cmd "python src\launcher.py" press enter
It asks for a log path enter a name if you want the log message to be stored in a file(you can see this file in "Project1\logs" after running) else you just hit enter so that the log messages comes on your cmd itself
Package: example-package-pypi
关于 pypi-demo这是统一制品库 pypi 协议的测试工程，大家可以使用这个工程体验 Python 制品构建、上传和下载。声明社区在 2022年 1 月 1 日 已不再支持 Python2，这里使用 Python3 演示。使用方法配置在本地 ~/.pypirc 文件中写入[pypi]
repository: http://localhost:8888/artifact/repositories/simple/
username: admin
password: adminTest2022本地启动 artifacts 应用后默认监听 8888 端口，默认使用 simple 库。如测试联调环境，请将 localhost 替换成联调环境 ip 即可(下载时命令行参加追加 --trusted-host [联调环境ip])。构建python3 -m build上传python3 -m twine upload dist/*下载python3 -m pip download example-pypi-package==0.0.1 -i http://localhost:8888/artifact/repositories/simple/