Saravanan666/pypi-org huggingface dataset:
Package: pycoinlib
pycoinlibPython client for the coinlib.io API endpoints.Report Bug·Request FeatureInstallationGet a free API Key athttps://coinlib.io/Install the packagepipinstallpycoinlibAdd your API in as an env varexportCOINLIB_API_KEY="YOUR API KEY";(back to top)Usagefrompycoinlibimportcoinlib,GLOBAL,COIN,COINLIST,RANK_ASCprint(coinlib(GLOBAL))print(coinlib(COINLIST,order=RANK_ASC))print(coinlib(COIN,symbol="ETH"))(back to top)ContributingContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull Request(back to top)LicenseDistributed under the MIT License. SeeLICENSE.txtfor more information.(back to top)ContactRich Atkinson -@tkinsonProject Link:https://github.com/atkinson/pycoinlib(back to top)Acknowledgmentsrequestscoinlib.io(back to top)
Package: pycoinmarketcap
pycoinmarketcapA simple API Wrapper for theCoinMarketCap API(https://coinmarketcap.com/api/documentation/v1)Installationpip3 install pycoinmarketcapUsagefrompycoinmarketcapimportCoinMarketCapc=CoinMarketCap("YOUR API KEY")airdropData=c.crypto_airdrop("airdrop-id")print(airdropData)© 2021 | World of Cryptopups | TheBoringDude
Package: py-coinmarketcap-client
CoinMarketCap APIwrapperCoinMarketCap API Doc:https://coinmarketcap.com/api/documentation/v1/Installpipinstallpy-coinmarketcap-clientUsagefromcoinmarketcapimportCoinMarketCapcmc=CoinMarketCap(key="<your-key-here>",key_type="Basic")cmc.get_info(id=1)Testingvirtualenvvenvsource./venv/bin/activate
pipinstall-rdev_requirements.txt
deactivatesource./venv/bin/activate
pytest
Package: pycoinmon
”
🐍 Python Port 🐍 Based onCOINMON💰 Cryptocurrency price ticker CLI.Check cryptocurrencies’ prices, changes on your console. Best CLI tool
for those who are bothCrypto investorsandEngineers.All data comes fromcoinmarketcap.comAPIs.InstallationYou can install or upgrade pycoinmon with:$ pip install pycoinmon--upgradeOr you can install from source with:$ git clone https://github.com/RDCH106/pycoinmon.git --recursive
$ cd pycoinmon
$ pip install .UsageTo check the top 10 cryptocurrencies ranked by their market cap, simply
execute$ pycoinmonOptionsYou can use the-c(or--convert) with the fiat currency symbol
to find in terms of another currency. The default currency is USD and it
supports AUD, BRL, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF,
IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK,
SGD, THB, TRY, TWD, ZAR.$ pycoinmon -c eur // convert prices to Euro
$ pycoinmon -c jpy // convert prices to YenYou can use the-f(or--find) with coin symbol to search
cryptocurrencies. You can add symbols seperated by space.$ pycoinmon -f btc // search coins included keyword btc
$ pycoinmon -f btc eth // search coins included keyword btc or ethYou can use the-l(or--layout) with template name to print the
table with different style. The default layout template is grid and it
supports plain, simple, fancy_grid, pipe, orgtbl, ‘presto’, ‘psql’,
‘rst’.$ pycoinmon -l plain // show table with plain style
$ pycoinmon -l fancy_grid // show table with fancy_grid styleYou can use the-t(or--top) with the index to find the top n
cryptocurrencies ranked by their market cap.$ pycoinmon -t 50 // find top 50
$ pycoinmon -t 1000 // find top 1000You can use the-u(or--update) with the refresh frequency in
seconds. The value must be bigger than 0.$ pycoinmon -u 10 // update data each 10 secondsYou can use the-H(or--humanize) to display market cap in
humanized format.$ pycoinmon -H // show market cap in humanized format like 58.9 billionYou can use the-h(or--help) to find all valid options of
pycoinmon.$ pycoinmon -hYou can use the--debugto show debug info when an error occurred.$ pycoinmon --debugScreenshot
Package: pycoinpayments
pycoinpayments================================OverviewPython API client for theCoinPayments <https://www.coinpayments.net>Note: This is not the official python client for the Coinpayments APIDocumentationPlease seehttps://www.coinpayments.net/api.phpfor the most up-to-date documentation for the Paystack API.Installationpip install pycoinpaymentsExampleYou can take a look at thesample.pyfile provided in the repo.A basic usage would be:frompycoinpaymentsimportCoinPaymentscreate_transaction_params={'amount':10,'currency1':'USDT.BEP20','currency2':'USDT.BEP20','buyer_email':'confiyobo@gmail.com'}cp=CoinPayments('PrivateKey','PublicKey')transaction=cp.create_transaction(create_transaction_params)iftransaction['error']=='ok':print(transaction['amount'])print(transaction['address'])else:print(transaction['error'])
Package: py-coinspot-api
Python Coinspot API LibraryA python library for the Coinspot API.Copyright (C) 2014 Peter Dysonpete@geekpete.comSource:http://github.com/geekpete/py-coinspot-apiPyPi:https://pypi.python.org/pypi/py-coinspot-api/Please seehttps://www.coinspot.com.au/apifor documentation on the
CoinSpot API.NOTE:All requests and responses will be JSONInstallationpip install py-coinspot-api --userorsudo pip install py-coinspot-apiConfigurationYou have two options for configuration, using os environment variables
or a yaml fileOption 1Windows:set COINSPOT_API_KEY=XXXXXX
set COINSPOT_API_SECRET=XXXXXXXXXXLinux:export COINSPOT_API_KEY=XXXXXX
export COINSPOT_API_SECRET=XXXXXXXXXXOption 2The config.yml.sample needs to be copied to config.yml and your unique
api key and secret values need to be inserted. Extra options like debug
and logging file name can only be configured using the yaml file.api:
 key: 'PUT_YOUR_KEY_HERE'
 secret: 'PUT_YOUR_SECRET_HERE'
 endpoint: 'www.coinspot.com.au'
debug: True
logfile: 'coinspot.log'Class Documentationhttp://py-coinspot-api.readthedocs.org/en/latest/TODOExtend test cases and requirements.Example UsageAfter you have your config.yml in place, test it outfrom coinspot import CoinSpot

# initialise the library
client = CoinSpot()

# get the spot prices
print client.spot()

# get your coin wallet balances
print client.balances()

# get the last 1000 orders for Dogecoins
print client.orderhistory('DOGE')

# get a list of all the current buy and sell orders
print client.orders('DOGE')

# put an order in to sell 20 Dogecoins at 0.000280 per coin
print client.sell('DOGE', '20', '0.000280')

# Get a quote on buying a billion Dogecoins, with estimation of timeframe
print client.quotebuy('DOGE', 1000000000)

# Donate a craptonne of Dogecoins
# to the author of this library! Much Appreciate!!!
print client.send('DOGE', 'DJrHRxurwQoBUe7r9RsMkMrTxj92wXd5gs', 1000)Send Dogecoins of appreciationIf you like this software, you can always send cold hard cryptocoin my
wayDogecoin: DJrHRxurwQoBUe7r9RsMkMrTxj92wXd5gs
Bitcoin: 1LybpYphZJqSAxjNFqjfYHB8pWxKcBmFkfYou can do this using the library like this:# Donate a craptonne of Dogecoins to the author of this library!
# Much Appreciate!!!
print client.send('DOGE', 'DJrHRxurwQoBUe7r9RsMkMrTxj92wXd5gs', 10000)or send Bitcoins:# Donate a craptonne of Bitcoins to the author of this library!
print client.send('BTC', '1LybpYphZJqSAxjNFqjfYHB8pWxKcBmFkf', 1)LicenseThis program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.Change Log0.1.1 Initial Release0.2.0 Logging Support, Initial Test Cases, Exception Handling, Travis
Support, Configuration File
Package: pycola
PyCoLA : Python Module to parse the job bulletins and generate a structure fileKaggle : Data Science for Good Challengehttps://www.kaggle.com/shivamb/1-bulletin-structuring-engine-colaInstallationpipinstallpycolaUsageExtractor class is used to generate the structured csv file. It accepts one user input config:"input_path" : path of the bulletin text files"output_filename" : name of the output filefrompycola.bulletin_parserimportExtractor## define the input pathconfig={"input_path":"Bulletins/","output_filename":"structured_file.csv"}## create the Extractor Class objectextr=Extractor(config)## call the extraction functionextr.extraction()Documentationhttp://www.shivambansal.com/blog/network/cola/BulletinStructuringEngine.htmlBy Shivam Bansal
Package: pycola3
pyCOLA is a multithreaded Python/Cython N-body code,
implementing the Comoving Lagrangian Acceleration (COLA) method in the
temporal and spatial domains.pyCOLA is based on the following two papers:Solving Large Scale Structure in Ten Easy Steps with
COLA, S. Tassev, M. Zaldarriaga, D. J. Eisenstein, Journal of
Cosmology and Astroparticle Physics, 06, 036
(2013), [arXiv:1301.0322](http://arxiv.org/abs/arXiv:1301.0322)sCOLA: The N-body COLA Method Extended to the Spatial Domain, S. Tassev, D.
J. Eisenstein, B. D. Wandelt, M. Zaldarriaga, (2015)Please cite them if using this code for scientific research.pyCOLA requiresNumPy <http://www.numpy.org/>_,SciPy,pyFFTW,h5py. Note that pyFFTW v0.9.2 does not support
large arrays, so one needs to install the development version fromgithub, where the bug has
been fixed.The pyCOLA documentation can be foundhere, and the source
is onbitbucket.
Package: pycolate
pycolate ☕A python implementation of site percolation, generates datasets and illustrations.Aims.This project primarily generates datasets and illustrations from square lattice site percolation. There is an auxillary program which carries out critical probability estimation using coarse graining with possible interactions.Installation.Install the latest version of pycolate:pipinstallpycolate2.Import pycolate into your python file:importpycolateCreating illustrations.Thepycolate.Percolationclass is used for creating a single instance of percolation. It takes the following arguments:Perc=Percolation(width,height,occupationprobability)We find the clusters by running:Perc.cluster_find()We display the illustration in a window as so:...Perc.pretty_clusters()#OR Perc.simple_clusters() or Perc.only_percolating_cluster()Perc.display()To save the illsutration we run:...Perc.save()So to generate an illustration of a 50x50 grid where each square has a 0.6 chance of being occupied:importpycolateperc=pycolate.Percolation(50,50,0.6)perc.cluster_find()perc.pretty_clusters()perc.display()perc.save('PATH')The default size for a square is 10 by 10 pixels. To adjust this one can change thePercolation.site_sizeprior to running any methods.If we were running a large simulation we may want the sites to only be 1 pixel each, so we would run the following:importpycolateperc=pycolate.Percolation(1000,1000,0.6)perc.site_site=1perc.cluster_find()perc.pretty_clusters()perc.display()perc.save('PATH')To only display the percolating cluster in the illustration one can useonly_percolating_cluster('your_color')instead ofpretty_clusters()to create an illustration of the percolating cluster in the color 'your_color' (Must be a valid PIL color).To display all the clusters in the same colour one can usesimple_clusters()instead ofpretty_clusters().By default both of these methods use 'hotpink' as the default color if no color argument is given.Running experiments.One may not be interested in illustrations and just want numeric data. We can compute many different properties by running thePercolation.cluster_find()method. Once this has been run there are many properties one can ask for:Properties of the Percolation class.PropertyExplanationmean_cluster_sizeThe mean cluster size, excluding the percolating cluster.sizesA list of all the cluster sizes, excluding the percolating cluster.percolated_sizeThe size of the percolating cluster.percolatedA boolean. True if a percolating cluster formed. False if not
Package: pycolims
Python Command Line Menu Selector (PyCoLiMS)A command line menu, designed for single stage selection.
Displays a given list on screen for user to select, either in single or multi mode.
Returns selected item/s to the calling function in the same format as provided.If given a dictionary, pycolims will return key/s, allowing easy user input to call a dict valueIn the case of lists too large to display at once, pycolims breaks the list down into terminal-sized
chunks, with a paging system to cycle between the chunks* It's a series of pointers, not a bunch of new lists. Pycolims tries to stay memory friendly!Installationpip install pycolimsSingle Selection menuimportpycolimsmenu_single=pycolims.Single()menu_single.run(array_in,header:str="")A single selection menu will display items on screen and return a single user selected value
This can be a single item or one nested list from a given matrixMulti Selection Menuimportpycolimsmenu_multi=pycolims.Multi()menu_multi.run(array_in,header:str="")When a multi pycolims is used, the menu returns the entire given array with each item converted to
a list, where [0] is a boolean indicating selection>>>list_with_booleans=menu_multi.run([0,1,'2'])# User selects first and last options...>>>print(list_with_booleans)[[True,0],[False,1],[True,'2']]Multi pycolims can also parse a given list in similar format to display items 'already selected'prev_settings=[[True,'val_one'],[False,'val_two']]Pycolims menu optionsEach pycolims menu has a series of commands at the bottomSingle menu options
  (-) Prev Page
  (+) Next Page
  (!!) Break

Multi Menu Options
  (-) Prev Page
  (+) Next Page
  (**) Select All (//) Clear All (><) Flip All (..) Return Selected (!!) Break(-) Prev Page
(+) Next PageCycles through available pages(!!) BreakEasy back out for end user use; throws a Keyboard interrupt error to interrupt code(**) Select All (//) Clear AllSelects/Clears ALL available items(><) Flip AllInverts all item selections(..) Return SelectedFinishes a multi selection menu and returns items
Package: pycoll
PyCollPyColl package is a collection of functions which can be used find the area of Square, Rectangle, Triangle and Parallelogram.InstallationsType or Copy the pip code and paste it into your terminal.pip install pycallUsageTo use this pycoll module in to your program, you can simply import the functions which you want to use:import pycoll as pc

pc.area_parallelogram(15, 20)Functions available in the package:#pass one parameter
pycoll.area_square(side) 

#pass two parameter
pycoll.area_rectangle(length, breadth)

#pass two parameter
pycoll.area_triangle(base, height)

#pass two parameter
pycoll.area_parallelogram(base, height)Additional linksYou can also get it from pypi.org or contribute at GitHubhttps://github.com/sachinshrmaa/pycollhttps://pypi.org/project/pycoll/
Package: pycollabim
pycollabimCollabim API Client in PythonInstallpip install pycollabimSupportsGet project nfo by idGet projectsGet project widgetsOne time analyses keyword measuringGet activitiesGet keywordsGet keywords positionGet keywords aggregated positionGet distribution positionGet market shareGet indexed pagesWhere get API key?API key you can get onhttps://www.collabim.com/?promoCode=mRfeciXH1VLicenseLicense is GPL-2.0-only for non-commercial projects and for commercial is reserved paid year subscription with support.
For commercial projects contact us oninfo@baba.bjwith pricing request.What is mean commercial?If you are using the library in a commercial tool or application as third party library, which is sold or used by someone else than you or your company.SupportLibrary is provided without support and warranty, for paid support contact us oninfo@baba.bjAuthorsJuraj Puchký - BABA Tumise s.r.o.info@baba.bjhttps://www.seoihned.cz- SEO optilamizacehttps://www.baba.bj- Tvorba webových stránekhttps://www.webtrace.cz- Tvorba portálů a ecommerce b2b/b2c (eshopů) na zakázkuLog1.0.0 - first release1.1.0 - function list is extendedCopyright© 2021 BABA Tumise s.r.o.
Package: pycollage
Create collages of images.InstallationInstall the package via either of these options:$gitclonehttps://github.com/kklein/pycollage.git$condaenvcreate-fenvironment.yml$condaactivatepycollage$pipinstall--no-build-isolation-e.$ pip install pycollage$ conda install pycollage -c conda-forgeUsageIn order to usepycollage, you should have a collection of images
which makes up for the individual components of the collage as well
as a target image which the collage seeks to imitate.In the following we will assume that you saved the image collection under/users/Anne/image_collectionand the target image under/users/Anne/target_image.png. Best use absolute paths.Processing the collectionThe first step consists of processing the image collection. In order to do so,
run$ pycollage process-collection /users/Anne/image_collectionBy default, this will resize the images to each be 20x20 pixels. If you'd like
a different component size, e.g. 30x30 pixels, run$ pycollage process-collection /users/Anne/image_collection --component_size 30instead.You will notice that executing this will tell you where an index directory has been
created. Given the paths from above, this should be/uers/Anne/index. Moreover
another new directory has been created:/users/Anne/image_collection_resized.Building a collageNow that the collection has been duely processed, we can embark onto actually building a collage.For that purpose, simply run$ pycollage build /users/Anne/index /users/Anne/target_imagewhere the first path corresponds to the path that was mentioned to you
when executingprocess_collection.At the end of the process both the original target image as well as the collage
imitating the target image will be opened. You can then save the collage to wherever
you like.RuntimeNote that this process will take longerthe larger thecomponent_sizeyou providethe larger your collection of imagesthe larger the resolution of the target imageSince the collage will scale up the original target image bycomponent_sizeper
dimensions - i.e., 20 by default - you might want to scale down your original
target image to below 1000x1000 pixels.
Package: pycollect
pycollectUtility library dealing with Python files.FeaturesCollect Python files recursively from a given directoryFind the Python module name respective to a Python fileInstallationpipinstallpycollectBasic UsageCollect Python filescollector=PythonFileCollector()python_files=collector.collect()When no explicit directory is given the parent folder of caller’s file will be used.It is possible to define custom exclusion patterns.See the docs for more.Get the module name of a Python filemodule_name=find_module_name(filepath)As there can be multiple valid module names for a given file, by default the outermost
module name is returned. The inverse behaviour can be enabled with theinnermostparameter.See the docs for more.DocumentationSee the complete docs atallrod5.github.io/pycollect.Integration testscan be pretty helpful to understand pycollect usage more in-depth too.See alsoCONTRIBUTING: Bug reports, feature requests, documentation & pull requests.CHANGELOG: See what’s changed in each version.AUTHORS: Know who’s behind the project.Changelog0.2.3 (2020-04-14)Adds support for Windows case insensitivityAdds official support for Python 3.8States official support for PathLike objects in thefind_module_namefunctionFixes and updates the release workflow in GitHub ActionsBumps pycollect from 0.2.2 to 0.2.30.2.2 (2020-02-29)Lift__init__.pyrequirement for considering a path as importable0.2.1 (2020-02-29)Fix module finder for Windows0.2.0 (2020-02-28)Added utility function to find a file’s module name0.1.1 (2020-02-24)Update docs0.1.0 (2019-12-22)First beta release0.0.1 (2019-09-01)Fix GitHub release workflow.0.0.0 (2019-08-31)First release on PyPI.
Package: pycollection
pycollectionpycollection is an amazing library that allows you to iterate through a list, but it returns a transformed item. It has a lot of methods to interact with the collection. It works similar than laravel collections.Instalationpip install pycollectionBasic usagefrom pycollection import collection

class NumberCollection(Collection):

    def item(self, item):
        return Number(item)


class Number:

    def __init__(self, item):
        self._item = item

    def value(self):
        return self._item

    def squared(self):
        return self._item * self._item


numbers = NumberCollection([1,2,3,4,5])


for number in numbers:
    print(number.squared())

# output
# > 1
# > 4
# > 9
# > 16
# > 25As you can see, it allows for an easy-to-read syntax for navigating between lists and their elements, since you can provide new functionality to both.Available methodsmethodsactioncount()gets the number of total elements in the listjson()jsonifies the listfind(callaback: Callable)returns the first item that match with the callbackwhere(callback: Callable)returns a new collection that meets the callbackitem(element)transforms each of the elements of the list when it is iterated over itfirst()gets the first item of the listappend(element)add a new element to the listitems()retrieves the collection listrandom()retrieves a random item from the collectionget(index:int)retrieves an element according to the given index
Package: pyCollier
pyCollierPython interface forCOLLIER Fortran library. Not all COLLIER functions are available yet. Pleaseopen an issueif you want any specific function to be implemented.The pyCollier teampyCollier is developed by Henning Bahl, Johannes Braathen, Martin Gabelmann, and Georg Weiglein.InstallationGo to main directory and typepipinstall.UsageAfter installation, you should be able to loadpyCollierviaimportpyCollierThen you can calculate loop functions e.g. viapyCollier.A0(125**2)API documentationA detailed API documentation is availablehere.ReferencesPlease cite@article{Denner:2016kdg,
    author = "Denner, Ansgar and Dittmaier, Stefan and Hofer, Lars",
    title = "{Collier: a fortran-based Complex One-Loop LIbrary in Extended Regularizations}",
    eprint = "1604.06792",
    archivePrefix = "arXiv",
    primaryClass = "hep-ph",
    reportNumber = "FR-PHENO-2016-003, ICCUB-16-016",
    doi = "10.1016/j.cpc.2016.10.013",
    journal = "Comput. Phys. Commun.",
    volume = "212",
    pages = "220--238",
    year = "2017"
}when you usepyCollier.
Package: pycollo
Pycollo, a combination of ‘Python’ and ‘collocation’, is a Python package for solving multiphase optimal control problems using direct orthogonal collocation.Getting StartedThis project is currently a work in progress and detailed instructions to get new users up and running are not yet available. Some working examples can be found in theexamplesdirectory.InstallationThe easiest way to install pycollo is using theAnaconda Python distributionand its includedCondapackage management system. To install pycollo and its required dependencies, enter the following command at a command prompt:condainstallpycolloTo install using pip, enter the following command at a command prompt:pipinstallpycolloFor more information, refer to theinstallation documentation.ContributePycollo is currently under development. Major code refactors, including significant API changes, are likely. As such contributions may not be readily accepted at this time. If you are keen to contribute, please contact the authors by email or file an issue on the issue tracker detailing how you would like to get involved.Issue Tracker:https://github.com/brocksam/pycollo/issuesSource Code:https://github.com/brocksam/pycolloLicenseThis project is licensed under the terms of theMIT license.AuthorsSam Brockie -sgb39@cam.ac.uk