Saravanan666/pypi-org huggingface dataset:
Package: reciprocalspaceship
reciprocalspaceshipprovides apandas-style interface for
analyzing and manipulating reflection data from crystallography
experiments. Using this library, it is possible to interactively work
with crystallographic data in Python, enabling easy integration  with
modern scientific computing libraries.reciprocalspaceshipis
intended to support the rapid prototyping of new crystallographic methods
and custom analyses while maintaining clear, reproducible, and performant
code.Features of this library include:Crystallographically-awarepandasobjects, datatypes, and syntax
that are familiar to Python users.Convenient integration withGEMMIto provide built-in methods and support for developing functions that
use space groups, unit cell parameters, and crystallographic symmetry
operations.Support for reading and writing MTZ reflection files.
Package: recipys
Latest versionSupported Python versionsTests / CICode coverageStyle🍲 Recipys 🍲Get recipe ideas directly from your CLI. Use meal type and/or ingredients to narrow your search.DetailsThis app will provide you with a recipe scraped from the web. The recipe is presented in a table format with ingredients and steps. If you are struggling to find ideas for your next meal or want to know what you can do with the ingredients you have at home, giverecipysa try.InstallationThe tool is available as apippackage. Download it with the following command:pip install recipysPreferably, install invirtual environment.How to UseRun the following command to get a random recipe:recipysTo filter per meal type, choose one of the following arguments:breakfast,lunch,dinner,dessert. The result will be random but narrowed to your filter. For example:recipys breakfastIf you want to narrow the search with specific ingredients, specify them writing as many ingredients as you want after thewithkeyword. For example:recipys with cheese onion baconYou can also combine meal type and ingredients in your search. Make sure to specify the ingredientsafterthe meal type. For example:recipys dessert with chocolate banana
Package: recital
reciTAL ClientA client library for accessing reciTAL's API. :tada:InstallationIt's easy. Don't worry.:smiley:You just need to run the following:pipinstallrecitalUsageFirst, you'll need to create the client:fromrecitalimportRecitalClientclient=RecitalClient(username="username",password="password")Now call your endpoint and use your models:fromrecital.modelsimportMyDataModelfromrecital.api.my_tagimportget_my_data_modelfromrecital.typesimportResponsemy_data:MyDataModel=get_my_data_model.sync(client=client)# or if you need more info (e.g. status_code)response:Response[MyDataModel]=get_my_data_model.sync_detailed(client=client)Or do the same thing with an async version:fromrecital.modelsimportMyDataModelfromrecital.api.my_tagimportget_my_data_modelfromrecital.typesimportResponsemy_data:MyDataModel=awaitget_my_data_model.asyncio(client=client)response:Response[MyDataModel]=awaitget_my_data_model.asyncio_detailed(client=client)Things to know:Every path/method combo becomes a Python module with four functions:sync: Blocking request that returns parsed data (if successful) orNonesync_detailed: Blocking request that always returns aRequest, optionally withparsedset if the request was successful.asyncio: Likesyncbut the async instead of blockingasyncio_detailed: Likesync_detailedby async instead of blockingAll path/query params, and bodies become method arguments.If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)Any endpoint which did not have a tag will be inrecital.api.defaultBuilding / publishing this ClientThis project usesPoetryto manage dependencies  and packaging.  Here are the basics:Update the metadata in pyproject.toml (e.g. authors, version)If you're using a private repository, configure it with Poetrypoetry config repositories.<your-repository-name> <url-to-your-repository>poetry config http-basic.<your-repository-name> <username> <password>Publish the client withpoetry publish --build -r <your-repository-name>or, if for public PyPI, justpoetry publish --buildIf you want to install this client into another project without publishing it (e.g. for development) then:If that projectis using Poetry, you can simply dopoetry add <path-to-this-client>from that projectIf that project is not using Poetry:Build a wheel withpoetry build -f wheelInstall that wheel from the other projectpip install <path-to-wheel>
Package: recital-client
reciTAL ClientA client library for accessing reciTAL's API. :tada:InstallationIt's easy. Don't worry.:smiley:You just need to run the following:pipinstallrecitalUsageFirst, you'll need to create the client:fromrecitalimportRecitalClientclient=RecitalClient(username="username",password="password")Now call your endpoint and use your models:fromrecital.modelsimportMyDataModelfromrecital.api.my_tagimportget_my_data_modelfromrecital.typesimportResponsemy_data:MyDataModel=get_my_data_model.sync(client=client)# or if you need more info (e.g. status_code)response:Response[MyDataModel]=get_my_data_model.sync_detailed(client=client)Or do the same thing with an async version:fromrecital.modelsimportMyDataModelfromrecital.api.my_tagimportget_my_data_modelfromrecital.typesimportResponsemy_data:MyDataModel=awaitget_my_data_model.asyncio(client=client)response:Response[MyDataModel]=awaitget_my_data_model.asyncio_detailed(client=client)Things to know:Every path/method combo becomes a Python module with four functions:sync: Blocking request that returns parsed data (if successful) orNonesync_detailed: Blocking request that always returns aRequest, optionally withparsedset if the request was successful.asyncio: Likesyncbut the async instead of blockingasyncio_detailed: Likesync_detailedby async instead of blockingAll path/query params, and bodies become method arguments.If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)Any endpoint which did not have a tag will be inrecital.api.defaultBuilding / publishing this ClientThis project usesPoetryto manage dependencies  and packaging.  Here are the basics:Update the metadata in pyproject.toml (e.g. authors, version)If you're using a private repository, configure it with Poetrypoetry config repositories.<your-repository-name> <url-to-your-repository>poetry config http-basic.<your-repository-name> <username> <password>Publish the client withpoetry publish --build -r <your-repository-name>or, if for public PyPI, justpoetry publish --buildIf you want to install this client into another project without publishing it (e.g. for development) then:If that projectis using Poetry, you can simply dopoetry add <path-to-this-client>from that projectIf that project is not using Poetry:Build a wheel withpoetry build -f wheelInstall that wheel from the other projectpip install <path-to-wheel>
Package: recitale
recitalerecitale. Static site generator for your story.Make beautiful customizable pictures galleries that tell a story using a static website generator written in Python. You don't need to care about css, code and presentation, manage your contents in YAML file and recitale will take care about the rest.recitale is sections oriented, make it very flexible, many kinds of section already available:ParallaxGroup of pics (gallery)ParagraphIframe (Youtube, Maps, etc..)QuoteAnd moreImportant note: This project is considered in alpha state. There may be significant changes in configuration files, API or user interface at any time.ScreenshotsFeaturesrecitale currently supports:Automatic generationLightweightThumbnails & multiple resolutions for fast previews (JPEG progressive)Videos supportMobile friendlyCaching for fast renderingMulti level gallerySupport themes (default, material, light)Password access (encrypt page)Image lazy loadingNight ModeCompletely static output is easy to host anywhereHackableExamplesYou can find example usages here:https://surleschemins.frhttps://media.faimaison.net/photos/galerie/https://www.thebrownianmovement.org/https://outside.browny.pinkhttp://www.street-art.meCode exampletitle:Titledate:2015-12-18cover:P1070043-01-01.jpegsections:-type:full-pictureimage:P1060979-01-01.jpegfixed:truetext:title:My Storysub_title:some subtitledate:2015-12-18-type:paragraphtitle:Beautiful Titletext:Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor-type:pictures-groupimages:--P1060938-01-01.jpeg-P1060946-01-01.jpeg-P1060947-01-01.jpeg-P1060948-01-01.jpegUsagerecitalerecitaletestrecitalepreviewrecitaledeployrecitaleautogen(-d<folder>|--all)[--force]recitale(-h|--help)recitale--versionOptions:testVerifyallyouryamldatapreviewStartpreviewwebserveronport8000deployDeployyourwebsiteautogenGenerategalleryautomaticaly-h,--helpShowthisscreen.--versionShowversion.ContainerA container image is available at ghcr.io/recitale/recitale. One can build their website by running the following command:docker run --rm -v <PATH_TO_GALLERY_SOURCE>:/var/www ghcr.io/recitale/recitale buildSeehttps://github.com/recitale/recitale/pkgs/container/recitalefor fetching instructions and the list of all available images.LicenceGPL-3.0+Documentationhttps://recitale.readthedocs.org/en/latest/IRCchannel : irc.libera.chat#recitaleOriginrecitale started as a fork ofprosopopee.recitale is a contraction oftaleand the French wordrécitwhich are both depicting the same thing: a story.It is also a play onrecitalwhich is related to poetry reading.recitale should be pronounced/ʁe.siˈteɪl/that is, the French pronounciation forrécitfollowed
by the English pronounciation oftale.
Package: recite
recitereciteintends to make releasingpoetry-based libraries easier and avoid missing important steps (e.g. adapting the changelog (becauseyou should keep one)).$recitereleasepatchrecite > 👀 Checking everything to make sure you are ready to release 👀recite > 1: ✓ Make sure you have a (non-empty) pyproject.tomlrecite > 2: ✓ Make sure you're on main/master branchrecite > 3: ✓ Make sure git is cleanrecite > 4: ✓ Run test-suiterecite > 5: ✓ Make sure changelog was updatedrecite > 🤓 Everything looks perfect! 🤓recite > I will perform the following steps:recite >        * Would bump version from 0.1.0 to 0.1.1recite >        * Commit version bumprecite >        * Create git tag 0.1.1recite >        * Push git tag 0.1.1recite >        * Remind you to upload build as github releaseDo you want to proceed? [y/N]: yrecite > ✨ Performing release ✨recite > 1: ✓ Bump versionrecite >        * Bumped version from 0.1.0 to 0.1.1recite > 2: ✓ Commit version bumprecite > 3: ✓ Create git tag 0.1.1recite > 4: ✓ Push git tag 0.1.1recite > 5: ✓ Build and publish with poetryPlease create a github release now! Did you do it? [y/N]: yrecite > 6: ✓ Remind you to upload build as github releaserecite > 🚀 Congrats to your release! 🚀InstallationSincereciteis a python application it is recommended to install it viapipx:$pipxinstallreciteBut you can also install it via pip:$pipinstallreciteUsageYou can perform e.g a patch release with the command:$recitereleasepatchThe classifiers are the same as poetry's bump rules of the it'sversion command.To list the available checks use:$recitelist-checksYou can find more info in thedocsWhy?Previously I used a github action to automatically build and publish a new version of a library if a new tag was pushed. However, sometimes I forgot something crucial (e.g. to adapt the changelog). In this case I had to rush to stop the github action before it would publish the release to pypi (where it would lie forever unable to be rectified).
Withreciteit is ensured all the necessary checks are in place before any tags are created.
Package: reckit
RecKitRecKit is a collection of recommender utility codes.FeatureParse arguments from command line and ini-style filesDiverse data preprocessingFast negative samplingFast model evaluatingConvenient records loggingFlexible batch data iteratorInstallationInstallation from binaryBinary installers are available at thePython package index# PyPIpipinstallreckitBuild from sourcesTo install reckit from source you need Cython:pipinstallcythonIn the reckit directory, execute:pythonsetup.pybdist_wheelThen, you can find a*.whlfile in./dist/, and install it:pipinstall./dist/*.whlUsageYou can find examples inNeuRec.
Package: reckless
If you encounter a top-level exception while running a python program in a
tty, this package will give you the option to continue execution anyway like a
deranged lunatic.Once you are executing things in this mode, things get a bit weird. The stack
will have strange entries on it, unassigned local variables will take on the
value None, and if you yield from a generator something will go wrong (most
likely the program will disappear from the stack and you’ll immediately exit).Tested on CPython 2.7 only.
Package: reckon
reckon: Dead-simple, dynamic memoizationInstallationIn order to install the latest version, simplypip3 install -U reckon.This library requires Python 3.6 or greater.What is it?reckonimplements a dynamic LRU cache by automatically
monitoring the memory usage of your machine and purging
entries as it approaches a pre-defined ratio (defaults to
90%).reckonis largely inspired by theglobal_lru_cachepackage, so credit should be given for the initial
implementation. This package brings those ideas into python3
and adds a local cache implementation as well.UsageUsage is simple:importreckon@reckon.memoizedefsome_expensive_func(foo:int,bar:int):returnfoo**barreckonwill automatically make use of the global cache.While the global cache is automatically maintained, it may
be necessary to managed the cache manually. To that purpose,
reckon provides the following global methods:reckon.glob.clear: Clear the global cache.reckon.glob.shrink: Shrink the global cache.reckon.glob.usage: Check the current usage ratio.reckon.glob.set_usage: Set the max memory usage ratio
for the global cache.reckon.glob.info: View high-level information about the
cache - similar tofunctools.lru_cache.cache_infoIf you wish to only maintain a cache local to a function you
can simply pass a flag to the decorator:importreckon@reckon.memoize(locale="local")defsome_expensive_func(foo:int,bar:int):returnfoo**barAdditionally, if you wish to maintain a cache local to a
module, you can initialize your own instance of theLocalCacheobject:importreckoncache=reckon.local()@cache.memoizedefsome_expensive_func(foo:int,bar:int):returnfoo**barThe local cache instance maintains the same high-level API
for management as the global cache:LocalCache.clear: Clear the local cache.LocalCache.shrink: Shrink the local cache.LocalCache.usage: Check the current usage ratio.LocalCache.set_usage: Set the max memory usage ratio for
the local cache.LocalCache.info: View high-level information about the
cache - similar tofunctools.lru_cache.cache_infoAll memoized functions have introspection into their cache
via thecacheattribute.DocumentationFull documentation coming soon!How to ContributeCheck for open issues or open a fresh issue to start a
discussion around a feature idea or a bug.Create a branch on Github for your issue or forkthe repositoryon GitHub to start making your changes to themasterbranch.Write a test which shows that the bug was fixed or that
the feature works as expected.Send a pull request and bug the maintainer until it gets
merged and published. :)
Package: reclaimer
ReclaimerWhat is this repository for?Reclaimer is a library ofsupyr_structstructure descriptors and tag definitions for creating and modifying data files for video games utilizing the Blam engine. These descriptors and definitions are currently limited to Halo 1(xbox, custom edition, and the community made "open sauce" variant) with some support for Stubbs the Zombie. There are plans to branch into Halo 2, though for now the "he2k" sub-module is just a placeholder. Some of the tag definitions have an accompanying object class with methods for manipulating the tag(recalculating inertial matrices in physics tags for example).InstallingFirst install any version of Python 3(The newest version is recommended).There are two ways to install reclaimer from this point:Open a command prompt and executepip install reclaimerorExtract a copy of the repository into a directory titled "reclaimer".Move the file "setup.py" into the directory containing "reclaimer".Open a command prompt, navigate to the directory containing setup.py, and execute:python setup.py installDuring install, python should try to download and installsupyr_struct. If it fails to, you must install that as well.Once the install finishes, reclaimer should be ready to use.There are currently no test cases, but you should be able to directly import any tag definition from the python interpreter, build it, give it a filepath, and serialize it as shown below:>>> from reclaimer.hek.defs.pphy import pphy_def
>>> asdf = pphy_def.build()
>>> print(asdf)
[ Container, entries:2, pphy
    [ Struct, size:64, entries:6, blam_header
        [ UEnum32, offset:36, size:4, tag_class, 1886414969
             point_physics ]
        [ UInt32, offset:40, size:4, base_address, 1299151482 ]
        [ UInt32, offset:44, size:4, header_size, 64 ]
        [ UInt16, offset:56, size:2, version, 1 ]
        [ UInt16, offset:58, size:2, unknown, 255 ]
        [ UEnum32, offset:60, size:4, engine_id, 1651269997
             halo_1 ]
        ]
    [ Struct, size:64, entries:9, tagdata
        [ Bool32, offset:0, size:4, flags, 0
            ]
        [ FlFloat, offset:4, size:4, wind_coefficient, 0.0 ]
        [ FlFloat, offset:8, size:4, wind_sine_modifier, 0.0 ]
        [ FlFloat, offset:12, size:4, z_translation_rate, 0.0 ]
        [ Float, offset:32, size:4, density, 0.0 ]
        [ Float, offset:36, size:4, air_friction, 0.0 ]
        [ Float, offset:40, size:4, water_friction, 0.0 ]
        [ Float, offset:44, size:4, surface_friction, 0.0 ]
        [ Float, offset:48, size:4, elasticity, 0.0 ]
        ]
    ]
