semvec/pypi-packages huggingface dataset:
os-package-registry 0.0.21
Manage a registry of packages on an ElasticSearch instance
License: MIT
Keywords: fdp fiscal data package openspending elasticsearch

[![Travis](https://img.shields.io/travis/openspending/os-package-registry.svg)](https://travis-ci.org/openspending/os-package-registry)
[![Coveralls](http://img.shields.io/coveralls/openspending/os-package-registry/master.svg)](https://coveralls.io/r/openspending/os-package-registry)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/os-package-registry.svg)](https://pypi.org/project/os-package-registry/)

# os-package-registry

Manage and query a registry of packages on an ElasticSearch instance.


## Tests

Tests require an Elasticsearch instance running on port 9200. Tests can be run with tox:

```sh
$ tox
```
python-pfb-sdk 0.0.1
Python SDK for PFB format
License: MIT

# python-pfb-sdk
Python scripts used to modify PFB files
## PFB Editing Scripts

### Add Field
Adds a new field to the specified node for the specified pfb file as of right now this is only limited to string and int with enum supported later
This writes to a new file new.pfb

	usage: addField.py [-h] PFB_file parentField field fieldType fieldDefault

	Add a new field to PFB schema

	positional arguments:
	  PFB_file      pfb file to add record to. Default = test.pfb
	  parentField   parent of field wanting to add to schema
	  field         field to add to the schema
	  fieldType     type for new field
	  fieldDefault  default value for new field

	optional arguments:
	  -h, --help    show this help message and exit

Example usage

	command line usage:
		python reader.py test.pfb
	python usage:
		import reader
		reader.read("test.pfb")

### Remove Field
removes a field from pfb file to a new file (rm.pfb)

	usage: removeField.py [-h] PFB_file parentField field

	Remove a field from PFB schema and output to new file "rm.pfb"

	positional arguments:
	  PFB_file     pfb file to remove field from. Default = test.pfb
	  parentField  parent of field wanting to remove from schema
	  field        field to remove to the schema

	optional arguments:
	  -h, --help   show this help message and exit

Example usage

	command line usage:
		python removeField.py test.pfb demographic gender
	python usage:
		import removeField
		removeField.remove("test.pfb", "simple_germline_variation", "data_category")


### Add Record
Adds new record(s) to the pfb file from a json file

	usage: addRecord.py [-h] PFB_file JSON_file

	Add a record to PFB file from a minified JSON file

	positional arguments:
	  PFB_file    pfb file to add record to. Default = test.pfb
	  JSON_file   JSON file to add into the pfb file. Default = test.json

	optional arguments:
	  -h, --help  show this help message and exit

Exapmle Usage

	command line usage:
		python addRecord.py test.pfb test.json
	python usage
		import addRecord
		addRecord.add("test.pfb", "test.json")

### Reader
Used to read the records from pfb file records]

	usage: reader.py [-h] PFB_file

	Read a PFB file in json format

	positional arguments:
	  PFB_file    pfb file to add record to. Default = test.pfb

	optional arguments:
	  -h, --help  show this help message and exit

Example Usage

	command line usage:
		python reader.py test.pfb
	python usage:
		import reader
		reader.read("test.pfb")

### Make Blank Record
Make a blank json record for specific pfb schema to blank.json files

	usage: makeBlankRecord.py [-h] PFB_file node

	Create a blank record from a pfb schema

	positional arguments:
	  PFB_file    pfb file to read schema from
	  node        Node to add record to

	optional arguments:
	  -h, --help  show this help message and exit

Example Usage

	command line usage:
		python makeBlankRecord.py test.pfb demographic
	python usage:
		import makeBlankRecord
		makeBlankRecord.makeRecord("test.pfb", "simple_germline_variation")
toxicbl 2.3.1
The official API package for Toxic's bot list using Python 3
License: MIT
Requires Python: >=3.6

# Welcome to toxicbl.py
 this PyPi package helps you get info of bots , users and post data about user
 / server count with your token on [Toxic Bot List](https://www.toxic-bot-list.ml)
# Getting started
You need to import the module first
```py
from toxicbl import bots # or users 
```
An example about scraping info for bots (Same can be done with users)
```py
bots.get_info('your_id') # returns a usable info object
```
An example about updating your bot's info (discord.py used)
```py
from toxicbl import data
@client.event
async def on_ready()
  data.update({
'token': 'your_token',
'serversCount' : str(len(client.servers)),
'usersCount' : str(len(client.users))
})
```
# Bot Info Object
Returns an object containing: 
```py
bot_tag: String # Bot's tag
avatar_url: String # Bot avatarUrl
library: String # Library of bot
prefix: String # Prefix of bot
short_description: String # Short description of bot in TBL site
long_description: String # Long description of bot in TBL site (contains markdown & html)
owner_tag: String # Full tag of owner
authorize_link: String # Invite link of the bot
server_count: String : Number of servers
user_count: String : Number of users
```
# User Info Object
Returns an object containing: 
```py
biography: String # User's biography if set
avatar_url: String # User's avatar url
username: String # User's username
num_of_bots: Integer # Number of bots created by user
```
pylint-starlark-plugin 1.0.2
Run pylint on Starlark files.
License: MIT
Keywords: pylint,starlark,plugin

This plugin allows you to run pylint on Starlark files, by doing an AST transform of load() calls into python import statements.

To use it, run `pip3 install pylint-starlark-plugin`, then you can call pytlint via `pylint --load-plugins pylint_starlark_plugin file.py`.