blocoio / Faker
A Java port of the Faker ruby gem: https://github.com/stympy/faker/
Stars: ✭ 167
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Faker
Hierarchical loc
Deep image retrieval for efficient 6-DoF localization
Stars: ✭ 131 (-21.56%)
Mutual labels: localization
Fakerql
Hosted faker GraphQL endpoint for frontend developers
Stars: ✭ 152 (-8.98%)
Mutual labels: faker
Pythonrobotics
Python sample codes for robotics algorithms.
Stars: ✭ 13,934 (+8243.71%)
Mutual labels: localization
Toolbelt.blazor.i18ntext
The class library that provides the ability to localize texts on your Blazor app!
Stars: ✭ 134 (-19.76%)
Mutual labels: localization
Awesome Audio Visual
A curated list of different papers and datasets in various areas of audio-visual processing
Stars: ✭ 151 (-9.58%)
Mutual labels: localization
Openibl
[ECCV-2020 (spotlight)] Self-supervising Fine-grained Region Similarities for Large-scale Image Localization. 🌏 PyTorch open-source toolbox for image-based localization (place recognition).
Stars: ✭ 128 (-23.35%)
Mutual labels: localization
Laravel Nova Localizations
🌎 Localization files for Laravel Nova
Stars: ✭ 161 (-3.59%)
Mutual labels: localization
Morphlingjs
A CLI to mock with meaningful data a REST API from a Swagger file
Stars: ✭ 148 (-11.38%)
Mutual labels: faker
Uwb Localization
Accurate 3D Localization for MAV Swarms by UWB and IMU Fusion.
Stars: ✭ 155 (-7.19%)
Mutual labels: localization
Kotlin Faker
Generate realistically looking fake data such as names, addresses, banking details, and many more, that can be used for testing and data anonymization purposes.
Stars: ✭ 136 (-18.56%)
Mutual labels: faker
Masquerade
Faker-driven, configuration-based, platform-agnostic, locale-compatible data faker tool
Stars: ✭ 152 (-8.98%)
Mutual labels: faker
Faker Bot
A tool to make it easier to pick the right Faker methods to generate the fake data you need. 🔍
Stars: ✭ 158 (-5.39%)
Mutual labels: faker
Autolocalization
iOS Auto Localization for xib and storyboard
Stars: ✭ 128 (-23.35%)
Mutual labels: localization
I18n Extract
Manage localization with static analysis. 🔍
Stars: ✭ 152 (-8.98%)
Mutual labels: localization
Kfnet
KFNet: Learning Temporal Camera Relocalization using Kalman Filtering (CVPR 2020 Oral)
Stars: ✭ 161 (-3.59%)
Mutual labels: localization
Tossi
Chooses correct Korean particle morphs for arbitrary words.
Stars: ✭ 160 (-4.19%)
Mutual labels: localization
Fake Api Jwt Json Server
A Fake API with JWT Authentication using json-server and jsonwebtoken
Stars: ✭ 151 (-9.58%)
Mutual labels: faker
Faker
Generates fake data for testing or populating a development database. Run your tests with realistic data like names, emails, dates, countries...
A Java port of the Faker ruby gem. The goal was to reuse their locale data files.
Installing
repositories {
// ...
maven { url 'https://jitpack.io' }
}
dependencies {
compile 'com.github.blocoio:faker:1.2.8'
}
You can use testCompile
or androidTestCompile
, if you only want to use Faker for testing.
Usage
Faker faker = new Faker();
faker.name.firstName(); // Returns "Aaron"
faker.company.name(); // Returns "Hirthe-Ritchie"
Faker faker = new Faker("nl");
faker.name.firstName(); // Returns "Thijs"
For full list of available options, check the original source. We have tried to keep the operations as close as possible.
Available components
- Address
- App
- Avatar
- Book
- Bool
- Business
- Color
- Commerce
- Company
- Date
- Food
- Internet
- Lorem
- Name
- Number
- PhoneNumber
- Placeholdit
- SlackEmoji
- Team
- Time
- University
Warnings
- Currently we don't support locale specific operations
like
Address.postcode_by_state
orBusiness.swedish_organisation_number
.
TODO
- Implement remaining components of the Faker ruby gem.
Proguard
To use Faker with proguard, here are the rules you need to add:
# SnakeYAML
-keep class org.yaml.snakeyaml.** { public protected private *; }
-keep class org.yaml.snakeyaml.** { public protected private *; }
-dontwarn org.yaml.snakeyaml.**
# Joda Time
-dontwarn org.joda.convert.**
-dontwarn org.joda.time.**
-keep class org.joda.time.** { *; }
-keep interface org.joda.time.** { *; }
Contact
Feedback and contributions are welcome. Feel free to send an email or submit a pull request.
License
This code is free to use under the terms of the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].