>>> asdf.data.serialize()
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00pphyMozz\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\xffblam
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
\x00\x00\x00\x00\x00\x00\x00\x00')
Package: reclaim.py
reclaim.pyUnofficialhttps://reclaim.aiPython Client for creating tasksWorks via Google Tasks (for now)Only Task Creation supported (for now)Setup GuideInstall via pip:pip3 install reclaim.pySetup Google Tasks APIIf you use this for yourself, you are likely going to stay in Google API's free quota, so no worries there!Visit theGoogle Cloud Consoleand accept the termsSearch for "Google Tasks API" or gohereand click the blue "Activate" buttonOnce activated, click "Manage" (also blue button)Naviagte to "OAuth consent screen"Create an "external" Consent Screen and fill out the required fields (Email fields: Put your Gmail there, Name fields: put in anything)"Save and Continue", then click "Add or RemoveScopesSeach for "Tasks" and coninue like this:8) Click "Save and Continue" and add your email to "Test users". There will be no need to ever leave the "Testing" phase.
    9) Once you added your email as Test User, it should look like this:10) Naviage to "Credentials" and click "Create Credentials", "OAuth Client ID". Then select "Desktop app" as type.
    11) Once created, click "Download Json" on the popup shown. Save this file as `credentials.json` in your project folder.1. With the `credentials.json` in the same folder as your application, you can start creating some tasks:importreclaimfromdatetimeimportdatetime,timedeltaclient=reclaim.Client(credentials="credentails.json",token_store="token.json")# you can optionally set reclaim_task_list_id if you don't want it to be detected automaticallyifnotclient.authorized:# authorize your google account onceclient.do_authorization()# You will be asked to Login with Google. Just follow the instructions printed.assertclient.authorized# ensure you are authorized with Googlesucceeded:bool=client.create_task(is_work=True,title="My fancy Reclaim task",duration=timedelta(hours=2,minutes=30),# 2 hours, 30 minutesdue_at=datetime.now()+timedelta(weeks=3),not_before=datetime.now()+timedelta(days=4),# only start in 4 days)print(succeeded)# should output True
