Saravanan666/pypi-org huggingface dataset:
Package: setup-dist
Installation$[sudo]pipinstallsetup-distConceptpypi/prodsetup.pywithout unnecessary metadata (keywords,description,long_description,classifiers,url, etc)Prosless production code and commitsHow it worksproject metadata is stored in the distributionPKG-INFOfileUsage$usage:python-msetup_dist...Featureskeydefault valueenvironment variablenameos.path.basename(os.getcwd()).split(".")[0].lower()SETUP_NAMEversionNoneSETUP_VERSIONpackagessetuptools.find_packages()SETUP_PACKAGESinstall_requiresrequirements.txtlinesSETUP_INSTALL_REQUIRESorSETUP_INSTALL_REQUIRES_FILEclassifiersclassifiers.txtlinesSETUP_CLASSIFIERSorSETUP_CLASSIFIERS_FILEscriptsscripts/filesSETUP_SCRIPTSkeywordsNoneSETUP_KEYWORDSorSETUP_KEYWORDS_FILEdescriptionNoneSETUP_DESCRIPTIONlong_descriptionREADME.mdorREADME.rstcontentSETUP_LONG_DESCRIPTIONorSETUP_LONG_DESCRIPTION_FILElicenseNoneSETUP_LICENSEurlNoneSETUP_URLExamplesdist_dir="$(mktemp-d)"exportSETUP_VERSION="42"exportSETUP_DESCRIPTION="Answer to the Ultimate Question of Life, the Universe, and Everything"python-msetup_distsdist--dist-dir="$dist_dir"1>/dev/nulltwine uploadsdist="$(find"$dist_dir"-typef-name"*.tar.gz")"twineupload--config-file=~/.pypirc"$sdist"pypi/prodsetup.pyimportsetuptoolssetuptools.setup(name='NAME',install_requires=open('requirements.txt').read().splitlines(),packages=setuptools.find_packages())readme42.com
Package: setupext-pip
Asetuptoolsextension that installs requirements based onpiprequirements files.Wait… Why? What??Installing runtime dependencies is already handled by setuptools right?
It’s as easy as runningpython setup.py develop?!  Not quite…setup.pyis a great tool and thedevelopcommand is useful for setting
up basic development and installing the dependencies identified by thesetup_requireskeyword.  What it does not do is install any tools that
are used for actually hacking on the code base.  Many projects include apip-formatted requirements filenamedrequirements.txtfor this very
purposes.  It contains the dependencies that you need to have installed to
work on the project instead of use it.  This extension aims to automate
that pattern and make it easier to set up a development environment by
providing a new setup command namedrequirements.Having a separaterequirements.txtis a good pattern but it is not
without its flaws.  Having dependencies identified in two places is an
outright violation of theDon’t Repeat Yourselfprinciple.  That is
something else that we can solve pretty easily with a function that you
can read a pip-formatted requirements file and generate a list that is
usable as the setupsetup_requires,install_requires, ortests_requirekeywords.  This is where thesetupext.pip.read_requirements_from_filefunction comes in.
You can use this function to populate thesetup_requires,tests_require, andextras_requirekeywords.Ok… Where?Sourcehttps://github.com/dave-shawley/setupext-pipStatushttps://travis-ci.org/dave-shawley/setupext-pipDownloadhttps://pypi.python.org/pypi/setupext-pipDocumentationhttp://setupext-pip.readthedocs.org/en/latest/Issueshttps://github.com/dave-shawley/setupext-pip
Package: setupextras
setupextrasAdditional commonsetuptoolshelpers - for Python.IntroductionTODOInstallInstall usingpip:$pipinstallsetupextrasUseVery basicexample:# =========================================#       IMPORTS# --------------------------------------importosimportjsonimportsetuptoolsimportsetupextras# =========================================#       PACKAGE# --------------------------------------name='foo'version='1.0.0'description='A foo library.'keywords=['foo','bar',]packages=setupextras.get_packages()data_files=setupextras.get_data_files(['*.*'],os.path.join(name,'tests','__fixtures__'))requirements=setupextras.get_requirements()readme=setupextras.get_readme()config={'name':name,'version':version,'description':(description),'keywords':keywords,'author':'Jonas Grimfelt','author_email':'grimen@gmail.com','url':'https://github.com/grimen/python-{name}'.format(name=name),'download_url':'https://github.com/grimen/python-{name}'.format(name=name),'project_urls':{'repository':'https://github.com/grimen/python-{name}'.format(name=name),'bugs':'https://github.com/grimen/python-{name}/issues'.format(name=name),},'license':'MIT','long_description':readme,'packages':packages,'data_files':data_files,'install_requires':requirements,}print('CONFIG{0}'.format(json.dumps(config,indent=4)))# =========================================#       MAIN# --------------------------------------setuptools.setup(**config)TestClone down source code:$makeinstallRuncolorful tests, with only native environment (dependency sandboxing up to you):$maketestRunless colorful tests, withmulti-environment(usingtox):$maketest-toxAboutThis project was mainly initiated - in lack of solid existing alternatives - to be used at our work atMarkable.aito have common code conventions between various programming environments wherePython(research, CV, AI) is heavily used.LicenseReleased under the MIT license.
Package: setup-freeze
What it does:setup-freezewill edit yoursetup.pyfor you, pinning yourinstall_requiresto the exact version that you have installed.What it doesn’t do: Add or remove entries in yourinstall_requires. Touch any of the other arguments that specify requirements, likesetup_requiresorextras_require(yet).How to use it:pip installsetup-freeze, thencdto a directory with asetup.pyin it and runsetup-freeze.What you need to know: Yoursetup.pyneeds to contain a call tosetup(), with aninstall_requiresargument set to a list, tuple, or set literal that contains string literals. It also needs to be UTF-8 encoded, and parseable by the version of Python thatsetup-freezeis installed in (so, if you installsetup-freezeglobally in Python 2, yoursetup.pyneeds to be Python-2-friendly even if you’re in a Python 3 virtualenv, or vice versa).What you can do with the source code: Whatever you like, provided that you comply with the conditions of the MIT License.What you shouldn’t blame me for: This is beta software, and as such comes with no guarantee that it won’t completely mess up your setup.py, delete your entire project, or set your computer on fire. I’m pretty sure it won’t, but having version control, backups, and fire extinguishers is good practice anyway, right?
Package: setup-generator
SetupGeneratorPequena biblioteca para criar um setup.py rápido.Cliqueaquipara acessar o repositório.InstalaçãoVocê pode baixar pelo pip:pip install setup-generatorComo usar?Abra o terminal e digite:setup-generatorDepois disso, você será solicitado a digitar o nome do seu projeto, o nome do autor, a versão do projeto, a descrição do projeto, o nome do arquivo principal e o nome do arquivo de instalação. Após isso, o arquivo setup.py será criado.
Package: setupjavax
setupjavax - Pre-ReleaseREMARK:This release is a nightly build for the The-Big-Bang integration test of
the whole set of currently released packages.
Which together found parts of platform frameworks at the lower software stack.
Thus naturally have some closer dependencies to their siblings.Even though applicable,setupjavaxmay have some integration issues,
and some options to be finalized.The final release is going to be available very soon.setupjavaxThe ‘setupjavax‘ package provides missing and enhanced extension modules forsetup.py- setuptools / distutils.
The current release supports the following commands, additional are coming soon:build_java-Javabuild and packaging forPython.SupportsJavapackaging forPythonprojects, adds nativeJavamodules forJython.build_jy- IntegratedPythonandJavabuilds forJython.Supports combinedJavaandPython/Jythonpackaging. Callsbuild_pyandbuild_java.The current supported platforms are:Linux, BSD, Unix, OS-X, Cygwin, and Windowsx86, amd64, arm32/armhf, arm64/aarch64Servers, Workstations, Embedded SystemsDatacenters, public and private Clouds, IoTFor more extensions refer to the online documentation.Online documentation:https://pysetupjavax.sourceforge.io/Runtime-Repository:PyPI:https://pypi.org/project/pysetupjavax/Install:pip install setupjavax, see also section ‘Install’ of the online documentation.Downloads:sourceforge.net:https://sourceforge.net/projects/pysetupjavax/files/bitbucket.org:https://bitbucket.org/acue/pysetupjavaxgithub.com:https://github.com/ArnoCan/pysetupjavax/pypi.org:https://pypi.org/project/pysetupjavax/Project DataPROJECT: ‘setupjavax’MISSION: Command extension ofsetup.pyfor multi-platform and documentation deployments.VERSION: 00.01RELEASE: 00.01.038STATUS: alphaAUTHOR: Arno-Can UestuensoezCOPYRIGHT: Copyright (C) 2019 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can UestuensoezLICENSE: Artistic-License-2.0 + Forced-Fairplay-ConstraintsConcepts and enumeration values are migrated from theUnifiedSessionsManager(C) 2008 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez.Runtime EnvironmentFor a comprehensive list refer to the documentation.Python Syntax SupportPython2.7, and Python3Python Implementation SupportCPython, IPython, IronPython, Jython, and PyPyOS on Server, Workstation, Laptops, Virtual Machines, and ContainersLinux: AlpineLinux, ArchLinux, CentOS, Debian, Fedora, Gentoo, OpenSUSE, Raspbian, RHEL, Slackware, SLES, Ubuntu, …BSD: DragonFlyBSD, FreeBSD, NetBSD, OpenBSD, GhostBSD, TrueOS, NomadBSDOS-X: Snow LeopardWindows: Win10, Win8.1, Win7, WinXP, Win2019, Win2016, Win2012, Win2008, Win2000WSL-1.0: Alpine, Debian, KaliLinux, openSUSE, SLES, UbuntuCygwinUNIX: Solaris10, Solaris11Minix: Minix3ReactOSNetwork and SecurityNetwork Devices: OpenWRTSecurity: KaliLinux, pfSenseOS on Embedded DevicesRaspberryPI: ArchLinux, CentOS, OpenBSD, OpenWRT, RaspbianASUS-TinkerBoard: ArmbianCreation of Special Deployment PackagesMicroPython: CircuitPython, MicroPythonCurrent ReleaseREMARK:Currently tested by application to the other projects of the author.
So for now no package tests defined.Major Changes:Initial version.ToDo:Deployment to remote MicroPython, and CircuitPython
Package: setuplib
Thesetuplibpackage provides core functions for the query of meta information
and installation repositories ofPythonpackages. It provides query and filter
options on the installed packages and the available information, while displaying
the result data in various formats, e.g. as table, list, or JSON, XML, YAML,
CSV, etc.The provided commands and extension points integrate seamless into the standardsetuptoolsand/ordistutils. Thesetuplibis member of the groupsetuplibof extension components for the commonsetup.pyinstaller.The targeted users are mainly developers, advanced users, and system administrators.Online documentation:https://setuplib.sourceforge.io/Runtime-Repository:PyPI:https://pypi.org/project/setuplib/Install:pip install setuplib, see also section ‘Install’ of the online documentation.Downloads:sourceforge.net:https://sourceforge.net/projects/setuplib/files/bitbucket.org:https://bitbucket.org/acue/setuplibgithub.com:https://github.com/ArnoCan/setuplib/pypi.org:https://pypi.org/project/setuplib/Project DataPROJECT: ‘setuplib’MISSION: Support library functions for extensions and entry points of setuptools / distutils.VERSION: 00.01RELEASE: 00.01.014STATUS: betaAUTHOR: Arno-Can UestuensoezCOPYRIGHT: Copyright (C) 2019 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can UestuensoezLICENSE: Artistic-License-2.0 + Forced-Fairplay-ConstraintsConcepts and enumeration values are migrated from theUnifiedSessionsManager(C) 2008 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez.Runtime EnvironmentFor a comprehensive list refer to the documentation.Python Syntax SupportPython2.7, and Python3Python Implementation SupportCPython, IPython, IronPython, Jython, and PyPyOS on Server, Workstation, Laptops, Virtual Machines, and ContainersLinux: AlpineLinux, ArchLinux, CentOS, Debian, Fedora, Gentoo, OpenSUSE, Raspbian, RHEL, Slackware, SLES, Ubuntu, …BSD: DragonFlyBSD, FreeBSD, NetBSD, OpenBSD, GhostBSD, TrueOS, NomadBSDOS-X: Snow LeopardWindows: Win10, Win8.1, Win7, WinXP, Win2019, Win2016, Win2012, Win2008, Win2000WSL-1.0: Alpine, Debian, KaliLinux, openSUSE, SLES, UbuntuCygwinUNIX: Solaris10, Solaris11Minix: Minix3ReactOSNetwork and SecurityNetwork Devices: OpenWRTSecurity: KaliLinux, pfSenseOS on Embedded DevicesRaspberryPI: ArchLinux, CentOS, OpenBSD, OpenWRT, RaspbianASUS-TinkerBoard: ArmbianCreation of Special Deployment PackagesMicroPython: CircuitPython, MicroPythonCurrent ReleaseREMARK:Currently tested by application to the other projects of the author.
So for now no package tests defined.Major Changes:Initial version.ToDo:Clipping in table layoutDeployment to remote MicroPython, and CircuitPython
Package: setuplibcore
Thesetuplibcorepackage provides internal core functions for thesetuplibfamily in order to avoid of dependency issues.Online documentation:https://setuplibcore.sourceforge.io/Runtime-Repository:PyPI:https://pypi.org/project/setuplibcore/Install:pip install setuplibcore, see also section ‘Install’ of the online documentation.Downloads:sourceforge.net:https://sourceforge.net/projects/setuplibcore/files/bitbucket.org:https://bitbucket.org/acue/setuplibcoregithub.com:https://github.com/ArnoCan/setuplibcore/pypi.org:https://pypi.org/project/setuplibcore/Project DataPROJECT: ‘setuplibcore’MISSION: Core library functions for extensions and entry points of setuptools / distutils.VERSION: 00.01RELEASE: 00.01.015STATUS: betaAUTHOR: Arno-Can UestuensoezCOPYRIGHT: Copyright (C) 2019 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can UestuensoezLICENSE: Artistic-License-2.0 + Forced-Fairplay-ConstraintsConcepts and enumeration values are migrated from theUnifiedSessionsManager(C) 2008 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez.Runtime EnvironmentFor a comprehensive list refer to the documentation.Python Syntax SupportPython2.7, and Python3Python Implementation SupportCPython, IPython, IronPython, Jython, and PyPyOS on Server, Workstation, Laptops, Virtual Machines, and ContainersLinux: AlpineLinux, ArchLinux, CentOS, Debian, Fedora, Gentoo, OpenSUSE, Raspbian, RHEL, Slackware, SLES, Ubuntu, …BSD: DragonFlyBSD, FreeBSD, NetBSD, OpenBSD, GhostBSD, TrueOS, NomadBSDOS-X: Snow LeopardWindows: Win10, Win8.1, Win7, WinXP, Win2019, Win2016, Win2012, Win2008, Win2000WSL-1.0: Alpine, Debian, KaliLinux, openSUSE, SLES, UbuntuCygwinUNIX: Solaris10, Solaris11Minix: Minix3ReactOSNetwork and SecurityNetwork Devices: OpenWRTSecurity: KaliLinux, pfSenseOS on Embedded DevicesRaspberryPI: ArchLinux, CentOS, OpenBSD, OpenWRT, RaspbianASUS-TinkerBoard: ArmbianCreation of Special Deployment PackagesMicroPython: CircuitPython, MicroPythonCurrent ReleaseMajor Changes:Initial version.
Package: setuplog
The pitchLogging setup is one of those annoying things that one finds themselves relearning
every time a new project is started.setuplogattempts to centralize, and simplify the set of decisions one needs to make
when bootstrapping a project.# app.pyfromsetuplogimportsetup_loggingsetup_logging(log_level='INFO',namespace='project_name',# opt into {}-style formatting!style='format',)# elsewherefromsetuplogimportloglog.info('Info!')Installingpipinstall"setuplog"
Package: setup_logging_for_me
setup logging for meI never remember how to do python logging basic config. Do you?Free software: ISC licenseFeaturesNeed to view your logs on the console? Just do:importsetup_logging_for_me...setup_logging_for_me.basicConfig()Which does nothing more than calling to:logging.basicConfig(level=logging.INFO,format="%(name)s%(levelname)s%(asctime)s-%(message)s)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2016-1-22)First release on PyPI.
Package: setupmeta-builder
Setupmeta BuilderTry auto buildsetup.pyattributes from git commit, CI config, etc.UsageReplace yoursetup.pyfile to:fromsetupmeta_builderimportsetup_itsetup_it()Done!setupmeta_buildertry resolve other values likeinstall_requiresfor you.meta fieldsresolve frompackagesfind_packages()namepackages orpyproject.tomlversiongit.taglong_descriptionfile:README.rstorREADME.mdauthorandauthor_emailfile:.pkgit.jsonorpyproject.tomlurlgit.origin.urllicensefile:LICENSEclassifierslicense and file.travis.ymlinstall_requiresfiles:requirements.txtorpipfileorpyproject.tomltests_requirefile:pipfileorpyproject.tomlextras_requirefiles:requirements.*.txtorpyproject.tomlentry_points.console_scriptsPACKAGE_ROOT\entry_points_console_scripts.pyorpyproject.toml.Current project is the first example.You can always print attrs usingpython setup.py print_attrs
Package: setupnovernormalize
AboutPrevent version normalization when packaging Python projects withsetuptools. For more details, seehttps://github.com/pypa/setuptools/issues/308.UsageInstallsetupnovernormalizeusing e.g.pip:pip install setupnovernormalizeThen simply importsetupnovernormalizein yoursetup.py:import setupnovernormalize

...

setup(
    name='Your Package',
    version='version-that-will-not-be-touched',
    ...
)
Package: setup-prod
Installation$[sudo]pipinstallsetup-prodConceptpypi/prodsetup.pywithout unnecessary metadataFeaturesMANIFEST.ininclude requirements.txt
exclude MANIFEST.inExamplesname=$(IFS=.;set${PWD##*/};echo$1)version="..."setup-prod"$name""$version">setup.pyimportsetuptoolssetuptools.setup(name='NAME',version='VERSION',install_requires=open('requirements.txt').read().splitlines(),packages=setuptools.find_packages())environment variablesname=$(IFS=.;set${PWD##*/};echo$1)version="..."scripts="$(findscripts-typef)"exportSETUP_SCRIPTS="$scripts"setup-prod"$name""$version">setup.pyimportsetuptoolssetuptools.setup(name='NAME',version='VERSION',install_requires=open('requirements.txt').read().splitlines(),packages=setuptools.find_packages(),scripts=['scripts/file1','scripts/file2'])readme42.com
Package: setuppy
Installation$pipinstallsetuppyHow it worksenvironment variablesSETUPPY_KEYattrsmethodsget_keydefault methodsmethodvalueget_install_requiresrequirements.txtlinesget_nameos.path.basename(os.getcwd()).split('.')[0]get_packagessetuptools.find_packages()get_scriptsbin/orscripts/filesExamples$cdpath/to/project
$exportSETUPPY_VERSION="42"$python-msetuppy>setup.pysetup.pysetup(name='project',version='42',install_requires=[...],packages=[...])subclassingfromsetuppyimportSetupPyclassMySetupPy(SetupPy):defget_scripts(self):...print(MySetupPy(version="42"))
Package: setuppycheck
Checks for questionable practices insetup.pyfiles.PyPI:https://pypi.python.org/pypi/setuppycheckGitHubhttps://github.com/msabramo/setuppycheckInstall$pipinstallsetuppycheckUse[marca@marca-mac2setuppycheck]$setuppycheckexamples/exact_pins/setup.pyWARNING:exactpin:'requests==2.7.0'[marca@marca-mac2setuppycheck]$echo$?1[marca@marca-mac2setuppycheck]$setuppycheckexamples/reads_requirements_text/setup.pyWARNING:reads'/Users/marca/dev/git-repos/setuppycheck/examples/reads_requirements_text/requirements.txt'-lookslikearequirementsfile?Youmightwanttolookathttps://caremad.io/2013/07/setup-vs-requirement/[marca@marca-mac2setuppycheck]$echo$?1ChecksChecks that you are not using exact pins in yoursetup.pyfile – Exact pins insetup.pyget baked into the packages you build and limit flexibility. Folks using your package will have to have that same exact version. If you want to update it, you have to build a new package.Checks that you are not reading arequirements.txtfile and using it to populateinstall_requiresinsetup.py. I think that people mostly do this because they don’t understand the differences betweensetup.pyandrequirements.txtso I would advise readinghttps://caremad.io/2013/07/setup-vs-requirement/
Package: setup-py-cli
SetupPYSetupPY is the utility to generate a simplesetup.pyfile (template) with useful comments and links.FeaturesGeneratessetup.pyfile with the following content:automatically fulfilled package name based on the name of the current directory.some basic fields to fulfill.clarifying comments and links to useful resources.automatically inserted description fromREADME.mdor an empty string if there is noREADME.md.Installationsudopipinstallsetup-py-cliUsageTo generatesetup.pyfile just type in the terminal.setup-pyNowsetup.pyfile should occur in the current directory.Generated setup.py filefromdistutils.coreimportsetupfromsetuptoolsimportfind_packagesimportos# User-friendly description from README.mdcurrent_directory=os.path.dirname(os.path.abspath(__file__))try:withopen(os.path.join(current_directory,'README.md'),encoding='utf-8')asf:long_description=f.read()exceptException:long_description=''setup(# Name of the packagename='setup_py',# Packages to include into the distributionpackages=find_packages(','),# Start with a small number and increase it with# every change you make https://semver.orgversion='1.0.0',# Chose a license from here: https: //# help.github.com / articles / licensing - a -# repository. For example: MITlicense='',# Short description of your librarydescription='',# Long description of your librarylong_description=long_description,long_description_content_type='text/markdown',# Your nameauthor='',# Your emailauthor_email='',# Either the link to your github or to your websiteurl='',# Link from which the project can be downloadeddownload_url='',# List of keywordskeywords=[],# List of packages to install with this oneinstall_requires=[],# https://pypi.org/classifiers/classifiers=[])ContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.VersioningWe useSemVerfor versioning. For the versions available, see thetags on this repository.AuthorsIlya Vouk-Initial work-voilalexSee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for details