Saravanan666/pypi-org huggingface dataset:
Package: itay-bardugo-cron-migration
python-cron-migrationpython-cron-migration is a CLI package that was built for helping you manage your cronjobs by revisions files system.
It contains two main components:a CLI revision system, which can generate/upgrade/downgrade revision files by simple commands.a lightweight crontab high-level package which integrates with thecrontablibrary on your OScommandsentry pointcommandexampledescriptioncronmiginitcronmig initinitializes a new environmentcronming-revisionmakecronmig-revision make[filename]generates a new revision file .[filename]should be a short description of your revision filecronming-revisionupgradecronmig-revision upgradeupgrades all non-upgraded files by invoking theupgrademethod within your revision filecronming-revisiondowngradecronmig-revision downgrade[steps]downgrades revisions files[steps]times.[steps]is the number of downgrading (from the most upgraded file)System requirementsunix OScrontab installed on your machineInstallationpippip install itay-bardugo-cron-migration -UUsageBasic Usageinit a new environmentcdto your desired pathruncronmig init.this command composes a newcronjobsfolder with all needed files.its recommended to run this command from your top root folder.+-- project (-> you are here)
|   +-- unittest
|   +-- project
|       +-- systemfile.pyuploadcronjobsfolder to git, except .json and .rvsn files (its ok if it doest not exist, the engine generates it later)generate a new revision filecdto the path wherecronjobswas installed (do notcdintocronjobsfolder)runcronmig-revision make [replace-with-short-description]this commands generates a new revision fileadd this file to GIT or any other VCS (important)upgradecdto the path wherecronjobswas installed (do notcdintocronjobsfolder)runcronmig-revision upgradeBranchingOnce you create a new branch, you should tellpython-cron-migrationto start a new revision file, which represents thebeginningof your changes of the current branch (because all of the revision files from all branches are exist within the "master" repo)
in order to separate non-relevant revision files and treat it like it was the first revision file that was ever made.
In oredr to make it happen, just use the-h(short of "head") flag when runningcronmig-revision make [message]command.Actually it looks like this:cronmig-revision make -h "my new revision head file"it creates a new revision file, but with no reference to any previous revision file.Testingcdunittestpythonapplication.pyApplicationTest.test_appSecurityIf you discover any security related issues, please emailitaybardugo91@gmail.cominstead of using the issue tracker.LicenseThe MIT License (MIT). Please seeLicense Filefor more information.
Package: itay-bardugo-flask-version
FlaskVersioninstallpipinstallitay-bardugo-flask-version-UBriefFlaskVersion is a package that helps handle endpoints versions.What it solvesassume we have the route
/api/<version>/output/endpoint_awhich returns "Hello" to the client.with Flask it equals to@app.route("/api/<verrsion>/output/endpoint_a")defendpoint_a():return"Hello"as we can see,<version>is a variable which describes our route version.
it can be1.0,1.1,1.2etc...what if our server serves clients that ask for this route
in version1.0, but we want to add an extra feature to this route, that belongs to version1.1only (without changing1.0)we can define a new route for this problem:@app.route("/api/<verrsion>/output/endoint_b")defendpoint_a():return"Hello new feature!"but we don't want to add new routes for each new feature.it will be hard to maintain our endpoints and can be a little bit confusing.this is whatFlaskVersionwas built for!FlaskVersionmanages your endpoints by linking each method to one or more version in a few simple steps!Easy to useEasy to maintainHow to useAll you need to do is:make a new app# routes.pyfromflaskimportFlaskapp=Flask(__name__)2 . make a new callback that returns the version of the current incoming request# routes.py@app.url_value_preprocessordefurl_process(endpoint,values):ifvalues:g.version=values.pop("version","1.0")defget_version():returng.version3 . make a new instance of FlaskVersion, with your app instance and your version handler callback# routes.pyfromflask_versionimportFlaskVersionflask_version=FlaskVersion(app,get_version)4 . tell toFlaskVersionto apply versions on specific route# routes.pyfromflask_version.utilsimportdispatch@app.route("/endpoint_a")@dispatchdefendpoint_a():# this is the latest version of the function.return"current version!"5 . set the older versions# versions/endpoint_a.py (important: its called endoint_a.py becuase we used @dispatch on endpoint_a() function# please note: the structure is# {route directory}/versions/{function_name}.pyfromflask_version.utilsimportsupport_version@support_version("1.0")defversion_a():return"i am an endpoint for version 1.0"Thats it,FlaskVersiondoes the job for you and it will route to your
correct endpoint according to the version inputStructurebasically, it does not matter how you structed your project.
you just have to make sure to follow this structure andFlaskVersionwill work correctly.
The main idea is to create a newversionsfolder (with an _init_.py) at the same path where you defined@app.route("/route/to/some/action")@dispatchdefaction():passand then, create a file insideversionswith the same name (in this caseaction.py), the inside this file, just create your old versions of your endpointExample to Structre A:+-- project
|   +-- routes.py
|   +-- versions
|       +-- endpoint_a.pyExample to Structre B:+-- project
|   +-- main_routes.py
|   +-- blueprints
|       +-- output
|           +-- routes.py
|           +-- versions
|               +-- {function_name that @dispatch was applyed on it}.py
|       +-- user
|           +-- routes.py
|           +-- versions
|               +-- {function_name that @dispatch was applyed on it}.pyLicenseMIT
Package: itcase-sphinx-theme
ITCase Sphinx ThemeInstall$pipinstallitcase_sphinx_theme-UEdit your Sphinx’sconf.pyNear the top, add the followingimportitcase_sphinx_themeActivate the themehtml_theme='itcase'html_theme_path=[itcase_sphinx_theme.get_html_themes_path()]If you want see version of theme in the bottom just add extension:extensions=['itcase_sphinx_theme']Theme optionsYou can set theme options inconf.pylike.html_theme_options={'travis_button':True,'github_button':True,'github_user':'ITCase','github_repo':'pyramid_sacrud',}Here are list of options with default values:logo— Show logo at the top of navigation menu.default: falselogo_image—  Path to logo.default: ""logo_width— Width in ‘px’ or ‘%’.default: ""logo_height— Height in ‘px’ or ‘%’.default: ""logo_image_desc— Description after logo image.default: ""index_menu— Show navigation menu on main page.default: falsesticky_menu— Make navigation element always visible on page.default: truegithub_button— Show git star badge under breadcrumbs.default: falsegithub_user—default: ""github_repo—default: ""travis_button— Show travis badge under breadcrumbs.default: falsetravis_user—default: ""travis_repo—default: ""Theme optionsYou can set theme options inconf.py. Here are list of options with default values:logodefault: Falselogo_imagedefault: ""logo_widthdefault: ""logo_heighdefault: ""logo_image_descdefault: ""aindex_menudefault: Falsesticky_menu —default: TrueMake navigation element always visible on page.github_button —default: FalseShow git star repository button under breadcrumbs.github_user —default: ""github_repo —default: ""travis_button =default: FalseScreenShotsustu/lectures.wwwITCase/sqlalchemy_mpttErgo/ziggurat_foundationsAnd other…http://sacrud-deform.readthedocs.org/en/master/http://sacrud.readthedocs.org/en/master/http://pyramid-sacrud.readthedocs.org/en/master/http://pyramid-pages.readthedocs.org/en/master/http://ps-tree.readthedocs.org/en/latest/http://uralbash.ru/your project …
Package: itcast-car
wifi_car介绍{以下是 Gitee 平台说明，您可以替换此简介Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台（同时支持 SVN）。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业，都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看https://gitee.com/enterprises}软件架构软件架构说明安装教程xxxxxxxxxxxx使用说明xxxxxxxxxxxx参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.mdGitee 官方博客blog.gitee.com你可以https://gitee.com/explore这个地址来了解 Gitee 上的优秀开源项目GVP全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目Gitee 官方提供的使用手册https://gitee.com/helpGitee 封面人物是一档用来展示 Gitee 会员风采的栏目https://gitee.com/gitee-stars/
Package: itch-dl
itch-dlBulk download games fromitch.io.Can download game jams, browse pages (popular, newest, browse by tag...) and individual games.Requires Python 3.8+, grab it from PyPI:pip install itch-dlFor development, usePoetry.How to useLog into itch.io with the account you'd like to use for downloading.Generatea new API keyon your user account page.Optional: Save the API key in theitch-dl configuration file.Run the downloader:itch-dl https://itch.io/jam/yourjamhere(add--api-key <KEY>if you did not save the API key).Wait. This is going to take a while.More arguments are available - check them out withitch-dl --help.The downloader is able to grab more or less everything you can download via the itch app.The input URL can be any "Browse" page (top, popular, newest, filtered by tags, etc) or any
game jam. The input can also be a path to a itch.io JSON file with game jam entries, or just
a list of itch.io game URLs (not browse/jam pages!) to download.It's expected that the downloader output will not be complete- logs are stupidly verbose
and it prints a report on failed downloads and external URLs (links to files that are not on
itch.io itself, but rather on an external host like Google Drive, Dropbox, etc), so you must
manually grab whatever was not handled for you automatically.The downloader also grabs the entry page HTML, which usually comes with controls and such. By
default, it does not download images, assets and so on, just the text - use--mirror-webto
try and download these as well. This does not work very well yet, but gets the basics done.Game Jam Entries JSONDownloader can parse and download games from a game jam entries JSON file if you need it.
(The script basically automates the steps below, so if it's not able to do the same, please
create an issue!)Go to your jam's page, ex.https://itch.io/jam/gbcompo21and right-click -> View Source.Ctrl-F for"id":- it should find that text once, followed by a number. Write it down.(It you found it multiple times, grab the one after I.ViewJam something something.)Downloadhttps://itch.io/jam/ID/entries.json(replacing ID with what you wrote down).Feed that toitch-dl!
Package: itchecker
itcheckeritchecker is a tool to check Excel, Word and Access files.UsageExcel testing:itchecker  --checker excel --works-folder ./works --test-file ./tests_excel.xlsx --correct-file ./author.xlsx --output-folder ./output_excelAccess testing:itchecker  --checker access --works-folder ./works --test-file ./tests_access.xlsx --correct-file ./author.accdb --output-folder ./output_accessWord testing:itchecker  --checker word --works-folder ./works --test-file ./tests_word.xlsx --correct-file ./author.docx --output-folder ./output_word
Package: itchio
itchio-libUse the REST-API of itch.io with python in a simple way.InstallationYou can install this library viapip:$ pip install itchioYoumayneed to install thetypingmodule, depending on your python version.DocumentationYou can read the docsright hereHow does it work?When you want to use the lib, you first need to create aSessionobject, in which you have to pass your
API-key. It could look something like this:importitchiosession=itchio.Session(key)If you want to access your games, you can just now create anGameCollectionobject with your session.gameCollection=itchio.GameCollection(session)After that you can get a game by itsidor you can just get all of your games.all_my_games=gameCollection.all()Theall_my_gamesvariable is now a list containing Game objects. You can now easily access the information of a game.my_game=all_my_games[0]print(my_game.views_count)35Examplesimportitchiosession=itchio.Session("1234")#                        ^#                        This is your API-keyuserCollection=itchio.UserCollection(session)me=userCollection.me()print(me.username)Tch1b0
Package: itchiodl
IMPORTANT NOTICE: up until 2022-03-09, the package was called itchio, it is now called itchiodl (to avoid pypi conflicts)Itchio Downloader ToolInstallpipinstallitchiodlDownload All Games in library from accountPlease Note:Having too many jobs may cause rate-limiting from some testing 8 works fine but 10 starts giving errors.# via pythonpython-mitchiodl.downloader# via setup-tools entry pointitch-downloadThis uses the same API the itchio app uses to download the files. If you have 2FA enabled, generate an API keyhereand run the following instead# via python (with 4 concurrent downloads)python-mitchiodl.downloader--api-key=KEYHERE--jobs=4# via setup-tools entry pointitch-download-kKEYHERE# download with multiple threadsitch-download-kKEYHERE-j4# only download osx or cross platform downloadsitch-download-posxAdd All Games in a bundle to your library# via pythonpython-mitchiodl.bundle_tool# via setup-tools entry pointitch-load-bundleThis is a bit of a bodge, but it works. It essentially goes through and clicks the "Download" link on every item on the bundle's page, which adds it to your itchio library. It does not download any files. You will need the download page's URL (this will be in the bundle's email, and possibly your purchase history). It will not work with 2FA, and I'm unlikely to be able to fix it without making it far more complicatedErrorsif a download fails it will be reported inerrors.txtin the same directory as your downloadsAn example of which could look something like this:Publisher Name: <Publisher Name>
Output File: <Publisher Name>/<Game Name>/<Specific Item>
Request URL: <Some URL>
Request Response Code: 404
Error Reason: Not Found
This game/asset has been skipped please download manually
---------------------------------------------------------This is not a perfect solution but does prevent the whole process from crashing
Package: itd
itd - In The DarkAn Adventure / Escape Game for python hackers.Recomandation for the best experienceThe game is intended for "hacky" pythonistas. The ones who find their way, even in the dark !You can do whatever you want to solve the game. But some behavior would lead to a lesser interesting experience.We recommand to:Have autocompletion in your REPL (just pip install readline, or pyreadline if you don't)Avoid reading theitdpackage code, at least before you solved the game.Avoid inspecting any object namedITD_*and any attibutes named_ITD_*.Do not reload theitdpackage, it would reset your progression.Security ConcernYou may wory about what the game is alowed to do, like format your drive or access and use sensible information.
But that is true for any game you install...You can solve those concerns by inspecting the code, but that would ruin the experience for you.You may however run the code inside a contained env like a docker or alike...Note that this first episode ofIn The Darkdoes not require an internet connection.Usageinstallitdin a virtual env:$ python -m venv ITD.venv
$ source .\ITD.venv\bin\activate
(ITD.venv) $ pip install itdIf you don't have completion on your python REPL, install one.You should try readline first:pip install readlineIt may fail with a red warning (i.e. on Windows), in which case you can install pyreadline:pip install pyreadlineRun the python REPL andimport itd, enjoy.(ITD.venv) $ python
Python 3.7.0 ...
Type "help", "copyright", "credits" or "license" for more information.
>>> import itd

------------------------------------------------------------
| You just woke up.
| Your head hurts.
| You're in some sort of cockpit, all systems look down.
|
| You're in the dark...
| Let's search what's around here !
------------------------------------------------------------

[In The Dark] #1
You're in the dark...
Let's search what's around here !Here is a first tip: there are a few way to "access" things in python, that's where you search when you're in the dark ;)
Package: itde
InnerTube Data Extractor (ITDE)ITDE is a Python-based tool designed to extract valuable information, including multimedia content and associated metadata, from the data provided by InnerTube, Google's private API.
InnerTube serves as a comprehensive source of data, and ITDE empowers developers to seamlessly retrieve and organize essential details from this platform.FeaturesOrganized Data Structures:ITDE organizes extracted data in a structured and typed manner.Versatility:Designed to handle various types of multimedia content.Python Compatibility:Written in Python, making it accessible and easy to integrate into existing projects.InstallationpipinstallitdeUsagefrominnertubeimportInnerTube# Python Client for Google's Private InnerTube APIfromitdeimportextractor# Module for extractionclient=InnerTube('WEB_REMIX')# Construct a clientdata=client.search('Squarepusher')# Get dataextracted_data=extractor.extract(data)# Extract data.forshelfinextracted_data.contents:print("Shelf")print(" ",shelf.name)print(" ",shelf.endpoint)print(" ",shelf.continuation)print(" ",shelf.type)foriteminshelf:print("  Item")print("  ",item.type)print("  ",item.endpoint)print("  ",item.name)print("  ",item.thumbnail_url)print("  ",item.description)Depending on the type of item, additional data may be present such as release date, view, subscribers, etc.DisclaimerNote:ITDE heavily relies on data provided by InnerTube. The reliability and functionality of this code may vary over time, as they are subject to any changes or updates made by InnerTube's data structure or API.Please keep in mind the following:The codebase is designed to adapt to potential changes in InnerTube's data format.It's recommended to stay updated with any releases or announcements related to ITDE.Status⚠️Work in Progress:This repository is currently in a state that requires additional development and may not include all intended features. While the core functionality is present, small improvements and additional features are planned for future releases.Feel free to contribute, report issues, or check back for updates as we continue to enhance and expand ITDE.Your contributions and feedback are highly appreciated to help maintain and improve the reliability of ITDE.
Package: it-drf-utils
项目说明Django-API-Utils是基于Django编写后端API的一些组件和工具，致力于努力探究 Django 最佳实践。目前基于ITM-0011中的规范编写，仍待完善和在实践中优化。环境依赖目前已在 Django 3 下测试可以成功运行。环境要求：Django >= 3.2,djangorestframework >= 3.12,djangorestframework-simplejwt >= 5.0.0（如果不使用认证组件，将auth.py删除即可，不必安装此模块）初始化项目下载本项目源码，将utils文件夹拖到项目根目录下下载本项目源码可以使用git工具、直接在Github上Download ZIP、或者下载发布的release包。新建apps目录，将项目内的app放入apps文件夹内。在settings.py文件内，新增apps目录到BASE_DIR...BASE_DIR=Path(__file__).resolve().parent.parent# 新增下面这一行sys.path.insert(0,os.path.join(BASE_DIR,'apps'))...在根路由文件urls.py下初始化Router Buildfromutils.router_builderimportRouterBuilderrouter=RouterBuilder()urlpatterns=[path("api/",include(router.urls)),path("api/",include(router.url_patterns)),]（非必需）在项目根目录下新建config.json文件，将项目的一些配置信息和敏感信息写到json文件中，并在settings.py中读取importjson# Configuration Filewithopen('./conf.json','r')asf:config=json.load(f)SECRET_KEY=config.get('SECRET_KEY','')MYSQL_DB_NAME=config.get('MYSQL_DB_NAME','')MYSQL_DB_USER=config.get('MYSQL_DB_USER','')MYSQL_DB_PASSWORD=config.get('MYSQL_DB_PASSWORD','')这样的好处在于，避免将敏感信息暴露到Git服务器上。初始化完后，项目的目录树大概是这样的：.
├── apps
│   ├── __init__.py
│   └── <app_name>
│       ├── __init__.py
│       ├── admin.py
│       ├── apps.py
│       ├── migrations
│       │   └── __init__.py
│       ├── models.py
│       ├── serializers.py
│       ├── tests.py
│       └── views.py
├── <project_name>
│   ├── __init__.py
│   ├── asgi.py
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
├── .gitignore
├── manage.py
└── config.json[可选]使用教程更多详细信息请参考在线文档
Package: itea
itea-pythonitea is a python implementation of the Interaction-Transformation Evolutionary
Algorithm described in the paper "Franca, F., & Aldeia, G. (2020).
Interaction-Transformation Evolutionary Algorithm for Symbolic Regression.
Evolutionary Computation, 1-25."The Interaction-Transformation (IT) representation is a step towards obtaining
simpler and more interpretable results, searching in the mathematical
equations space by means of an evolutionary strategy.Together with ITEA for Classification and Regression, we provide a
model-specific explainer based on the Partial Effects to help users get a
better understanding of the resulting expressions.This implementation is based on the scikit-learn package and the implementations
of the estimators follow their guidelines.OBS:There also exists ahigh-performing Haskell implementation (that comes with a python wrapper)by@folivetti.DocumentationDocumentation is available atreadthedocs.
Package: itebooks
All rights reserved.Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.Description: pyebooks : A python wrapper around http://it-ebooks-api.info/ API===================================================================**What is it?******************pyebooks is a Python wrapper for the it-ebooks API.It allows quick and easy comsumption of it-ebooks API from your Python application.pyebooks reqires Python 3.**Install*************You can install pyebooks using:.. code ::$ pip3 install pyebooksBuild from source.. code ::$ git clone https://github.com/aksbuzz/pyebooks.git$ cd pyebooks$ make**Usage************API Key*^^^^^^^^^For access to the eBook API you would need a API Key.You can get the API Key from here http://api.eBook.in/*Using the module*^^^^^^^^^^^^^^^^^^.. code :: python>>> eBook = pyebooks.Ebook()>>> '''Search the books'''>>> search_ = eBook.search("php mysql")>>> print(search_.error)>>> print(search_.time)>>> print(search_.total)>>> print(search_.page)>>> print(search_.books)>>> '''This will return a list of dictionary with following details:ID,Title,SubTitle (optional),Description,Image'''Get book detail>>> book_ = eBook.book_detail(869476162)>>> print(book_.download)**Examples**************You can find example usage in the examples folder.**Contribution******************Contributions are welcome!.**Documentation*******************Documentation at http://it-ebooks-api.info/**Todo**********- Add Python 2 support- Add detailed documentationPlatform: UNKNOWN