Package: re-client
# re-clientRelease Engine - Client Tools[![Build Status](https://api.travis-ci.org/RHInception/re-client.png)](https://travis-ci.org/RHInception/re-client/)Still a very very beta product. Buyer beware!For documentation see the [Read The Docs](http://release-engine.readthedocs.org/en/latest/libraries/reclient.html) documentation.
Package: re-cloud
re-cloudre_cloud enables you to store and collaborate on reports from different open-source and custom build data apps. (includingre_data)At lof of data apps produce reports in the form of html applications which are very usefull. We believe deploying those reports on your S3 or GCS is quite limiting and we as a data community can do much better 😊We heard numours questions on how to deploy re_data and this pushed as into starting re_cloud for our, but also other data apps users 😊Getting startedre_cloud python package is primarly designed to upload reports to our Cloud solution. If you are curious about it and would like to jump right into it, you can start with afree account here 😊. Yu can also check more docs on re_data & re_cloudhere.
Package: recluse
RecluseAuthor: L. Amber Wilcox-O'HearnContact: amber@cs.toronto.eduReleased under the GNU AFFERO GENERAL PUBLIC LICENSE, see COPYING file for details.==============Introduction==============recluse (Reproducible Experimentation for Computational Linguistics USE) is a set of tools for running computational linguistics experiments reproducibly.This version contains* utils, which has four functions:** open_with_unicode for reading and writing unicode with regular or compressed text** split_file_into_chunks for splitting a file into smaller pieces.  This is needed for some tools that load everything into RAM, or train on all the data when we would be satisfied with training on partial data.** partition_by_list works like a combination of the string methods partition and split; it keeps the separators, but partitions into a list.** precision_recall_f_measure calculates those things.* article_selector (to replace article_randomiser below), reproducibly randomly selects a portion of a large corpus for the experiment, divides it into training, development, and test sets, and returns an article index to those sets.* article_randomiser, which reproducibly randomly divides a corpus into training, development, and test sets.* nltk_based_segmenter_tokeniser, which does sentence segmentation and word tokenisation.It is optimised for Wikipedia type text.* vocabulary_generator and the helper class vocabulary_cutter.  This wraps srilm as it makes unigram counts, and then selects the most frequent.============Dependencies============recluse depends on the pypi package `regex`_, which (unlike re) has unicode category support.sudo pip install regex==========Installing==========recluse is registered with pypi, so can be installed with pip:sudo pip install recluse.. _regex: https://pypi.python.org/pypi/regex/