semvec/pypi-packages huggingface dataset:
roamPy 0.1.4
API wrapper class for roam.plus
License: MIT

# roamPy
A python library of API wrapper functions to retrieve data from the [roam.plus](https://roam.plus) platform. Includes the 
`Roam` python class which has one method corresponding to each API endpoint including, Subscriptions, SubscriptionPeriods, Products and Licenses. 

Full focumentaion can be found here: [roampy.readthedocs.io](https://roampy.readthedocs.io)

## Installation

`pip install roamPy`

## Get Started
How to test connection to the Roam server: 
```
from roamPy import Roam

#API Key stored as system variable
token = = os.environ.get('Roam_API_Key')

#Instantiate object of Roam class
roam = Roam(url=<base url of roam instance>, token=token)

#Test connection
print(roam.checkHeartbeat())
```

Successful Connection Output
```
{'data': None, 'meta': {'message': 'API ready for requests'}}
```


Request metadata for a given subscription using its id number:
```
from roamPy import Roam

#API Key stored as system variable
token = = os.environ.get('Roam_API_Key')

#Instantiate object of Roam class
roam = Roam(url=<base url of roam instance>, token=token)

#Return Data for Subscription using ID.
sub = roam.getOneSubscription(id = 'id number')

print(sub)
```

Retreive data for all subscription periods between two dates: 
```
from roamPy import Roam

#API Key stored as system variable
token = = os.environ.get('Roam_API_Key')

#Instantiate object of Roam class
roam = Roam(url=<base url of roam instance>, token=token)

allSPBetween = roam.getSubscriptionPeriodsBetween(startDate='2020-01-01', endDate='2021-01-01')

print(allSPBetween)
```

Retreive all licenses and relations: 
```
from roamPy import Roam

#API Key stored as system variable
token = = os.environ.get('Roam_API_Key')

#Instantiate object of Roam class
roam = Roam(url=<base url of roam instance>, token=token)

licRel = roam.getLicenseswRels(['licensePeriods', 'publisher'])

print(licRel)
```
shakhs 0.1.6
this package generate personal details of fake iranian person
License: MIT
Keywords: fake,persian,name,person,id,lastname

This is a fake  Iranina person generator that can generate:
random full name,
random boy name,
random girl name,
random last name,
random full boy name,
rando, full girl name,
national id(code meli),
...


CHANGE LOG
===============

0.0.1 (14/02/2022)
-------------------
- First Release


#shakhs library creted by Samrand Majnooni

##install:
```python

pip install shakhs
```python
import:
```python
import shakhs
```python
##use:

to generate man first name:
```python
x=shakhs.randomBoyName()
print(x)
```python
---------------------
to generate girl first name:
```python

x=shakhs.randomGirlName()
print(x)
```python
----------------------
to generate lastname:
```python

x=shakhs.randomLastName()
print(x)
```python
----------------------
to generate first name + lastname(boy):
```python
x=shakhs.randomFullBoyName()
print(x)
```python
----------------------
to generate first name + last name (girl)
```python
x=shakhs.randomFullGirlName()
print(x)
```python
----------------------
to generate random name(girl or boy):
```python
x=shakhs.randomName()
print(x)
```python
----------------------
to generate random fake iranian Id:

# Validate a real codemelli
>>> shakhs.validator(2833411839)
True

# Validate a fake codemelli
>>> shakhs.validator(3235632189)
False

# Generate a random valid codemelli
>>> shakhs.generator()
6615365987

# Generate a random codemelli with a defined city code
>>> shakhs.generator(223)
2239832630

# Lookup city and state of a valid codemelli
>>> shakhs.lookup(2239832630)
{'city': 'Ø¨Ù†Ø¯Ø±ØªØ±Ú©Ù…Ù†', 'state': 'Ú¯Ù„Ø³ØªØ§Ù†'}

# return a list of codemelli with length "a":
shakhs.codemelliGenerator(a)

# return a list of boy first name with length "a":
shakhs.boyNameGenerator(a)

# return a list of girl first name with length "a":
shakhs.girlNameGenerator(a)

# return a list of lastname with length "a":
shakhs.lastnameGenerator(a)

# return a list of full boy name with length "a":
shakhs.fuulBoyNameGenerator(a)

# return a list of full girl  name with length "a":
shakhs.fullGirlNameGenerator(a)

# return a list of random full  name with length "a":
shakhs.randomNameGenerator(a)

##Samrand Majnooni