semvec/pypi-packages huggingface dataset:
cfconfigurator 0.2.5
Simple and small library to manage Cloud Foundry
License: MIT
Keywords: cf cloudfoundry cloud foundry lib

# python-cfconfigurator

`python-cfconfigurator` is a simple and small library to manage Cloud Foundry
common operations (not aimed to manage apps or service brokers). The idea
behind this implementation is having a library to be used for Configuration
Management tools, in particular for
[Ansible modules](https://github.com/SpringerPE/ansible-modules-cloudfoundry).

CF class implements support to manage: users, blobstore cache, environment
variable groups, feature flags, shared domains, private domains, organizations,
quotas, spaces, security groups and security group rules.

There is also a UAA implementation which adds support to manage users,
groups and clients directly with an UAA server.

Code compatible with Python 2 and Python 3

Documentation of the APIs used:

* https://apidocs.cloudfoundry.org
* https://docs.cloudfoundry.org/api/uaa


## Example

Install via pip: `pip install cfconfigurator`

```
from cfconfigurator.cf import CF

api_url = "https://api.test.cf.example.com"
admin_user = "admin"
admin_password = "admin"

cf = CF(api_url)
cf.login(admin_user, admin_password)

org = cf.search_org("pivotal")
print(org)
```

## Upload to PyPI

1. Create a `.pypirc` configuration file. This file holds your information for authenticating with PyPI.

   ```
   [distutils]
   index-servers = pypi
   
   [pypi]
   repository=https://pypi.python.org/pypi
   username=your_username
   password=your_password
   ```
2. Login and upload it to PyPI

   ```
   python setup.py register -r pypi
   python setup.py sdist upload -r pypi
   ```


## TODO

* Tests, tests ... fix me!
* Buildpack management


## Author

Springer Nature Platform Engineering, Jose Riguera Lopez (jose.riguera@springer.com)

Copyright 2017 Springer Nature
econ-watcher-reader 0.0.3
Web scraper to get economy watcher data from Cabinet Office of Japan.
License: MIT

# DataReader for Economy Watcher Survey

Data reader for Economy Watcher Survey provided by Cabinet Office of Japan.
Data returned as pandas.DataFrame.
It can get only data provided [here](http://www5.cao.go.jp/keizai3/watcher-e/index-e.html) now, but is under developing to expand available data range.

# Dependency

Developed in python 3.7.

# Install


# Usage

```python
from econ_watcher_reader import EconomyWatcherReader
reader = EconomyWatcherReader()
data = reader.get_data(kind_='current', start=datetime.datetime(2018, 1, 1), end=datetime.datetime(2018, 5, 1))
```

If you want data about future,

```python
reader = EconomyWatcherReader()
data = reader.get_data(kind_='future', start=datetime.datetime(2018, 1, 1), end=datetime.datetime(2018, 5, 1))
```

# Licence

MIT License

# Authors

Yuta Sugiura

# References

Data Sorce

- [Cabinet Office](http://www.cao.go.jp)
- [Economy Watcher Survey](http://www5.cao.go.jp/keizai3/watcher/watcher_menu.html)