semvec/pypi-packages huggingface dataset:
pyClout 0.0.1
A python module for bitclout
Keywords: python,bitclout,social media,crypto,blockchain,decentralisation

# BitClout.py

A python package for bitclout.

Developed by [ItsAditya](https://bitclout.com/u/itsaditya)

## Examples of How To Use BitClout.py

Getting $CLOUT price
```python
from bitclout import *
print(getCloutPrice())
```

Getting user(s) info through publicKey(s)
```python
from bitclout import *
import json
with open("userInfo.json", "w") as file:
    listOfPublicKeys = ["BC1YLjJVhcVAi5UCYZ2aTNwRMtqvzQar4zbymr7fyinu8MsWLx2A1g1"] # you can pass multiple public key of users
    json.dump(getUserStateless(listOfPublicKeys))
```

Getting user info through BitClout username
```python
from bitclout import *
import json
with open("userInfo.json", "w") as file:
    username = "ItsAditya" 
    json.dump(getSingleProfile(username))

```

Getting users who are blocked by a profile
```python
from bitclout import *
import json
with open("blockedUsers.json", "w") as file:
    publicKey = "BC1YLhBLE1834FBJbQ9JU23JbPanNYMkUsdpJZrFVqNGsCe7YadYiUg" # well, that's my (@ItsAditya) public key :)
    json.dump(getUsersBlocked(publicKey))
```


More docs coming soon!
cotton2k 5.0.0a8
Reimplementation for Cotton2k simulation model
Keywords: cotton,simulation,model

=========================
Cotton2K simulation model
=========================


|travis|_ |codecov|_ |commit| |lines of code| |license|


Cotton2K is a cotton simulation model specially adapted for irrigated cotton production in arid regions. It was originally written by `Prof. Avishalom Marani`_, and rewrite in Python by `Tang Ziya`_.

The model software is distributed under `AGPL 3.0 or later`_. This version has been upgraded to run on Python.


If you have any problem, feel free to open an issue.

.. |travis| image:: https://img.shields.io/travis/tcztzy/cotton2k/master
            :alt: Build Status
.. _travis: https://travis-ci.org/tcztzy/cotton2k
.. |codecov| image:: https://img.shields.io/codecov/c/github/tcztzy/cotton2k
             :alt: Codecov
.. _codecov: https://codecov.io/github/tcztzy/cotton2k?branch=master
.. |license| image:: https://img.shields.io/github/license/tcztzy/cotton2k
             :alt: GitHub
.. |commit| image:: https://img.shields.io/github/commit-activity/m/tcztzy/cotton2k
            :alt: GitHub commit activity
.. |lines of code| image:: https://img.shields.io/tokei/lines/github/tcztzy/cotton2k
                   :alt: Lines of code
.. _`Prof. Avishalom Marani`: https://plantscience.agri.huji.ac.il/avishalom-marani
.. _`Tang Ziya`: https://github.com/tcztzy
.. _`AGPL 3.0 or later`: LICENSE
unswamp 1.0.7.2.2
A python package for data quality unit testing.
Requires Python: >=3.6
Keywords: data,quality,test,unittest

# {un}swamp
## Description
{un}swamp is a python library to create Data Quality Checks that can be run against a pandas dataframe.
## Quick Examples
In the following quick example we show the basic concept of:
- defining a Check Suite (that holds all the checks to run against a dataset)
- defining a Check and add it to a Check Suite
- run the Check Suite against a dataset
- evaluate the Check Result
### Dataset
For this Quick Example we use an open dataset from the City of New York that contains the NYS Math Test Results by Grade - Citywide by Race-Ethnicity for the years 2006 - 2011. Further details about the dataset can be found here: https://data.cityofnewyork.us/api/views/825b-niea/. In the following section we'll see a code example that does the following steps:
- collect the data as pandas dataframe
- create a Check Suite
- add two different Checks to that suite (1 shall pass / 1 shall fail)
- run the Check Suite against the collected dataset
- evaluate the Check Result to hopefully see a pass rate of 50%
### Code
```python
import pandas as pd
from unswamp.objects.checks import CheckColumnsExists, CheckColumnValuesInSet
from unswamp.objects.core import CheckRun, CheckSuite

# We load the dataset into a pandas dataframe
data_file = "https://data.cityofnewyork.us/api/views/825b-niea/rows.csv?accessType=DOWNLOAD"
dataset = pd.read_csv(data_file)

# We generate a CheckSuite to add our checks to
meta_data={"owner": "me"}
suite = CheckSuite("NY-Math-Grades-CheckSuite", "NY-Math-Grades", meta_data)

# We generate a test that checks for columns in the dataset
# The columns are available so the check will be successful
columns = ["Grade", "Year", "Category"]
check = CheckColumnsExists("CHK-001-ColsExists", columns, active=True, meta_data=meta_data)
suite.add_check(check)

# We generate a test that checks if all distinct values in column Year are in the provided values
# The year 2011 is missing so the check will fail
column = "Year"
values = [2006, 2007, 2008, 2009, 2010]
check = CheckColumnValuesInSet("CHK-002-ColsValuesInSet", column, values, active=True, meta_data=meta_data)
suite.add_check(check)

# We run the suite against the dataset and print the pass rate
# The pass rate is expected to be 50% since 1 test is successful and one fails
check_run = suite.run(dataset, "manual-test-run")
print(f"passed - {check_run.pass_rate*100}%")
```
## Credits
[![security: bandit](https://img.shields.io/badge/module-python-blue.svg)](https://www.python.org/) [![security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit) [![security: bandit](https://img.shields.io/badge/front_end-Bootstrap-purple.svg)](https://getbootstrap.com/) [![security: bandit](https://img.shields.io/badge/icon-Ary_Prasetyo-black.svg)](https://thenounproject.com/search/?q=swamp&i=1592639)
cotton2k.core 0.1a1
Reimplementation for Cotton2k simulation model
Requires Python: >=3.9
Keywords: cotton,simulation,model

==============================
Cotton2K simulation model core
==============================


|travis|_ |codecov|_ |commit| |lines of code| |license|


Cotton2K is a cotton simulation model specially adapted for irrigated cotton production in arid regions.
It was originally written by `Prof. Avishalom Marani`_, and rewrite in Python by `Tang Ziya`_.

This `cotton2k-core` package is distributed under `GPL 3.0 or later`_. This version has been upgraded to run on Python.


If you have any problem, feel free to open an issue.

.. |travis| image:: https://img.shields.io/travis/tcztzy/cotton2k-core/master
            :alt: Build Status
.. _travis: https://travis-ci.org/tcztzy/cotton2k-core
.. |codecov| image:: https://img.shields.io/codecov/c/github/tcztzy/cotton2k-core
             :alt: Codecov
.. _codecov: https://codecov.io/github/tcztzy/cotton2k-core?branch=master
.. |license| image:: https://img.shields.io/github/license/tcztzy/cotton2k-core
             :alt: License
.. |commit| image:: https://img.shields.io/github/commit-activity/m/tcztzy/cotton2k-core
            :alt: GitHub commit activity
.. |lines of code| image:: https://img.shields.io/tokei/lines/github/tcztzy/cotton2k-core
                   :alt: Lines of code
.. _`Prof. Avishalom Marani`: https://plantscience.agri.huji.ac.il/avishalom-marani
.. _`Tang Ziya`: https://github.com/tcztzy
.. _`GPL 3.0 or later`: https://www.gnu.org/licenses/gpl-3.0.en.html