Saravanan666/pypi-org huggingface dataset:
Package: oxo-2-pkg
OXOoxo_pkg ported for python 2.7A naughts & crosses gamenote: requires python version >= 2.7InstallTo install run command:python -m pip install --user --upgrade oxo_2_pkgif installing fromTestPyPirun:python -m pip install --user --index-url https://test.pypi.org/simple/ oxo_2_pkgRunoxo can either by ran as a commandline script or as a python package ran in the Python REPL.- Run in python REPL :Open the python REPLpythonimport and run the package>import oxo_2_pkg>oxo_2_pkg.run()- Run in commandline :runoxo-2in a commandline terminal.run locally :runpython ./oxo-2from project home directory.optionsSee below text:here is a list of accepted arguments: 
    --hard     :  activates hard-mode
    --s-hard   :  activates super-hard-mode
    --version  :  show current version number
    --help     :  show help optionsTo see these at any point runoxo-2 --helptroubleshootingtrywhich oxo-2This should print something like/Users/your.username/Library/Python/2.7/bin/oxo-2If not find the equivalent location in your filesystem (where pip installs applications to), check thatoxo-2binary file is present, & add the location to your PATH.Testsfrom project home directory runpython -m unittest test.test_methods.TestMethodsBuildpython3 -m pip install --user --upgrade setuptools wheel(install / update wheel & setuptools)python3 setup.py sdist bdist_wheelProduces a .whl built distribution & a tar file of the source code indist/directory.To install the locally built version runpython -m pip install --user --upgrade dist/*ReleaseIncrement release number inoxo_2_pkg/resources/version.mdfile.Make sure the latest version is built with above build step.Upload the build withtwine:python3 -m pip install --user --upgrade twine(install / update twine)python3 -m twine upload dist/*To upload toTestPyPirun:python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*Note: it currently seems best to build & upload using python3
Package: oxomo
Python Logging Handler-----------------------------A simple Python logging handler that can be used to send to a https endpoint. Borrowed the extra fields concept from the graypy logging library.## HistoryThis repository if originally forked from (https://github.com/varshneyjayant/loggly-python-handler)## InstallationDownload the repository using pipsudo pip install loggly-python-handler## Use in python### ConfigurationCreate a Configuration file python.conf and add RocketChatHandler to Configuration File.[handlers]keys=RocketChatHandler[handler_RocketChatHandler]class=oxomo.handlers.RocketChatHandlerformatter=jsonFormatargs=('ROCKETCHAT_WEBHOOK_URL','POST')[formatters]keys=jsonFormat[loggers]keys=root[logger_root]handlers=RocketChatHandlerlevel=ERROR[formatter_jsonFormat]format={ "loggerName":"%(name)s", "asciTime":"%(asctime)s", "fileName":"%(filename)s", "logRecordCreationTime":"%(created)f", "functionName":"%(funcName)s", "levelNo":"%(levelno)s", "lineNo":"%(lineno)d", "time":"%(msecs)d", "levelName":"%(levelname)s", "message":"%(message)s"}datefmt=### Use Configuration in python fileimport loggingimport logging.configimport oxomo.handlerslogging.config.fileConfig('python.conf')logger = logging.getLogger('myLogger')logger.error('Test Error Log')## Optionally log uncaught exceptions as errorsdef sysexcept_handler(type, value, tb):logger.error("Uncaught exception: {0}".format(str(value)))sys.__excepthook__(type, value, tb)sys.excepthook = sysexcept_handler## Use in Django### settings.pyLOGGING = {'version': 1,'disable_existing_loggers': False,'formatters': {'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'},'simple': {'format': '%(levelname)s %(message)s'},'json': {'format': '{ "loggerName":"%(name)s", "asciTime":"%(asctime)s", "fileName":"%(filename)s", "logRecordCreationTime":"%(created)f", "functionName":"%(funcName)s", "levelNo":"%(levelno)s", "lineNo":"%(lineno)d", "time":"%(msecs)d", "levelName":"%(levelname)s", "message":"%(message)s"}',},},'handlers': {'console': {'class': 'logging.StreamHandler','level': 'DEBUG','formatter': 'verbose',},'oxomo': {'class': 'oxomo.handlers.RocketChatHandler','level': 'INFO','formatter': 'json','url': 'ROCKETCHAT_WEBHOOK_URL',},},'loggers': {'django': {'handlers': ['console', ],'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),},'your_app_name': {'handlers': ['console', 'oxomo'],'level': 'INFO',},},}### views.pyimport logginglogger = logging.getLogger(__name__)def logging_example(request):"""logging example"""logger.debug('this is DEBUG message.')logger.info('this is INFO message.')logger.warning('this is WARNING message.')logger.error('this is ERROR message.')logger.critical('this is CRITICAL message.')return Response({}, status=status.HTTP_200_OK)
Package: oxo-pkg
OXOA naughts & crosses game.note: requires python version >= 3.6InstallTo install run command:python3 -m pip install --user --upgrade oxo_pkgif installing fromTestPyPirun:python3 -m pip install --user --index-url https://test.pypi.org/simple/ oxo_pkgRunoxo can either by ran as a commandline script or as a python package ran in the Python3 REPL.- Run in python REPL :Open the python3 REPLpython3import and run the package>import oxo_pkg>oxo_pkg.run()- Run in commandline :runoxoin a commandline terminal.run locally :runpython3 ./oxofrom project home directory.optionsSee below text:here is a list of accepted arguments: 
    --hard     :  activates hard-mode
    --s-hard   :  activates super-hard-mode
    --version  :  show current version number
    --help     :  show help optionsTo see these at any point runoxo --helptroubleshootingtrywhich oxoThis should print something like/Users/your.username/Library/Python/3.7/bin/oxoIf not find the equivalent location in your filesystem (where pip installs applications to), check thatoxobinary file is present, & add the location to your PATH.Testsfrom project home directory runpython3 -m unittest test.test_methods.TestMethodsBuildpython3 -m pip install --user --upgrade setuptools wheel(install / update wheel & setuptools)python3 setup.py sdist bdist_wheelProduces a .whl built distribution & a tar file of the source code indist/directory.To install the locally built version runpython3 -m pip install --user --upgrade dist/*ReleaseIncrement release number inoxo_pkg/resources/version.mdfile.Make sure the latest version is built with above build step.Upload the build withtwine:python3 -m pip install --user --upgrade twine(install / update twine)python3 -m twine upload dist/*To upload toTestPyPirun:python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Package: oxpy
Здесь есть функции:upload_file_url: Загрузка файла через ссылку, url=ссылка, expires=время хранения файла в часах(можно оставить пустым), secret=удлинняет ссылку(можно оставить пустым).upload_file_path: Тоже самое что и upload_file_url, только нужно указывать путь к файлу.delete_file: Удаляет файл, token=токен, url=ссылкана файл в 0x0.change_expires(): Изменяет время хранения файла, token=токен, url=ссылка на файл в 0x0, expires=новое время хранение файла в часах.
Package: ox-script
Most printer specific functions are left blank intentionally as they are meant to be executed on the printer and will throw an error if called on your devices. This file is provided more so for the beneift of keeping your IDE of choice happy while programming, providing extensive comments on the different functions and allowing for easy install through pip.
Home-page:https://github.com/POSTEK-OX-ScriptAuthor: Postek Electronics Co., Ltd.
Author-email:support@postek.com.cnLicense: MIT
Description: UNKNOWN
Platform: UNKNOWN
Package: oxtables
0xTablesA handy package to draw ASCII tables easily and effortlessly.Installation :From pip :pip3installoxtablesFrom source :gitclonehttps://github.com/0x68616469/oxtables/Example :fromoxtablesimportTableth=Table(style="-",border_color="black",text_color="white",align="left",spacer=True,first_row="default",max_length=50)th.add(["Argument","Description","Default"])th.add(["style","Change border ascii style","-"])th.add(["border_color","Change the border color","black"])th.add(["text_color","Change the text color","white"])th.add(["align","Text align (left/center/right)","left"])th.add(["spacer","Print the spacer between rows (True/False)","True"])th.add(["first_row","Change first row styling (border/side/none/default)","default"])th.add(["max_length","Max text length","50"])th.draw()Result :
Package: oxtest
IntroductionTools to help create dockerized tests in python.Tips and TricksPhantomJSPhantomJS is a great selenium driver. There are a few things you may
want to keep in mind:Useservice_args=['--ignore-ssl-errors=true','--ssl-protocol=any']when creating the driver (e.g.,driver =webdriver.PhantomJS(service_args=...)). This is helpful
if you are doing tests and do not have proper SSL certificates
installed.Do something likedriver.set_page_load_timeout(300)if you have
pages which take a while.Do something likedriver.maximize_window()to make sure the
window is big enough to “see” the page.Make sure you have at least version 2 or things will be broken.Installing can be a pain and you may have to do it manually (e.g.,
seethis
gist).
Package: oxt_generator
Generates `.oxt` file for openoffice extensions and PDFxchange spellchecksView Demo·Documentation·Report Bug·Request FeatureTable of Contents1. About the Project1.1. Screenshots1.2. Features2. Getting Started2.1. Dependencies2.2. Installation3. UsageRoadmap4. License5. Contact6. Acknowledgements1. About the Project1.1. Screenshots1.2. FeaturesGenerate.oxtfiles for use with openoffice or PDFxchange.Checks the wordlist for compatibility with popular extensions2. Getting Started2.1. DependenciesThe package comes pre-compiled with all the required dependencies, no external dependency will be needed.2.2. InstallationCreate a virtual env and Install from pypipython-mvenv.venv

pipinstalloxt_generator3. UsageActivate the virtual environment and calloxt_generator.venv\Scripts\activate

oxt_generator--helpTo create a new oxt file.venv\Scripts\activate

oxt_generator<"Path\to\wordlist.txt"><custom_filename>where,Path\to\wordlist.txtrefers to the file location of the wordlist to be addedcustom_filenamerefers to the filename for the oxt file. The final file will be nameden_US_custom_filename.oxtRoadmapPending Tests4. LicenseSee LICENSE.txt for more information.5. ContactArun Kishore -@rpakishoreProject Link:https://github.com/rpakishore/oxt-custom_dict6. AcknowledgementsUse this section to mention useful resources and libraries that you have used in your projects.Awesome README TemplateBanner MakerShields.ioCarbon
Package: ox_ui
IntroductionTheox_uipackage provides tools for writing user interfaces.For example,ox_uilets you take a command defined using theclicklibrary and convert it to something you can run in a Flask web
server as discussed in theClick to WTFormssection.Click to WTFormsTheox_uipackage can convert aclickcommand into a flask route
using theWTFormslibrary. This can be convenient both so that you
have a command line interface (CLI) for your functions in addition to a
web interface and also because sometimes it is quicker and easier to
define the CLI interface and auto-generate the web interface.Imagine you define a function calledhello_cmdvia something like:@click.command()@click.option('--count',default=1,type=int,help='how many times to say it')@click.option('--text',default='hi',type=str,help='what to say')defhello_cmd(count,text):'say hello'result=[]foriinrange(count):result.append(text)return'\n'.join(result)You can importc2ffromox_ui.coreand use it to convert yourhello_cmdinto a flask route via something like:fromflaskimportFlaskfromox_ui.coreimportc2fAPP=Flask(__name__)@APP.route('/hello',methods=('GET','POST'))defhello():fcmd=c2f.ClickToWTF(hello_cmd)result=fcmd.handle_request()returnresultOnce you start your flask web server, you will then have a route that
introspectshello_cmd, creates a web form using theWTFormslibrary and handles the command.See examples in thetestsdirectory for more details.Other UtilitiesA few additional utilites are provided in theox_ui/core/decorators.pymodule including awatcheddecorator to
log the start/end of functions, asetup_flask_watchfunction which
applies thewatcheddecorator to allow your routes using thebefore_requestandteardown_requesthooks in flask, and aLockFilecontext decorator for easily adding lock files to any
function or context.
Package: ox_update
IntroductionTheox:sub:`update<https://github.com/emin63/ox_update>`__ package
provides some tools to keep your machine up to date.InstallationYou can install via the usualpip install ox_update. If you want to
install and be able to edit your installation, you may consider doing
something likepip install--editableox_update.UsageYou can see the list of possible commands viaox_updatecheck--helpOne of the most useful commands isox_update check. This will check
your Ubuntu installation to see if you have the latest security updates
installed. If you do, then nothing happens. If you have not doneapt updaterecently or you doNOThave the latest packages
installed, then you will be notified.You can control the notification methods and how many days have passed
since you didapt updateusing command line options. For example,
doingox_updatecheck--notifiersecho--age-in-days7would not notify you provided that you have doneapt updatewithin 7
days. If your packages are stale, the notification will just print a
message. See theNotifiers sectionfor
notification options.NotifiersThere are a variety of ways to get notifications:echo: Just echoes notification to stdout.email: Will send you an email provided you specify the following:OX_UPDATE_EMAIL_TO: A comma separated list of email addresses
(e.g.,foo@exmaple.comorfoo@exmaple.com,bar@example.com)
to send email to. If not set, will attempt to lookup from
environment variable.OX_UPDATE_EMAIL_FROM: Sending email address. If not set, will
attempt to lookup from environment variable.OX_UPDATE_GMAIL_PASSWD: A password to use if you want to use
gmail as the SMTP relay to send mail from. This password should
correspond to the username inOX_UPDATE_EMAIL_FROM.OX_UPDATE_SES_PROFILE: If provided and email notifier is
requested, will use this to send email via AWS SES. If not set,
will attempt lookup from environment.IMPORTANT: EitherOX_UPDATE_SES_PROFILEorOX_UPDATE_GMAIL_PASSWDis required to send emails.loginfo: Will use Python’slogging.infoto send notification.
This can be useful if you do not want the notifications in stdout but
in stderr.
Package: ox-vox-nns
OxVoxNNS -OxidisedVoxelisedNearestNeighbourSearchA hybrid-ish nearest neighbour search implemented in rust, tailored towards consistent performance, especially on difficult inputs for KDTreesInstallationPrecompiled (from PyPI, recommended)pip install ox_vox_nnsManualCheckout this repo and enter a virtual environment, then runmaturin develop --releaseUsageBasic usage, query a block of query points insparsemode:import numpy as np
from ox_vox_nns.ox_vox_nns import OxVoxNNS

NUM_POINTS = 100_000
TEST_POINTS = np.random.random((NUM_POINTS, 3))

indices, distances = ox_vox_nns.OxVoxNNS(
    search_points=TEST_POINTS,
    max_dist=0.05,
).find_neighbours(
    query_points=TEST_POINTS,
    num_neighbours=1000,
    sparse=True,
)More complex usage, using a single NNS object for multipleexactmode queries (e.g. to distribute thennsobject and perform queries in parallel, or to query from a large number of query points in batches/chunks)# same imports and test data as above

nns = ox_vox_nns.OxVoxNNS(TEST_POINTS, 0.1)

for query_points_chunk in query_points_chunks:
    chunk_indices, chunk_distances = nns.find_neighbours(
        query_points=query_points_chunk,
        num_neighbours=1,
        sparse=False,
    )PerformanceAs a rough heuristic:Open3D will edge out OxVox oneasier data, e.g. uniformally distributed points, though OxVox does outperform SciPy and SKLearn's KDTree implementationsOxVox in exact mode will outperform even Open3D on harder inputs, e.g. with clusters of very dense pointsOxVox in sparse mode or withepsilon > 0.0will dramatically outperform KDTrees too. This is not really a fair comparison, but if you don't strictly need the exactknearest neighbours it can be very helpfulSeeperformance_test_ox_vox_nns.pyfor test code.More thorough tests and interactive visualisations are still being developed to help a prospective user decide quickly if OxVox is worth trying
Package: oxypy
oxypyFully-featured ports of several essential structs from Rust into pure PythonSince true privacy is impossible, inner values of the classes are designed to be quasi-private.MethodsSome methods are deemed unnecessary due to the differences in the languagesRemoved Methods:Copy and clone methodsRef and deref methodsUnchecked methodsType-dependent methodsReasons:Methods relating to references are useless due to lack of them in Python.Unchecked methods are unneccessary due to the lac of the unsafe system.Type dependent methods are practically impossible due to the dynamic type system.ExamplesNote:Type annotations are not always necessary, but are done here for brevityOptionfromoxypyimportOptionsome:Option[int]=Option.some(10)none:Option[int]=Option.none()Resultok:Result[int,str]=Result.ok(10)err:Result[int,str]=Result.err("An error occured")EitherfromoxypyimportEitherleft:Either[int,float]=Either.left(42)right:Either[int,float]=Either.right(3.14159265)
Package: oyabun
親分— the extreme pathA library for building Telegram bots.MissionThe mission of this library is to provide a strict interface for the API.
Bystrictwe mean that all types and methods in the library interface
are mapped to those described in the Telegram API docs.You won't meet any auxiliary stuff like sophisticated OOP/async patterns,
obscure event loops and listeners and the kind of stuff like that.API types are Pydantic models with strict type hints.API methods accept params with exactly the same type and name as described in API.Any optional field/param is marked asOptionalorNone | T. Don't be afraid of tri-state bool types.
Package: oyb
Oy vey! So many orbit models. Here’s another one.Largely based on Howard Curtis’ excellent text,Orbital Mechanics for
Engineering Students, second edition. Contains the minimum components needed to
model and propagate restricted two-body orbits, with time values leveraging the
core Python moduledatetime.Primary components (modules) of the package are as follows:anomalyDefines conversions between various anomalies.earthDefines earth parameters and key earth-specific calculations (ECF/ENU frame
conversions, latitude/longitude, GMST, etc.).orbThe heart of theoybpackage; these module contents are imported with the top
package-leveloybobject. Contains orbital models and conversions.plotContains various plotting methods (both main plot functions and their specific
rendering and annotation behaviors) for Orbit-derived objects in 2d (i.e.,
ground track) and 3d (i.e., orbital) plots.rotDefines vector rotation (lower case) and frame tranformations (upper case). Both
transformations can be concatenated to be performed in right-to-left upon a
given vector operator. Note that thedot()method must be used, since these
functions return a 2dnumpy.arrayobject.
Package: oy-client
Oy ClientUnofficial Oy Client using Pythonhttps://api-docs.oyindonesia.com/PrerequisitesThese library only tested for python 3.7 but it should be compatible to other python version
please create issue or contact me if you want to test it on python2Installingpip3 install oy-clientQuick Startfrom oy import build_client

# get balance
oy_client = build_client("https://sandbox.oyindonesia.com/staging/partner", "username", "api-key")
oy_client.get_balance()

# inquiry account
oy_client.inquiry_account("014", "1234561234")

# disburse
disburse("014", "123456789", 100000)Built WithRequests- HTTP Library UsedContributingPlease 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.AuthorsKelvin Desman-VousmeevoyezSee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for detailsAcknowledgmentsHat tip to anyone whose code was usedInspirationetc
Package: oyeahz-base
oyeahz_base##简介
基础组件
##配置项目
###步骤1
1、创建一个目录，作为发布项目的名称，即你的包名2、目录里创建一个py文件 __init__.py，内容name = "your pkg name"3、目录里创建对外输出的python文件4、拷贝一份setup.py文件，并修改关键参数1、name就是模块名
    2、version就是版本号
    3、packages数组填模块名，上传到仓库的配置主要是这个5、拷贝一份.gitignore和deploy.sh####步骤2
1、python3 -m pip install setuptools wheel twine2、python setup.py sdist bdist_wheel3、如果报错 pip3 install wheel , pip3 install twine4、python3 -m twine upload dist/*####步骤3
升级发布的话直接修改setup.py里的version后sh deploy.sh
Package: oyeahz-test
oyeahz_test##简介
组件发布测试
##配置项目
###步骤1
1、创建一个目录，作为发布项目的名称，即你的包名2、目录里创建一个py文件 __init__.py，内容name = "your pkg name"3、目录里创建对外输出的python文件4、拷贝一份setup.py文件，并修改关键参数1、name就是模块名
    2、version就是版本号
    3、packages数组填模块名####步骤2
1.python3 -m pip install setuptools wheel twine2.python setup.py sdist bdist_wheel3.如果报错 pip3 install wheel , pip3 install twine4.python3 -m twine upload dist/*
Package: oyez-api-wrapper
Oyez API WrapperThis library is used to access the API ofoyez.organd parse the data into easily usable chunks. All included functions are included below.Importing the Library & Making an court_case Objectimportoyez_api_wrappercase_obj=oyez_api_wrapper.court_case("2015","15-278")The library can be imported and objects can be created using the above syntax. The first argument is the "Year" and the other argument is the "Docket NO.". This information is available onoyez.orgunder any case.Class Functionsget_case_judgeswill return all judges that decided the case.get_case_factswill return the facts of the case item. The HTML parameter is provided for pretty printing it later.download_court_jsonwill download the case JSON to the current directory.get_judge_decisionswill return a dictionary of the justices' as keys and their decision (majority/minority).get_rulingwill return a tuple with majority vote, minority vote, winning party, decision type, and a reference to the decision page.get_basic_infowill return a tuple with the case name and both parties in order.get_legal_questionwill return the legal question of the case. The HTML parameter is provided for pretty printing it later.get_conclusionwill return the conclusion of the case. The HTML parameter is provided for pretty printing it later.get_lower_courtwill return the previous court the case was at before reaching the Supreme Court.get_audio_linkswill return a dictionary that is contains the title as the key and the value as the link to listen to the audio available.The owner of this repo has no relation withoyez.org!
Package: oyoyo
oyoyo irc lib-------------The oyoyo irc library is a small, simple irc lib for python suitable for bots, clientsand anything else you can think of (even games).* clean and simple design* multi-server, multi-room* autoreconnect* timed callbacks* and not a thread in sight!Install-------This codebase is configured to install and run properly on both python 2.x and python 3.x.To choose which version of python to install on, run the setup.py script with your choiceof the ``python2'' or ``python3'' commands.the usual$ python setup.py installor for developers$ python setup.py develop --install-dir=/some/pathSupport--------You may contact the currently maintainer at meltingwax@gmail.com
Package: oyProjectManager
The oyProjectManager is an Asset Manager for small to medium sized Animation or
VFX studios and licensed under BSD 2 License.The system works with any animation and composition packages supporting Python
(ex. Maya, Nuke, Houdini etc.).The system lets the user to freely create template files which are rendered
to create the file placements and predefined directory structure.It also makes the whole asset creation and storing process somewhat a
scriptable and manageable process.The system uses a central database to store related data. Depending on to the
setup it can be an SQLite3 database or a proper database server.For more detail please see the documentation.